| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib | 116 #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib |
| 117 | 117 |
| 118 MKSHLIB = gcc -shared | 118 MKSHLIB = gcc -shared |
| 119 SO = so | 119 SO = so |
| 120 SHPREFIX = lib | 120 SHPREFIX = lib |
| 121 # SO = dll | 121 # SO = dll |
| 122 # SHPREFIX = | 122 # SHPREFIX = |
| 123 | 123 |
| 124 #### Extra compiler options needed for programs that use the TCL library. | 124 #### Extra compiler options needed for programs that use the TCL library. |
| 125 # | 125 # |
| 126 TCL_FLAGS = -I/usr/include/tcl8.5 | 126 TCL_FLAGS = -I/usr/include/tcl8.6 |
| 127 #TCL_FLAGS = -DSTATIC_BUILD=1 | 127 #TCL_FLAGS = -DSTATIC_BUILD=1 |
| 128 #TCL_FLAGS = -I/home/drh/tcltk/8.5linux | 128 #TCL_FLAGS = -I/home/drh/tcltk/8.5linux |
| 129 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1 | 129 #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1 |
| 130 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux | 130 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux |
| 131 | 131 |
| 132 #### Linker options needed to link against the TCL library. | 132 #### Linker options needed to link against the TCL library. |
| 133 # | 133 # |
| 134 LIBTCL = -ltcl8.5 -lm -ldl | 134 LIBTCL = -ltcl8.6 -lm -ldl |
| 135 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl | 135 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl |
| 136 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt | 136 #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt |
| 137 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc | 137 #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc |
| 138 | 138 |
| 139 #### Additional objects for SQLite library when TCL support is enabled. | 139 #### Additional objects for SQLite library when TCL support is enabled. |
| 140 #TCLOBJ = | 140 #TCLOBJ = |
| 141 TCLOBJ = tclsqlite.o | 141 TCLOBJ = tclsqlite.o |
| 142 | 142 |
| 143 #### Compiler options needed for programs that use the readline() library. | 143 #### Compiler options needed for programs that use the readline() library. |
| 144 # | 144 # |
| 145 READLINE_FLAGS = | 145 READLINE_FLAGS = |
| 146 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline | 146 #READLINE_FLAGS = -DHAVE_READLINE=1 -I/usr/include/readline |
| 147 | 147 |
| 148 #### Linker options needed by programs using readline() must link against. | 148 #### Linker options needed by programs using readline() must link against. |
| 149 # | 149 # |
| 150 LIBREADLINE = | 150 LIBREADLINE = |
| 151 #LIBREADLINE = -static -lreadline -ltermcap | 151 #LIBREADLINE = -static -lreadline -ltermcap |
| 152 | 152 |
| 153 #### Which "awk" program provides nawk compatibilty | |
| 154 # | |
| 155 # NAWK = nawk | |
| 156 NAWK = awk | |
| 157 | |
| 158 # You should not have to change anything below this line | 153 # You should not have to change anything below this line |
| 159 ############################################################################### | 154 ############################################################################### |
| 160 include $(TOP)/main.mk | 155 include $(TOP)/main.mk |
| OLD | NEW |