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