drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 1 | ############################################################################### |
drh | 7680032 | 2002-08-13 20:45:39 +0000 | [diff] [blame] | 2 | # The following macros should be defined before this script is |
| 3 | # invoked: |
| 4 | # |
| 5 | # TOP The toplevel directory of the source tree. This is the |
| 6 | # directory that contains this "Makefile.in" and the |
| 7 | # "configure.in" script. |
| 8 | # |
| 9 | # BCC C Compiler and options for use in building executables that |
| 10 | # will run on the platform that is doing the build. |
| 11 | # |
| 12 | # USLEEP If the target operating system supports the "usleep()" system |
| 13 | # call, then define the HAVE_USLEEP macro for all C modules. |
| 14 | # |
| 15 | # THREADSAFE If you want the SQLite library to be safe for use within a |
| 16 | # multi-threaded program, then define the following macro |
| 17 | # appropriately: |
| 18 | # |
| 19 | # THREADLIB Specify any extra linker options needed to make the library |
| 20 | # thread safe |
| 21 | # |
| 22 | # OPTS Extra compiler command-line options. |
| 23 | # |
| 24 | # EXE The suffix to add to executable files. ".exe" for windows |
| 25 | # and "" for Unix. |
| 26 | # |
| 27 | # TCC C Compiler and options for use in building executables that |
| 28 | # will run on the target platform. This is usually the same |
| 29 | # as BCC, unless you are cross-compiling. |
| 30 | # |
| 31 | # AR Tools used to build a static library. |
| 32 | # RANLIB |
| 33 | # |
| 34 | # TCL_FLAGS Extra compiler options needed for programs that use the |
| 35 | # TCL library. |
| 36 | # |
| 37 | # LIBTCL Linker options needed to link against the TCL library. |
| 38 | # |
| 39 | # READLINE_FLAGS Compiler options needed for programs that use the |
| 40 | # readline() library. |
| 41 | # |
| 42 | # LIBREADLINE Linker options needed by programs using readline() must |
| 43 | # link against. |
| 44 | # |
drh | f1878b4 | 2006-01-23 18:06:52 +0000 | [diff] [blame] | 45 | # NAWK Nawk compatible awk program. Older (obsolete?) solaris |
| 46 | # systems need this to avoid using the original AT&T AWK. |
drh | 7680032 | 2002-08-13 20:45:39 +0000 | [diff] [blame] | 47 | # |
| 48 | # Once the macros above are defined, the rest of this make script will |
| 49 | # build the SQLite library and testing tools. |
| 50 | ################################################################################ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 51 | |
| 52 | # This is how we compile |
| 53 | # |
drh | a297b5c | 2002-01-15 18:39:43 +0000 | [diff] [blame] | 54 | TCCX = $(TCC) $(OPTS) $(THREADSAFE) $(USLEEP) -I. -I$(TOP)/src |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 55 | |
| 56 | # Object files for the SQLite library. |
| 57 | # |
drh | 9f18e8a | 2005-07-08 12:13:04 +0000 | [diff] [blame] | 58 | LIBOBJ+= alter.o analyze.o attach.o auth.o btree.o build.o \ |
drh | a2b902d | 2005-08-14 17:53:20 +0000 | [diff] [blame] | 59 | callback.o complete.o date.o delete.o \ |
danielk1977 | c7b6017 | 2007-08-22 11:22:03 +0000 | [diff] [blame] | 60 | expr.o func.o hash.o insert.o journal.o loadext.o \ |
drh | 4c3645c | 2007-08-15 17:07:57 +0000 | [diff] [blame] | 61 | main.o malloc.o mem1.o mem2.o mutex.o \ |
drh | 90f6a5b | 2007-08-15 13:04:54 +0000 | [diff] [blame] | 62 | opcodes.o os.o os_os2.o os_unix.o os_win.o \ |
danielk1977 | fa256a3 | 2005-05-25 04:11:56 +0000 | [diff] [blame] | 63 | pager.o parse.o pragma.o prepare.o printf.o random.o \ |
drh | 38f8271 | 2004-06-18 17:10:16 +0000 | [diff] [blame] | 64 | select.o table.o tclsqlite.o tokenize.o trigger.o \ |
| 65 | update.o util.o vacuum.o \ |
danielk1977 | b4e9af9 | 2007-05-01 17:49:49 +0000 | [diff] [blame] | 66 | vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbefifo.o vdbemem.o \ |
drh | b9bb7c1 | 2006-06-11 23:41:55 +0000 | [diff] [blame] | 67 | where.o utf.o legacy.o vtab.o |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 68 | |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 69 | EXTOBJ = icu.o |
| 70 | EXTOBJ += fts1.o \ |
| 71 | fts1_hash.o \ |
| 72 | fts1_tokenizer1.o \ |
| 73 | fts1_porter.o |
| 74 | EXTOBJ += fts2.o \ |
| 75 | fts2_hash.o \ |
| 76 | fts2_icu.o \ |
| 77 | fts2_porter.o \ |
| 78 | fts2_tokenizer.o \ |
| 79 | fts2_tokenizer1.o |
| 80 | EXTOBJ += fts3.o \ |
| 81 | fts3_hash.o \ |
| 82 | fts3_icu.o \ |
| 83 | fts3_porter.o \ |
| 84 | fts3_tokenizer.o \ |
| 85 | fts3_tokenizer1.o |
danielk1977 | 576d3db | 2007-06-25 14:28:48 +0000 | [diff] [blame] | 86 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 87 | # All of the source code files. |
| 88 | # |
| 89 | SRC = \ |
drh | d0e4a6c | 2005-02-15 20:47:57 +0000 | [diff] [blame] | 90 | $(TOP)/src/alter.c \ |
drh | 9f18e8a | 2005-07-08 12:13:04 +0000 | [diff] [blame] | 91 | $(TOP)/src/analyze.c \ |
drh | c11d4f9 | 2003-04-06 21:08:24 +0000 | [diff] [blame] | 92 | $(TOP)/src/attach.c \ |
drh | ed6c867 | 2003-01-12 18:02:16 +0000 | [diff] [blame] | 93 | $(TOP)/src/auth.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 94 | $(TOP)/src/btree.c \ |
| 95 | $(TOP)/src/btree.h \ |
| 96 | $(TOP)/src/build.c \ |
danielk1977 | fd9a0a4 | 2005-05-24 12:01:00 +0000 | [diff] [blame] | 97 | $(TOP)/src/callback.c \ |
drh | a2b902d | 2005-08-14 17:53:20 +0000 | [diff] [blame] | 98 | $(TOP)/src/complete.c \ |
drh | 7014aff | 2003-11-01 01:53:53 +0000 | [diff] [blame] | 99 | $(TOP)/src/date.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 100 | $(TOP)/src/delete.c \ |
| 101 | $(TOP)/src/expr.c \ |
drh | dc04c58 | 2002-02-24 01:55:15 +0000 | [diff] [blame] | 102 | $(TOP)/src/func.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 103 | $(TOP)/src/hash.c \ |
| 104 | $(TOP)/src/hash.h \ |
| 105 | $(TOP)/src/insert.c \ |
danielk1977 | c7b6017 | 2007-08-22 11:22:03 +0000 | [diff] [blame] | 106 | $(TOP)/src/journal.c \ |
drh | 014ac19 | 2004-06-01 01:45:11 +0000 | [diff] [blame] | 107 | $(TOP)/src/legacy.c \ |
drh | 1e397f8 | 2006-06-08 15:28:43 +0000 | [diff] [blame] | 108 | $(TOP)/src/loadext.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 109 | $(TOP)/src/main.c \ |
drh | a315289 | 2007-05-05 11:48:52 +0000 | [diff] [blame] | 110 | $(TOP)/src/malloc.c \ |
drh | 4c3645c | 2007-08-15 17:07:57 +0000 | [diff] [blame] | 111 | $(TOP)/src/mem1.c \ |
| 112 | $(TOP)/src/mem2.c \ |
drh | 90f6a5b | 2007-08-15 13:04:54 +0000 | [diff] [blame] | 113 | $(TOP)/src/mutex.c \ |
drh | 054889e | 2005-11-30 03:20:31 +0000 | [diff] [blame] | 114 | $(TOP)/src/os.c \ |
drh | 60a1e4b | 2006-06-03 18:02:15 +0000 | [diff] [blame] | 115 | $(TOP)/src/os_os2.c \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 116 | $(TOP)/src/os_unix.c \ |
| 117 | $(TOP)/src/os_win.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 118 | $(TOP)/src/pager.c \ |
| 119 | $(TOP)/src/pager.h \ |
| 120 | $(TOP)/src/parse.y \ |
drh | c11d4f9 | 2003-04-06 21:08:24 +0000 | [diff] [blame] | 121 | $(TOP)/src/pragma.c \ |
danielk1977 | fa256a3 | 2005-05-25 04:11:56 +0000 | [diff] [blame] | 122 | $(TOP)/src/prepare.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 123 | $(TOP)/src/printf.c \ |
| 124 | $(TOP)/src/random.c \ |
| 125 | $(TOP)/src/select.c \ |
| 126 | $(TOP)/src/shell.c \ |
| 127 | $(TOP)/src/sqlite.h.in \ |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 128 | $(TOP)/src/sqlite3ext.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 129 | $(TOP)/src/sqliteInt.h \ |
| 130 | $(TOP)/src/table.c \ |
| 131 | $(TOP)/src/tclsqlite.c \ |
| 132 | $(TOP)/src/tokenize.c \ |
drh | dc37945 | 2002-05-15 12:45:43 +0000 | [diff] [blame] | 133 | $(TOP)/src/trigger.c \ |
drh | 1bbf5ee | 2004-05-11 01:18:24 +0000 | [diff] [blame] | 134 | $(TOP)/src/utf.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 135 | $(TOP)/src/update.c \ |
| 136 | $(TOP)/src/util.c \ |
drh | e1051c6 | 2003-04-06 20:52:32 +0000 | [diff] [blame] | 137 | $(TOP)/src/vacuum.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 138 | $(TOP)/src/vdbe.c \ |
| 139 | $(TOP)/src/vdbe.h \ |
drh | eb2e176 | 2004-05-27 01:53:56 +0000 | [diff] [blame] | 140 | $(TOP)/src/vdbeapi.c \ |
drh | 9a32464 | 2003-09-06 20:12:01 +0000 | [diff] [blame] | 141 | $(TOP)/src/vdbeaux.c \ |
danielk1977 | b4e9af9 | 2007-05-01 17:49:49 +0000 | [diff] [blame] | 142 | $(TOP)/src/vdbeblob.c \ |
drh | a01f79d | 2005-07-08 13:07:59 +0000 | [diff] [blame] | 143 | $(TOP)/src/vdbefifo.c \ |
drh | eb2e176 | 2004-05-27 01:53:56 +0000 | [diff] [blame] | 144 | $(TOP)/src/vdbemem.c \ |
drh | 9a32464 | 2003-09-06 20:12:01 +0000 | [diff] [blame] | 145 | $(TOP)/src/vdbeInt.h \ |
drh | b9bb7c1 | 2006-06-11 23:41:55 +0000 | [diff] [blame] | 146 | $(TOP)/src/vtab.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 147 | $(TOP)/src/where.c |
| 148 | |
drh | 0c97940 | 2006-10-03 19:12:32 +0000 | [diff] [blame] | 149 | # Source code for extensions |
| 150 | # |
| 151 | SRC += \ |
| 152 | $(TOP)/ext/fts1/fts1.c \ |
| 153 | $(TOP)/ext/fts1/fts1.h \ |
| 154 | $(TOP)/ext/fts1/fts1_hash.c \ |
| 155 | $(TOP)/ext/fts1/fts1_hash.h \ |
| 156 | $(TOP)/ext/fts1/fts1_porter.c \ |
| 157 | $(TOP)/ext/fts1/fts1_tokenizer.h \ |
| 158 | $(TOP)/ext/fts1/fts1_tokenizer1.c |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 159 | SRC += \ |
| 160 | $(TOP)/ext/fts2/fts2.c \ |
| 161 | $(TOP)/ext/fts2/fts2.h \ |
| 162 | $(TOP)/ext/fts2/fts2_hash.c \ |
| 163 | $(TOP)/ext/fts2/fts2_hash.h \ |
drh | d6e78a2 | 2007-07-20 13:42:26 +0000 | [diff] [blame] | 164 | $(TOP)/ext/fts2/fts2_icu.c \ |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 165 | $(TOP)/ext/fts2/fts2_porter.c \ |
| 166 | $(TOP)/ext/fts2/fts2_tokenizer.h \ |
drh | d6e78a2 | 2007-07-20 13:42:26 +0000 | [diff] [blame] | 167 | $(TOP)/ext/fts2/fts2_tokenizer.c \ |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 168 | $(TOP)/ext/fts2/fts2_tokenizer1.c |
danielk1977 | 08ada51 | 2007-06-26 10:56:40 +0000 | [diff] [blame] | 169 | SRC += \ |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 170 | $(TOP)/ext/fts3/fts3.c \ |
| 171 | $(TOP)/ext/fts3/fts3.h \ |
| 172 | $(TOP)/ext/fts3/fts3_hash.c \ |
| 173 | $(TOP)/ext/fts3/fts3_hash.h \ |
| 174 | $(TOP)/ext/fts3/fts3_icu.c \ |
| 175 | $(TOP)/ext/fts3/fts3_porter.c \ |
| 176 | $(TOP)/ext/fts3/fts3_tokenizer.h \ |
| 177 | $(TOP)/ext/fts3/fts3_tokenizer.c \ |
| 178 | $(TOP)/ext/fts3/fts3_tokenizer1.c |
| 179 | SRC += \ |
danielk1977 | 08ada51 | 2007-06-26 10:56:40 +0000 | [diff] [blame] | 180 | $(TOP)/ext/icu/icu.c |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 181 | |
danielk1977 | 77b03a2 | 2007-06-20 08:49:05 +0000 | [diff] [blame] | 182 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 183 | # Generated source code files |
| 184 | # |
| 185 | SRC += \ |
| 186 | keywordhash.h \ |
| 187 | opcodes.c \ |
| 188 | opcodes.h \ |
| 189 | parse.c \ |
| 190 | parse.h \ |
| 191 | sqlite3.h |
drh | 0c97940 | 2006-10-03 19:12:32 +0000 | [diff] [blame] | 192 | |
| 193 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 194 | # Source code to the test files. |
| 195 | # |
drh | b6f4148 | 2004-05-14 01:58:11 +0000 | [diff] [blame] | 196 | TESTSRC = \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 197 | $(TOP)/src/btree.c \ |
drh | 6c62608 | 2004-11-14 21:56:29 +0000 | [diff] [blame] | 198 | $(TOP)/src/date.c \ |
drh | 74587e5 | 2002-08-13 00:01:16 +0000 | [diff] [blame] | 199 | $(TOP)/src/func.c \ |
danielk1977 | b4622b6 | 2007-03-02 06:24:19 +0000 | [diff] [blame] | 200 | $(TOP)/src/insert.c \ |
drh | a315289 | 2007-05-05 11:48:52 +0000 | [diff] [blame] | 201 | $(TOP)/src/malloc.c \ |
danielk1977 | 161fb79 | 2006-01-24 10:58:21 +0000 | [diff] [blame] | 202 | $(TOP)/src/os.c \ |
drh | 60a1e4b | 2006-06-03 18:02:15 +0000 | [diff] [blame] | 203 | $(TOP)/src/os_os2.c \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 204 | $(TOP)/src/os_unix.c \ |
| 205 | $(TOP)/src/os_win.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 206 | $(TOP)/src/pager.c \ |
drh | 998da3a | 2004-06-19 15:22:56 +0000 | [diff] [blame] | 207 | $(TOP)/src/pragma.c \ |
drh | 38f8271 | 2004-06-18 17:10:16 +0000 | [diff] [blame] | 208 | $(TOP)/src/printf.c \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 209 | $(TOP)/src/test1.c \ |
| 210 | $(TOP)/src/test2.c \ |
| 211 | $(TOP)/src/test3.c \ |
drh | a6064dc | 2003-12-19 02:52:05 +0000 | [diff] [blame] | 212 | $(TOP)/src/test4.c \ |
danielk1977 | 4adee20 | 2004-05-08 08:23:19 +0000 | [diff] [blame] | 213 | $(TOP)/src/test5.c \ |
drh | 9c06c95 | 2005-11-26 00:25:00 +0000 | [diff] [blame] | 214 | $(TOP)/src/test6.c \ |
drh | 29c636b | 2006-01-09 23:40:25 +0000 | [diff] [blame] | 215 | $(TOP)/src/test7.c \ |
drh | b9bb7c1 | 2006-06-11 23:41:55 +0000 | [diff] [blame] | 216 | $(TOP)/src/test8.c \ |
danielk1977 | a713f2c | 2007-03-29 12:19:11 +0000 | [diff] [blame] | 217 | $(TOP)/src/test9.c \ |
drh | 1409be6 | 2006-08-23 20:07:20 +0000 | [diff] [blame] | 218 | $(TOP)/src/test_autoext.c \ |
drh | 2366940 | 2006-01-09 17:29:52 +0000 | [diff] [blame] | 219 | $(TOP)/src/test_async.c \ |
drh | 16a9b83 | 2007-05-05 18:39:25 +0000 | [diff] [blame] | 220 | $(TOP)/src/test_btree.c \ |
drh | c797d4d | 2007-05-08 01:08:49 +0000 | [diff] [blame] | 221 | $(TOP)/src/test_config.c \ |
drh | 1592659 | 2007-04-06 15:02:13 +0000 | [diff] [blame] | 222 | $(TOP)/src/test_hexio.c \ |
drh | 2f999a6 | 2007-08-15 19:16:43 +0000 | [diff] [blame] | 223 | $(TOP)/src/test_malloc.c \ |
drh | 2d02a67 | 2006-01-25 15:55:37 +0000 | [diff] [blame] | 224 | $(TOP)/src/test_md5.c \ |
danielk1977 | 954ce99 | 2006-06-15 15:59:19 +0000 | [diff] [blame] | 225 | $(TOP)/src/test_schema.c \ |
drh | 2d02a67 | 2006-01-25 15:55:37 +0000 | [diff] [blame] | 226 | $(TOP)/src/test_server.c \ |
drh | 4be8b51 | 2006-06-13 23:51:34 +0000 | [diff] [blame] | 227 | $(TOP)/src/test_tclvar.c \ |
drh | 38f8271 | 2004-06-18 17:10:16 +0000 | [diff] [blame] | 228 | $(TOP)/src/utf.c \ |
drh | ed6b3eb | 2004-09-08 21:12:50 +0000 | [diff] [blame] | 229 | $(TOP)/src/util.c \ |
drh | f603871 | 2004-02-08 18:07:34 +0000 | [diff] [blame] | 230 | $(TOP)/src/vdbe.c \ |
drh | 29a0138 | 2006-08-13 19:04:18 +0000 | [diff] [blame] | 231 | $(TOP)/src/vdbeaux.c \ |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 232 | $(TOP)/src/where.c |
| 233 | TESTSRC += $(TOP)/ext/fts2/fts2_tokenizer.c |
| 234 | TESTSRC += $(TOP)/ext/fts3/fts3_tokenizer.c |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 235 | |
| 236 | # Header files used by all library source files. |
| 237 | # |
| 238 | HDR = \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 239 | sqlite3.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 240 | $(TOP)/src/btree.h \ |
drh | a315289 | 2007-05-05 11:48:52 +0000 | [diff] [blame] | 241 | $(TOP)/src/btreeInt.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 242 | $(TOP)/src/hash.h \ |
drh | c551dd8 | 2007-06-19 15:23:48 +0000 | [diff] [blame] | 243 | $(TOP)/src/sqliteLimit.h \ |
drh | 8f619cc | 2002-09-08 00:04:50 +0000 | [diff] [blame] | 244 | opcodes.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 245 | $(TOP)/src/os.h \ |
drh | 014ac19 | 2004-06-01 01:45:11 +0000 | [diff] [blame] | 246 | $(TOP)/src/os_common.h \ |
drh | 1e397f8 | 2006-06-08 15:28:43 +0000 | [diff] [blame] | 247 | $(TOP)/src/sqlite3ext.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 248 | $(TOP)/src/sqliteInt.h \ |
drh | 9a32464 | 2003-09-06 20:12:01 +0000 | [diff] [blame] | 249 | $(TOP)/src/vdbe.h \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 250 | parse.h |
| 251 | |
drh | 0c97940 | 2006-10-03 19:12:32 +0000 | [diff] [blame] | 252 | # Header files used by extensions |
| 253 | # |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 254 | EXTHDR += \ |
drh | 0c97940 | 2006-10-03 19:12:32 +0000 | [diff] [blame] | 255 | $(TOP)/ext/fts1/fts1.h \ |
| 256 | $(TOP)/ext/fts1/fts1_hash.h \ |
| 257 | $(TOP)/ext/fts1/fts1_tokenizer.h |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 258 | EXTHDR += \ |
| 259 | $(TOP)/ext/fts2/fts2.h \ |
| 260 | $(TOP)/ext/fts2/fts2_hash.h \ |
| 261 | $(TOP)/ext/fts2/fts2_tokenizer.h |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 262 | EXTHDR += \ |
| 263 | $(TOP)/ext/fts3/fts3.h \ |
| 264 | $(TOP)/ext/fts3/fts3_hash.h \ |
| 265 | $(TOP)/ext/fts3/fts3_tokenizer.h |
drh | 0c97940 | 2006-10-03 19:12:32 +0000 | [diff] [blame] | 266 | |
| 267 | |
drh | 9a32464 | 2003-09-06 20:12:01 +0000 | [diff] [blame] | 268 | # Header files used by the VDBE submodule |
| 269 | # |
| 270 | VDBEHDR = \ |
drh | 9a32464 | 2003-09-06 20:12:01 +0000 | [diff] [blame] | 271 | $(TOP)/src/vdbeInt.h |
| 272 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 273 | # This is the default Makefile target. The objects listed here |
| 274 | # are what get build when you type just "make" with no arguments. |
| 275 | # |
drh | 97903fe | 2005-05-24 20:19:57 +0000 | [diff] [blame] | 276 | all: sqlite3.h libsqlite3.a sqlite3$(EXE) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 277 | |
| 278 | # Generate the file "last_change" which contains the date of change |
| 279 | # of the most recently modified source code file |
| 280 | # |
| 281 | last_change: $(SRC) |
drh | 0c07fb9 | 2006-06-27 20:05:23 +0000 | [diff] [blame] | 282 | cat $(SRC) | grep '$$Id: ' | sort -k 5 | tail -1 \ |
drh | f1878b4 | 2006-01-23 18:06:52 +0000 | [diff] [blame] | 283 | | $(NAWK) '{print $$5,$$6}' >last_change |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 284 | |
drh | d677b3d | 2007-08-20 22:48:41 +0000 | [diff] [blame] | 285 | libsqlite3.a: $(LIBOBJ) |
| 286 | $(AR) libsqlite3.a $(LIBOBJ) |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 287 | $(RANLIB) libsqlite3.a |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 288 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 289 | sqlite3$(EXE): $(TOP)/src/shell.c libsqlite3.a sqlite3.h |
danielk1977 | 77b03a2 | 2007-06-20 08:49:05 +0000 | [diff] [blame] | 290 | $(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE) \ |
danielk1977 | 08ada51 | 2007-06-26 10:56:40 +0000 | [diff] [blame] | 291 | $(TOP)/src/shell.c \ |
drh | f1878b4 | 2006-01-23 18:06:52 +0000 | [diff] [blame] | 292 | libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 293 | |
danielk1977 | 4adee20 | 2004-05-08 08:23:19 +0000 | [diff] [blame] | 294 | objects: $(LIBOBJ_ORIG) |
| 295 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 296 | # This target creates a directory named "tsrc" and fills it with |
| 297 | # copies of all of the C source code and header files needed to |
| 298 | # build on the target system. Some of the C source code and header |
| 299 | # files are automatically generated. This target takes care of |
| 300 | # all that automatic generation. |
| 301 | # |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 302 | target_source: $(SRC) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 303 | rm -rf tsrc |
| 304 | mkdir tsrc |
drh | 98495b4 | 2007-03-31 22:29:05 +0000 | [diff] [blame] | 305 | cp -f $(SRC) $(TOP)/src/*.h tsrc 2>/dev/null |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 306 | rm tsrc/sqlite.h.in tsrc/parse.y |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 307 | |
drh | 98495b4 | 2007-03-31 22:29:05 +0000 | [diff] [blame] | 308 | sqlite3.c: target_source $(TOP)/tool/mksqlite3c.tcl |
| 309 | tclsh $(TOP)/tool/mksqlite3c.tcl |
drh | bd08af4 | 2007-04-05 21:58:33 +0000 | [diff] [blame] | 310 | cp sqlite3.c tclsqlite3.c |
| 311 | cat $(TOP)/src/tclsqlite.c >>tclsqlite3.c |
| 312 | tclsh $(TOP)/tool/mksqlite3internalh.tcl |
drh | 98495b4 | 2007-03-31 22:29:05 +0000 | [diff] [blame] | 313 | |
drh | d6e78a2 | 2007-07-20 13:42:26 +0000 | [diff] [blame] | 314 | fts2amal.c: target_source $(TOP)/ext/fts2/mkfts2amal.tcl |
| 315 | tclsh $(TOP)/ext/fts2/mkfts2amal.tcl |
| 316 | |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 317 | fts3amal.c: target_source $(TOP)/ext/fts3/mkfts3amal.tcl |
| 318 | tclsh $(TOP)/ext/fts3/mkfts3amal.tcl |
| 319 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 320 | # Rules to build the LEMON compiler generator |
| 321 | # |
| 322 | lemon: $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c |
| 323 | $(BCC) -o lemon $(TOP)/tool/lemon.c |
| 324 | cp $(TOP)/tool/lempar.c . |
| 325 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 326 | # Rules to build individual files |
| 327 | # |
drh | d0e4a6c | 2005-02-15 20:47:57 +0000 | [diff] [blame] | 328 | alter.o: $(TOP)/src/alter.c $(HDR) |
| 329 | $(TCCX) -c $(TOP)/src/alter.c |
| 330 | |
drh | 9f18e8a | 2005-07-08 12:13:04 +0000 | [diff] [blame] | 331 | analyze.o: $(TOP)/src/analyze.c $(HDR) |
| 332 | $(TCCX) -c $(TOP)/src/analyze.c |
| 333 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 334 | attach.o: $(TOP)/src/attach.c $(HDR) |
| 335 | $(TCCX) -c $(TOP)/src/attach.c |
| 336 | |
| 337 | auth.o: $(TOP)/src/auth.c $(HDR) |
| 338 | $(TCCX) -c $(TOP)/src/auth.c |
| 339 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 340 | btree.o: $(TOP)/src/btree.c $(HDR) $(TOP)/src/pager.h |
| 341 | $(TCCX) -c $(TOP)/src/btree.c |
| 342 | |
| 343 | build.o: $(TOP)/src/build.c $(HDR) |
| 344 | $(TCCX) -c $(TOP)/src/build.c |
| 345 | |
danielk1977 | fd9a0a4 | 2005-05-24 12:01:00 +0000 | [diff] [blame] | 346 | callback.o: $(TOP)/src/callback.c $(HDR) |
| 347 | $(TCCX) -c $(TOP)/src/callback.c |
| 348 | |
drh | a2b902d | 2005-08-14 17:53:20 +0000 | [diff] [blame] | 349 | complete.o: $(TOP)/src/complete.c $(HDR) |
| 350 | $(TCCX) -c $(TOP)/src/complete.c |
| 351 | |
drh | 7014aff | 2003-11-01 01:53:53 +0000 | [diff] [blame] | 352 | date.o: $(TOP)/src/date.c $(HDR) |
| 353 | $(TCCX) -c $(TOP)/src/date.c |
| 354 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 355 | delete.o: $(TOP)/src/delete.c $(HDR) |
| 356 | $(TCCX) -c $(TOP)/src/delete.c |
| 357 | |
| 358 | expr.o: $(TOP)/src/expr.c $(HDR) |
| 359 | $(TCCX) -c $(TOP)/src/expr.c |
| 360 | |
drh | dc04c58 | 2002-02-24 01:55:15 +0000 | [diff] [blame] | 361 | func.o: $(TOP)/src/func.c $(HDR) |
| 362 | $(TCCX) -c $(TOP)/src/func.c |
| 363 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 364 | hash.o: $(TOP)/src/hash.c $(HDR) |
| 365 | $(TCCX) -c $(TOP)/src/hash.c |
| 366 | |
| 367 | insert.o: $(TOP)/src/insert.c $(HDR) |
| 368 | $(TCCX) -c $(TOP)/src/insert.c |
| 369 | |
danielk1977 | c7b6017 | 2007-08-22 11:22:03 +0000 | [diff] [blame] | 370 | journal.o: $(TOP)/src/journal.c $(HDR) |
| 371 | $(TCCX) -c $(TOP)/src/journal.c |
| 372 | |
danielk1977 | 22322fd | 2004-05-25 23:35:17 +0000 | [diff] [blame] | 373 | legacy.o: $(TOP)/src/legacy.c $(HDR) |
| 374 | $(TCCX) -c $(TOP)/src/legacy.c |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 375 | |
drh | 1e397f8 | 2006-06-08 15:28:43 +0000 | [diff] [blame] | 376 | loadext.o: $(TOP)/src/loadext.c $(HDR) |
| 377 | $(TCCX) -c $(TOP)/src/loadext.c |
| 378 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 379 | main.o: $(TOP)/src/main.c $(HDR) |
| 380 | $(TCCX) -c $(TOP)/src/main.c |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 381 | |
drh | a315289 | 2007-05-05 11:48:52 +0000 | [diff] [blame] | 382 | malloc.o: $(TOP)/src/malloc.c $(HDR) |
| 383 | $(TCCX) -c $(TOP)/src/malloc.c |
| 384 | |
drh | 90f6a5b | 2007-08-15 13:04:54 +0000 | [diff] [blame] | 385 | mem1.o: $(TOP)/src/mem1.c $(HDR) |
| 386 | $(TCCX) -c $(TOP)/src/mem1.c |
| 387 | |
drh | 4c3645c | 2007-08-15 17:07:57 +0000 | [diff] [blame] | 388 | mem2.o: $(TOP)/src/mem2.c $(HDR) |
| 389 | $(TCCX) -c $(TOP)/src/mem2.c |
| 390 | |
drh | 90f6a5b | 2007-08-15 13:04:54 +0000 | [diff] [blame] | 391 | mutex.o: $(TOP)/src/mutex.c $(HDR) |
| 392 | $(TCCX) -c $(TOP)/src/mutex.c |
| 393 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 394 | pager.o: $(TOP)/src/pager.c $(HDR) $(TOP)/src/pager.h |
| 395 | $(TCCX) -c $(TOP)/src/pager.c |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 396 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 397 | opcodes.o: opcodes.c |
| 398 | $(TCCX) -c opcodes.c |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 399 | |
drh | b327f77 | 2004-10-06 15:03:57 +0000 | [diff] [blame] | 400 | opcodes.c: opcodes.h $(TOP)/mkopcodec.awk |
drh | 0c07fb9 | 2006-06-27 20:05:23 +0000 | [diff] [blame] | 401 | sort -n -b -k 3 opcodes.h | $(NAWK) -f $(TOP)/mkopcodec.awk >opcodes.c |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 402 | |
drh | f2bc013 | 2004-10-04 13:19:23 +0000 | [diff] [blame] | 403 | opcodes.h: parse.h $(TOP)/src/vdbe.c $(TOP)/mkopcodeh.awk |
drh | f1878b4 | 2006-01-23 18:06:52 +0000 | [diff] [blame] | 404 | cat parse.h $(TOP)/src/vdbe.c | $(NAWK) -f $(TOP)/mkopcodeh.awk >opcodes.h |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 405 | |
drh | 054889e | 2005-11-30 03:20:31 +0000 | [diff] [blame] | 406 | os.o: $(TOP)/src/os.c $(HDR) |
| 407 | $(TCCX) -c $(TOP)/src/os.c |
| 408 | |
drh | 60a1e4b | 2006-06-03 18:02:15 +0000 | [diff] [blame] | 409 | os_os2.o: $(TOP)/src/os_os2.c $(HDR) |
| 410 | $(TCCX) -c $(TOP)/src/os_os2.c |
| 411 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 412 | os_unix.o: $(TOP)/src/os_unix.c $(HDR) |
| 413 | $(TCCX) -c $(TOP)/src/os_unix.c |
| 414 | |
| 415 | os_win.o: $(TOP)/src/os_win.c $(HDR) |
| 416 | $(TCCX) -c $(TOP)/src/os_win.c |
| 417 | |
| 418 | parse.o: parse.c $(HDR) |
| 419 | $(TCCX) -c parse.c |
| 420 | |
| 421 | parse.h: parse.c |
| 422 | |
drh | fa3b19e | 2005-11-24 22:22:29 +0000 | [diff] [blame] | 423 | parse.c: $(TOP)/src/parse.y lemon $(TOP)/addopcodes.awk |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 424 | cp $(TOP)/src/parse.y . |
drh | 27d258a | 2004-10-30 20:23:09 +0000 | [diff] [blame] | 425 | ./lemon $(OPTS) parse.y |
drh | fa3b19e | 2005-11-24 22:22:29 +0000 | [diff] [blame] | 426 | mv parse.h parse.h.temp |
| 427 | awk -f $(TOP)/addopcodes.awk parse.h.temp >parse.h |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 428 | |
drh | c11d4f9 | 2003-04-06 21:08:24 +0000 | [diff] [blame] | 429 | pragma.o: $(TOP)/src/pragma.c $(HDR) |
| 430 | $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/pragma.c |
| 431 | |
danielk1977 | fa256a3 | 2005-05-25 04:11:56 +0000 | [diff] [blame] | 432 | prepare.o: $(TOP)/src/prepare.c $(HDR) |
| 433 | $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/prepare.c |
| 434 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 435 | printf.o: $(TOP)/src/printf.c $(HDR) |
| 436 | $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/printf.c |
| 437 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 438 | random.o: $(TOP)/src/random.c $(HDR) |
| 439 | $(TCCX) -c $(TOP)/src/random.c |
drh | c11d4f9 | 2003-04-06 21:08:24 +0000 | [diff] [blame] | 440 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 441 | select.o: $(TOP)/src/select.c $(HDR) |
| 442 | $(TCCX) -c $(TOP)/src/select.c |
drh | ed6c867 | 2003-01-12 18:02:16 +0000 | [diff] [blame] | 443 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 444 | sqlite3.h: $(TOP)/src/sqlite.h.in |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 445 | sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \ |
drh | f1878b4 | 2006-01-23 18:06:52 +0000 | [diff] [blame] | 446 | -e s/--VERSION-NUMBER--/`cat ${TOP}/VERSION | sed 's/[^0-9]/ /g' | $(NAWK) '{printf "%d%03d%03d",$$1,$$2,$$3}'`/ \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 447 | $(TOP)/src/sqlite.h.in >sqlite3.h |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 448 | |
| 449 | table.o: $(TOP)/src/table.c $(HDR) |
| 450 | $(TCCX) -c $(TOP)/src/table.c |
| 451 | |
| 452 | tclsqlite.o: $(TOP)/src/tclsqlite.c $(HDR) |
| 453 | $(TCCX) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c |
| 454 | |
drh | 73b211a | 2005-01-18 04:00:42 +0000 | [diff] [blame] | 455 | tokenize.o: $(TOP)/src/tokenize.c keywordhash.h $(HDR) |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 456 | $(TCCX) -c $(TOP)/src/tokenize.c |
| 457 | |
drh | 73b211a | 2005-01-18 04:00:42 +0000 | [diff] [blame] | 458 | keywordhash.h: $(TOP)/tool/mkkeywordhash.c |
drh | 52fb6d7 | 2004-11-03 03:59:57 +0000 | [diff] [blame] | 459 | $(BCC) -o mkkeywordhash $(OPTS) $(TOP)/tool/mkkeywordhash.c |
drh | 73b211a | 2005-01-18 04:00:42 +0000 | [diff] [blame] | 460 | ./mkkeywordhash >keywordhash.h |
drh | 52fb6d7 | 2004-11-03 03:59:57 +0000 | [diff] [blame] | 461 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 462 | trigger.o: $(TOP)/src/trigger.c $(HDR) |
| 463 | $(TCCX) -c $(TOP)/src/trigger.c |
| 464 | |
| 465 | update.o: $(TOP)/src/update.c $(HDR) |
| 466 | $(TCCX) -c $(TOP)/src/update.c |
| 467 | |
| 468 | utf.o: $(TOP)/src/utf.c $(HDR) |
| 469 | $(TCCX) -c $(TOP)/src/utf.c |
| 470 | |
| 471 | util.o: $(TOP)/src/util.c $(HDR) |
| 472 | $(TCCX) -c $(TOP)/src/util.c |
| 473 | |
| 474 | vacuum.o: $(TOP)/src/vacuum.c $(HDR) |
| 475 | $(TCCX) -c $(TOP)/src/vacuum.c |
| 476 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 477 | vdbe.o: $(TOP)/src/vdbe.c $(VDBEHDR) $(HDR) |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 478 | $(TCCX) -c $(TOP)/src/vdbe.c |
| 479 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 480 | vdbeapi.o: $(TOP)/src/vdbeapi.c $(VDBEHDR) $(HDR) |
drh | eb2e176 | 2004-05-27 01:53:56 +0000 | [diff] [blame] | 481 | $(TCCX) -c $(TOP)/src/vdbeapi.c |
| 482 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 483 | vdbeaux.o: $(TOP)/src/vdbeaux.c $(VDBEHDR) $(HDR) |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 484 | $(TCCX) -c $(TOP)/src/vdbeaux.c |
| 485 | |
danielk1977 | b4e9af9 | 2007-05-01 17:49:49 +0000 | [diff] [blame] | 486 | vdbeblob.o: $(TOP)/src/vdbeblob.c $(VDBEHDR) $(HDR) |
| 487 | $(TCCX) -c $(TOP)/src/vdbeblob.c |
| 488 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 489 | vdbefifo.o: $(TOP)/src/vdbefifo.c $(VDBEHDR) $(HDR) |
drh | a01f79d | 2005-07-08 13:07:59 +0000 | [diff] [blame] | 490 | $(TCCX) -c $(TOP)/src/vdbefifo.c |
| 491 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 492 | vdbemem.o: $(TOP)/src/vdbemem.c $(VDBEHDR) $(HDR) |
drh | eb2e176 | 2004-05-27 01:53:56 +0000 | [diff] [blame] | 493 | $(TCCX) -c $(TOP)/src/vdbemem.c |
| 494 | |
drh | de087bd | 2007-02-23 03:00:44 +0000 | [diff] [blame] | 495 | vtab.o: $(TOP)/src/vtab.c $(VDBEHDR) $(HDR) |
drh | b9bb7c1 | 2006-06-11 23:41:55 +0000 | [diff] [blame] | 496 | $(TCCX) -c $(TOP)/src/vtab.c |
| 497 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 498 | where.o: $(TOP)/src/where.c $(HDR) |
| 499 | $(TCCX) -c $(TOP)/src/where.c |
| 500 | |
danielk1977 | 576d3db | 2007-06-25 14:28:48 +0000 | [diff] [blame] | 501 | # Rules to build the extension objects. |
| 502 | # |
| 503 | icu.o: $(TOP)/ext/icu/icu.c $(HDR) $(EXTHDR) |
| 504 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/icu/icu.c |
| 505 | |
| 506 | fts2.o: $(TOP)/ext/fts2/fts2.c $(HDR) $(EXTHDR) |
| 507 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2.c |
| 508 | |
| 509 | fts2_hash.o: $(TOP)/ext/fts2/fts2_hash.c $(HDR) $(EXTHDR) |
| 510 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_hash.c |
| 511 | |
| 512 | fts2_icu.o: $(TOP)/ext/fts2/fts2_icu.c $(HDR) $(EXTHDR) |
| 513 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_icu.c |
| 514 | |
| 515 | fts2_porter.o: $(TOP)/ext/fts2/fts2_porter.c $(HDR) $(EXTHDR) |
| 516 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_porter.c |
| 517 | |
| 518 | fts2_tokenizer.o: $(TOP)/ext/fts2/fts2_tokenizer.c $(HDR) $(EXTHDR) |
| 519 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_tokenizer.c |
| 520 | |
| 521 | fts2_tokenizer1.o: $(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR) $(EXTHDR) |
| 522 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_tokenizer1.c |
| 523 | |
shess | 69c4ae2 | 2007-08-20 17:37:47 +0000 | [diff] [blame] | 524 | fts3.o: $(TOP)/ext/fts3/fts3.c $(HDR) $(EXTHDR) |
| 525 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3.c |
| 526 | |
| 527 | fts3_hash.o: $(TOP)/ext/fts3/fts3_hash.c $(HDR) $(EXTHDR) |
| 528 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_hash.c |
| 529 | |
| 530 | fts3_icu.o: $(TOP)/ext/fts3/fts3_icu.c $(HDR) $(EXTHDR) |
| 531 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_icu.c |
| 532 | |
| 533 | fts3_porter.o: $(TOP)/ext/fts3/fts3_porter.c $(HDR) $(EXTHDR) |
| 534 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_porter.c |
| 535 | |
| 536 | fts3_tokenizer.o: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR) $(EXTHDR) |
| 537 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer.c |
| 538 | |
| 539 | fts3_tokenizer1.o: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR) $(EXTHDR) |
| 540 | $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer1.c |
| 541 | |
danielk1977 | 576d3db | 2007-06-25 14:28:48 +0000 | [diff] [blame] | 542 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 543 | # Rules for building test programs and for running tests |
| 544 | # |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 545 | tclsqlite3: $(TOP)/src/tclsqlite.c libsqlite3.a |
| 546 | $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite3 \ |
danielk1977 | bc6ada4 | 2004-06-30 08:20:16 +0000 | [diff] [blame] | 547 | $(TOP)/src/tclsqlite.c libsqlite3.a $(LIBTCL) $(THREADLIB) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 548 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 549 | testfixture$(EXE): $(TOP)/src/tclsqlite.c libsqlite3.a $(TESTSRC) |
drh | 66560ad | 2006-01-06 14:32:19 +0000 | [diff] [blame] | 550 | $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \ |
drh | 29c636b | 2006-01-09 23:40:25 +0000 | [diff] [blame] | 551 | -DSQLITE_SERVER=1 -o testfixture$(EXE) \ |
danielk1977 | 576d3db | 2007-06-25 14:28:48 +0000 | [diff] [blame] | 552 | -DSQLITE_CORE $(TESTSRC) $(TOP)/src/tclsqlite.c \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 553 | libsqlite3.a $(LIBTCL) $(THREADLIB) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 554 | |
drh | 9c06c95 | 2005-11-26 00:25:00 +0000 | [diff] [blame] | 555 | fulltest: testfixture$(EXE) sqlite3$(EXE) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 556 | ./testfixture$(EXE) $(TOP)/test/all.test |
| 557 | |
drh | 44548ec | 2007-06-18 12:22:43 +0000 | [diff] [blame] | 558 | soaktest: testfixture$(EXE) sqlite3$(EXE) |
| 559 | ./testfixture$(EXE) $(TOP)/test/all.test -soak 1 |
| 560 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 561 | test: testfixture$(EXE) sqlite3$(EXE) |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 562 | ./testfixture$(EXE) $(TOP)/test/quick.test |
| 563 | |
drh | 3e27c02 | 2004-07-23 00:01:38 +0000 | [diff] [blame] | 564 | sqlite3_analyzer$(EXE): $(TOP)/src/tclsqlite.c libsqlite3.a $(TESTSRC) \ |
| 565 | $(TOP)/tool/spaceanal.tcl |
| 566 | sed \ |
| 567 | -e '/^#/d' \ |
| 568 | -e 's,\\,\\\\,g' \ |
| 569 | -e 's,",\\",g' \ |
| 570 | -e 's,^,",' \ |
| 571 | -e 's,$$,\\n",' \ |
| 572 | $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h |
drh | 2d02a67 | 2006-01-25 15:55:37 +0000 | [diff] [blame] | 573 | $(TCCX) $(TCL_FLAGS) -DTCLSH=2 -DSQLITE_TEST=1 -DSQLITE_DEBUG=1 -o \ |
shess | d8c1648 | 2007-07-17 17:22:03 +0000 | [diff] [blame] | 574 | sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \ |
drh | 3e27c02 | 2004-07-23 00:01:38 +0000 | [diff] [blame] | 575 | libsqlite3.a $(LIBTCL) $(THREADLIB) |
| 576 | |
danielk1977 | 69e777f | 2006-06-14 10:38:02 +0000 | [diff] [blame] | 577 | TEST_EXTENSION = $(SHPREFIX)testloadext.$(SO) |
| 578 | $(TEST_EXTENSION): $(TOP)/src/test_loadext.c |
| 579 | $(MKSHLIB) $(TOP)/src/test_loadext.c -o $(TEST_EXTENSION) |
| 580 | |
| 581 | extensiontest: testfixture$(EXE) $(TEST_EXTENSION) |
| 582 | ./testfixture$(EXE) $(TOP)/test/loadext.test |
| 583 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 584 | # Rules used to build documentation |
| 585 | # |
| 586 | arch.html: $(TOP)/www/arch.tcl |
| 587 | tclsh $(TOP)/www/arch.tcl >arch.html |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 588 | |
drh | f856582 | 2004-11-21 01:02:00 +0000 | [diff] [blame] | 589 | autoinc.html: $(TOP)/www/autoinc.tcl |
| 590 | tclsh $(TOP)/www/autoinc.tcl >autoinc.html |
| 591 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 592 | c_interface.html: $(TOP)/www/c_interface.tcl |
| 593 | tclsh $(TOP)/www/c_interface.tcl >c_interface.html |
| 594 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 595 | capi3.html: $(TOP)/www/capi3.tcl |
| 596 | tclsh $(TOP)/www/capi3.tcl >capi3.html |
| 597 | |
drh | 6ed48bf | 2007-06-14 20:57:18 +0000 | [diff] [blame] | 598 | capi3ref.html: $(TOP)/www/mkapidoc.tcl sqlite3.h |
| 599 | tclsh $(TOP)/www/mkapidoc.tcl <sqlite3.h >capi3ref.html |
drh | 93db69e | 2004-06-01 01:22:37 +0000 | [diff] [blame] | 600 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 601 | changes.html: $(TOP)/www/changes.tcl |
| 602 | tclsh $(TOP)/www/changes.tcl >changes.html |
| 603 | |
drh | f856582 | 2004-11-21 01:02:00 +0000 | [diff] [blame] | 604 | compile.html: $(TOP)/www/compile.tcl |
| 605 | tclsh $(TOP)/www/compile.tcl >compile.html |
| 606 | |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 607 | copyright.html: $(TOP)/www/copyright.tcl |
| 608 | tclsh $(TOP)/www/copyright.tcl >copyright.html |
| 609 | |
| 610 | copyright-release.html: $(TOP)/www/copyright-release.html |
| 611 | cp $(TOP)/www/copyright-release.html . |
| 612 | |
| 613 | copyright-release.pdf: $(TOP)/www/copyright-release.pdf |
| 614 | cp $(TOP)/www/copyright-release.pdf . |
| 615 | |
| 616 | common.tcl: $(TOP)/www/common.tcl |
| 617 | cp $(TOP)/www/common.tcl . |
| 618 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 619 | conflict.html: $(TOP)/www/conflict.tcl |
| 620 | tclsh $(TOP)/www/conflict.tcl >conflict.html |
| 621 | |
| 622 | datatypes.html: $(TOP)/www/datatypes.tcl |
| 623 | tclsh $(TOP)/www/datatypes.tcl >datatypes.html |
| 624 | |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 625 | datatype3.html: $(TOP)/www/datatype3.tcl |
| 626 | tclsh $(TOP)/www/datatype3.tcl >datatype3.html |
| 627 | |
drh | 9179fd9 | 2005-03-12 15:55:10 +0000 | [diff] [blame] | 628 | different.html: $(TOP)/www/different.tcl |
| 629 | tclsh $(TOP)/www/different.tcl >different.html |
| 630 | |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 631 | docs.html: $(TOP)/www/docs.tcl |
| 632 | tclsh $(TOP)/www/docs.tcl >docs.html |
| 633 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 634 | download.html: $(TOP)/www/download.tcl |
danielk1977 | cf991b3 | 2004-06-24 01:30:44 +0000 | [diff] [blame] | 635 | mkdir -p doc |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 636 | tclsh $(TOP)/www/download.tcl >download.html |
| 637 | |
| 638 | faq.html: $(TOP)/www/faq.tcl |
| 639 | tclsh $(TOP)/www/faq.tcl >faq.html |
| 640 | |
| 641 | fileformat.html: $(TOP)/www/fileformat.tcl |
| 642 | tclsh $(TOP)/www/fileformat.tcl >fileformat.html |
| 643 | |
| 644 | formatchng.html: $(TOP)/www/formatchng.tcl |
| 645 | tclsh $(TOP)/www/formatchng.tcl >formatchng.html |
| 646 | |
| 647 | index.html: $(TOP)/www/index.tcl last_change |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 648 | tclsh $(TOP)/www/index.tcl >index.html |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 649 | |
drh | b0e64f3 | 2007-06-09 09:53:51 +0000 | [diff] [blame] | 650 | limits.html: $(TOP)/www/limits.tcl last_change |
| 651 | tclsh $(TOP)/www/limits.tcl >limits.html |
| 652 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 653 | lang.html: $(TOP)/www/lang.tcl |
danielk1977 | cd45ab2 | 2004-11-19 11:59:23 +0000 | [diff] [blame] | 654 | tclsh $(TOP)/www/lang.tcl doc >lang.html |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 655 | |
danielk1977 | 2a03c3a | 2004-11-10 05:48:57 +0000 | [diff] [blame] | 656 | pragma.html: $(TOP)/www/pragma.tcl |
| 657 | tclsh $(TOP)/www/pragma.tcl >pragma.html |
| 658 | |
drh | 52619df | 2004-06-11 17:48:02 +0000 | [diff] [blame] | 659 | lockingv3.html: $(TOP)/www/lockingv3.tcl |
| 660 | tclsh $(TOP)/www/lockingv3.tcl >lockingv3.html |
| 661 | |
danielk1977 | da18423 | 2006-01-05 11:34:32 +0000 | [diff] [blame] | 662 | sharedcache.html: $(TOP)/www/sharedcache.tcl |
| 663 | tclsh $(TOP)/www/sharedcache.tcl >sharedcache.html |
| 664 | |
drh | 8897f6f | 2005-08-30 22:44:29 +0000 | [diff] [blame] | 665 | mingw.html: $(TOP)/www/mingw.tcl |
| 666 | tclsh $(TOP)/www/mingw.tcl >mingw.html |
| 667 | |
| 668 | nulls.html: $(TOP)/www/nulls.tcl |
| 669 | tclsh $(TOP)/www/nulls.tcl >nulls.html |
| 670 | |
drh | 7b93ed3 | 2004-06-16 03:02:00 +0000 | [diff] [blame] | 671 | oldnews.html: $(TOP)/www/oldnews.tcl |
| 672 | tclsh $(TOP)/www/oldnews.tcl >oldnews.html |
| 673 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 674 | omitted.html: $(TOP)/www/omitted.tcl |
| 675 | tclsh $(TOP)/www/omitted.tcl >omitted.html |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 676 | |
| 677 | opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c |
| 678 | tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html |
| 679 | |
drh | 8897f6f | 2005-08-30 22:44:29 +0000 | [diff] [blame] | 680 | optimizer.html: $(TOP)/www/optimizer.tcl |
| 681 | tclsh $(TOP)/www/optimizer.tcl >optimizer.html |
drh | fbe4375 | 2002-08-14 00:08:12 +0000 | [diff] [blame] | 682 | |
drh | f6ac657 | 2005-08-31 01:49:59 +0000 | [diff] [blame] | 683 | optoverview.html: $(TOP)/www/optoverview.tcl |
| 684 | tclsh $(TOP)/www/optoverview.tcl >optoverview.html |
| 685 | |
drh | c277413 | 2002-08-15 13:45:17 +0000 | [diff] [blame] | 686 | quickstart.html: $(TOP)/www/quickstart.tcl |
| 687 | tclsh $(TOP)/www/quickstart.tcl >quickstart.html |
| 688 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 689 | speed.html: $(TOP)/www/speed.tcl |
| 690 | tclsh $(TOP)/www/speed.tcl >speed.html |
drh | d8acdb3 | 2002-08-18 19:09:22 +0000 | [diff] [blame] | 691 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 692 | sqlite.html: $(TOP)/www/sqlite.tcl |
| 693 | tclsh $(TOP)/www/sqlite.tcl >sqlite.html |
| 694 | |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 695 | support.html: $(TOP)/www/support.tcl |
| 696 | tclsh $(TOP)/www/support.tcl >support.html |
| 697 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 698 | tclsqlite.html: $(TOP)/www/tclsqlite.tcl |
| 699 | tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html |
| 700 | |
| 701 | vdbe.html: $(TOP)/www/vdbe.tcl |
| 702 | tclsh $(TOP)/www/vdbe.tcl >vdbe.html |
drh | 96f4531 | 2002-09-02 14:11:02 +0000 | [diff] [blame] | 703 | |
drh | a285422 | 2004-06-17 19:04:17 +0000 | [diff] [blame] | 704 | version3.html: $(TOP)/www/version3.tcl |
| 705 | tclsh $(TOP)/www/version3.tcl >version3.html |
| 706 | |
drh | e425464 | 2005-01-21 18:19:27 +0000 | [diff] [blame] | 707 | whentouse.html: $(TOP)/www/whentouse.tcl |
| 708 | tclsh $(TOP)/www/whentouse.tcl >whentouse.html |
| 709 | |
drh | 50d3f90 | 2007-08-27 21:10:36 +0000 | [diff] [blame] | 710 | 34to35.html: $(TOP)/www/34to35.tcl |
| 711 | tclsh $(TOP)/www/34to35.tcl >34to35.html |
| 712 | |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 713 | |
| 714 | # Files to be published on the website. |
| 715 | # |
drh | 90ca975 | 2001-09-28 17:47:14 +0000 | [diff] [blame] | 716 | DOC = \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 717 | arch.html \ |
drh | f856582 | 2004-11-21 01:02:00 +0000 | [diff] [blame] | 718 | autoinc.html \ |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 719 | c_interface.html \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 720 | capi3.html \ |
drh | 93db69e | 2004-06-01 01:22:37 +0000 | [diff] [blame] | 721 | capi3ref.html \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 722 | changes.html \ |
drh | f856582 | 2004-11-21 01:02:00 +0000 | [diff] [blame] | 723 | compile.html \ |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 724 | copyright.html \ |
| 725 | copyright-release.html \ |
| 726 | copyright-release.pdf \ |
drh | 7680032 | 2002-08-13 20:45:39 +0000 | [diff] [blame] | 727 | conflict.html \ |
drh | c277413 | 2002-08-15 13:45:17 +0000 | [diff] [blame] | 728 | datatypes.html \ |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 729 | datatype3.html \ |
drh | 9179fd9 | 2005-03-12 15:55:10 +0000 | [diff] [blame] | 730 | different.html \ |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 731 | docs.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 732 | download.html \ |
| 733 | faq.html \ |
drh | 96f4531 | 2002-09-02 14:11:02 +0000 | [diff] [blame] | 734 | fileformat.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 735 | formatchng.html \ |
| 736 | index.html \ |
drh | b0e64f3 | 2007-06-09 09:53:51 +0000 | [diff] [blame] | 737 | limits.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 738 | lang.html \ |
drh | 52619df | 2004-06-11 17:48:02 +0000 | [diff] [blame] | 739 | lockingv3.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 740 | mingw.html \ |
| 741 | nulls.html \ |
drh | 7b93ed3 | 2004-06-16 03:02:00 +0000 | [diff] [blame] | 742 | oldnews.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 743 | omitted.html \ |
| 744 | opcode.html \ |
drh | 8897f6f | 2005-08-30 22:44:29 +0000 | [diff] [blame] | 745 | optimizer.html \ |
drh | f6ac657 | 2005-08-31 01:49:59 +0000 | [diff] [blame] | 746 | optoverview.html \ |
danielk1977 | 2a03c3a | 2004-11-10 05:48:57 +0000 | [diff] [blame] | 747 | pragma.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 748 | quickstart.html \ |
danielk1977 | da18423 | 2006-01-05 11:34:32 +0000 | [diff] [blame] | 749 | sharedcache.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 750 | speed.html \ |
| 751 | sqlite.html \ |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 752 | support.html \ |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 753 | tclsqlite.html \ |
drh | a285422 | 2004-06-17 19:04:17 +0000 | [diff] [blame] | 754 | vdbe.html \ |
drh | e425464 | 2005-01-21 18:19:27 +0000 | [diff] [blame] | 755 | version3.html \ |
drh | 50d3f90 | 2007-08-27 21:10:36 +0000 | [diff] [blame] | 756 | whentouse.html \ |
| 757 | 34to35.html |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 758 | |
drh | d4acf19 | 2004-05-31 16:04:08 +0000 | [diff] [blame] | 759 | doc: common.tcl $(DOC) |
drh | 90ca975 | 2001-09-28 17:47:14 +0000 | [diff] [blame] | 760 | mkdir -p doc |
| 761 | mv $(DOC) doc |
drh | 8897f6f | 2005-08-30 22:44:29 +0000 | [diff] [blame] | 762 | cp $(TOP)/www/*.gif $(TOP)/art/*.gif doc |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 763 | |
drh | bbd42a6 | 2004-05-22 17:41:58 +0000 | [diff] [blame] | 764 | # Standard install and cleanup targets |
| 765 | # |
drh | 1d482dd | 2004-05-31 18:23:07 +0000 | [diff] [blame] | 766 | install: sqlite3 libsqlite3.a sqlite3.h |
| 767 | mv sqlite3 /usr/bin |
| 768 | mv libsqlite3.a /usr/lib |
| 769 | mv sqlite3.h /usr/include |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 770 | |
| 771 | clean: |
drh | 9c06c95 | 2005-11-26 00:25:00 +0000 | [diff] [blame] | 772 | rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* |
drh | 73b211a | 2005-01-18 04:00:42 +0000 | [diff] [blame] | 773 | rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h |
drh | 71eb93e | 2001-09-28 01:34:43 +0000 | [diff] [blame] | 774 | rm -f $(PUBLISH) |
| 775 | rm -f *.da *.bb *.bbg gmon.out |
| 776 | rm -rf tsrc |
drh | f80ad49 | 2006-09-02 22:14:59 +0000 | [diff] [blame] | 777 | rm -f testloadext.dll libtestloadext.so |