Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: third_party/sqlite/src/main.mk

Issue 6823057: Cleanup SQLite 3.6.18 import. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/ext/rtree/viewrtree.tcl ('k') | third_party/sqlite/src/mkopcodeh.awk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 \ 68 vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o \
69 walker.o where.o utf.o vtab.o 69 walker.o where.o utf.o vtab.o
70 70
71 71
72 LIBOBJ += fts1.o \
73 fts1_hash.o \
74 fts1_tokenizer1.o \
75 fts1_porter.o
76 LIBOBJ += fts2.o \ 72 LIBOBJ += fts2.o \
77 fts2_hash.o \ 73 fts2_hash.o \
78 fts2_icu.o \ 74 fts2_icu.o \
79 fts2_porter.o \ 75 fts2_porter.o \
80 fts2_tokenizer.o \ 76 fts2_tokenizer.o \
81 fts2_tokenizer1.o 77 fts2_tokenizer1.o
82 78
83 # All of the source code files. 79 # All of the source code files.
84 # 80 #
85 SRC = \ 81 SRC = \
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 $(TOP)/src/test_onefile.c \ 243 $(TOP)/src/test_onefile.c \
248 $(TOP)/src/test_osinst.c \ 244 $(TOP)/src/test_osinst.c \
249 $(TOP)/src/test_pcache.c \ 245 $(TOP)/src/test_pcache.c \
250 $(TOP)/src/test_schema.c \ 246 $(TOP)/src/test_schema.c \
251 $(TOP)/src/test_server.c \ 247 $(TOP)/src/test_server.c \
252 $(TOP)/src/test_tclvar.c \ 248 $(TOP)/src/test_tclvar.c \
253 $(TOP)/src/test_thread.c \ 249 $(TOP)/src/test_thread.c \
254 $(TOP)/src/test_wsd.c 250 $(TOP)/src/test_wsd.c
255 251
256 TESTSRC += \ 252 TESTSRC += \
257 $(TOP)/ext/fts1/fts1.c \
258 $(TOP)/ext/fts1/fts1.h \
259 $(TOP)/ext/fts1/fts1_hash.c \
260 $(TOP)/ext/fts1/fts1_hash.h \
261 $(TOP)/ext/fts1/fts1_porter.c \
262 $(TOP)/ext/fts1/fts1_tokenizer.h \
263 $(TOP)/ext/fts1/fts1_tokenizer1.c
264 TESTSRC += \
265 $(TOP)/ext/fts2/fts2.c \ 253 $(TOP)/ext/fts2/fts2.c \
266 $(TOP)/ext/fts2/fts2.h \ 254 $(TOP)/ext/fts2/fts2.h \
267 $(TOP)/ext/fts2/fts2_hash.c \ 255 $(TOP)/ext/fts2/fts2_hash.c \
268 $(TOP)/ext/fts2/fts2_hash.h \ 256 $(TOP)/ext/fts2/fts2_hash.h \
269 $(TOP)/ext/fts2/fts2_icu.c \ 257 $(TOP)/ext/fts2/fts2_icu.c \
270 $(TOP)/ext/fts2/fts2_porter.c \ 258 $(TOP)/ext/fts2/fts2_porter.c \
271 $(TOP)/ext/fts2/fts2_tokenizer.h \ 259 $(TOP)/ext/fts2/fts2_tokenizer.h \
272 $(TOP)/ext/fts2/fts2_tokenizer.c \ 260 $(TOP)/ext/fts2/fts2_tokenizer.c \
273 $(TOP)/ext/fts2/fts2_tokenizer1.c 261 $(TOP)/ext/fts2/fts2_tokenizer1.c
274 262
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 fts3_tokenizer.o: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR) $(EXTHDR) 457 fts3_tokenizer.o: $(TOP)/ext/fts3/fts3_tokenizer.c $(HDR) $(EXTHDR)
470 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer.c 458 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer.c
471 459
472 fts3_tokenizer1.o: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR) $(EXTHDR) 460 fts3_tokenizer1.o: $(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR) $(EXTHDR)
473 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer1.c 461 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer1.c
474 462
475 rtree.o: $(TOP)/ext/rtree/rtree.c $(HDR) $(EXTHDR) 463 rtree.o: $(TOP)/ext/rtree/rtree.c $(HDR) $(EXTHDR)
476 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/rtree/rtree.c 464 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/rtree/rtree.c
477 465
478 466
479
480
481 fts1.o: $(TOP)/ext/fts1/fts1.c $(HDR) $(EXTHDR)
482 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts1/fts1.c
483
484 fts1_hash.o: $(TOP)/ext/fts1/fts1_hash.c $(HDR) $(EXTHDR)
485 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts1/fts1_hash.c
486
487 fts1_tokenizer1.o: $(TOP)/ext/fts1/fts1_tokenizer1.c $(HDR) $(EXTHDR)
488 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts1/fts1_tokenizer1.c
489
490 fts1_porter.o: $(TOP)/ext/fts1/fts1_porter.c $(HDR) $(EXTHDR)
491 $(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts1/fts1_porter.c
492
493 # Rules for building test programs and for running tests 467 # Rules for building test programs and for running tests
494 # 468 #
495 tclsqlite3: $(TOP)/src/tclsqlite.c libsqlite3.a 469 tclsqlite3: $(TOP)/src/tclsqlite.c libsqlite3.a
496 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite3 \ 470 $(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite3 \
497 $(TOP)/src/tclsqlite.c libsqlite3.a $(LIBTCL) $(THREADLIB) 471 $(TOP)/src/tclsqlite.c libsqlite3.a $(LIBTCL) $(THREADLIB)
498 472
499 473
500 # Rules to build the 'testfixture' application. 474 # Rules to build the 'testfixture' application.
501 # 475 #
502 TESTFIXTURE_FLAGS = -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 476 TESTFIXTURE_FLAGS = -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1
(...skipping 20 matching lines...) Expand all
523 497
524 soaktest: testfixture$(EXE) sqlite3$(EXE) 498 soaktest: testfixture$(EXE) sqlite3$(EXE)
525 ./testfixture$(EXE) $(TOP)/test/all.test -soak 1 499 ./testfixture$(EXE) $(TOP)/test/all.test -soak 1
526 500
527 test: testfixture$(EXE) sqlite3$(EXE) 501 test: testfixture$(EXE) sqlite3$(EXE)
528 ./testfixture$(EXE) $(TOP)/test/veryquick.test 502 ./testfixture$(EXE) $(TOP)/test/veryquick.test
529 503
530 ftstest: testfixture$(EXE) sqlite3$(EXE) 504 ftstest: testfixture$(EXE) sqlite3$(EXE)
531 ./testfixture$(EXE) $(TOP)/test/fts.test 505 ./testfixture$(EXE) $(TOP)/test/fts.test
532 506
533 fts1test: testfixture$(EXE) sqlite3$(EXE)
534 ./testfixture$(EXE) $(TOP)/test/fts1.test
535
536 fts2test: testfixture$(EXE) sqlite3$(EXE) 507 fts2test: testfixture$(EXE) sqlite3$(EXE)
537 ./testfixture$(EXE) $(TOP)/test/fts2.test 508 ./testfixture$(EXE) $(TOP)/test/fts2.test
538 509
539 sqlite3_analyzer$(EXE): $(TOP)/src/tclsqlite.c sqlite3.c $(TESTSRC) \ 510 sqlite3_analyzer$(EXE): $(TOP)/src/tclsqlite.c sqlite3.c $(TESTSRC) \
540 $(TOP)/tool/spaceanal.tcl 511 $(TOP)/tool/spaceanal.tcl
541 sed \ 512 sed \
542 -e '/^#/d' \ 513 -e '/^#/d' \
543 -e 's,\\,\\\\,g' \ 514 -e 's,\\,\\\\,g' \
544 -e 's,",\\",g' \ 515 -e 's,",\\",g' \
545 -e 's,^,",' \ 516 -e 's,^,",' \
(...skipping 21 matching lines...) Expand all
567 mv sqlite3.h /usr/include 538 mv sqlite3.h /usr/include
568 539
569 clean: 540 clean:
570 rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.* 541 rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.*
571 rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h 542 rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h
572 rm -f $(PUBLISH) 543 rm -f $(PUBLISH)
573 rm -f *.da *.bb *.bbg gmon.out 544 rm -f *.da *.bb *.bbg gmon.out
574 rm -rf tsrc target_source 545 rm -rf tsrc target_source
575 rm -f testloadext.dll libtestloadext.so 546 rm -f testloadext.dll libtestloadext.so
576 rm -f sqlite3.c fts?amal.c tclsqlite3.c 547 rm -f sqlite3.c fts?amal.c tclsqlite3.c
OLDNEW
« no previous file with comments | « third_party/sqlite/src/ext/rtree/viewrtree.tcl ('k') | third_party/sqlite/src/mkopcodeh.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698