xref: /sqlite-3.40.0/main.mk (revision cd7274ce)
1###############################################################################
2# The following macros should be defined before this script is
3# invoked:
4#
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.
8#
9# BCC              C Compiler and options for use in building executables that
10#                  will run on the platform that is doing the build.
11#
12# THREADLIB        Specify any extra linker options needed to make the library
13#                  thread safe
14#
15# OPTS             Extra compiler command-line options.
16#
17# EXE              The suffix to add to executable files.  ".exe" for windows
18#                  and "" for Unix.
19#
20# TCC              C Compiler and options for use in building executables that
21#                  will run on the target platform.  This is usually the same
22#                  as BCC, unless you are cross-compiling.
23#
24# AR               Tools used to build a static library.
25# RANLIB
26#
27# TCL_FLAGS        Extra compiler options needed for programs that use the
28#                  TCL library.
29#
30# LIBTCL           Linker options needed to link against the TCL library.
31#
32# READLINE_FLAGS   Compiler options needed for programs that use the
33#                  readline() library.
34#
35# LIBREADLINE      Linker options needed by programs using readline() must
36#                  link against.
37#
38# NAWK             Nawk compatible awk program.  Older (obsolete?) solaris
39#                  systems need this to avoid using the original AT&T AWK.
40#
41# Once the macros above are defined, the rest of this make script will
42# build the SQLite library and testing tools.
43################################################################################
44
45# This is how we compile
46#
47TCCX = $(TCC) $(OPTS) -I. -I$(TOP)/src
48
49# Object files for the SQLite library.
50#
51LIBOBJ+= alter.o analyze.o attach.o auth.o btmutex.o btree.o build.o \
52         callback.o complete.o date.o delete.o \
53         expr.o func.o hash.o insert.o journal.o loadext.o \
54         main.o malloc.o mem1.o mem2.o mem3.o mutex.o mutex_os2.o \
55         mutex_unix.o mutex_w32.o \
56         opcodes.o os.o os_os2.o os_unix.o os_win.o \
57         pager.o parse.o pragma.o prepare.o printf.o random.o \
58         select.o table.o $(TCLOBJ) tokenize.o trigger.o \
59         update.o util.o vacuum.o \
60         vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbefifo.o vdbemem.o \
61         where.o utf.o legacy.o vtab.o
62
63EXTOBJ = icu.o
64EXTOBJ += fts1.o \
65	  fts1_hash.o \
66	  fts1_tokenizer1.o \
67	  fts1_porter.o
68EXTOBJ += fts2.o \
69	  fts2_hash.o \
70	  fts2_icu.o \
71	  fts2_porter.o \
72          fts2_tokenizer.o \
73	  fts2_tokenizer1.o
74EXTOBJ += fts3.o \
75	  fts3_hash.o \
76	  fts3_icu.o \
77	  fts3_porter.o \
78          fts3_tokenizer.o \
79	  fts3_tokenizer1.o
80
81# All of the source code files.
82#
83SRC = \
84  $(TOP)/src/alter.c \
85  $(TOP)/src/analyze.c \
86  $(TOP)/src/attach.c \
87  $(TOP)/src/auth.c \
88  $(TOP)/src/btmutex.c \
89  $(TOP)/src/btree.c \
90  $(TOP)/src/btree.h \
91  $(TOP)/src/btreeInt.h \
92  $(TOP)/src/build.c \
93  $(TOP)/src/callback.c \
94  $(TOP)/src/complete.c \
95  $(TOP)/src/date.c \
96  $(TOP)/src/delete.c \
97  $(TOP)/src/expr.c \
98  $(TOP)/src/func.c \
99  $(TOP)/src/hash.c \
100  $(TOP)/src/hash.h \
101  $(TOP)/src/insert.c \
102  $(TOP)/src/journal.c \
103  $(TOP)/src/legacy.c \
104  $(TOP)/src/loadext.c \
105  $(TOP)/src/main.c \
106  $(TOP)/src/malloc.c \
107  $(TOP)/src/mem1.c \
108  $(TOP)/src/mem2.c \
109  $(TOP)/src/mem3.c \
110  $(TOP)/src/mutex.c \
111  $(TOP)/src/mutex.h \
112  $(TOP)/src/mutex_os2.c \
113  $(TOP)/src/mutex_unix.c \
114  $(TOP)/src/mutex_w32.c \
115  $(TOP)/src/os.c \
116  $(TOP)/src/os.h \
117  $(TOP)/src/os_common.h \
118  $(TOP)/src/os_os2.c \
119  $(TOP)/src/os_unix.c \
120  $(TOP)/src/os_win.c \
121  $(TOP)/src/pager.c \
122  $(TOP)/src/pager.h \
123  $(TOP)/src/parse.y \
124  $(TOP)/src/pragma.c \
125  $(TOP)/src/prepare.c \
126  $(TOP)/src/printf.c \
127  $(TOP)/src/random.c \
128  $(TOP)/src/select.c \
129  $(TOP)/src/shell.c \
130  $(TOP)/src/sqlite.h.in \
131  $(TOP)/src/sqlite3ext.h \
132  $(TOP)/src/sqliteInt.h \
133  $(TOP)/src/sqliteLimit.h \
134  $(TOP)/src/table.c \
135  $(TOP)/src/tclsqlite.c \
136  $(TOP)/src/tokenize.c \
137  $(TOP)/src/trigger.c \
138  $(TOP)/src/utf.c \
139  $(TOP)/src/update.c \
140  $(TOP)/src/util.c \
141  $(TOP)/src/vacuum.c \
142  $(TOP)/src/vdbe.c \
143  $(TOP)/src/vdbe.h \
144  $(TOP)/src/vdbeapi.c \
145  $(TOP)/src/vdbeaux.c \
146  $(TOP)/src/vdbeblob.c \
147  $(TOP)/src/vdbefifo.c \
148  $(TOP)/src/vdbemem.c \
149  $(TOP)/src/vdbeInt.h \
150  $(TOP)/src/vtab.c \
151  $(TOP)/src/where.c
152
153# Source code for extensions
154#
155SRC += \
156  $(TOP)/ext/fts1/fts1.c \
157  $(TOP)/ext/fts1/fts1.h \
158  $(TOP)/ext/fts1/fts1_hash.c \
159  $(TOP)/ext/fts1/fts1_hash.h \
160  $(TOP)/ext/fts1/fts1_porter.c \
161  $(TOP)/ext/fts1/fts1_tokenizer.h \
162  $(TOP)/ext/fts1/fts1_tokenizer1.c
163SRC += \
164  $(TOP)/ext/fts2/fts2.c \
165  $(TOP)/ext/fts2/fts2.h \
166  $(TOP)/ext/fts2/fts2_hash.c \
167  $(TOP)/ext/fts2/fts2_hash.h \
168  $(TOP)/ext/fts2/fts2_icu.c \
169  $(TOP)/ext/fts2/fts2_porter.c \
170  $(TOP)/ext/fts2/fts2_tokenizer.h \
171  $(TOP)/ext/fts2/fts2_tokenizer.c \
172  $(TOP)/ext/fts2/fts2_tokenizer1.c
173SRC += \
174  $(TOP)/ext/fts3/fts3.c \
175  $(TOP)/ext/fts3/fts3.h \
176  $(TOP)/ext/fts3/fts3_hash.c \
177  $(TOP)/ext/fts3/fts3_hash.h \
178  $(TOP)/ext/fts3/fts3_icu.c \
179  $(TOP)/ext/fts3/fts3_porter.c \
180  $(TOP)/ext/fts3/fts3_tokenizer.h \
181  $(TOP)/ext/fts3/fts3_tokenizer.c \
182  $(TOP)/ext/fts3/fts3_tokenizer1.c
183SRC += \
184  $(TOP)/ext/icu/icu.c
185
186
187# Generated source code files
188#
189SRC += \
190  keywordhash.h \
191  opcodes.c \
192  opcodes.h \
193  parse.c \
194  parse.h \
195  sqlite3.h
196
197
198# Source code to the test files.
199#
200TESTSRC = \
201  $(TOP)/src/test1.c \
202  $(TOP)/src/test2.c \
203  $(TOP)/src/test3.c \
204  $(TOP)/src/test4.c \
205  $(TOP)/src/test5.c \
206  $(TOP)/src/test6.c \
207  $(TOP)/src/test7.c \
208  $(TOP)/src/test8.c \
209  $(TOP)/src/test9.c \
210  $(TOP)/src/test_autoext.c \
211  $(TOP)/src/test_async.c \
212  $(TOP)/src/test_btree.c \
213  $(TOP)/src/test_config.c \
214  $(TOP)/src/test_hexio.c \
215  $(TOP)/src/test_malloc.c \
216  $(TOP)/src/test_md5.c \
217  $(TOP)/src/test_onefile.c \
218  $(TOP)/src/test_schema.c \
219  $(TOP)/src/test_server.c \
220  $(TOP)/src/test_tclvar.c \
221  $(TOP)/src/test_thread.c \
222
223TESTSRC += $(TOP)/ext/fts2/fts2_tokenizer.c
224TESTSRC += $(TOP)/ext/fts3/fts3_tokenizer.c
225
226TESTSRC2 = \
227  $(TOP)/src/attach.c $(TOP)/src/btree.c $(TOP)/src/build.c $(TOP)/src/date.c  \
228  $(TOP)/src/expr.c $(TOP)/src/func.c $(TOP)/src/insert.c $(TOP)/src/os.c      \
229  $(TOP)/src/os_os2.c $(TOP)/src/os_unix.c $(TOP)/src/os_win.c                 \
230  $(TOP)/src/pager.c $(TOP)/src/pragma.c $(TOP)/src/prepare.c                  \
231  $(TOP)/src/printf.c $(TOP)/src/select.c $(TOP)/src/tokenize.c                \
232  $(TOP)/src/utf.c $(TOP)/src/util.c $(TOP)/src/vdbeapi.c $(TOP)/src/vdbeaux.c \
233  $(TOP)/src/vdbe.c $(TOP)/src/vdbemem.c $(TOP)/src/where.c parse.c
234
235# Header files used by all library source files.
236#
237HDR = \
238   $(TOP)/src/btree.h \
239   $(TOP)/src/btreeInt.h \
240   $(TOP)/src/hash.h \
241   keywordhash.h \
242   $(TOP)/src/mutex.h \
243   opcodes.h \
244   $(TOP)/src/os.h \
245   $(TOP)/src/os_common.h \
246   $(TOP)/src/pager.h \
247   parse.h  \
248   sqlite3.h  \
249   $(TOP)/src/sqlite3ext.h \
250   $(TOP)/src/sqliteInt.h  \
251   $(TOP)/src/sqliteLimit.h \
252   $(TOP)/src/vdbe.h \
253   $(TOP)/src/vdbeInt.h
254
255# Header files used by extensions
256#
257EXTHDR += \
258  $(TOP)/ext/fts1/fts1.h \
259  $(TOP)/ext/fts1/fts1_hash.h \
260  $(TOP)/ext/fts1/fts1_tokenizer.h
261EXTHDR += \
262  $(TOP)/ext/fts2/fts2.h \
263  $(TOP)/ext/fts2/fts2_hash.h \
264  $(TOP)/ext/fts2/fts2_tokenizer.h
265EXTHDR += \
266  $(TOP)/ext/fts3/fts3.h \
267  $(TOP)/ext/fts3/fts3_hash.h \
268  $(TOP)/ext/fts3/fts3_tokenizer.h
269
270# This is the default Makefile target.  The objects listed here
271# are what get build when you type just "make" with no arguments.
272#
273all:	sqlite3.h libsqlite3.a sqlite3$(EXE)
274
275# Generate the file "last_change" which contains the date of change
276# of the most recently modified source code file
277#
278last_change:	$(SRC)
279	cat $(SRC) | grep '$$Id: ' | sort -k 5 | tail -1 \
280          | $(NAWK) '{print $$5,$$6}' >last_change
281
282libsqlite3.a:	$(LIBOBJ)
283	$(AR) libsqlite3.a $(LIBOBJ)
284	$(RANLIB) libsqlite3.a
285
286sqlite3$(EXE):	$(TOP)/src/shell.c libsqlite3.a sqlite3.h
287	$(TCCX) $(READLINE_FLAGS) -o sqlite3$(EXE)                  \
288		$(TOP)/src/shell.c                                  \
289		libsqlite3.a $(LIBREADLINE) $(TLIBS) $(THREADLIB)
290
291objects: $(LIBOBJ_ORIG)
292
293# This target creates a directory named "tsrc" and fills it with
294# copies of all of the C source code and header files needed to
295# build on the target system.  Some of the C source code and header
296# files are automatically generated.  This target takes care of
297# all that automatic generation.
298#
299target_source:	$(SRC)
300	rm -rf tsrc
301	mkdir tsrc
302	cp -f $(SRC) tsrc
303	rm tsrc/sqlite.h.in tsrc/parse.y
304
305sqlite3.c:	target_source $(TOP)/tool/mksqlite3c.tcl
306	tclsh $(TOP)/tool/mksqlite3c.tcl
307	cp sqlite3.c tclsqlite3.c
308	cat $(TOP)/src/tclsqlite.c >>tclsqlite3.c
309
310fts2amal.c:	target_source $(TOP)/ext/fts2/mkfts2amal.tcl
311	tclsh $(TOP)/ext/fts2/mkfts2amal.tcl
312
313fts3amal.c:	target_source $(TOP)/ext/fts3/mkfts3amal.tcl
314	tclsh $(TOP)/ext/fts3/mkfts3amal.tcl
315
316# Rules to build the LEMON compiler generator
317#
318lemon:	$(TOP)/tool/lemon.c $(TOP)/tool/lempar.c
319	$(BCC) -o lemon $(TOP)/tool/lemon.c
320	cp $(TOP)/tool/lempar.c .
321
322# Rules to build individual *.o files from files in the src directory.
323#
324%.o: %.c $(HDR)
325	$(TCCX) -c $<
326
327# Rules to build individual *.o files from generated *.c files. This
328# applies to:
329#
330#     parse.o
331#     opcodes.o
332#
333%.o: $(TOP)/src/%.c $(HDR)
334	$(TCCX) -c $<
335
336tclsqlite.o:	$(TOP)/src/tclsqlite.c $(HDR)
337	$(TCCX) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c
338
339
340
341# Rules to build opcodes.c and opcodes.h
342#
343opcodes.c:	opcodes.h $(TOP)/mkopcodec.awk
344	sort -n -b -k 3 opcodes.h | $(NAWK) -f $(TOP)/mkopcodec.awk >opcodes.c
345
346opcodes.h:	parse.h $(TOP)/src/vdbe.c $(TOP)/mkopcodeh.awk
347	cat parse.h $(TOP)/src/vdbe.c |$(NAWK) -f $(TOP)/mkopcodeh.awk >opcodes.h
348
349
350# Rules to build parse.c and parse.h - the outputs of lemon.
351#
352parse.h:	parse.c
353
354parse.c:	$(TOP)/src/parse.y lemon $(TOP)/addopcodes.awk
355	cp $(TOP)/src/parse.y .
356	rm -f parse.h
357	./lemon $(OPTS) parse.y
358	mv parse.h parse.h.temp
359	awk -f $(TOP)/addopcodes.awk parse.h.temp >parse.h
360
361sqlite3.h:	$(TOP)/src/sqlite.h.in
362	sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
363	    -e s/--VERSION-NUMBER--/`cat ${TOP}/VERSION | sed 's/[^0-9]/ /g' | $(NAWK) '{printf "%d%03d%03d",$$1,$$2,$$3}'`/ \
364                 $(TOP)/src/sqlite.h.in >sqlite3.h
365
366keywordhash.h:	$(TOP)/tool/mkkeywordhash.c
367	$(BCC) -o mkkeywordhash $(OPTS) $(TOP)/tool/mkkeywordhash.c
368	./mkkeywordhash >keywordhash.h
369
370
371
372# Rules to build the extension objects.
373#
374icu.o:	$(TOP)/ext/icu/icu.c $(HDR) $(EXTHDR)
375	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/icu/icu.c
376
377fts2.o:	$(TOP)/ext/fts2/fts2.c $(HDR) $(EXTHDR)
378	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2.c
379
380fts2_hash.o:	$(TOP)/ext/fts2/fts2_hash.c $(HDR) $(EXTHDR)
381	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_hash.c
382
383fts2_icu.o:	$(TOP)/ext/fts2/fts2_icu.c $(HDR) $(EXTHDR)
384	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_icu.c
385
386fts2_porter.o:	$(TOP)/ext/fts2/fts2_porter.c $(HDR) $(EXTHDR)
387	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_porter.c
388
389fts2_tokenizer.o:	$(TOP)/ext/fts2/fts2_tokenizer.c $(HDR) $(EXTHDR)
390	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_tokenizer.c
391
392fts2_tokenizer1.o:	$(TOP)/ext/fts2/fts2_tokenizer1.c $(HDR) $(EXTHDR)
393	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts2/fts2_tokenizer1.c
394
395fts3.o:	$(TOP)/ext/fts3/fts3.c $(HDR) $(EXTHDR)
396	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3.c
397
398fts3_hash.o:	$(TOP)/ext/fts3/fts3_hash.c $(HDR) $(EXTHDR)
399	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_hash.c
400
401fts3_icu.o:	$(TOP)/ext/fts3/fts3_icu.c $(HDR) $(EXTHDR)
402	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_icu.c
403
404fts3_porter.o:	$(TOP)/ext/fts3/fts3_porter.c $(HDR) $(EXTHDR)
405	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_porter.c
406
407fts3_tokenizer.o:	$(TOP)/ext/fts3/fts3_tokenizer.c $(HDR) $(EXTHDR)
408	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer.c
409
410fts3_tokenizer1.o:	$(TOP)/ext/fts3/fts3_tokenizer1.c $(HDR) $(EXTHDR)
411	$(TCCX) -DSQLITE_CORE -c $(TOP)/ext/fts3/fts3_tokenizer1.c
412
413
414# Rules for building test programs and for running tests
415#
416tclsqlite3:	$(TOP)/src/tclsqlite.c libsqlite3.a
417	$(TCCX) $(TCL_FLAGS) -DTCLSH=1 -o tclsqlite3 \
418		$(TOP)/src/tclsqlite.c libsqlite3.a $(LIBTCL) $(THREADLIB)
419
420
421# Rules to build the 'testfixture' application.
422#
423TESTFIXTURE_FLAGS  = -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1
424TESTFIXTURE_FLAGS += -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE
425
426testfixture$(EXE): $(TESTSRC2) libsqlite3.a $(TESTSRC) $(TOP)/src/tclsqlite.c
427	$(TCCX) $(TCL_FLAGS) $(TESTFIXTURE_FLAGS)                            \
428		$(TESTSRC) $(TESTSRC2) $(TOP)/src/tclsqlite.c                \
429		-o testfixture$(EXE) $(LIBTCL) $(THREADLIB) libsqlite3.a
430
431amalgamation-testfixture$(EXE): sqlite3.c $(TESTSRC) $(TOP)/src/tclsqlite.c
432	$(TCCX) $(TCL_FLAGS) $(TESTFIXTURE_FLAGS)                            \
433		$(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c                  \
434		-o testfixture$(EXE) $(LIBTCL) $(THREADLIB)
435
436fulltest:	testfixture$(EXE) sqlite3$(EXE)
437	./testfixture$(EXE) $(TOP)/test/all.test
438
439soaktest:	testfixture$(EXE) sqlite3$(EXE)
440	./testfixture$(EXE) $(TOP)/test/all.test -soak 1
441
442test:	testfixture$(EXE) sqlite3$(EXE)
443	./testfixture$(EXE) $(TOP)/test/quick.test
444
445sqlite3_analyzer$(EXE):	$(TOP)/src/tclsqlite.c sqlite3.c $(TESTSRC) \
446			$(TOP)/tool/spaceanal.tcl
447	sed \
448	  -e '/^#/d' \
449	  -e 's,\\,\\\\,g' \
450	  -e 's,",\\",g' \
451	  -e 's,^,",' \
452	  -e 's,$$,\\n",' \
453	  $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h
454	$(TCCX) $(TCL_FLAGS)                  $(TESTFIXTURE_FLAGS)                                 \
455		-DTCLSH=2 -DSQLITE_TEST=1 -DSQLITE_DEBUG=1 -DSQLITE_PRIVATE="" \
456		$(TESTSRC) $(TOP)/src/tclsqlite.c sqlite3.c                    \
457		-o sqlite3_analyzer$(EXE)                                      \
458		$(LIBTCL) $(THREADLIB)
459
460TEST_EXTENSION = $(SHPREFIX)testloadext.$(SO)
461$(TEST_EXTENSION): $(TOP)/src/test_loadext.c
462	$(MKSHLIB) $(TOP)/src/test_loadext.c -o $(TEST_EXTENSION)
463
464extensiontest: testfixture$(EXE) $(TEST_EXTENSION)
465	./testfixture$(EXE) $(TOP)/test/loadext.test
466
467
468# Rules used to build documentation
469#
470%.html: $(TOP)/www/%.tcl docdir last_change common.tcl
471	tclsh $< > $@
472
473lang.html: $(TOP)/www/lang.tcl docdir
474	tclsh $(TOP)/www/lang.tcl doc >lang.html
475
476opcode.html:	$(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
477	tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
478
479capi3ref.html:	$(TOP)/www/mkapidoc.tcl sqlite3.h
480	tclsh $(TOP)/www/mkapidoc.tcl <sqlite3.h >capi3ref.html
481
482copyright-release.html:	$(TOP)/www/copyright-release.html
483	cp $(TOP)/www/copyright-release.html .
484
485%: $(TOP)/www/%
486	cp $< $@
487
488# Files to be published on the website.
489#
490DOC = \
491  arch.html \
492  autoinc.html \
493  c_interface.html \
494  capi3.html \
495  capi3ref.html \
496  changes.html \
497  compile.html \
498  copyright.html \
499  copyright-release.html \
500  copyright-release.pdf \
501  conflict.html \
502  datatypes.html \
503  datatype3.html \
504  different.html \
505  docs.html \
506  download.html \
507  faq.html \
508  fileformat.html \
509  formatchng.html \
510  index.html \
511  limits.html \
512  lang.html \
513  lockingv3.html \
514  mingw.html \
515  nulls.html \
516  oldnews.html \
517  omitted.html \
518  opcode.html \
519  optimizer.html \
520  optoverview.html \
521  pragma.html \
522  quickstart.html \
523  sharedcache.html \
524  speed.html \
525  sqlite.html \
526  support.html \
527  tclsqlite.html \
528  vdbe.html \
529  version3.html \
530  whentouse.html \
531  34to35.html
532
533docdir:
534	mkdir -p doc
535
536doc:	common.tcl $(DOC) docdir
537	mv $(DOC) doc
538	cp $(TOP)/www/*.gif $(TOP)/art/*.gif doc
539
540# Standard install and cleanup targets
541#
542install:	sqlite3 libsqlite3.a sqlite3.h
543	mv sqlite3 /usr/bin
544	mv libsqlite3.a /usr/lib
545	mv sqlite3.h /usr/include
546
547clean:
548	rm -f *.o sqlite3 libsqlite3.a sqlite3.h opcodes.*
549	rm -f lemon lempar.c parse.* sqlite*.tar.gz mkkeywordhash keywordhash.h
550	rm -f $(PUBLISH)
551	rm -f *.da *.bb *.bbg gmon.out
552	rm -rf tsrc
553	rm -f testloadext.dll libtestloadext.so
554