1 ###############################################################################
2 # The following macros should be defined before this script is
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.
9 # BCC C Compiler and options for use in building executables that
10 # will run on the platform that is doing the build.
12 # THREADLIB Specify any extra linker options needed to make the library
15 # LIBS Extra libraries options
17 # OPTS Extra compiler command-line options.
19 # EXE The suffix to add to executable files. ".exe" for windows
22 # TCC C Compiler and options for use in building executables that
23 # will run on the target platform. This is usually the same
24 # as BCC, unless you are cross-compiling.
26 # AR Tools used to build a static library.
29 # TCL_FLAGS Extra compiler options needed for programs that use the
32 # LIBTCL Linker options needed to link against the TCL library.
34 # READLINE_FLAGS Compiler options needed for programs that use the
37 # LIBREADLINE Linker options needed by programs using readline() must
40 # Once the macros above are defined, the rest of this make script will
41 # build the SQLite library and testing tools.
42 ################################################################################
44 # This is how we compile
46 TCCX
= $(TCC
) $(OPTS
) -I.
-I
$(TOP
)/src
-I
$(TOP
)
47 TCCX
+= -I
$(TOP
)/ext
/rtree
-I
$(TOP
)/ext
/icu
-I
$(TOP
)/ext
/fts3
48 TCCX
+= -I
$(TOP
)/ext
/async
-I
$(TOP
)/ext
/userauth
49 TCCX
+= -I
$(TOP
)/ext
/session
50 TCCX
+= -I
$(TOP
)/ext
/fts5
53 # Object files for the SQLite library.
55 LIBOBJ
+= vdbe.o parse.o \
56 alter.o analyze.o attach.o auth.o \
57 backup.o bitvec.o btmutex.o btree.o build.o \
58 callback.o complete.o ctime.o date.o dbstat.o delete.o expr.o \
60 fts3.o fts3_aux.o fts3_expr.o fts3_hash.o fts3_icu.o fts3_porter.o \
61 fts3_snippet.o fts3_tokenizer.o fts3_tokenizer1.o \
62 fts3_tokenize_vtab.o \
63 fts3_unicode.o fts3_unicode2.o \
64 fts3_write.o fts5.o func.o global.o hash.o \
65 icu.o insert.o json1.o legacy.o loadext.o \
66 main.o malloc.o mem0.o mem1.o mem2.o mem3.o mem5.o \
68 mutex.o mutex_noop.o mutex_unix.o mutex_w32.o \
69 notify.o opcodes.o os.o os_unix.o os_win.o \
70 pager.o pcache.o pcache1.o pragma.o prepare.o printf.o \
71 random.o resolve.o rowset.o rtree.o \
72 select.o sqlite3rbu.o status.o stmt.o \
73 table.o threads.o tokenize.o treeview.o trigger.o \
74 update.o userauth.o util.o vacuum.o \
75 vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o vdbesort.o \
76 vdbetrace.o wal.o walker.o where.o wherecode.o whereexpr.o \
79 LIBOBJ
+= sqlite3session.o
81 # All of the source code files.
85 $(TOP
)/src
/analyze.c \
90 $(TOP
)/src
/btmutex.c \
93 $(TOP
)/src
/btreeInt.h \
95 $(TOP
)/src
/callback.c \
96 $(TOP
)/src
/complete.c \
100 $(TOP
)/src
/delete.c \
105 $(TOP
)/src
/global.c \
108 $(TOP
)/src
/hwtime.h \
109 $(TOP
)/src
/insert.c \
110 $(TOP
)/src
/legacy.c \
111 $(TOP
)/src
/loadext.c \
113 $(TOP
)/src
/malloc.c \
119 $(TOP
)/src
/memjournal.c \
123 $(TOP
)/src
/mutex_noop.c \
124 $(TOP
)/src
/mutex_unix.c \
125 $(TOP
)/src
/mutex_w32.c \
126 $(TOP
)/src
/notify.c \
129 $(TOP
)/src
/os_common.h \
130 $(TOP
)/src
/os_setup.h \
131 $(TOP
)/src
/os_unix.c \
132 $(TOP
)/src
/os_win.c \
133 $(TOP
)/src
/os_win.h \
137 $(TOP
)/src
/pcache.c \
138 $(TOP
)/src
/pcache.h \
139 $(TOP
)/src
/pcache1.c \
140 $(TOP
)/src
/pragma.c \
141 $(TOP
)/src
/pragma.h \
142 $(TOP
)/src
/prepare.c \
143 $(TOP
)/src
/printf.c \
144 $(TOP
)/src
/random.c \
145 $(TOP
)/src
/resolve.c \
146 $(TOP
)/src
/rowset.c \
147 $(TOP
)/src
/select.c \
148 $(TOP
)/src
/status.c \
150 $(TOP
)/src
/sqlite.h.in \
151 $(TOP
)/src
/sqlite3ext.h \
152 $(TOP
)/src
/sqliteInt.h \
153 $(TOP
)/src
/sqliteLimit.h \
155 $(TOP
)/src
/tclsqlite.c \
156 $(TOP
)/src
/threads.c \
157 $(TOP
)/src
/tokenize.c \
158 $(TOP
)/src
/treeview.c \
159 $(TOP
)/src
/trigger.c \
161 $(TOP
)/src
/update.c \
163 $(TOP
)/src
/vacuum.c \
166 $(TOP
)/src
/vdbeapi.c \
167 $(TOP
)/src
/vdbeaux.c \
168 $(TOP
)/src
/vdbeblob.c \
169 $(TOP
)/src
/vdbemem.c \
170 $(TOP
)/src
/vdbesort.c \
171 $(TOP
)/src
/vdbetrace.c \
172 $(TOP
)/src
/vdbeInt.h \
174 $(TOP
)/src
/vxworks.h \
177 $(TOP
)/src
/walker.c \
179 $(TOP
)/src
/wherecode.c \
180 $(TOP
)/src
/whereexpr.c \
181 $(TOP
)/src
/whereInt.h
183 # Source code for extensions
186 $(TOP
)/ext
/fts1
/fts1.c \
187 $(TOP
)/ext
/fts1
/fts1.h \
188 $(TOP
)/ext
/fts1
/fts1_hash.c \
189 $(TOP
)/ext
/fts1
/fts1_hash.h \
190 $(TOP
)/ext
/fts1
/fts1_porter.c \
191 $(TOP
)/ext
/fts1
/fts1_tokenizer.h \
192 $(TOP
)/ext
/fts1
/fts1_tokenizer1.c
194 $(TOP
)/ext
/fts2
/fts2.c \
195 $(TOP
)/ext
/fts2
/fts2.h \
196 $(TOP
)/ext
/fts2
/fts2_hash.c \
197 $(TOP
)/ext
/fts2
/fts2_hash.h \
198 $(TOP
)/ext
/fts2
/fts2_icu.c \
199 $(TOP
)/ext
/fts2
/fts2_porter.c \
200 $(TOP
)/ext
/fts2
/fts2_tokenizer.h \
201 $(TOP
)/ext
/fts2
/fts2_tokenizer.c \
202 $(TOP
)/ext
/fts2
/fts2_tokenizer1.c
204 $(TOP
)/ext
/fts3
/fts3.c \
205 $(TOP
)/ext
/fts3
/fts3.h \
206 $(TOP
)/ext
/fts3
/fts3Int.h \
207 $(TOP
)/ext
/fts3
/fts3_aux.c \
208 $(TOP
)/ext
/fts3
/fts3_expr.c \
209 $(TOP
)/ext
/fts3
/fts3_hash.c \
210 $(TOP
)/ext
/fts3
/fts3_hash.h \
211 $(TOP
)/ext
/fts3
/fts3_icu.c \
212 $(TOP
)/ext
/fts3
/fts3_porter.c \
213 $(TOP
)/ext
/fts3
/fts3_snippet.c \
214 $(TOP
)/ext
/fts3
/fts3_tokenizer.h \
215 $(TOP
)/ext
/fts3
/fts3_tokenizer.c \
216 $(TOP
)/ext
/fts3
/fts3_tokenizer1.c \
217 $(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c \
218 $(TOP
)/ext
/fts3
/fts3_unicode.c \
219 $(TOP
)/ext
/fts3
/fts3_unicode2.c \
220 $(TOP
)/ext
/fts3
/fts3_write.c
222 $(TOP
)/ext
/icu
/sqliteicu.h \
225 $(TOP
)/ext
/rtree
/sqlite3rtree.h \
226 $(TOP
)/ext
/rtree
/rtree.h \
227 $(TOP
)/ext
/rtree
/rtree.c
229 $(TOP
)/ext
/session
/sqlite3session.c \
230 $(TOP
)/ext
/session
/sqlite3session.h
232 $(TOP
)/ext
/userauth
/userauth.c \
233 $(TOP
)/ext
/userauth
/sqlite3userauth.h
235 $(TOP
)/ext
/rbu
/sqlite3rbu.c \
236 $(TOP
)/ext
/rbu
/sqlite3rbu.h
238 $(TOP
)/ext
/misc
/json1.c \
239 $(TOP
)/ext
/misc
/stmt.c
245 $(TOP
)/ext
/fts5
/fts5.h \
246 $(TOP
)/ext
/fts5
/fts5Int.h \
250 $(TOP
)/ext
/fts5
/fts5_aux.c \
251 $(TOP
)/ext
/fts5
/fts5_buffer.c \
252 $(TOP
)/ext
/fts5
/fts5_main.c \
253 $(TOP
)/ext
/fts5
/fts5_config.c \
254 $(TOP
)/ext
/fts5
/fts5_expr.c \
255 $(TOP
)/ext
/fts5
/fts5_hash.c \
256 $(TOP
)/ext
/fts5
/fts5_index.c \
258 $(TOP
)/ext
/fts5
/fts5_storage.c \
259 $(TOP
)/ext
/fts5
/fts5_tokenize.c \
260 $(TOP
)/ext
/fts5
/fts5_unicode2.c \
261 $(TOP
)/ext
/fts5
/fts5_varint.c \
262 $(TOP
)/ext
/fts5
/fts5_vocab.c \
265 # Generated source code files
276 # Source code to the test files.
279 $(TOP
)/ext
/fts3
/fts3_term.c \
280 $(TOP
)/ext
/fts3
/fts3_test.c \
281 $(TOP
)/ext
/rbu
/test_rbu.c \
291 $(TOP
)/src
/test_autoext.c \
292 $(TOP
)/src
/test_async.c \
293 $(TOP
)/src
/test_backup.c \
294 $(TOP
)/src
/test_bestindex.c \
295 $(TOP
)/src
/test_blob.c \
296 $(TOP
)/src
/test_btree.c \
297 $(TOP
)/src
/test_config.c \
298 $(TOP
)/src
/test_delete.c \
299 $(TOP
)/src
/test_demovfs.c \
300 $(TOP
)/src
/test_devsym.c \
301 $(TOP
)/src
/test_fs.c \
302 $(TOP
)/src
/test_func.c \
303 $(TOP
)/src
/test_hexio.c \
304 $(TOP
)/src
/test_init.c \
305 $(TOP
)/src
/test_intarray.c \
306 $(TOP
)/src
/test_journal.c \
307 $(TOP
)/src
/test_malloc.c \
308 $(TOP
)/src
/test_multiplex.c \
309 $(TOP
)/src
/test_mutex.c \
310 $(TOP
)/src
/test_onefile.c \
311 $(TOP
)/src
/test_osinst.c \
312 $(TOP
)/src
/test_pcache.c \
313 $(TOP
)/src
/test_quota.c \
314 $(TOP
)/src
/test_rtree.c \
315 $(TOP
)/src
/test_schema.c \
316 $(TOP
)/src
/test_server.c \
317 $(TOP
)/src
/test_sqllog.c \
318 $(TOP
)/src
/test_superlock.c \
319 $(TOP
)/src
/test_syscall.c \
320 $(TOP
)/src
/test_tclvar.c \
321 $(TOP
)/src
/test_thread.c \
322 $(TOP
)/src
/test_vfs.c \
323 $(TOP
)/src
/test_windirent.c \
324 $(TOP
)/src
/test_wsd.c
326 # Extensions to be statically loaded.
329 $(TOP
)/ext
/misc
/amatch.c \
330 $(TOP
)/ext
/misc
/carray.c \
331 $(TOP
)/ext
/misc
/closure.c \
332 $(TOP
)/ext
/misc
/csv.c \
333 $(TOP
)/ext
/misc
/eval.c \
334 $(TOP
)/ext
/misc
/fileio.c \
335 $(TOP
)/ext
/misc
/fuzzer.c \
336 $(TOP
)/ext
/misc
/ieee754.c \
337 $(TOP
)/ext
/misc
/mmapwarm.c \
338 $(TOP
)/ext
/misc
/nextchar.c \
339 $(TOP
)/ext
/misc
/percentile.c \
340 $(TOP
)/ext
/misc
/regexp.c \
341 $(TOP
)/ext
/misc
/remember.c \
342 $(TOP
)/ext
/misc
/series.c \
343 $(TOP
)/ext
/misc
/spellfix.c \
344 $(TOP
)/ext
/misc
/totype.c \
345 $(TOP
)/ext
/misc
/unionvtab.c \
346 $(TOP
)/ext
/misc
/wholenumber.c \
347 $(TOP
)/ext
/misc
/vfslog.c \
348 $(TOP
)/ext
/fts5
/fts5_tcl.c \
349 $(TOP
)/ext
/fts5
/fts5_test_mi.c \
350 $(TOP
)/ext
/fts5
/fts5_test_tok.c
353 #TESTSRC += $(TOP)/ext/fts2/fts2_tokenizer.c
354 #TESTSRC += $(TOP)/ext/fts3/fts3_tokenizer.c
357 $(TOP
)/src
/attach.c \
358 $(TOP
)/src
/backup.c \
362 $(TOP
)/src
/dbstat.c \
365 $(TOP
)/src
/insert.c \
370 $(TOP
)/src
/os_unix.c \
371 $(TOP
)/src
/os_win.c \
373 $(TOP
)/src
/pragma.c \
374 $(TOP
)/src
/prepare.c \
375 $(TOP
)/src
/printf.c \
376 $(TOP
)/src
/random.c \
377 $(TOP
)/src
/pcache.c \
378 $(TOP
)/src
/pcache1.c \
379 $(TOP
)/src
/select.c \
380 $(TOP
)/src
/threads.c \
381 $(TOP
)/src
/tokenize.c \
384 $(TOP
)/src
/vdbeapi.c \
385 $(TOP
)/src
/vdbeaux.c \
387 $(TOP
)/src
/vdbemem.c \
389 $(TOP
)/src
/wherecode.c \
390 $(TOP
)/src
/whereexpr.c \
392 $(TOP
)/ext
/fts3
/fts3.c \
393 $(TOP
)/ext
/fts3
/fts3_aux.c \
394 $(TOP
)/ext
/fts3
/fts3_expr.c \
395 $(TOP
)/ext
/fts3
/fts3_tokenizer.c \
396 $(TOP
)/ext
/fts3
/fts3_write.c \
397 $(TOP
)/ext
/async
/sqlite3async.c \
398 $(TOP
)/ext
/session
/sqlite3session.c \
399 $(TOP
)/ext
/session
/test_session.c
401 # Header files used by all library source files.
405 $(TOP
)/src
/btreeInt.h \
407 $(TOP
)/src
/hwtime.h \
413 $(TOP
)/src
/os_common.h \
414 $(TOP
)/src
/os_setup.h \
415 $(TOP
)/src
/os_win.h \
417 $(TOP
)/src
/pcache.h \
419 $(TOP
)/src
/pragma.h \
421 $(TOP
)/src
/sqlite3ext.h \
422 $(TOP
)/src
/sqliteInt.h \
423 $(TOP
)/src
/sqliteLimit.h \
425 $(TOP
)/src
/vdbeInt.h \
426 $(TOP
)/src
/vxworks.h \
427 $(TOP
)/src
/whereInt.h
429 # Header files used by extensions
432 $(TOP
)/ext
/fts1
/fts1.h \
433 $(TOP
)/ext
/fts1
/fts1_hash.h \
434 $(TOP
)/ext
/fts1
/fts1_tokenizer.h
436 $(TOP
)/ext
/fts2
/fts2.h \
437 $(TOP
)/ext
/fts2
/fts2_hash.h \
438 $(TOP
)/ext
/fts2
/fts2_tokenizer.h
440 $(TOP
)/ext
/fts3
/fts3.h \
441 $(TOP
)/ext
/fts3
/fts3Int.h \
442 $(TOP
)/ext
/fts3
/fts3_hash.h \
443 $(TOP
)/ext
/fts3
/fts3_tokenizer.h
445 $(TOP
)/ext
/rtree
/rtree.h
447 $(TOP
)/ext
/icu
/sqliteicu.h
449 $(TOP
)/ext
/fts5
/fts5Int.h \
451 $(TOP
)/ext
/fts5
/fts5.h
453 $(TOP
)/ext
/userauth
/sqlite3userauth.h
455 # executables needed for testing
460 sqlite3_analyzer
$(EXE
) \
464 # Databases containing fuzzer test cases
467 $(TOP
)/test/fuzzdata1.db \
468 $(TOP
)/test/fuzzdata2.db \
469 $(TOP
)/test/fuzzdata3.db \
470 $(TOP
)/test/fuzzdata4.db \
471 $(TOP
)/test/fuzzdata5.db
473 # Standard options to testfixture
475 TESTOPTS
= --verbose
=file
--output
=test-out.txt
477 # Extra compiler options for various shell tools
479 SHELL_OPT
+= -DSQLITE_ENABLE_JSON1
-DSQLITE_ENABLE_FTS4
-DSQLITE_ENABLE_FTS5
480 SHELL_OPT
+= -DSQLITE_ENABLE_EXPLAIN_COMMENTS
481 SHELL_OPT
+= -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
482 SHELL_OPT
+= -DSQLITE_ENABLE_STMTVTAB
483 FUZZERSHELL_OPT
= -DSQLITE_ENABLE_JSON1
484 FUZZCHECK_OPT
= -DSQLITE_ENABLE_JSON1
-DSQLITE_ENABLE_MEMSYS5
485 FUZZCHECK_OPT
+= -DSQLITE_MAX_MEMORY
=50000000
487 KV_OPT
= -DSQLITE_THREADSAFE
=0 -DSQLITE_DIRECT_OVERFLOW_READ
488 ST_OPT
= -DSQLITE_THREADSAFE
=0
490 # This is the default Makefile target. The objects listed here
491 # are what get build when you type just "make" with no arguments.
493 all: sqlite3.h libsqlite3.a sqlite3
$(EXE
)
495 libsqlite3.a
: $(LIBOBJ
)
496 $(AR
) libsqlite3.a
$(LIBOBJ
)
497 $(RANLIB
) libsqlite3.a
499 sqlite3
$(EXE
): $(TOP
)/src
/shell.c libsqlite3.a sqlite3.h
500 $(TCCX
) $(READLINE_FLAGS
) -o sqlite3
$(EXE
) $(SHELL_OPT
) \
501 $(TOP
)/src
/shell.c libsqlite3.a
$(LIBREADLINE
) $(TLIBS
) $(THREADLIB
)
503 sqldiff
$(EXE
): $(TOP
)/tool
/sqldiff.c sqlite3.c sqlite3.h
504 $(TCCX
) -o sqldiff
$(EXE
) -DSQLITE_THREADSAFE
=0 \
505 $(TOP
)/tool
/sqldiff.c sqlite3.c
$(TLIBS
) $(THREADLIB
)
507 dbhash
$(EXE
): $(TOP
)/tool
/dbhash.c sqlite3.c sqlite3.h
508 $(TCCX
) -o dbhash
$(EXE
) -DSQLITE_THREADSAFE
=0 \
509 $(TOP
)/tool
/dbhash.c sqlite3.c
$(TLIBS
) $(THREADLIB
)
511 scrub
$(EXE
): $(TOP
)/ext
/misc
/scrub.c sqlite3.o
512 $(TCC
) -I.
-DSCRUB_STANDALONE
-o scrub
$(EXE
) $(TOP
)/ext
/misc
/scrub.c sqlite3.o
$(THREADLIB
)
514 srcck1
$(EXE
): $(TOP
)/tool
/srcck1.c
515 $(BCC
) -o srcck1
$(EXE
) $(TOP
)/tool
/srcck1.c
517 sourcetest
: srcck1
$(EXE
) sqlite3.c
520 fuzzershell
$(EXE
): $(TOP
)/tool
/fuzzershell.c sqlite3.c sqlite3.h
521 $(TCCX
) -o fuzzershell
$(EXE
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION \
522 $(FUZZERSHELL_OPT
) $(TOP
)/tool
/fuzzershell.c sqlite3.c \
523 $(TLIBS
) $(THREADLIB
)
525 dbfuzz
$(EXE
): $(TOP
)/test/dbfuzz.c sqlite3.c sqlite3.h
526 $(TCCX
) -o dbfuzz
$(EXE
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION \
527 $(DBFUZZ_OPT
) $(TOP
)/test/dbfuzz.c sqlite3.c \
528 $(TLIBS
) $(THREADLIB
)
530 fuzzcheck
$(EXE
): $(TOP
)/test/fuzzcheck.c sqlite3.c sqlite3.h
$(TOP
)/test/ossfuzz.c
531 $(TCCX
) -o fuzzcheck
$(EXE
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION \
532 -DSQLITE_ENABLE_MEMSYS5
$(FUZZCHECK_OPT
) -DSQLITE_OSS_FUZZ \
533 $(TOP
)/test/fuzzcheck.c
$(TOP
)/test/ossfuzz.c sqlite3.c
$(TLIBS
) $(THREADLIB
)
535 ossshell
$(EXE
): $(TOP
)/test/ossfuzz.c
$(TOP
)/test/ossshell.c sqlite3.c sqlite3.h
536 $(TCCX
) -o ossshell
$(EXE
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION \
537 -DSQLITE_ENABLE_MEMSYS5
$(FUZZCHECK_OPT
) \
538 $(TOP
)/test/ossfuzz.c
$(TOP
)/test/ossshell.c sqlite3.c
$(TLIBS
) $(THREADLIB
)
540 mptester
$(EXE
): sqlite3.c
$(TOP
)/mptest
/mptest.c
541 $(TCCX
) -o
$@
-I.
$(TOP
)/mptest
/mptest.c sqlite3.c \
542 $(TLIBS
) $(THREADLIB
)
544 MPTEST1
=.
/mptester
$(EXE
) mptest1.db
$(TOP
)/mptest
/crash01.
test --repeat
20
545 MPTEST2
=.
/mptester
$(EXE
) mptest2.db
$(TOP
)/mptest
/multiwrite01.
test --repeat
20
546 mptest
: mptester
$(EXE
)
547 $(MPTEST1
) --journalmode DELETE
548 $(MPTEST2
) --journalmode WAL
549 $(MPTEST1
) --journalmode WAL
550 $(MPTEST2
) --journalmode PERSIST
551 $(MPTEST1
) --journalmode PERSIST
552 $(MPTEST2
) --journalmode TRUNCATE
553 $(MPTEST1
) --journalmode TRUNCATE
554 $(MPTEST2
) --journalmode DELETE
557 $(TCCX
) -I.
-c sqlite3.c
559 # This target creates a directory named "tsrc" and fills it with
560 # copies of all of the C source code and header files needed to
561 # build on the target system. Some of the C source code and header
562 # files are automatically generated. This target takes care of
563 # all that automatic generation.
565 target_source
: $(SRC
) $(TOP
)/tool
/vdbe-compress.tcl fts5.c
569 rm tsrc
/sqlite.h.in tsrc
/parse.y
570 tclsh
$(TOP
)/tool
/vdbe-compress.tcl
$(OPTS
) <tsrc
/vdbe.c
>vdbe.new
571 mv vdbe.new tsrc
/vdbe.c
572 cp fts5.c fts5.h tsrc
575 sqlite3.c
: target_source
$(TOP
)/tool
/mksqlite3c.tcl
576 tclsh
$(TOP
)/tool
/mksqlite3c.tcl
577 cp tsrc
/shell.c tsrc
/sqlite3ext.h .
578 cp
$(TOP
)/ext
/session
/sqlite3session.h .
579 echo
'#ifndef USE_SYSTEM_SQLITE' >tclsqlite3.c
580 cat sqlite3.c
>>tclsqlite3.c
581 echo
'#endif /* USE_SYSTEM_SQLITE */' >>tclsqlite3.c
582 cat
$(TOP
)/src
/tclsqlite.c
>>tclsqlite3.c
584 sqlite3ext.h
: target_source
585 cp tsrc
/sqlite3ext.h .
587 sqlite3.c-debug
: target_source
$(TOP
)/tool
/mksqlite3c.tcl
588 tclsh
$(TOP
)/tool
/mksqlite3c.tcl
--linemacros
589 echo
'#ifndef USE_SYSTEM_SQLITE' >tclsqlite3.c
590 cat sqlite3.c
>>tclsqlite3.c
591 echo
'#endif /* USE_SYSTEM_SQLITE */' >>tclsqlite3.c
592 echo
'#line 1 "tclsqlite.c"' >>tclsqlite3.c
593 cat
$(TOP
)/src
/tclsqlite.c
>>tclsqlite3.c
595 sqlite3-all.c
: sqlite3.c
$(TOP
)/tool
/split-sqlite3c.tcl
596 tclsh
$(TOP
)/tool
/split-sqlite3c.tcl
598 fts2amal.c
: target_source
$(TOP
)/ext
/fts2
/mkfts2amal.tcl
599 tclsh
$(TOP
)/ext
/fts2
/mkfts2amal.tcl
601 fts3amal.c
: target_source
$(TOP
)/ext
/fts3
/mkfts3amal.tcl
602 tclsh
$(TOP
)/ext
/fts3
/mkfts3amal.tcl
604 # Rules to build the LEMON compiler generator
606 lemon
: $(TOP
)/tool
/lemon.c
$(TOP
)/tool
/lempar.c
607 $(BCC
) -o lemon
$(TOP
)/tool
/lemon.c
608 cp
$(TOP
)/tool
/lempar.c .
610 # A tool to generate the source-id
612 mksourceid
: $(TOP
)/tool
/mksourceid.c
613 $(BCC
) -o mksourceid
$(TOP
)/tool
/mksourceid.c
615 # Rules to build individual *.o files from generated *.c files. This
624 # Rules to build individual *.o files from files in the src directory.
626 %.o
: $(TOP
)/src
/%.c
$(HDR
)
629 tclsqlite.o
: $(TOP
)/src
/tclsqlite.c
$(HDR
)
630 $(TCCX
) $(TCL_FLAGS
) -c
$(TOP
)/src
/tclsqlite.c
634 # Rules to build opcodes.c and opcodes.h
636 opcodes.c
: opcodes.h
$(TOP
)/tool
/mkopcodec.tcl
637 tclsh
$(TOP
)/tool
/mkopcodec.tcl opcodes.h
>opcodes.c
639 opcodes.h
: parse.h
$(TOP
)/src
/vdbe.c
$(TOP
)/tool
/mkopcodeh.tcl
640 cat parse.h
$(TOP
)/src
/vdbe.c | \
641 tclsh
$(TOP
)/tool
/mkopcodeh.tcl
>opcodes.h
643 # Rules to build parse.c and parse.h - the outputs of lemon.
647 parse.c
: $(TOP
)/src
/parse.y lemon
$(TOP
)/tool
/addopcodes.tcl
648 cp
$(TOP
)/src
/parse.y .
650 .
/lemon
-s
$(OPTS
) parse.y
651 mv parse.h parse.h.temp
652 tclsh
$(TOP
)/tool
/addopcodes.tcl parse.h.temp
>parse.h
654 sqlite3.h
: $(TOP
)/src
/sqlite.h.in
$(TOP
)/manifest mksourceid
$(TOP
)/VERSION
$(TOP
)/ext
/rtree
/sqlite3rtree.h
655 tclsh
$(TOP
)/tool
/mksqlite3h.tcl
$(TOP
) >sqlite3.h
657 keywordhash.h
: $(TOP
)/tool
/mkkeywordhash.c
658 $(BCC
) -o mkkeywordhash
$(OPTS
) $(TOP
)/tool
/mkkeywordhash.c
659 .
/mkkeywordhash
>keywordhash.h
663 # Rules to build the extension objects.
665 icu.o
: $(TOP
)/ext
/icu
/icu.c
$(HDR
) $(EXTHDR
)
666 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/icu
/icu.c
668 fts2.o
: $(TOP
)/ext
/fts2
/fts2.c
$(HDR
) $(EXTHDR
)
669 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2.c
671 fts2_hash.o
: $(TOP
)/ext
/fts2
/fts2_hash.c
$(HDR
) $(EXTHDR
)
672 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_hash.c
674 fts2_icu.o
: $(TOP
)/ext
/fts2
/fts2_icu.c
$(HDR
) $(EXTHDR
)
675 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_icu.c
677 fts2_porter.o
: $(TOP
)/ext
/fts2
/fts2_porter.c
$(HDR
) $(EXTHDR
)
678 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_porter.c
680 fts2_tokenizer.o
: $(TOP
)/ext
/fts2
/fts2_tokenizer.c
$(HDR
) $(EXTHDR
)
681 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_tokenizer.c
683 fts2_tokenizer1.o
: $(TOP
)/ext
/fts2
/fts2_tokenizer1.c
$(HDR
) $(EXTHDR
)
684 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_tokenizer1.c
686 fts3.o
: $(TOP
)/ext
/fts3
/fts3.c
$(HDR
) $(EXTHDR
)
687 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3.c
689 fts3_aux.o
: $(TOP
)/ext
/fts3
/fts3_aux.c
$(HDR
) $(EXTHDR
)
690 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_aux.c
692 fts3_expr.o
: $(TOP
)/ext
/fts3
/fts3_expr.c
$(HDR
) $(EXTHDR
)
693 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_expr.c
695 fts3_hash.o
: $(TOP
)/ext
/fts3
/fts3_hash.c
$(HDR
) $(EXTHDR
)
696 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_hash.c
698 fts3_icu.o
: $(TOP
)/ext
/fts3
/fts3_icu.c
$(HDR
) $(EXTHDR
)
699 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_icu.c
701 fts3_snippet.o
: $(TOP
)/ext
/fts3
/fts3_snippet.c
$(HDR
) $(EXTHDR
)
702 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_snippet.c
704 fts3_porter.o
: $(TOP
)/ext
/fts3
/fts3_porter.c
$(HDR
) $(EXTHDR
)
705 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_porter.c
707 fts3_tokenizer.o
: $(TOP
)/ext
/fts3
/fts3_tokenizer.c
$(HDR
) $(EXTHDR
)
708 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenizer.c
710 fts3_tokenizer1.o
: $(TOP
)/ext
/fts3
/fts3_tokenizer1.c
$(HDR
) $(EXTHDR
)
711 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenizer1.c
713 fts3_tokenize_vtab.o
: $(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c
$(HDR
) $(EXTHDR
)
714 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c
716 fts3_unicode.o
: $(TOP
)/ext
/fts3
/fts3_unicode.c
$(HDR
) $(EXTHDR
)
717 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_unicode.c
719 fts3_unicode2.o
: $(TOP
)/ext
/fts3
/fts3_unicode2.c
$(HDR
) $(EXTHDR
)
720 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_unicode2.c
722 fts3_write.o
: $(TOP
)/ext
/fts3
/fts3_write.c
$(HDR
) $(EXTHDR
)
723 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_write.c
726 $(TCCX
) -DSQLITE_CORE
-c fts5.c
728 json1.o
: $(TOP
)/ext
/misc
/json1.c
729 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/misc
/json1.c
731 stmt.o
: $(TOP
)/ext
/misc
/stmt.c
732 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/misc
/stmt.c
734 rtree.o
: $(TOP
)/ext
/rtree
/rtree.c
$(HDR
) $(EXTHDR
)
735 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/rtree
/rtree.c
739 fts5parse.c
: $(TOP
)/ext
/fts5
/fts5parse.y lemon
740 cp
$(TOP
)/ext
/fts5
/fts5parse.y .
742 .
/lemon
$(OPTS
) fts5parse.y
744 fts5parse.h
: fts5parse.c
746 fts5.c
: $(FTS5_SRC
) $(FTS5_HDR
)
747 tclsh
$(TOP
)/ext
/fts5
/tool
/mkfts5c.tcl
748 cp
$(TOP
)/ext
/fts5
/fts5.h .
750 userauth.o
: $(TOP
)/ext
/userauth
/userauth.c
$(HDR
) $(EXTHDR
)
751 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/userauth
/userauth.c
753 sqlite3session.o
: $(TOP
)/ext
/session
/sqlite3session.c
$(HDR
) $(EXTHDR
)
754 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/session
/sqlite3session.c
756 sqlite3rbu.o
: $(TOP
)/ext
/rbu
/sqlite3rbu.c
$(HDR
) $(EXTHDR
)
757 $(TCCX
) -DSQLITE_CORE
-c
$(TOP
)/ext
/rbu
/sqlite3rbu.c
759 # Rules for building test programs and for running tests
761 tclsqlite3
: $(TOP
)/src
/tclsqlite.c libsqlite3.a
762 $(TCCX
) $(TCL_FLAGS
) -DTCLSH
=1 -o tclsqlite3 \
763 $(TOP
)/src
/tclsqlite.c libsqlite3.a
$(LIBTCL
) $(THREADLIB
)
765 sqlite3_analyzer.c
: sqlite3.c
$(TOP
)/src
/tclsqlite.c
$(TOP
)/tool
/spaceanal.tcl
766 echo
"#define TCLSH 2" > $@
767 echo
"#define SQLITE_ENABLE_DBSTAT_VTAB 1" >> $@
768 cat sqlite3.c
$(TOP
)/src
/tclsqlite.c
>> $@
769 echo
"static const char *tclsh_main_loop(void){" >> $@
770 echo
"static const char *zMainloop = " >> $@
771 tclsh
$(TOP
)/tool
/tostr.tcl
$(TOP
)/tool
/spaceanal.tcl
>> $@
772 echo
"; return zMainloop; }" >> $@
774 sqlite3_analyzer
$(EXE
): sqlite3_analyzer.c
775 $(TCCX
) $(TCL_FLAGS
) sqlite3_analyzer.c
-o
$@
$(LIBTCL
) $(THREADLIB
)
777 dbdump
$(EXE
): $(TOP
)/ext
/misc
/dbdump.c sqlite3.o
778 $(TCCX
) -DDBDUMP_STANDALONE
-o dbdump
$(EXE
) \
779 $(TOP
)/ext
/misc
/dbdump.c sqlite3.o
$(THREADLIB
)
781 # Rules to build the 'testfixture' application.
783 TESTFIXTURE_FLAGS
= -DSQLITE_TEST
=1 -DSQLITE_CRASH_TEST
=1
784 TESTFIXTURE_FLAGS
+= -DSQLITE_SERVER
=1 -DSQLITE_PRIVATE
="" -DSQLITE_CORE
785 TESTFIXTURE_FLAGS
+= -DSQLITE_SERIES_CONSTRAINT_VERIFY
=1
786 TESTFIXTURE_FLAGS
+= -DSQLITE_DEFAULT_PAGE_SIZE
=1024
787 TESTFIXTURE_FLAGS
+= -DSQLITE_ENABLE_STMTVTAB
789 testfixture
$(EXE
): $(TESTSRC2
) libsqlite3.a
$(TESTSRC
) $(TOP
)/src
/tclsqlite.c
790 $(TCCX
) $(TCL_FLAGS
) -DTCLSH
=1 $(TESTFIXTURE_FLAGS
) \
791 $(TESTSRC
) $(TESTSRC2
) $(TOP
)/src
/tclsqlite.c \
792 -o testfixture
$(EXE
) $(LIBTCL
) libsqlite3.a
$(THREADLIB
)
794 amalgamation-testfixture
$(EXE
): sqlite3.c
$(TESTSRC
) $(TOP
)/src
/tclsqlite.c \
795 $(TOP
)/ext
/session
/test_session.c
796 $(TCCX
) $(TCL_FLAGS
) -DTCLSH
=1 $(TESTFIXTURE_FLAGS
) \
797 $(TESTSRC
) $(TOP
)/src
/tclsqlite.c sqlite3.c \
798 $(TOP
)/ext
/session
/test_session.c \
799 -o testfixture
$(EXE
) $(LIBTCL
) $(THREADLIB
)
801 fts3-testfixture
$(EXE
): sqlite3.c fts3amal.c
$(TESTSRC
) $(TOP
)/src
/tclsqlite.c
802 $(TCCX
) $(TCL_FLAGS
) -DTCLSH
=1 $(TESTFIXTURE_FLAGS
) \
803 -DSQLITE_ENABLE_FTS3
=1 \
804 $(TESTSRC
) $(TOP
)/src
/tclsqlite.c sqlite3.c fts3amal.c \
805 -o testfixture
$(EXE
) $(LIBTCL
) $(THREADLIB
)
807 fulltest
: $(TESTPROGS
) fuzztest
808 .
/testfixture
$(EXE
) $(TOP
)/test/all.
test $(TESTOPTS
)
810 soaktest
: $(TESTPROGS
)
811 .
/testfixture
$(EXE
) $(TOP
)/test/all.
test -soak
=1 $(TESTOPTS
)
813 fulltestonly
: $(TESTPROGS
) fuzztest
814 .
/testfixture
$(EXE
) $(TOP
)/test/full.
test $(TESTOPTS
)
816 queryplantest
: testfixture
$(EXE
) sqlite3
$(EXE
)
817 .
/testfixture
$(EXE
) $(TOP
)/test/permutations.
test queryplanner
$(TESTOPTS
)
819 fuzztest
: fuzzcheck
$(EXE
) $(FUZZDATA
)
820 .
/fuzzcheck
$(EXE
) $(FUZZDATA
)
822 fastfuzztest
: fuzzcheck
$(EXE
) $(FUZZDATA
)
823 .
/fuzzcheck
$(EXE
) --limit-mem
100M
$(FUZZDATA
)
825 valgrindfuzz
: fuzzcheck
$(EXE
) $(FUZZDATA
)
826 valgrind .
/fuzzcheck
$(EXE
) --cell-size-check
--limit-mem
10M
--timeout
600 $(FUZZDATA
)
828 # The veryquick.test TCL tests.
830 tcltest
: .
/testfixture
$(EXE
)
831 .
/testfixture
$(EXE
) $(TOP
)/test/veryquick.
test $(TESTOPTS
)
833 # A very quick test using only testfixture and omitting all the slower
834 # tests. Designed to run in under 3 minutes on a workstation.
836 quicktest
: .
/testfixture
$(EXE
)
837 .
/testfixture
$(EXE
) $(TOP
)/test/extraquick.
test $(TESTOPTS
)
839 # The default test case. Runs most of the faster standard TCL tests,
840 # and fuzz tests, and sqlite3_analyzer and sqldiff tests.
841 test: fastfuzztest sourcetest
$(TESTPROGS
) tcltest
843 # Run a test using valgrind. This can take a really long time
844 # because valgrind is so much slower than a native machine.
846 valgrindtest
: $(TESTPROGS
) valgrindfuzz
847 OMIT_MISUSE
=1 valgrind
-v \
848 .
/testfixture
$(EXE
) $(TOP
)/test/permutations.
test valgrind
$(TESTOPTS
)
850 # A very fast test that checks basic sanity. The name comes from
851 # the 60s-era electronics testing: "Turn it on and see if smoke
854 smoketest
: $(TESTPROGS
) fuzzcheck
$(EXE
)
855 .
/testfixture
$(EXE
) $(TOP
)/test/main.
test $(TESTOPTS
)
857 # The next two rules are used to support the "threadtest" target. Building
858 # threadtest runs a few thread-safety tests that are implemented in C. This
859 # target is invoked by the releasetest.tcl script.
861 THREADTEST3_SRC
= $(TOP
)/test/threadtest3.c \
862 $(TOP
)/test/tt3_checkpoint.c \
863 $(TOP
)/test/tt3_index.c \
864 $(TOP
)/test/tt3_vacuum.c \
865 $(TOP
)/test/tt3_stress.c \
866 $(TOP
)/test/tt3_lookaside1.c
868 threadtest3
$(EXE
): sqlite3.o
$(THREADTEST3_SRC
) $(TOP
)/src
/test_multiplex.c
869 $(TCCX
) $(TOP
)/test/threadtest3.c
$(TOP
)/src
/test_multiplex.c sqlite3.o
-o
$@
$(THREADLIB
)
871 threadtest
: threadtest3
$(EXE
)
874 TEST_EXTENSION
= $(SHPREFIX
)testloadext.
$(SO
)
875 $(TEST_EXTENSION
): $(TOP
)/src
/test_loadext.c
876 $(MKSHLIB
) $(TOP
)/src
/test_loadext.c
-o
$(TEST_EXTENSION
)
878 extensiontest
: testfixture
$(EXE
) $(TEST_EXTENSION
)
879 .
/testfixture
$(EXE
) $(TOP
)/test/loadext.
test
881 showdb
$(EXE
): $(TOP
)/tool
/showdb.c sqlite3.o
882 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o showdb
$(EXE
) \
883 $(TOP
)/tool
/showdb.c sqlite3.o
$(THREADLIB
)
885 showstat4
$(EXE
): $(TOP
)/tool
/showstat4.c sqlite3.o
886 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o showstat4
$(EXE
) \
887 $(TOP
)/tool
/showstat4.c sqlite3.o
$(THREADLIB
)
889 showjournal
$(EXE
): $(TOP
)/tool
/showjournal.c sqlite3.o
890 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o showjournal
$(EXE
) \
891 $(TOP
)/tool
/showjournal.c sqlite3.o
$(THREADLIB
)
893 showwal
$(EXE
): $(TOP
)/tool
/showwal.c sqlite3.o
894 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o showwal
$(EXE
) \
895 $(TOP
)/tool
/showwal.c sqlite3.o
$(THREADLIB
)
897 changeset
$(EXE
): $(TOP
)/ext
/session
/changeset.c sqlite3.o
898 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o changeset
$(EXE
) \
899 $(TOP
)/ext
/session
/changeset.c sqlite3.o
$(THREADLIB
)
901 fts3view
$(EXE
): $(TOP
)/ext
/fts3
/tool
/fts3view.c sqlite3.o
902 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o fts3view
$(EXE
) \
903 $(TOP
)/ext
/fts3
/tool
/fts3view.c sqlite3.o
$(THREADLIB
)
905 rollback-test
$(EXE
): $(TOP
)/tool
/rollback-test.c sqlite3.o
906 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o rollback-test
$(EXE
) \
907 $(TOP
)/tool
/rollback-test.c sqlite3.o
$(THREADLIB
)
909 LogEst
$(EXE
): $(TOP
)/tool
/logest.c sqlite3.h
910 $(TCC
) -o LogEst
$(EXE
) $(TOP
)/tool
/logest.c
912 wordcount
$(EXE
): $(TOP
)/test/wordcount.c sqlite3.c
913 $(TCC
) -DSQLITE_THREADSAFE
=0 -DSQLITE_OMIT_LOAD_EXTENSION
-o wordcount
$(EXE
) \
914 $(TOP
)/test/wordcount.c sqlite3.c
916 speedtest1
$(EXE
): $(TOP
)/test/speedtest1.c sqlite3.c
917 $(TCCX
) -I.
$(ST_OPT
) -o speedtest1
$(EXE
) $(TOP
)/test/speedtest1.c sqlite3.c
$(THREADLIB
)
919 kvtest
$(EXE
): $(TOP
)/test/kvtest.c sqlite3.c
920 $(TCCX
) -I.
$(KV_OPT
) -o kvtest
$(EXE
) $(TOP
)/test/kvtest.c sqlite3.c
$(THREADLIB
)
922 rbu
$(EXE
): $(TOP
)/ext
/rbu
/rbu.c
$(TOP
)/ext
/rbu
/sqlite3rbu.c sqlite3.o
923 $(TCC
) -I.
-o rbu
$(EXE
) $(TOP
)/ext
/rbu
/rbu.c sqlite3.o \
926 loadfts
: $(TOP
)/tool
/loadfts.c libsqlite3.a
927 $(TCC
) $(TOP
)/tool
/loadfts.c libsqlite3.a
-o loadfts
$(THREADLIB
)
929 # This target will fail if the SQLite amalgamation contains any exported
930 # symbols that do not begin with "sqlite3_". It is run as part of the
931 # releasetest.tcl script.
933 checksymbols
: sqlite3.o
934 nm
-g
--defined-only sqlite3.o | grep
-v
" sqlite3_" ; test $$?
-ne
0
936 # Build the amalgamation-autoconf package. The amalamgation-tarball target builds
937 # a tarball named for the version number. Ex: sqlite-autoconf-3110000.tar.gz.
938 # The snapshot-tarball target builds a tarball named by the SHA1 hash
940 amalgamation-tarball
: sqlite3.c
941 TOP
=$(TOP
) sh
$(TOP
)/tool
/mkautoconfamal.sh
--normal
943 snapshot-tarball
: sqlite3.c
944 TOP
=$(TOP
) sh
$(TOP
)/tool
/mkautoconfamal.sh
--snapshot
947 # Standard install and cleanup targets
949 install: sqlite3 libsqlite3.a sqlite3.h
951 mv libsqlite3.a
/usr
/lib
952 mv sqlite3.h
/usr
/include
955 rm -f
*.o sqlite3 sqlite3.exe libsqlite3.a sqlite3.h opcodes.
*
956 rm -f lemon lemon.exe lempar.c parse.
* sqlite
*.
tar.gz
957 rm -f mkkeywordhash mkkeywordhash.exe keywordhash.h
959 rm -f
*.da
*.bb
*.bbg gmon.out
960 rm -rf tsrc target_source
961 rm -f testloadext.dll libtestloadext.so
962 rm -f amalgamation-testfixture amalgamation-testfixture.exe
963 rm -f fts3-testfixture fts3-testfixture.exe
964 rm -f testfixture testfixture.exe
965 rm -f threadtest3 threadtest3.exe
966 rm -f LogEst LogEst.exe
967 rm -f fts3view fts3view.exe
968 rm -f rollback-test rollback-test.exe
969 rm -f showdb showdb.exe
970 rm -f showjournal showjournal.exe
971 rm -f showstat4 showstat4.exe
972 rm -f showwal showwal.exe
973 rm -f changeset changeset.exe
974 rm -f speedtest1 speedtest1.exe
975 rm -f wordcount wordcount.exe
977 rm -f srcck1 srcck1.exe
978 rm -f sqlite3.c sqlite3-
*.c fts?amal.c tclsqlite3.c
980 rm -f
shell.c sqlite3ext.h
981 rm -f sqlite3_analyzer sqlite3_analyzer.exe sqlite3_analyzer.c
982 rm -f sqlite-
*-output.vsix
983 rm -f mptester mptester.exe
984 rm -f fuzzershell fuzzershell.exe
985 rm -f fuzzcheck fuzzcheck.exe
986 rm -f sqldiff sqldiff.exe
987 rm -f fts5.
* fts5parse.
*