@@ -153,7 +153,7 @@ exec_prefix = @exec_prefix@
153153libdir = @libdir@
154154pkgconfigdir = $(libdir ) /pkgconfig
155155bindir = @bindir@
156- includedir = @includedir@
156+ includedir = @includedir@/sqlcipher
157157INSTALL = @INSTALL@
158158LIBTOOL = ./libtool
159159ALLOWRELEASE = @ALLOWRELEASE@
@@ -489,28 +489,28 @@ EXTHDR += \
489489# This is the default Makefile target. The objects listed here
490490# are what get build when you type just "make" with no arguments.
491491#
492- all : sqlite3.h libsqlite3 .la sqlite3 $(TEXE ) $(HAVE_TCL:1=libtclsqlite3.la )
492+ all : sqlite3.h libsqlcipher .la sqlcipher $(TEXE ) $(HAVE_TCL:1=libtclsqlite3.la )
493493
494494Makefile : $(TOP ) /Makefile.in
495495 ./config.status
496496
497- sqlite3 .pc : $(TOP ) /sqlite3 .pc.in
497+ sqlcipher .pc : $(TOP ) /sqlcipher .pc.in
498498 ./config.status
499499
500- libsqlite3 .la : $(LIBOBJ )
500+ libsqlcipher .la : $(LIBOBJ )
501501 $(LTLINK ) -o $@ $(LIBOBJ ) $(TLIBS ) \
502502 ${ALLOWRELEASE} -rpath " $( libdir) " -version-info " 8:6:8"
503503
504- libtclsqlite3.la : tclsqlite.lo libsqlite3 .la
504+ libtclsqlite3.la : tclsqlite.lo libsqlcipher .la
505505 $(LTLINK ) -o $@ tclsqlite.lo \
506- libsqlite3 .la @TCL_STUB_LIB_SPEC@ $(TLIBS ) \
506+ libsqlcipher .la @TCL_STUB_LIB_SPEC@ $(TLIBS ) \
507507 -rpath " $( TCLLIBDIR) " \
508508 -version-info " 8:6:8" \
509509 -avoid-version
510510
511- sqlite3 $(TEXE ) : $(TOP ) /src/shell.c libsqlite3 .la sqlite3.h
511+ sqlcipher $(TEXE ) : $(TOP ) /src/shell.c libsqlcipher .la sqlite3.h
512512 $(LTLINK ) $(READLINE_FLAGS ) \
513- -o $@ $(TOP ) /src/shell.c libsqlite3 .la \
513+ -o $@ $(TOP ) /src/shell.c libsqlcipher .la \
514514 $(LIBREADLINE ) $(TLIBS ) -rpath " $( libdir) "
515515
516516# This target creates a directory named "tsrc" and fills it with
@@ -788,9 +788,9 @@ tclsqlite-shell.lo: $(TOP)/src/tclsqlite.c $(HDR)
788788tclsqlite-stubs.lo : $(TOP ) /src/tclsqlite.c $(HDR )
789789 $(LTCOMPILE ) -DUSE_TCL_STUBS=1 -o $@ -c $(TOP ) /src/tclsqlite.c
790790
791- tclsqlite3 $(TEXE ) : tclsqlite-shell.lo libsqlite3 .la
791+ tclsqlcipher $(TEXE ) : tclsqlite-shell.lo libsqlcipher .la
792792 $(LTLINK ) -o $@ tclsqlite-shell.lo \
793- libsqlite3 .la $(LIBTCL )
793+ libsqlcipher .la $(LIBTCL )
794794
795795# Rules to build opcodes.c and opcodes.h
796796#
@@ -886,15 +886,15 @@ rtree.lo: $(TOP)/ext/rtree/rtree.c $(HDR) $(EXTHDR)
886886# Rules to build the 'testfixture' application.
887887#
888888# If using the amalgamation, use sqlite3.c directly to build the test
889- # fixture. Otherwise link against libsqlite3 .la. (This distinction is
889+ # fixture. Otherwise link against libsqlcipher .la. (This distinction is
890890# necessary because the test fixture requires non-API symbols which are
891891# hidden when the library is built via the amalgamation).
892892#
893893TESTFIXTURE_FLAGS = -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1
894894TESTFIXTURE_FLAGS += -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE
895895TESTFIXTURE_FLAGS += -DBUILD_sqlite
896896
897- TESTFIXTURE_SRC0 = $(TESTSRC2 ) libsqlite3 .la
897+ TESTFIXTURE_SRC0 = $(TESTSRC2 ) libsqlcipher .la
898898TESTFIXTURE_SRC1 = sqlite3.c
899899TESTFIXTURE_SRC = $(TESTSRC ) $(TOP ) /src/tclsqlite.c $(TESTFIXTURE_SRC$(USE_AMALGAMATION ) )
900900
@@ -903,13 +903,13 @@ testfixture$(TEXE): $(TESTFIXTURE_SRC)
903903 -o $@ $(TESTFIXTURE_SRC ) $(LIBTCL ) $(TLIBS )
904904
905905
906- fulltest : testfixture$(TEXE ) sqlite3 $(TEXE )
906+ fulltest : testfixture$(TEXE ) sqlcipher $(TEXE )
907907 ./testfixture$(TEXE ) $(TOP ) /test/all.test
908908
909- soaktest : testfixture$(TEXE ) sqlite3 $(TEXE )
909+ soaktest : testfixture$(TEXE ) sqlcipher $(TEXE )
910910 ./testfixture$(TEXE ) $(TOP ) /test/all.test -soak=1
911911
912- test : testfixture$(TEXE ) sqlite3 $(TEXE )
912+ test : testfixture$(TEXE ) sqlcipher $(TEXE )
913913 ./testfixture$(TEXE ) $(TOP ) /test/veryquick.test
914914
915915sqlite3_analyzer.c : sqlite3.c $(TOP ) /src/test_stat.c $(TOP ) /src/tclsqlite.c $(TOP ) /tool/spaceanal.tcl
@@ -925,18 +925,18 @@ sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
925925
926926# Standard install and cleanup targets
927927#
928- lib_install : libsqlite3 .la
928+ lib_install : libsqlcipher .la
929929 $(INSTALL ) -d $(DESTDIR )$(libdir )
930- $(LTINSTALL ) libsqlite3 .la $(DESTDIR )$(libdir )
930+ $(LTINSTALL ) libsqlcipher .la $(DESTDIR )$(libdir )
931931
932- install : sqlite3 $(BEXE ) lib_install sqlite3.h sqlite3 .pc ${HAVE_TCL:1=tcl_install}
932+ install : sqlcipher $(BEXE ) lib_install sqlite3.h sqlcipher .pc ${HAVE_TCL:1=tcl_install}
933933 $(INSTALL ) -d $(DESTDIR )$(bindir )
934- $(LTINSTALL ) sqlite3 $(BEXE ) $(DESTDIR )$(bindir )
934+ $(LTINSTALL ) sqlcipher $(BEXE ) $(DESTDIR )$(bindir )
935935 $(INSTALL ) -d $(DESTDIR )$(includedir )
936936 $(INSTALL ) -m 0644 sqlite3.h $(DESTDIR )$(includedir )
937937 $(INSTALL ) -m 0644 $(TOP ) /src/sqlite3ext.h $(DESTDIR )$(includedir )
938938 $(INSTALL ) -d $(DESTDIR )$(pkgconfigdir )
939- $(INSTALL ) -m 0644 sqlite3 .pc $(DESTDIR )$(pkgconfigdir )
939+ $(INSTALL ) -m 0644 sqlcipher .pc $(DESTDIR )$(pkgconfigdir )
940940
941941pkgIndex.tcl :
942942 echo ' package ifneeded sqlite3 $(RELEASE) [list load $(TCLLIBDIR)/libtclsqlite3.so sqlite3]' > $@
@@ -947,7 +947,7 @@ tcl_install: lib_install libtclsqlite3.la pkgIndex.tcl
947947 $(INSTALL ) -m 0644 pkgIndex.tcl $(DESTDIR )$(TCLLIBDIR )
948948
949949clean :
950- rm -f * .lo * .la * .o sqlite3 $(TEXE ) libsqlite3 .la
950+ rm -f * .lo * .la * .o sqlcipher $(TEXE ) libsqlcipher .la
951951 rm -f sqlite3.h opcodes.*
952952 rm -rf .libs .deps
953953 rm -f lemon$(BEXE ) lempar.c parse.* sqlite* .tar.gz
@@ -956,15 +956,15 @@ clean:
956956 rm -f * .da * .bb * .bbg gmon.out
957957 rm -rf quota2a quota2b quota2c
958958 rm -rf tsrc .target_source
959- rm -f tclsqlite3 $(TEXE )
959+ rm -f tclsqlcipher $(TEXE )
960960 rm -f testfixture$(TEXE ) test.db
961961 rm -f sqlite3.dll sqlite3.lib sqlite3.exp sqlite3.def
962962 rm -f sqlite3.c
963963 rm -f sqlite3_analyzer$(TEXE ) sqlite3_analyzer.c
964964 rm -f sqlite-output.vsix
965965
966966distclean : clean
967- rm -f config.log config.status libtool Makefile sqlite3 .pc
967+ rm -f config.log config.status libtool Makefile sqlcipher .pc
968968
969969#
970970# Windows section
0 commit comments