| OLD | NEW |
| 1 #!/usr/make | 1 #!/usr/make |
| 2 # | 2 # |
| 3 # Makefile for SQLITE | 3 # Makefile for SQLITE |
| 4 # | 4 # |
| 5 # This is a template makefile for SQLite. Most people prefer to | 5 # This is a template makefile for SQLite. Most people prefer to |
| 6 # use the autoconf generated "configure" script to generate the | 6 # use the autoconf generated "configure" script to generate the |
| 7 # makefile automatically. But that does not work for everybody | 7 # makefile automatically. But that does not work for everybody |
| 8 # and in every situation. If you are having problems with the | 8 # and in every situation. If you are having problems with the |
| 9 # "configure" script, you might want to try this makefile as an | 9 # "configure" script, you might want to try this makefile as an |
| 10 # alternative. Create a copy of this file, edit the parameters | 10 # alternative. Create a copy of this file, edit the parameters |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 MKSHLIB = gcc -shared | 107 MKSHLIB = gcc -shared |
| 108 SO = so | 108 SO = so |
| 109 SHPREFIX = lib | 109 SHPREFIX = lib |
| 110 # SO = dll | 110 # SO = dll |
| 111 # SHPREFIX = | 111 # SHPREFIX = |
| 112 | 112 |
| 113 #### Extra compiler options needed for programs that use the TCL library. | 113 #### Extra compiler options needed for programs that use the TCL library. |
| 114 # | 114 # |
| 115 TCL_FLAGS = -I/usr/include/tcl8.4 | 115 TCL_FLAGS = -I/usr/include/tcl8.4 |
| 116 #TCL_FLAGS = -DSTATIC_BUILD=1 | 116 #TCL_FLAGS = -DSTATIC_BUILD=1 |
| 117 #TCL_FLAGS = -I/home/drh/tcltk/8.4linux | 117 #TCL_FLAGS = -I/home/drh/tcltk/8.5linux |
| 118 #TCL_FLAGS = -I/home/drh/tcltk/8.4win -DSTATIC_BUILD=1 | 118 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1 |
| 119 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux | 119 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux |
| 120 | 120 |
| 121 #### Linker options needed to link against the TCL library. | 121 #### Linker options needed to link against the TCL library. |
| 122 # | 122 # |
| 123 LIBTCL = -ltcl8.4 -lm -ldl | 123 LIBTCL = -ltcl8.4 -lm -ldl |
| 124 #LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl | 124 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl |
| 125 #LIBTCL = /home/drh/tcltk/8.4win/libtcl84s.a -lmsvcrt | 125 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt |
| 126 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc | 126 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc |
| 127 | 127 |
| 128 #### Additional objects for SQLite library when TCL support is enabled. | 128 #### Additional objects for SQLite library when TCL support is enabled. |
| 129 #TCLOBJ = | 129 #TCLOBJ = |
| 130 TCLOBJ = tclsqlite.o | 130 TCLOBJ = tclsqlite.o |
| 131 | 131 |
| 132 #### Compiler options needed for programs that use the readline() library. | 132 #### Compiler options needed for programs that use the readline() library. |
| 133 # | 133 # |
| 134 READLINE_FLAGS = | 134 READLINE_FLAGS = |
| 135 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline | 135 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline |
| 136 | 136 |
| 137 #### Linker options needed by programs using readline() must link against. | 137 #### Linker options needed by programs using readline() must link against. |
| 138 # | 138 # |
| 139 LIBREADLINE = | 139 LIBREADLINE = |
| 140 #LIBREADLINE = -static -lreadline -ltermcap | 140 #LIBREADLINE = -static -lreadline -ltermcap |
| 141 | 141 |
| 142 #### Which "awk" program provides nawk compatibilty | 142 #### Which "awk" program provides nawk compatibilty |
| 143 # | 143 # |
| 144 # NAWK = nawk | 144 # NAWK = nawk |
| 145 NAWK = awk | 145 NAWK = awk |
| 146 | 146 |
| 147 # You should not have to change anything below this line | 147 # You should not have to change anything below this line |
| 148 ############################################################################### | 148 ############################################################################### |
| 149 include $(TOP)/main.mk | 149 include $(TOP)/main.mk |
| OLD | NEW |