Change main.mk to make it easier to build testfixture and sqlite3 with the icu or fts2 extensions linked in. (CVS 4096)

FossilOrigin-Name: 91719cc8eaf62f64099ff9eb2b48cef6c9c688f7
This commit is contained in:
danielk1977 2007-06-20 08:49:05 +00:00
parent 86889fc3c6
commit 77b03a2ff1
3 changed files with 19 additions and 9 deletions

14
main.mk
View File

@ -142,6 +142,15 @@ SRC += \
$(TOP)/ext/fts2/fts2_tokenizer.h \
$(TOP)/ext/fts2/fts2_tokenizer1.c
# Source code for extensions.
#
EXTSRC += -DSQLITE_CORE=1 \
$(TOP)/ext/icu/icu.c \
$(TOP)/ext/fts2/fts2.c \
$(TOP)/ext/fts2/fts2_hash.c \
$(TOP)/ext/fts2/fts2_porter.c \
$(TOP)/ext/fts2/fts2_tokenizer1.c
# Generated source code files
#
SRC += \
@ -243,7 +252,8 @@ libsqlite3.a: $(LIBOBJ)
$(RANLIB) libsqlite3.a
sqlite3$(EXE): $(TOP)/src/shell.c libsqlite3.a sqlite3.h
$(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE) $(TOP)/src/shell.c \
$(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE) \
$(TOP)/src/shell.c $(EXTSRC) \
libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB)
objects: $(LIBOBJ_ORIG)
@ -447,7 +457,7 @@ tclsqlite3: $(TOP)/src/tclsqlite.c libsqlite3.a
testfixture$(EXE): $(TOP)/src/tclsqlite.c libsqlite3.a $(TESTSRC)
$(TCCX) $(TCL_FLAGS) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \
-DSQLITE_SERVER=1 -o testfixture$(EXE) \
$(TESTSRC) $(TOP)/src/tclsqlite.c \
$(TESTSRC) $(EXTSRC) $(TOP)/src/tclsqlite.c \
libsqlite3.a $(LIBTCL) $(THREADLIB)
fulltest: testfixture$(EXE) sqlite3$(EXE)

View File

@ -1,5 +1,5 @@
C Fix\ssnippet\sgeneration\swhen\sthe\sleft-most\scolumn\sof\san\sfts2\stable\sis\sused\sin\sthe\sMATCH\sclause.\sFix\sfor\sticket\s#2429.\s(CVS\s4095)
D 2007-06-20T06:23:55
C Change\smain.mk\sto\smake\sit\seasier\sto\sbuild\stestfixture\sand\ssqlite3\swith\sthe\sicu\sor\sfts2\sextensions\slinked\sin.\s(CVS\s4096)
D 2007-06-20T08:49:05
F Makefile.in 5babd49c427a0e82e849c89a4d3c3c1e607ec014
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -48,7 +48,7 @@ F ext/icu/README.txt a470afe5adf6534cc0bdafca31e6cf4d88c321fa
F ext/icu/icu.c daab19e2c5221685688ecff2bb75bf9e0eea361d
F install-sh 9d4de14ab9fb0facae2f48780b874848cbf2f895
F ltmain.sh 56abb507100ed2d4261f6dd1653dec3cf4066387
F main.mk f9b489de8f79174d29082cb87bfdfcd89e1135ec
F main.mk 522c81a818f2f81eb5e904ce983710449c5d76ad
F mkdll.sh 37fa8a7412e51b5ab2bc6d4276135f022a0feffb
F mkopcodec.awk bd46ad001c98dfbab07b1713cb8e692fa0e5415d
F mkopcodeh.awk cde995d269aa06c94adbf6455bea0acedb913fa5
@ -508,7 +508,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 6f7d55acedc92eeaf988425c719addd56209187f
R daeedf3dc5f4a3b817306b9576386c25
P fec56ad2ede53e3e202d9ad869a059eeb315796f
R 305d535beab9e92f7490ec39c929c5de
U danielk1977
Z 92220c57e2724013f6febf5dcfc993d4
Z f48b9f28cbc8b24414d33e5bb1c0daae

View File

@ -1 +1 @@
fec56ad2ede53e3e202d9ad869a059eeb315796f
91719cc8eaf62f64099ff9eb2b48cef6c9c688f7