5 # This makefile is suppose to be configured automatically using the
6 # autoconf. But if that does not work for you, you can configure
7 # the makefile manually. Just set the parameters below to values that
8 # work well for your system.
10 # If the configure script does not work out-of-the-box, you might
11 # be able to get it to work by giving it some hints. See the comment
12 # at the beginning of configure.in for additional information.
15 # The toplevel directory of the source tree. This is the directory
16 # that contains this "Makefile.in" and the "configure.in" script.
21 # C Compiler and options for use in building executables that
22 # will run on the platform that is doing the build.
24 BCC
= @BUILD_CC@ @BUILD_CFLAGS@
26 # C Compile and options for use in building executables that
27 # will run on the target platform. (BCC and TCC are usually the
28 # same unless your are cross-compiling.)
30 TCC
= @CC@ @CPPFLAGS@ @CFLAGS@
-I.
-I
${TOP}/src
-I
${TOP}/ext
/rtree
32 # Define this for the autoconf-based build, so that the code knows it can
33 # include the generated config.h
35 TCC
+= -D_HAVE_SQLITE_CONFIG_H
-DBUILD_sqlite
37 # Define -DNDEBUG to compile without debugging (i.e., for production usage)
38 # Omitting the define will cause extra debugging code to be inserted and
39 # includes extra comments when "EXPLAIN stmt" is used.
41 TCC
+= @TARGET_DEBUG@ @XTHREADCONNECT@
43 # Compiler options needed for programs that use the TCL library.
45 TCC
+= @TCL_INCLUDE_SPEC@
47 # The library that programs using TCL must link against.
49 LIBTCL
= @TCL_LIB_SPEC@
51 # Compiler options needed for programs that use the readline() library.
53 READLINE_FLAGS
= -DHAVE_READLINE
=@TARGET_HAVE_READLINE@ @TARGET_READLINE_INC@
55 # The library that programs using readline() must link against.
57 LIBREADLINE
= @TARGET_READLINE_LIBS@
59 # Should the database engine be compiled threadsafe
61 TCC
+= -DSQLITE_THREADSAFE
=@SQLITE_THREADSAFE@
63 # Any target libraries which libsqlite must be linked against
67 # Flags controlling use of the in memory btree implementation
69 # SQLITE_TEMP_STORE is 0 to force temporary tables to be in a file, 1 to
70 # default to file, 2 to default to memory, and 3 to force temporary
71 # tables to always be in memory.
73 TEMP_STORE
= -DSQLITE_TEMP_STORE
=@TEMP_STORE@
75 # Enable/disable loadable extensions, and other optional features
76 # based on configuration. (-DSQLITE_OMIT*, -DSQLITE_ENABLE*).
77 # The same set of OMIT and ENABLE flags should be passed to the
78 # LEMON parser generator and the mkkeywordhash tool as well.
79 OPT_FEATURE_FLAGS
= @OPT_FEATURE_FLAGS@
81 TCC
+= $(OPT_FEATURE_FLAGS
)
83 # Add in any optional parameters specified on the make commane line
84 # ie. make "OPTS=-DSQLITE_ENABLE_FOO=1 -DSQLITE_OMIT_FOO=1".
87 # Version numbers and release number for the SQLite being compiled.
90 VERSION_NUMBER
= @VERSION_NUMBER@
96 TEXE
= @TARGET_EXEEXT@
98 # The following variable is "1" if the configure script was able to locate
99 # the tclConfig.sh file. It is an empty string otherwise. When this
100 # variable is "1", the TCL extension library (libtclsqlite3.so) is built
103 HAVE_TCL
= @HAVE_TCL@
105 # This is the command to use for tclsh - normally just "tclsh", but we may
106 # know the specific version we want to use
108 TCLSH_CMD
= @TCLSH_CMD@
110 # Where do we want to install the tcl plugin
112 TCLLIBDIR
= @TCLLIBDIR@
114 # The suffix used on shared libraries. Ex: ".dll", ".so", ".dylib"
116 SHLIB_SUFFIX
= @TCL_SHLIB_SUFFIX@
118 # If gcov support was enabled by the configure script, add the appropriate
119 # flags here. It's not always as easy as just having the user add the right
120 # CFLAGS / LDFLAGS, because libtool wants to use CFLAGS when linking, which
121 # causes build errors with -fprofile-arcs -ftest-coverage with some GCCs.
122 # Supposedly GCC does the right thing if you use --coverage, but in
123 # practice it still fails. See:
125 # http://www.mail-archive.com/debian-gcc@lists.debian.org/msg26197.html
129 GCOV_CFLAGS1
= -DSQLITE_COVERAGE_TEST
=1 -fprofile-arcs
-ftest-coverage
130 GCOV_LDFLAGS1
= -lgcov
131 USE_GCOV
= @USE_GCOV@
132 LTCOMPILE_EXTRAS
+= $(GCOV_CFLAGS
$(USE_GCOV
))
133 LTLINK_EXTRAS
+= $(GCOV_LDFLAGS
$(USE_GCOV
))
140 crypto_libtomcrypt.lo \
144 $(TOP
)/src
/crypto.h \
145 $(TOP
)/src
/sqlcipher.h \
146 $(TOP
)/src
/crypto.c \
147 $(TOP
)/src
/crypto_impl.c \
148 $(TOP
)/src
/crypto_libtomcrypt.c \
149 $(TOP
)/src
/crypto_openssl.c \
150 $(TOP
)/src
/crypto_cc.c
154 # The directory into which to store package information for
156 # Some standard variables and programs
159 exec_prefix = @
exec_prefix@
161 pkgconfigdir
= $(libdir)/pkgconfig
163 includedir = @
includedir@
/sqlcipher
166 ALLOWRELEASE
= @ALLOWRELEASE@
168 # libtool compile/link/install
169 LTCOMPILE
= $(LIBTOOL
) --mode
=compile
--tag
=CC
$(TCC
) $(LTCOMPILE_EXTRAS
)
170 LTLINK
= $(LIBTOOL
) --mode
=link
$(TCC
) $(LTCOMPILE_EXTRAS
) @LDFLAGS@
$(LTLINK_EXTRAS
)
171 LTINSTALL
= $(LIBTOOL
) --mode
=install $(INSTALL
)
173 # nawk compatible awk.
176 # You should not have to change anything below this line
177 ###############################################################################
179 USE_AMALGAMATION
= @USE_AMALGAMATION@
181 # Object files for the SQLite library (non-amalgamation).
183 LIBOBJS0
= alter.lo analyze.lo attach.lo auth.lo \
184 backup.lo bitvec.lo btmutex.lo btree.lo build.lo \
185 callback.lo complete.lo ctime.lo date.lo delete.lo \
186 expr.lo fault.lo fkey.lo \
187 fts3.lo fts3_aux.lo fts3_expr.lo fts3_hash.lo fts3_icu.lo \
188 fts3_porter.lo fts3_snippet.lo fts3_tokenizer.lo fts3_tokenizer1.lo \
189 fts3_tokenize_vtab.lo \
190 fts3_unicode.lo fts3_unicode2.lo fts3_write.lo \
191 func.lo global.lo hash.lo \
192 icu.lo insert.lo journal.lo legacy.lo loadext.lo \
193 main.lo malloc.lo mem0.lo mem1.lo mem2.lo mem3.lo mem5.lo \
195 mutex.lo mutex_noop.lo mutex_unix.lo mutex_w32.lo \
196 notify.lo opcodes.lo os.lo os_unix.lo os_win.lo \
197 pager.lo parse.lo pcache.lo pcache1.lo pragma.lo prepare.lo printf.lo \
198 random.lo resolve.lo rowset.lo rtree.lo select.lo status.lo \
199 table.lo tokenize.lo trigger.lo \
200 update.lo util.lo vacuum.lo \
201 vdbe.lo vdbeapi.lo vdbeaux.lo vdbeblob.lo vdbemem.lo vdbesort.lo \
202 vdbetrace.lo wal.lo walker.lo where.lo utf.lo vtab.lo
$(CRYPTOLIBOBJ
)
204 # Object files for the amalgamation.
206 LIBOBJS1
= sqlite3.lo
208 # Determine the real value of LIBOBJ based on the 'configure' script
210 LIBOBJ
= $(LIBOBJS
$(USE_AMALGAMATION
))
213 # All of the source code files.
218 $(TOP
)/src
/analyze.c \
219 $(TOP
)/src
/attach.c \
221 $(TOP
)/src
/backup.c \
222 $(TOP
)/src
/bitvec.c \
223 $(TOP
)/src
/btmutex.c \
226 $(TOP
)/src
/btreeInt.h \
228 $(TOP
)/src
/callback.c \
229 $(TOP
)/src
/complete.c \
232 $(TOP
)/src
/delete.c \
237 $(TOP
)/src
/global.c \
240 $(TOP
)/src
/hwtime.h \
241 $(TOP
)/src
/insert.c \
242 $(TOP
)/src
/journal.c \
243 $(TOP
)/src
/legacy.c \
244 $(TOP
)/src
/loadext.c \
246 $(TOP
)/src
/malloc.c \
252 $(TOP
)/src
/memjournal.c \
255 $(TOP
)/src
/mutex_noop.c \
256 $(TOP
)/src
/mutex_unix.c \
257 $(TOP
)/src
/mutex_w32.c \
258 $(TOP
)/src
/notify.c \
261 $(TOP
)/src
/os_common.h \
262 $(TOP
)/src
/os_unix.c \
263 $(TOP
)/src
/os_win.c \
267 $(TOP
)/src
/pcache.c \
268 $(TOP
)/src
/pcache.h \
269 $(TOP
)/src
/pcache1.c \
270 $(TOP
)/src
/pragma.c \
271 $(TOP
)/src
/prepare.c \
272 $(TOP
)/src
/printf.c \
273 $(TOP
)/src
/random.c \
274 $(TOP
)/src
/resolve.c \
275 $(TOP
)/src
/rowset.c \
276 $(TOP
)/src
/select.c \
277 $(TOP
)/src
/status.c \
279 $(TOP
)/src
/sqlite.h.in \
280 $(TOP
)/src
/sqlite3ext.h \
281 $(TOP
)/src
/sqliteInt.h \
282 $(TOP
)/src
/sqliteLimit.h \
284 $(TOP
)/src
/tclsqlite.c \
285 $(TOP
)/src
/tokenize.c \
286 $(TOP
)/src
/trigger.c \
288 $(TOP
)/src
/update.c \
290 $(TOP
)/src
/vacuum.c \
293 $(TOP
)/src
/vdbeapi.c \
294 $(TOP
)/src
/vdbeaux.c \
295 $(TOP
)/src
/vdbeblob.c \
296 $(TOP
)/src
/vdbemem.c \
297 $(TOP
)/src
/vdbesort.c \
298 $(TOP
)/src
/vdbetrace.c \
299 $(TOP
)/src
/vdbeInt.h \
303 $(TOP
)/src
/walker.c \
306 # Source code for extensions
309 $(TOP
)/ext
/fts1
/fts1.c \
310 $(TOP
)/ext
/fts1
/fts1.h \
311 $(TOP
)/ext
/fts1
/fts1_hash.c \
312 $(TOP
)/ext
/fts1
/fts1_hash.h \
313 $(TOP
)/ext
/fts1
/fts1_porter.c \
314 $(TOP
)/ext
/fts1
/fts1_tokenizer.h \
315 $(TOP
)/ext
/fts1
/fts1_tokenizer1.c
317 $(TOP
)/ext
/fts2
/fts2.c \
318 $(TOP
)/ext
/fts2
/fts2.h \
319 $(TOP
)/ext
/fts2
/fts2_hash.c \
320 $(TOP
)/ext
/fts2
/fts2_hash.h \
321 $(TOP
)/ext
/fts2
/fts2_icu.c \
322 $(TOP
)/ext
/fts2
/fts2_porter.c \
323 $(TOP
)/ext
/fts2
/fts2_tokenizer.h \
324 $(TOP
)/ext
/fts2
/fts2_tokenizer.c \
325 $(TOP
)/ext
/fts2
/fts2_tokenizer1.c
327 $(TOP
)/ext
/fts3
/fts3.c \
328 $(TOP
)/ext
/fts3
/fts3.h \
329 $(TOP
)/ext
/fts3
/fts3Int.h \
330 $(TOP
)/ext
/fts3
/fts3_aux.c \
331 $(TOP
)/ext
/fts3
/fts3_expr.c \
332 $(TOP
)/ext
/fts3
/fts3_hash.c \
333 $(TOP
)/ext
/fts3
/fts3_hash.h \
334 $(TOP
)/ext
/fts3
/fts3_icu.c \
335 $(TOP
)/ext
/fts3
/fts3_porter.c \
336 $(TOP
)/ext
/fts3
/fts3_snippet.c \
337 $(TOP
)/ext
/fts3
/fts3_tokenizer.h \
338 $(TOP
)/ext
/fts3
/fts3_tokenizer.c \
339 $(TOP
)/ext
/fts3
/fts3_tokenizer1.c \
340 $(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c \
341 $(TOP
)/ext
/fts3
/fts3_unicode.c \
342 $(TOP
)/ext
/fts3
/fts3_unicode2.c \
343 $(TOP
)/ext
/fts3
/fts3_write.c
345 $(TOP
)/ext
/icu
/sqliteicu.h \
348 $(TOP
)/ext
/rtree
/rtree.h \
349 $(TOP
)/ext
/rtree
/rtree.c
352 # Generated source code files
363 # Source code to the test files.
375 $(TOP
)/src
/test_autoext.c \
376 $(TOP
)/src
/test_async.c \
377 $(TOP
)/src
/test_backup.c \
378 $(TOP
)/src
/test_btree.c \
379 $(TOP
)/src
/test_config.c \
380 $(TOP
)/src
/test_demovfs.c \
381 $(TOP
)/src
/test_devsym.c \
382 $(TOP
)/src
/test_fs.c \
383 $(TOP
)/src
/test_func.c \
384 $(TOP
)/src
/test_hexio.c \
385 $(TOP
)/src
/test_init.c \
386 $(TOP
)/src
/test_intarray.c \
387 $(TOP
)/src
/test_journal.c \
388 $(TOP
)/src
/test_malloc.c \
389 $(TOP
)/src
/test_multiplex.c \
390 $(TOP
)/src
/test_mutex.c \
391 $(TOP
)/src
/test_onefile.c \
392 $(TOP
)/src
/test_osinst.c \
393 $(TOP
)/src
/test_pcache.c \
394 $(TOP
)/src
/test_quota.c \
395 $(TOP
)/src
/test_rtree.c \
396 $(TOP
)/src
/test_schema.c \
397 $(TOP
)/src
/test_server.c \
398 $(TOP
)/src
/test_superlock.c \
399 $(TOP
)/src
/test_syscall.c \
400 $(TOP
)/src
/test_stat.c \
401 $(TOP
)/src
/test_tclvar.c \
402 $(TOP
)/src
/test_thread.c \
403 $(TOP
)/src
/test_vfs.c \
404 $(TOP
)/src
/test_wsd.c \
405 $(TOP
)/ext
/fts3
/fts3_term.c \
406 $(TOP
)/ext
/fts3
/fts3_test.c
408 # Statically linked extensions
411 $(TOP
)/ext
/misc
/amatch.c \
412 $(TOP
)/ext
/misc
/closure.c \
413 $(TOP
)/ext
/misc
/fuzzer.c \
414 $(TOP
)/ext
/misc
/ieee754.c \
415 $(TOP
)/ext
/misc
/nextchar.c \
416 $(TOP
)/ext
/misc
/regexp.c \
417 $(TOP
)/ext
/misc
/spellfix.c \
418 $(TOP
)/ext
/misc
/wholenumber.c
420 # Source code to the library files needed by the test fixture
423 $(TOP
)/src
/attach.c \
424 $(TOP
)/src
/backup.c \
425 $(TOP
)/src
/bitvec.c \
432 $(TOP
)/src
/insert.c \
437 $(TOP
)/src
/os_unix.c \
438 $(TOP
)/src
/os_win.c \
440 $(TOP
)/src
/pragma.c \
441 $(TOP
)/src
/prepare.c \
442 $(TOP
)/src
/printf.c \
443 $(TOP
)/src
/random.c \
444 $(TOP
)/src
/pcache.c \
445 $(TOP
)/src
/pcache1.c \
446 $(TOP
)/src
/select.c \
447 $(TOP
)/src
/tokenize.c \
450 $(TOP
)/src
/vdbeapi.c \
451 $(TOP
)/src
/vdbeaux.c \
453 $(TOP
)/src
/vdbemem.c \
454 $(TOP
)/src
/vdbetrace.c \
457 $(TOP
)/ext
/fts3
/fts3.c \
458 $(TOP
)/ext
/fts3
/fts3_aux.c \
459 $(TOP
)/ext
/fts3
/fts3_expr.c \
460 $(TOP
)/ext
/fts3
/fts3_term.c \
461 $(TOP
)/ext
/fts3
/fts3_tokenizer.c \
462 $(TOP
)/ext
/fts3
/fts3_write.c \
463 $(TOP
)/ext
/async
/sqlite3async.c
465 # Header files used by all library source files.
469 $(TOP
)/src
/btreeInt.h \
471 $(TOP
)/src
/hwtime.h \
476 $(TOP
)/src
/os_common.h \
478 $(TOP
)/src
/pcache.h \
481 $(TOP
)/src
/sqlite3ext.h \
482 $(TOP
)/src
/sqliteInt.h \
483 $(TOP
)/src
/sqliteLimit.h \
485 $(TOP
)/src
/vdbeInt.h \
488 # Header files used by extensions
491 $(TOP
)/ext
/fts1
/fts1.h \
492 $(TOP
)/ext
/fts1
/fts1_hash.h \
493 $(TOP
)/ext
/fts1
/fts1_tokenizer.h
495 $(TOP
)/ext
/fts2
/fts2.h \
496 $(TOP
)/ext
/fts2
/fts2_hash.h \
497 $(TOP
)/ext
/fts2
/fts2_tokenizer.h
499 $(TOP
)/ext
/fts3
/fts3.h \
500 $(TOP
)/ext
/fts3
/fts3Int.h \
501 $(TOP
)/ext
/fts3
/fts3_hash.h \
502 $(TOP
)/ext
/fts3
/fts3_tokenizer.h
504 $(TOP
)/ext
/rtree
/rtree.h
506 $(TOP
)/ext
/icu
/sqliteicu.h
508 $(TOP
)/ext
/rtree
/sqlite3rtree.h
510 # This is the default Makefile target. The objects listed here
511 # are what get build when you type just "make" with no arguments.
513 all: sqlite3.h libsqlcipher.la sqlcipher
$(TEXE
) $(HAVE_TCL
:1=libtclsqlite3.la
)
515 Makefile
: $(TOP
)/Makefile.in
518 sqlcipher.
pc: $(TOP
)/sqlcipher.
pc.in
521 libsqlcipher.la
: $(LIBOBJ
)
522 $(LTLINK
) -o
$@
$(LIBOBJ
) $(TLIBS
) \
523 ${ALLOWRELEASE} -rpath
"$(libdir)" -version-info
"8:6:8"
525 libtclsqlite3.la
: tclsqlite.lo libsqlcipher.la
526 $(LTLINK
) -o
$@ tclsqlite.lo \
527 libsqlcipher.la @TCL_STUB_LIB_SPEC@
$(TLIBS
) \
528 -rpath
"$(TCLLIBDIR)" \
529 -version-info
"8:6:8" \
532 sqlcipher
$(TEXE
): $(TOP
)/src
/shell.c libsqlcipher.la sqlite3.h
533 $(LTLINK
) $(READLINE_FLAGS
) \
534 -o
$@
$(TOP
)/src
/shell.c libsqlcipher.la \
535 $(LIBREADLINE
) $(TLIBS
) -rpath
"$(libdir)"
537 mptester
$(EXE
): sqlite3.c
$(TOP
)/mptest
/mptest.c
538 $(LTLINK
) -o
$@
-I.
$(TOP
)/mptest
/mptest.c sqlite3.c \
539 $(TLIBS
) -rpath
"$(libdir)"
542 # This target creates a directory named "tsrc" and fills it with
543 # copies of all of the C source code and header files needed to
544 # build on the target system. Some of the C source code and header
545 # files are automatically generated. This target takes care of
546 # all that automatic generation.
548 .target_source
: $(SRC
) $(TOP
)/tool
/vdbe-compress.tcl
552 rm tsrc
/sqlite.h.in tsrc
/parse.y
553 $(TCLSH_CMD
) $(TOP
)/tool
/vdbe-compress.tcl
<tsrc
/vdbe.c
>vdbe.new
554 mv vdbe.new tsrc
/vdbe.c
557 sqlite3.c
: .target_source
$(TOP
)/tool
/mksqlite3c.tcl
558 $(TCLSH_CMD
) $(TOP
)/tool
/mksqlite3c.tcl
559 cp tsrc
/shell.c tsrc
/sqlite3ext.h .
561 tclsqlite3.c
: sqlite3.c
562 echo
'#ifndef USE_SYSTEM_SQLITE' >tclsqlite3.c
563 cat sqlite3.c
>>tclsqlite3.c
564 echo
'#endif /* USE_SYSTEM_SQLITE */' >>tclsqlite3.c
565 cat
$(TOP
)/src
/tclsqlite.c
>>tclsqlite3.c
567 sqlite3-all.c
: sqlite3.c
$(TOP
)/tool
/split-sqlite3c.tcl
568 $(TCLSH_CMD
) $(TOP
)/tool
/split-sqlite3c.tcl
570 # Rule to build the amalgamation
572 sqlite3.lo
: sqlite3.c
573 $(LTCOMPILE
) $(TEMP_STORE
) -c sqlite3.c
575 # Rules to build the LEMON compiler generator
577 lemon
$(BEXE
): $(TOP
)/tool
/lemon.c
$(TOP
)/src
/lempar.c
578 $(BCC
) -o
$@
$(TOP
)/tool
/lemon.c
579 cp
$(TOP
)/src
/lempar.c .
581 # Rules to build individual *.o files from generated *.c files. This
587 parse.lo
: parse.c
$(HDR
)
588 $(LTCOMPILE
) $(TEMP_STORE
) -c parse.c
590 opcodes.lo
: opcodes.c
591 $(LTCOMPILE
) $(TEMP_STORE
) -c opcodes.c
594 crypto.lo
: $(TOP
)/src
/crypto.c
$(HDR
)
595 $(LTCOMPILE
) -c
$(TOP
)/src
/crypto.c
596 crypto_impl.lo
: $(TOP
)/src
/crypto_impl.c
$(HDR
)
597 $(LTCOMPILE
) -c
$(TOP
)/src
/crypto_impl.c
598 crypto_openssl.lo
: $(TOP
)/src
/crypto_openssl.c
$(HDR
)
599 $(LTCOMPILE
) -c
$(TOP
)/src
/crypto_openssl.c
600 crypto_libtomcrypt.lo
: $(TOP
)/src
/crypto_libtomcrypt.c
$(HDR
)
601 $(LTCOMPILE
) -c
$(TOP
)/src
/crypto_libtomcrypt.c
602 crypto_cc.lo
: $(TOP
)/src
/crypto_cc.c
$(HDR
)
603 $(LTCOMPILE
) -c
$(TOP
)/src
/crypto_cc.c
606 # Rules to build individual *.o files from files in the src directory.
608 alter.lo
: $(TOP
)/src
/alter.c
$(HDR
)
609 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/alter.c
611 analyze.lo
: $(TOP
)/src
/analyze.c
$(HDR
)
612 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/analyze.c
614 attach.lo
: $(TOP
)/src
/attach.c
$(HDR
)
615 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/attach.c
617 auth.lo
: $(TOP
)/src
/auth.c
$(HDR
)
618 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/auth.c
620 backup.lo
: $(TOP
)/src
/backup.c
$(HDR
)
621 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/backup.c
623 bitvec.lo
: $(TOP
)/src
/bitvec.c
$(HDR
)
624 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/bitvec.c
626 btmutex.lo
: $(TOP
)/src
/btmutex.c
$(HDR
)
627 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/btmutex.c
629 btree.lo
: $(TOP
)/src
/btree.c
$(HDR
) $(TOP
)/src
/pager.h
630 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/btree.c
632 build.lo
: $(TOP
)/src
/build.c
$(HDR
)
633 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/build.c
635 callback.lo
: $(TOP
)/src
/callback.c
$(HDR
)
636 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/callback.c
638 complete.lo
: $(TOP
)/src
/complete.c
$(HDR
)
639 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/complete.c
641 ctime.lo
: $(TOP
)/src
/ctime.c
$(HDR
)
642 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/ctime.c
644 date.lo
: $(TOP
)/src
/date.c
$(HDR
)
645 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/date.c
647 delete.lo
: $(TOP
)/src
/delete.c
$(HDR
)
648 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/delete.c
650 expr.lo
: $(TOP
)/src
/expr.c
$(HDR
)
651 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/expr.c
653 fault.lo
: $(TOP
)/src
/fault.c
$(HDR
)
654 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/fault.c
656 fkey.lo
: $(TOP
)/src
/fkey.c
$(HDR
)
657 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/fkey.c
659 func.lo
: $(TOP
)/src
/func.c
$(HDR
)
660 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/func.c
662 global.lo
: $(TOP
)/src
/global.c
$(HDR
)
663 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/global.c
665 hash.lo
: $(TOP
)/src
/hash.c
$(HDR
)
666 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/hash.c
668 insert.lo
: $(TOP
)/src
/insert.c
$(HDR
)
669 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/insert.c
671 journal.lo
: $(TOP
)/src
/journal.c
$(HDR
)
672 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/journal.c
674 legacy.lo
: $(TOP
)/src
/legacy.c
$(HDR
)
675 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/legacy.c
677 loadext.lo
: $(TOP
)/src
/loadext.c
$(HDR
)
678 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/loadext.c
680 main.lo
: $(TOP
)/src
/main.c
$(HDR
)
681 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/main.c
683 malloc.lo
: $(TOP
)/src
/malloc.c
$(HDR
)
684 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/malloc.c
686 mem0.lo
: $(TOP
)/src
/mem0.c
$(HDR
)
687 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mem0.c
689 mem1.lo
: $(TOP
)/src
/mem1.c
$(HDR
)
690 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mem1.c
692 mem2.lo
: $(TOP
)/src
/mem2.c
$(HDR
)
693 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mem2.c
695 mem3.lo
: $(TOP
)/src
/mem3.c
$(HDR
)
696 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mem3.c
698 mem5.lo
: $(TOP
)/src
/mem5.c
$(HDR
)
699 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mem5.c
701 memjournal.lo
: $(TOP
)/src
/memjournal.c
$(HDR
)
702 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/memjournal.c
704 mutex.lo
: $(TOP
)/src
/mutex.c
$(HDR
)
705 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mutex.c
707 mutex_noop.lo
: $(TOP
)/src
/mutex_noop.c
$(HDR
)
708 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mutex_noop.c
710 mutex_unix.lo
: $(TOP
)/src
/mutex_unix.c
$(HDR
)
711 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mutex_unix.c
713 mutex_w32.lo
: $(TOP
)/src
/mutex_w32.c
$(HDR
)
714 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/mutex_w32.c
716 notify.lo
: $(TOP
)/src
/notify.c
$(HDR
)
717 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/notify.c
719 pager.lo
: $(TOP
)/src
/pager.c
$(HDR
) $(TOP
)/src
/pager.h
720 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/pager.c
722 pcache.lo
: $(TOP
)/src
/pcache.c
$(HDR
) $(TOP
)/src
/pcache.h
723 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/pcache.c
725 pcache1.lo
: $(TOP
)/src
/pcache1.c
$(HDR
) $(TOP
)/src
/pcache.h
726 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/pcache1.c
728 os.lo
: $(TOP
)/src
/os.c
$(HDR
)
729 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/os.c
731 os_unix.lo
: $(TOP
)/src
/os_unix.c
$(HDR
)
732 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/os_unix.c
734 os_win.lo
: $(TOP
)/src
/os_win.c
$(HDR
)
735 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/os_win.c
737 pragma.lo
: $(TOP
)/src
/pragma.c
$(HDR
)
738 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/pragma.c
740 prepare.lo
: $(TOP
)/src
/prepare.c
$(HDR
)
741 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/prepare.c
743 printf.lo
: $(TOP
)/src
/printf.c
$(HDR
)
744 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/printf.c
746 random.lo
: $(TOP
)/src
/random.c
$(HDR
)
747 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/random.c
749 resolve.lo
: $(TOP
)/src
/resolve.c
$(HDR
)
750 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/resolve.c
752 rowset.lo
: $(TOP
)/src
/rowset.c
$(HDR
)
753 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/rowset.c
755 select.lo
: $(TOP
)/src
/select.c
$(HDR
)
756 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/select.c
758 status.lo
: $(TOP
)/src
/status.c
$(HDR
)
759 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/status.c
761 table.lo
: $(TOP
)/src
/table.c
$(HDR
)
762 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/table.c
764 tokenize.lo
: $(TOP
)/src
/tokenize.c keywordhash.h
$(HDR
)
765 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/tokenize.c
767 trigger.lo
: $(TOP
)/src
/trigger.c
$(HDR
)
768 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/trigger.c
770 update.lo
: $(TOP
)/src
/update.c
$(HDR
)
771 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/update.c
773 utf.lo
: $(TOP
)/src
/utf.c
$(HDR
)
774 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/utf.c
776 util.lo
: $(TOP
)/src
/util.c
$(HDR
)
777 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/util.c
779 vacuum.lo
: $(TOP
)/src
/vacuum.c
$(HDR
)
780 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vacuum.c
782 vdbe.lo
: $(TOP
)/src
/vdbe.c
$(HDR
)
783 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbe.c
785 vdbeapi.lo
: $(TOP
)/src
/vdbeapi.c
$(HDR
)
786 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbeapi.c
788 vdbeaux.lo
: $(TOP
)/src
/vdbeaux.c
$(HDR
)
789 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbeaux.c
791 vdbeblob.lo
: $(TOP
)/src
/vdbeblob.c
$(HDR
)
792 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbeblob.c
794 vdbemem.lo
: $(TOP
)/src
/vdbemem.c
$(HDR
)
795 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbemem.c
797 vdbesort.lo
: $(TOP
)/src
/vdbesort.c
$(HDR
)
798 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbesort.c
800 vdbetrace.lo
: $(TOP
)/src
/vdbetrace.c
$(HDR
)
801 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vdbetrace.c
803 vtab.lo
: $(TOP
)/src
/vtab.c
$(HDR
)
804 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/vtab.c
806 wal.lo
: $(TOP
)/src
/wal.c
$(HDR
)
807 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/wal.c
809 walker.lo
: $(TOP
)/src
/walker.c
$(HDR
)
810 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/walker.c
812 where.lo
: $(TOP
)/src
/where.c
$(HDR
)
813 $(LTCOMPILE
) $(TEMP_STORE
) -c
$(TOP
)/src
/where.c
815 tclsqlite.lo
: $(TOP
)/src
/tclsqlite.c
$(HDR
)
816 $(LTCOMPILE
) -DUSE_TCL_STUBS
=1 -c
$(TOP
)/src
/tclsqlite.c
818 tclsqlite-shell.lo
: $(TOP
)/src
/tclsqlite.c
$(HDR
)
819 $(LTCOMPILE
) -DTCLSH
=1 -o
$@
-c
$(TOP
)/src
/tclsqlite.c
821 tclsqlite-stubs.lo
: $(TOP
)/src
/tclsqlite.c
$(HDR
)
822 $(LTCOMPILE
) -DUSE_TCL_STUBS
=1 -o
$@
-c
$(TOP
)/src
/tclsqlite.c
824 tclsqlcipher
$(TEXE
): tclsqlite-shell.lo libsqlcipher.la
825 $(LTLINK
) -o
$@ tclsqlite-shell.lo \
826 libsqlcipher.la
$(LIBTCL
)
828 # Rules to build opcodes.c and opcodes.h
830 opcodes.c
: opcodes.h
$(TOP
)/mkopcodec.awk
831 $(NAWK
) -f
$(TOP
)/mkopcodec.awk opcodes.h
>opcodes.c
833 opcodes.h
: parse.h
$(TOP
)/src
/vdbe.c
$(TOP
)/mkopcodeh.awk
834 cat parse.h
$(TOP
)/src
/vdbe.c |
$(NAWK
) -f
$(TOP
)/mkopcodeh.awk
>opcodes.h
836 # Rules to build parse.c and parse.h - the outputs of lemon.
840 parse.c
: $(TOP
)/src
/parse.y lemon
$(BEXE
) $(TOP
)/addopcodes.awk
841 cp
$(TOP
)/src
/parse.y .
843 .
/lemon
$(BEXE
) $(OPT_FEATURE_FLAGS
) $(OPTS
) parse.y
844 mv parse.h parse.h.temp
845 $(NAWK
) -f
$(TOP
)/addopcodes.awk parse.h.temp
>parse.h
847 sqlite3.h
: $(TOP
)/src
/sqlite.h.in
$(TOP
)/manifest.uuid
$(TOP
)/VERSION
848 $(TCLSH_CMD
) $(TOP
)/tool
/mksqlite3h.tcl
$(TOP
) >sqlite3.h
850 keywordhash.h
: $(TOP
)/tool
/mkkeywordhash.c
851 $(BCC
) -o mkkeywordhash
$(BEXE
) $(OPT_FEATURE_FLAGS
) $(OPTS
) $(TOP
)/tool
/mkkeywordhash.c
852 .
/mkkeywordhash
$(BEXE
) >keywordhash.h
856 # Rules to build the extension objects.
858 icu.lo
: $(TOP
)/ext
/icu
/icu.c
$(HDR
) $(EXTHDR
)
859 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/icu
/icu.c
861 fts2.lo
: $(TOP
)/ext
/fts2
/fts2.c
$(HDR
) $(EXTHDR
)
862 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2.c
864 fts2_hash.lo
: $(TOP
)/ext
/fts2
/fts2_hash.c
$(HDR
) $(EXTHDR
)
865 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_hash.c
867 fts2_icu.lo
: $(TOP
)/ext
/fts2
/fts2_icu.c
$(HDR
) $(EXTHDR
)
868 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_icu.c
870 fts2_porter.lo
: $(TOP
)/ext
/fts2
/fts2_porter.c
$(HDR
) $(EXTHDR
)
871 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_porter.c
873 fts2_tokenizer.lo
: $(TOP
)/ext
/fts2
/fts2_tokenizer.c
$(HDR
) $(EXTHDR
)
874 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_tokenizer.c
876 fts2_tokenizer1.lo
: $(TOP
)/ext
/fts2
/fts2_tokenizer1.c
$(HDR
) $(EXTHDR
)
877 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts2
/fts2_tokenizer1.c
879 fts3.lo
: $(TOP
)/ext
/fts3
/fts3.c
$(HDR
) $(EXTHDR
)
880 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3.c
882 fts3_aux.lo
: $(TOP
)/ext
/fts3
/fts3_aux.c
$(HDR
) $(EXTHDR
)
883 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_aux.c
885 fts3_expr.lo
: $(TOP
)/ext
/fts3
/fts3_expr.c
$(HDR
) $(EXTHDR
)
886 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_expr.c
888 fts3_hash.lo
: $(TOP
)/ext
/fts3
/fts3_hash.c
$(HDR
) $(EXTHDR
)
889 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_hash.c
891 fts3_icu.lo
: $(TOP
)/ext
/fts3
/fts3_icu.c
$(HDR
) $(EXTHDR
)
892 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_icu.c
894 fts3_porter.lo
: $(TOP
)/ext
/fts3
/fts3_porter.c
$(HDR
) $(EXTHDR
)
895 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_porter.c
897 fts3_snippet.lo
: $(TOP
)/ext
/fts3
/fts3_snippet.c
$(HDR
) $(EXTHDR
)
898 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_snippet.c
900 fts3_tokenizer.lo
: $(TOP
)/ext
/fts3
/fts3_tokenizer.c
$(HDR
) $(EXTHDR
)
901 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenizer.c
903 fts3_tokenizer1.lo
: $(TOP
)/ext
/fts3
/fts3_tokenizer1.c
$(HDR
) $(EXTHDR
)
904 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenizer1.c
906 fts3_tokenize_vtab.lo
: $(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c
$(HDR
) $(EXTHDR
)
907 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_tokenize_vtab.c
909 fts3_unicode.lo
: $(TOP
)/ext
/fts3
/fts3_unicode.c
$(HDR
) $(EXTHDR
)
910 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_unicode.c
912 fts3_unicode2.lo
: $(TOP
)/ext
/fts3
/fts3_unicode2.c
$(HDR
) $(EXTHDR
)
913 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_unicode2.c
915 fts3_write.lo
: $(TOP
)/ext
/fts3
/fts3_write.c
$(HDR
) $(EXTHDR
)
916 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/fts3
/fts3_write.c
918 rtree.lo
: $(TOP
)/ext
/rtree
/rtree.c
$(HDR
) $(EXTHDR
)
919 $(LTCOMPILE
) -DSQLITE_CORE
-c
$(TOP
)/ext
/rtree
/rtree.c
922 # Rules to build the 'testfixture' application.
924 # If using the amalgamation, use sqlite3.c directly to build the test
925 # fixture. Otherwise link against libsqlcipher.la. (This distinction is
926 # necessary because the test fixture requires non-API symbols which are
927 # hidden when the library is built via the amalgamation).
929 TESTFIXTURE_FLAGS
= -DTCLSH
=1 -DSQLITE_TEST
=1 -DSQLITE_CRASH_TEST
=1
930 TESTFIXTURE_FLAGS
+= -DSQLITE_SERVER
=1 -DSQLITE_PRIVATE
="" -DSQLITE_CORE
931 TESTFIXTURE_FLAGS
+= -DBUILD_sqlite
933 TESTFIXTURE_SRC0
= $(TESTSRC2
) libsqlcipher.la
934 TESTFIXTURE_SRC1
= sqlite3.c
935 TESTFIXTURE_SRC
= $(TESTSRC
) $(TOP
)/src
/tclsqlite.c
936 TESTFIXTURE_SRC
+= $(TESTFIXTURE_SRC
$(USE_AMALGAMATION
))
938 testfixture
$(TEXE
): $(TESTFIXTURE_SRC
)
939 $(LTLINK
) -DSQLITE_NO_SYNC
=1 $(TEMP_STORE
) $(TESTFIXTURE_FLAGS
) \
940 -o
$@
$(TESTFIXTURE_SRC
) $(LIBTCL
) $(TLIBS
)
943 fulltest
: testfixture
$(TEXE
) sqlcipher
$(TEXE
)
944 .
/testfixture
$(TEXE
) $(TOP
)/test/all.
test
946 soaktest
: testfixture
$(TEXE
) sqlcipher
$(TEXE
)
947 .
/testfixture
$(TEXE
) $(TOP
)/test/all.
test -soak
=1
949 fulltestonly
: testfixture
$(TEXE
) sqlcipher
$(TEXE
)
950 .
/testfixture
$(TEXE
) $(TOP
)/test/full.
test
952 test: testfixture
$(TEXE
) sqlcipher
$(TEXE
)
953 .
/testfixture
$(TEXE
) $(TOP
)/test/veryquick.
test
955 sqlite3_analyzer.c
: sqlite3.c
$(TOP
)/src
/test_stat.c
$(TOP
)/src
/tclsqlite.c
$(TOP
)/tool
/spaceanal.tcl
956 echo
"#define TCLSH 2" > $@
957 cat sqlite3.c
$(TOP
)/src
/test_stat.c
$(TOP
)/src
/tclsqlite.c
>> $@
958 echo
"static const char *tclsh_main_loop(void){" >> $@
959 echo
"static const char *zMainloop = " >> $@
960 $(NAWK
) -f
$(TOP
)/tool
/tostr.awk
$(TOP
)/tool
/spaceanal.tcl
>> $@
961 echo
"; return zMainloop; }" >> $@
963 sqlite3_analyzer
$(TEXE
): sqlite3_analyzer.c
964 $(LTLINK
) sqlite3_analyzer.c
-o
$@
$(LIBTCL
) $(TLIBS
)
966 # Standard install and cleanup targets
968 lib_install
: libsqlcipher.la
969 $(INSTALL
) -d
$(DESTDIR
)$(libdir)
970 $(LTINSTALL
) libsqlcipher.la
$(DESTDIR
)$(libdir)
972 install: sqlcipher
$(BEXE
) lib_install sqlite3.h sqlcipher.
pc ${HAVE_TCL
:1=tcl_install
}
973 $(INSTALL
) -d
$(DESTDIR
)$(bindir)
974 $(LTINSTALL
) sqlcipher
$(BEXE
) $(DESTDIR
)$(bindir)
975 $(INSTALL
) -d
$(DESTDIR
)$(includedir)
976 $(INSTALL
) -m
0644 sqlite3.h
$(DESTDIR
)$(includedir)
977 $(INSTALL
) -m
0644 $(TOP
)/src
/sqlite3ext.h
$(DESTDIR
)$(includedir)
978 $(INSTALL
) -d
$(DESTDIR
)$(pkgconfigdir
)
979 $(INSTALL
) -m
0644 sqlcipher.
pc $(DESTDIR
)$(pkgconfigdir
)
982 echo
'package ifneeded sqlite3 $(RELEASE) [list load $(TCLLIBDIR)/libtclsqlite3.so sqlite3]' > $@
983 tcl_install
: lib_install libtclsqlite3.la pkgIndex.tcl
984 $(INSTALL
) -d
$(DESTDIR
)$(TCLLIBDIR
)
985 $(LTINSTALL
) libtclsqlite3.la
$(DESTDIR
)$(TCLLIBDIR
)
986 rm -f
$(DESTDIR
)$(TCLLIBDIR
)/libtclsqlite3.la
$(DESTDIR
)$(TCLLIBDIR
)/libtclsqlite3.a
987 $(INSTALL
) -m
0644 pkgIndex.tcl
$(DESTDIR
)$(TCLLIBDIR
)
990 rm -f
*.lo
*.la
*.o sqlcipher
$(TEXE
) libsqlcipher.la
991 rm -f sqlite3.h opcodes.
*
993 rm -f lemon
$(BEXE
) lempar.c parse.
* sqlite
*.
tar.gz
994 rm -f mkkeywordhash
$(BEXE
) keywordhash.h
995 rm -f
*.da
*.bb
*.bbg gmon.out
996 rm -rf quota2a quota2b quota2c
997 rm -rf tsrc .target_source
998 rm -f tclsqlcipher
$(TEXE
)
999 rm -f testfixture
$(TEXE
) test.db
1000 rm -f sqlite3.dll sqlite3.lib sqlite3.exp sqlite3.def
1003 rm -f
shell.c sqlite3ext.h
1004 rm -f sqlite3_analyzer
$(TEXE
) sqlite3_analyzer.c
1005 rm -f sqlite-
*-output.vsix
1006 rm -f mptester mptester.exe
1009 rm -f config.log config.status libtool Makefile sqlcipher.
pc
1016 REAL_LIBOBJ
= $(LIBOBJ
:%.lo
=.libs
/%.o
)
1018 $(REAL_LIBOBJ
): $(LIBOBJ
)
1020 sqlite3.def
: $(REAL_LIBOBJ
)
1021 echo
'EXPORTS' >sqlite3.def
1022 nm
$(REAL_LIBOBJ
) | grep
' T ' | grep
' _sqlite3_' \
1023 | sed
's/^.* _//' >>sqlite3.def
1025 sqlite3.dll
: $(REAL_LIBOBJ
) sqlite3.def
1026 $(TCC
) -shared
-o
$@ sqlite3.def \
1027 -Wl
,"--strip-all" $(REAL_LIBOBJ
)