| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 mutex.o mutex_noop.o mutex_os2.o mutex_unix.o mutex_w32.o \ | 62 mutex.o mutex_noop.o mutex_os2.o mutex_unix.o mutex_w32.o \ |
| 63 notify.o opcodes.o os.o os_os2.o os_unix.o os_win.o \ | 63 notify.o opcodes.o os.o os_os2.o os_unix.o os_win.o \ |
| 64 pager.o parse.o pcache.o pcache1.o pragma.o prepare.o printf.o \ | 64 pager.o parse.o pcache.o pcache1.o pragma.o prepare.o printf.o \ |
| 65 random.o resolve.o rowset.o rtree.o select.o status.o \ | 65 random.o resolve.o rowset.o rtree.o select.o status.o \ |
| 66 table.o tokenize.o trigger.o \ | 66 table.o tokenize.o trigger.o \ |
| 67 update.o util.o vacuum.o \ | 67 update.o util.o vacuum.o \ |
| 68 vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o vdbetrace.o \ | 68 vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o vdbetrace.o \ |
| 69 wal.o walker.o where.o utf.o vtab.o | 69 wal.o walker.o where.o utf.o vtab.o |
| 70 | 70 |
| 71 | 71 |
| 72 LIBOBJ += fts2.o \ | |
| 73 fts2_hash.o \ | |
| 74 fts2_icu.o \ | |
| 75 fts2_porter.o \ | |
| 76 fts2_tokenizer.o \ | |
| 77 fts2_tokenizer1.o | |
| 78 | 72 |
| 79 # All of the source code files. | 73 # All of the source code files. |
| 80 # | 74 # |
| 81 SRC = \ | 75 SRC = \ |
| 82 $(TOP)/src/alter.c \ | 76 $(TOP)/src/alter.c \ |
| 83 $(TOP)/src/analyze.c \ | 77 $(TOP)/src/analyze.c \ |
| 84 $(TOP)/src/attach.c \ | 78 $(TOP)/src/attach.c \ |
| 85 $(TOP)/src/auth.c \ | 79 $(TOP)/src/auth.c \ |
| 86 $(TOP)/src/backup.c \ | 80 $(TOP)/src/backup.c \ |
| 87 $(TOP)/src/bitvec.c \ | 81 $(TOP)/src/bitvec.c \ |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 $(TOP)/src/test_server.c \ | 254 $(TOP)/src/test_server.c \ |
| 261 $(TOP)/src/test_stat.c \ | 255 $(TOP)/src/test_stat.c \ |
| 262 $(TOP)/src/test_superlock.c \ | 256 $(TOP)/src/test_superlock.c \ |
| 263 $(TOP)/src/test_syscall.c \ | 257 $(TOP)/src/test_syscall.c \ |
| 264 $(TOP)/src/test_tclvar.c \ | 258 $(TOP)/src/test_tclvar.c \ |
| 265 $(TOP)/src/test_thread.c \ | 259 $(TOP)/src/test_thread.c \ |
| 266 $(TOP)/src/test_vfs.c \ | 260 $(TOP)/src/test_vfs.c \ |
| 267 $(TOP)/src/test_wholenumber.c \ | 261 $(TOP)/src/test_wholenumber.c \ |
| 268 $(TOP)/src/test_wsd.c | 262 $(TOP)/src/test_wsd.c |
| 269 | 263 |
| 270 TESTSRC += \ | |
| 271 $(TOP)/ext/fts2/fts2.c \ | |
| 272 $(TOP)/ext/fts2/fts2.h \ | |
| 273 $(TOP)/ext/fts2/fts2_hash.c \ | |
| 274 $(TOP)/ext/fts2/fts2_hash.h \ | |
| 275 $(TOP)/ext/fts2/fts2_icu.c \ | |
| 276 $(TOP)/ext/fts2/fts2_porter.c \ | |
| 277 $(TOP)/ext/fts2/fts2_tokenizer.h \ | |
| 278 $(TOP)/ext/fts2/fts2_tokenizer.c \ | |
| 279 $(TOP)/ext/fts2/fts2_tokenizer1.c | |
| 280 | |
| 281 #TESTSRC += $(TOP)/ext/fts2/fts2_tokenizer.c | 264 #TESTSRC += $(TOP)/ext/fts2/fts2_tokenizer.c |
| 282 #TESTSRC += $(TOP)/ext/fts3/fts3_tokenizer.c | 265 #TESTSRC += $(TOP)/ext/fts3/fts3_tokenizer.c |
| 283 | 266 |
| 284 TESTSRC2 = \ | 267 TESTSRC2 = \ |
| 285 $(TOP)/src/attach.c \ | 268 $(TOP)/src/attach.c \ |
| 286 $(TOP)/src/backup.c \ | 269 $(TOP)/src/backup.c \ |
| 287 $(TOP)/src/btree.c \ | 270 $(TOP)/src/btree.c \ |
| 288 $(TOP)/src/build.c \ | 271 $(TOP)/src/build.c \ |
| 289 $(TOP)/src/date.c \ | 272 $(TOP)/src/date.c \ |
| 290 $(TOP)/src/expr.c \ | 273 $(TOP)/src/expr.c \ |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 # are what get build when you type just "make" with no arguments. | 349 # are what get build when you type just "make" with no arguments. |
| 367 # | 350 # |
| 368 all: sqlite3.h libsqlite3.a sqlite3$(EXE) | 351 all: sqlite3.h libsqlite3.a sqlite3$(EXE) |
| 369 | 352 |
| 370 libsqlite3.a: $(LIBOBJ) | 353 libsqlite3.a: $(LIBOBJ) |
| 371 $(AR) libsqlite3.a $(LIBOBJ) | 354 $(AR) libsqlite3.a $(LIBOBJ) |
| 372 $(RANLIB) libsqlite3.a | 355 $(RANLIB) libsqlite3.a |
| 373 | 356 |
| 374 sqlite3$(EXE): $(TOP)/src/shell.c libsqlite3.a sqlite3.h | 357 sqlite3$(EXE): $(TOP)/src/shell.c libsqlite3.a sqlite3.h |
| 375 $(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE) \ | 358 $(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE) \ |
| 376 » » $(TOP)/src/shell.c $(SHELL_ICU) \ | 359 » » $(TOP)/src/shell.c \ |
| 377 » » libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB) -ldl | 360 » » libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB) |
| 378 | 361 |
| 379 # This target creates a directory named "tsrc" and fills it with | 362 # This target creates a directory named "tsrc" and fills it with |
| 380 # copies of all of the C source code and header files needed to | 363 # copies of all of the C source code and header files needed to |
| 381 # build on the target system. Some of the C source code and header | 364 # build on the target system. Some of the C source code and header |
| 382 # files are automatically generated. This target takes care of | 365 # files are automatically generated. This target takes care of |
| 383 # all that automatic generation. | 366 # all that automatic generation. |
| 384 # | 367 # |
| 385 target_source: $(SRC) $(TOP)/tool/vdbe-compress.tcl | 368 target_source: $(SRC) $(TOP)/tool/vdbe-compress.tcl |
| 386 rm -rf tsrc | 369 rm -rf tsrc |
| 387 mkdir tsrc | 370 mkdir tsrc |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 # threadtest runs a few thread-safety tests that are implemented in C. This | 539 # threadtest runs a few thread-safety tests that are implemented in C. This |
| 557 # target is invoked by the releasetest.tcl script. | 540 # target is invoked by the releasetest.tcl script. |
| 558 # | 541 # |
| 559 threadtest3$(EXE): sqlite3.o $(TOP)/test/threadtest3.c $(TOP)/test/tt3_checkpoin
t.c | 542 threadtest3$(EXE): sqlite3.o $(TOP)/test/threadtest3.c $(TOP)/test/tt3_checkpoin
t.c |
| 560 $(TCCX) -O2 sqlite3.o $(TOP)/test/threadtest3.c \ | 543 $(TCCX) -O2 sqlite3.o $(TOP)/test/threadtest3.c \ |
| 561 -o threadtest3$(EXE) $(THREADLIB) | 544 -o threadtest3$(EXE) $(THREADLIB) |
| 562 | 545 |
| 563 threadtest: threadtest3$(EXE) | 546 threadtest: threadtest3$(EXE) |
| 564 ./threadtest3$(EXE) | 547 ./threadtest3$(EXE) |
| 565 | 548 |
| 566 fts2test: testfixture$(EXE) sqlite3$(EXE) | |
| 567 ./testfixture$(EXE) $(TOP)/test/fts2.test | |
| 568 | |
| 569 sqlite3_analyzer$(EXE): $(TOP)/src/tclsqlite.c sqlite3.c $(TESTSRC) \ | 549 sqlite3_analyzer$(EXE): $(TOP)/src/tclsqlite.c sqlite3.c $(TESTSRC) \ |
| 570 $(TOP)/tool/spaceanal.tcl | 550 $(TOP)/tool/spaceanal.tcl |
| 571 sed \ | 551 sed \ |
| 572 -e '/^#/d' \ | 552 -e '/^#/d' \ |
| 573 -e 's,\\,\\\\,g' \ | 553 -e 's,\\,\\\\,g' \ |
| 574 -e 's,",\\",g' \ | 554 -e 's,",\\",g' \ |
| 575 -e 's,^,",' \ | 555 -e 's,^,",' \ |
| 576 -e 's,$$,\\n",' \ | 556 -e 's,$$,\\n",' \ |
| 577 $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h | 557 $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h |
| 578 $(TCCX) $(TCL_FLAGS) -DTCLSH=2 $(TESTFIXTURE_FLAGS) \ | 558 $(TCCX) $(TCL_FLAGS) -DTCLSH=2 $(TESTFIXTURE_FLAGS) \ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 597 mv sqlite3.h /usr/include | 577 mv sqlite3.h /usr/include |
| 598 | 578 |
| 599 clean: | 579 clean: |
| 600 rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* | 580 rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* |
| 601 rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h | 581 rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h |
| 602 rm -f $(PUBLISH) | 582 rm -f $(PUBLISH) |
| 603 rm -f *.da *.bb *.bbg gmon.out | 583 rm -f *.da *.bb *.bbg gmon.out |
| 604 rm -rf tsrc target_source | 584 rm -rf tsrc target_source |
| 605 rm -f testloadext.dll libtestloadext.so | 585 rm -f testloadext.dll libtestloadext.so |
| 606 rm -f sqlite3.c fts?amal.c tclsqlite3.c | 586 rm -f sqlite3.c fts?amal.c tclsqlite3.c |
| OLD | NEW |