OLD | NEW |
1 ############################################################################### | 1 ############################################################################### |
2 # The following macros should be defined before this script is | 2 # The following macros should be defined before this script is |
3 # invoked: | 3 # invoked: |
4 # | 4 # |
5 # TOP The toplevel directory of the source tree. This is the | 5 # TOP The toplevel directory of the source tree. This is the |
6 # directory that contains this "Makefile.in" and the | 6 # directory that contains this "Makefile.in" and the |
7 # "configure.in" script. | 7 # "configure.in" script. |
8 # | 8 # |
9 # BCC C Compiler and options for use in building executables that | 9 # BCC C Compiler and options for use in building executables that |
10 # will run on the platform that is doing the build. | 10 # will run on the platform that is doing the build. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 mutex.o mutex_noop.o mutex_unix.o mutex_w32.o \ | 65 mutex.o mutex_noop.o mutex_unix.o mutex_w32.o \ |
66 notify.o opcodes.o os.o os_unix.o os_win.o \ | 66 notify.o opcodes.o os.o os_unix.o os_win.o \ |
67 pager.o pcache.o pcache1.o pragma.o prepare.o printf.o \ | 67 pager.o pcache.o pcache1.o pragma.o prepare.o printf.o \ |
68 random.o recover.o resolve.o rowset.o rtree.o select.o status.o \ | 68 random.o recover.o resolve.o rowset.o rtree.o select.o status.o \ |
69 table.o threads.o tokenize.o trigger.o \ | 69 table.o threads.o tokenize.o trigger.o \ |
70 update.o userauth.o util.o vacuum.o \ | 70 update.o userauth.o util.o vacuum.o \ |
71 vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o vdbesort.o \ | 71 vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o vdbesort.o \ |
72 vdbetrace.o wal.o walker.o where.o utf.o vtab.o | 72 vdbetrace.o wal.o walker.o where.o utf.o vtab.o |
73 | 73 |
74 | 74 |
75 LIBOBJ+= fts2.o \ | |
76 fts2_hash.o \ | |
77 fts2_icu.o \ | |
78 fts2_porter.o \ | |
79 fts2_tokenizer.o \ | |
80 fts2_tokenizer1.o | |
81 | 75 |
82 # All of the source code files. | 76 # All of the source code files. |
83 # | 77 # |
84 SRC = \ | 78 SRC = \ |
85 $(TOP)/src/alter.c \ | 79 $(TOP)/src/alter.c \ |
86 $(TOP)/src/analyze.c \ | 80 $(TOP)/src/analyze.c \ |
87 $(TOP)/src/attach.c \ | 81 $(TOP)/src/attach.c \ |
88 $(TOP)/src/auth.c \ | 82 $(TOP)/src/auth.c \ |
89 $(TOP)/src/backup.c \ | 83 $(TOP)/src/backup.c \ |
90 $(TOP)/src/bitvec.c \ | 84 $(TOP)/src/bitvec.c \ |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 $(TOP)/src/vdbemem.c \ | 330 $(TOP)/src/vdbemem.c \ |
337 $(TOP)/src/where.c \ | 331 $(TOP)/src/where.c \ |
338 parse.c \ | 332 parse.c \ |
339 $(TOP)/ext/fts3/fts3.c \ | 333 $(TOP)/ext/fts3/fts3.c \ |
340 $(TOP)/ext/fts3/fts3_aux.c \ | 334 $(TOP)/ext/fts3/fts3_aux.c \ |
341 $(TOP)/ext/fts3/fts3_expr.c \ | 335 $(TOP)/ext/fts3/fts3_expr.c \ |
342 $(TOP)/ext/fts3/fts3_tokenizer.c \ | 336 $(TOP)/ext/fts3/fts3_tokenizer.c \ |
343 $(TOP)/ext/fts3/fts3_write.c \ | 337 $(TOP)/ext/fts3/fts3_write.c \ |
344 $(TOP)/ext/async/sqlite3async.c | 338 $(TOP)/ext/async/sqlite3async.c |
345 | 339 |
346 TESTSRC2 += \ | |
347 $(TOP)/ext/fts2/fts2.c \ | |
348 $(TOP)/ext/fts2/fts2.h \ | |
349 $(TOP)/ext/fts2/fts2_hash.c \ | |
350 $(TOP)/ext/fts2/fts2_hash.h \ | |
351 $(TOP)/ext/fts2/fts2_icu.c \ | |
352 $(TOP)/ext/fts2/fts2_porter.c \ | |
353 $(TOP)/ext/fts2/fts2_tokenizer.h \ | |
354 $(TOP)/ext/fts2/fts2_tokenizer.c \ | |
355 $(TOP)/ext/fts2/fts2_tokenizer1.c | |
356 | |
357 # Header files used by all library source files. | 340 # Header files used by all library source files. |
358 # | 341 # |
359 HDR = \ | 342 HDR = \ |
360 $(TOP)/src/btree.h \ | 343 $(TOP)/src/btree.h \ |
361 $(TOP)/src/btreeInt.h \ | 344 $(TOP)/src/btreeInt.h \ |
362 $(TOP)/src/hash.h \ | 345 $(TOP)/src/hash.h \ |
363 $(TOP)/src/hwtime.h \ | 346 $(TOP)/src/hwtime.h \ |
364 keywordhash.h \ | 347 keywordhash.h \ |
365 $(TOP)/src/mutex.h \ | 348 $(TOP)/src/mutex.h \ |
366 opcodes.h \ | 349 opcodes.h \ |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 $(TCCX) $(TCL_FLAGS) sqlite3_analyzer.c -o $@ $(LIBTCL) $(THREADLIB) | 586 $(TCCX) $(TCL_FLAGS) sqlite3_analyzer.c -o $@ $(LIBTCL) $(THREADLIB) |
604 | 587 |
605 # Rules to build the 'testfixture' application. | 588 # Rules to build the 'testfixture' application. |
606 # | 589 # |
607 TESTFIXTURE_FLAGS = -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 | 590 TESTFIXTURE_FLAGS = -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 |
608 TESTFIXTURE_FLAGS += -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE | 591 TESTFIXTURE_FLAGS += -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE |
609 | 592 |
610 testfixture$(EXE): $(TESTSRC2) libsqlite3.a $(TESTSRC) $(TOP)/src/tclsqlite.c | 593 testfixture$(EXE): $(TESTSRC2) libsqlite3.a $(TESTSRC) $(TOP)/src/tclsqlite.c |
611 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ | 594 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ |
612 $(TESTSRC) $(TESTSRC2) $(TOP)/src/tclsqlite.c \ | 595 $(TESTSRC) $(TESTSRC2) $(TOP)/src/tclsqlite.c \ |
613 » » $(LIBTCL) libsqlite3.a $(THREADLIB) $(TLIBS) | 596 » » -o testfixture$(EXE) $(LIBTCL) libsqlite3.a $(THREADLIB) $(TLIBS
) |
614 » mv a.out testfixture$(EXE) | |
615 | 597 |
616 amalgamation-testfixture$(EXE): sqlite3.c $(TESTSRC) $(TOP)/src/tclsqlite.c | 598 amalgamation-testfixture$(EXE): sqlite3.c $(TESTSRC) $(TOP)/src/tclsqlite.c |
617 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ | 599 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ |
618 $(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c \ | 600 $(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c \ |
619 -o testfixture$(EXE) $(LIBTCL) $(THREADLIB) | 601 -o testfixture$(EXE) $(LIBTCL) $(THREADLIB) |
620 | 602 |
621 fts3-testfixture$(EXE): sqlite3.c fts3amal.c $(TESTSRC) $(TOP)/src/tclsqlite.c | 603 fts3-testfixture$(EXE): sqlite3.c fts3amal.c $(TESTSRC) $(TOP)/src/tclsqlite.c |
622 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ | 604 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 $(TESTFIXTURE_FLAGS) \ |
623 -DSQLITE_ENABLE_FTS3=1 \ | 605 -DSQLITE_ENABLE_FTS3=1 \ |
624 $(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c fts3amal.c \ | 606 $(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c fts3amal.c \ |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 rm -f showstat4 showstat4.exe | 714 rm -f showstat4 showstat4.exe |
733 rm -f showwal showwal.exe | 715 rm -f showwal showwal.exe |
734 rm -f speedtest1 speedtest1.exe | 716 rm -f speedtest1 speedtest1.exe |
735 rm -f wordcount wordcount.exe | 717 rm -f wordcount wordcount.exe |
736 rm -f sqlite3.c sqlite3-*.c fts?amal.c tclsqlite3.c | 718 rm -f sqlite3.c sqlite3-*.c fts?amal.c tclsqlite3.c |
737 rm -f sqlite3rc.h | 719 rm -f sqlite3rc.h |
738 rm -f shell.c sqlite3ext.h | 720 rm -f shell.c sqlite3ext.h |
739 rm -f sqlite3_analyzer sqlite3_analyzer.exe sqlite3_analyzer.c | 721 rm -f sqlite3_analyzer sqlite3_analyzer.exe sqlite3_analyzer.c |
740 rm -f sqlite-*-output.vsix | 722 rm -f sqlite-*-output.vsix |
741 rm -f mptester mptester.exe | 723 rm -f mptester mptester.exe |
OLD | NEW |