# Object files for the SQLite library.
#
-LIBOBJ = attach.lo auth.lo btree.lo build.lo copy.lo date.lo \
- delete.lo encode.lo expr.lo func.lo hash.lo insert.lo \
- main.lo opcodes.lo os.lo pager.lo parse.lo pragma.lo \
- printf.lo random.lo select.lo table.lo tokenize.lo \
- update.lo util.lo vacuum.lo vdbe.lo vdbeaux.lo \
- where.lo trigger.lo
-
-# Only build the in-core DB if it is required.
-ifeq (${INMEMORYDB},1)
-LIBOBJ += btree_rb.lo
-endif
+LIBOBJ = attach.lo auth.lo btree.lo build.lo date.lo delete.lo \
+ expr.lo func.lo hash.lo insert.lo \
+ main.lo opcodes.lo os_mac.lo os_unix.lo os_win.lo \
+ pager.lo parse.lo pragma.lo printf.lo random.lo \
+ select.lo table.lo tokenize.lo trigger.lo update.lo util.lo vacuum.lo \
+ vdbe.lo vdbeapi.lo vdbeaux.lo vdbemem.lo \
+ where.lo utf.lo legacy.lo
# All of the source code files.
#
$(TOP)/src/auth.c \
$(TOP)/src/btree.c \
$(TOP)/src/btree.h \
- $(TOP)/src/btree_rb.c \
$(TOP)/src/build.c \
- $(TOP)/src/copy.c \
$(TOP)/src/date.c \
$(TOP)/src/delete.c \
$(TOP)/src/encode.c \
$(TOP)/src/hash.c \
$(TOP)/src/hash.h \
$(TOP)/src/insert.c \
+ $(TOP)/src/legacy.c \
$(TOP)/src/main.c \
- $(TOP)/src/os.c \
+ $(TOP)/src/os_mac.c \
+ $(TOP)/src/os_unix.c \
+ $(TOP)/src/os_win.c \
$(TOP)/src/pager.c \
$(TOP)/src/pager.h \
$(TOP)/src/parse.y \
$(TOP)/src/tclsqlite.c \
$(TOP)/src/tokenize.c \
$(TOP)/src/trigger.c \
+ $(TOP)/src/utf.c \
$(TOP)/src/update.c \
$(TOP)/src/util.c \
$(TOP)/src/vacuum.c \
$(TOP)/src/vdbe.c \
- $(TOP)/src/vdbeaux.c \
$(TOP)/src/vdbe.h \
+ $(TOP)/src/vdbeapi.c \
+ $(TOP)/src/vdbeaux.c \
+ $(TOP)/src/vdbemem.c \
+ $(TOP)/src/vdbeInt.h \
$(TOP)/src/where.c
# Source code to the test files.
TESTSRC = \
$(TOP)/src/btree.c \
$(TOP)/src/func.c \
- $(TOP)/src/os.c \
+ $(TOP)/src/os_mac.c \
+ $(TOP)/src/os_unix.c \
+ $(TOP)/src/os_win.c \
$(TOP)/src/pager.c \
$(TOP)/src/test1.c \
$(TOP)/src/test2.c \
$(TOP)/src/test3.c \
$(TOP)/src/test4.c \
+ $(TOP)/src/test5.c \
$(TOP)/src/vdbe.c \
$(TOP)/src/md5.c
# Header files used by all library source files.
#
HDR = \
- sqlite.h \
+ sqlite3.h \
$(TOP)/src/btree.h \
config.h \
$(TOP)/src/hash.h \
opcodes.h \
$(TOP)/src/os.h \
+ $(TOP)/src/os_common.h \
+ $(TOP)/src/os_mac.h \
+ $(TOP)/src/os_unix.h \
+ $(TOP)/src/os_win.h \
$(TOP)/src/sqliteInt.h \
- $(TOP)/src/vdbe.h \
+ $(TOP)/src/vdbe.h \
parse.h
# Header files used by the VDBE submodule
# This is the default Makefile target. The objects listed here
# are what get build when you type just "make" with no arguments.
#
-all: sqlite.h libsqlite.la sqlite@TARGET_EXEEXT@
+all: sqlite3.h libsqlite3.la sqlite3@TARGET_EXEEXT@
Makefile: $(TOP)/Makefile.in
./config.status
cat $(SRC) | grep '$$Id: ' | sort +4 | tail -1 \
| awk '{print $$5,$$6}' >last_change
-libsqlite.la: $(LIBOBJ)
- $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @exec_prefix@/lib \
+libsqlite3.la: $(LIBOBJ)
+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) ${RELEASE} -rpath @exec_prefix@/lib \
-version-info "8:6:8"
-libtclsqlite.la: tclsqlite.lo libsqlite.la
- $(LTLINK) -o libtclsqlite.la tclsqlite.lo \
- libsqlite.la $(LIBTCL) -rpath @exec_prefix@/lib/sqlite \
+libtclsqlite3.la: tclsqlite.lo libsqlite3.la
+ $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \
+ libsqlite3.la $(LIBTCL) -rpath @exec_prefix@/lib/sqlite \
-version-info "8:6:8"
-sqlite@TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite.la sqlite.h
- $(LTLINK) $(READLINE_FLAGS) -o sqlite $(TOP)/src/shell.c \
- libsqlite.la $(LIBREADLINE)
+sqlite3@TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite3.la sqlite3.h
+ $(LTLINK) $(READLINE_FLAGS) -o sqlite3 $(TOP)/src/shell.c \
+ libsqlite3.la $(LIBREADLINE)
# This target creates a directory named "tsrc" and fills it with
# copies of all of the C source code and header files needed to
$(BCC) -o lemon $(TOP)/tool/lemon.c
cp $(TOP)/tool/lempar.c .
+
+# Rules to build individual files
+#
+attach.lo: $(TOP)/src/attach.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/attach.c
+
+auth.lo: $(TOP)/src/auth.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/auth.c
+
btree.lo: $(TOP)/src/btree.c $(HDR) $(TOP)/src/pager.h
$(LTCOMPILE) -c $(TOP)/src/btree.c
-btree_rb.lo: $(TOP)/src/btree_rb.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/btree_rb.c
-
build.lo: $(TOP)/src/build.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/build.c
-main.lo: $(TOP)/src/main.c $(HDR)
- $(LTCOMPILE) -c ${INCOREFLAGS} $(TOP)/src/main.c
-
-pager.lo: $(TOP)/src/pager.c $(HDR) $(TOP)/src/pager.h
- $(LTCOMPILE) -c $(TOP)/src/pager.c
-
-opcodes.lo: opcodes.c
- $(LTCOMPILE) -c opcodes.c
-
-opcodes.c: $(TOP)/src/vdbe.c
- echo '/* Automatically generated file. Do not edit */' >opcodes.c
- echo 'char *sqliteOpcodeNames[] = { "???", ' >>opcodes.c
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >>opcodes.c
- echo '};' >>opcodes.c
-
-opcodes.h: $(TOP)/src/vdbe.h
- echo '/* Automatically generated file. Do not edit */' >opcodes.h
- grep '^case OP_' $(TOP)/src/vdbe.c | \
- sed -e 's/://' | \
- awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >>opcodes.h
-
-os.lo: $(TOP)/src/os.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/os.c
-
-parse.lo: parse.c $(HDR)
- $(LTCOMPILE) -c parse.c
-
-parse.h: parse.c
-
-parse.c: $(TOP)/src/parse.y lemon@BUILD_EXEEXT@
- cp $(TOP)/src/parse.y .
- ./lemon parse.y
-
# The config.h file will contain a single #define that tells us how
# many bytes are in a pointer. This only works if a pointer is the
# same size on the host as it is on the target. If you are cross-compiling
echo >>config.h
rm -f temp.c temp
-sqlite.h: $(TOP)/src/sqlite.h.in
- sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
- -e s/--ENCODING--/$(ENCODING)/ \
- $(TOP)/src/sqlite.h.in >sqlite.h
-
-tokenize.lo: $(TOP)/src/tokenize.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/tokenize.c
-
-util.lo: $(TOP)/src/util.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/util.c
-
-vdbe.lo: $(TOP)/src/vdbe.c $(VDBEHDR)
- $(LTCOMPILE) -c $(TOP)/src/vdbe.c
-
-vdbeaux.lo: $(TOP)/src/vdbe.c $(VDBEHDR)
- $(LTCOMPILE) -c $(TOP)/src/vdbeaux.c
-
-where.lo: $(TOP)/src/where.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/where.c
-
-copy.lo: $(TOP)/src/copy.c $(HDR)
- $(LTCOMPILE) -c $(TOP)/src/copy.c
-
date.lo: $(TOP)/src/date.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/date.c
insert.lo: $(TOP)/src/insert.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/insert.c
+legacy.lo: $(TOP)/src/legacy.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/legacy.c
+
+main.lo: $(TOP)/src/main.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/main.c
+
+pager.lo: $(TOP)/src/pager.c $(HDR) $(TOP)/src/pager.h
+ $(LTCOMPILE) -c $(TOP)/src/pager.c
+
+opcodes.lo: opcodes.c
+ $(LTCOMPILE) -c opcodes.c
+
+opcodes.c: $(TOP)/src/vdbe.c
+ echo '/* Automatically generated file. Do not edit */' >opcodes.c
+ echo 'char *sqlite3OpcodeNames[] = { "???", ' >>opcodes.c
+ grep '^case OP_' $(TOP)/src/vdbe.c | \
+ sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >>opcodes.c
+ echo '};' >>opcodes.c
+
+opcodes.h: $(TOP)/src/vdbe.h
+ echo '/* Automatically generated file. Do not edit */' >opcodes.h
+ grep '^case OP_' $(TOP)/src/vdbe.c | \
+ sed -e 's/://' | \
+ awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >>opcodes.h
+
+os_mac.lo: $(TOP)/src/os_mac.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/os_mac.c
+
+os_unix.lo: $(TOP)/src/os_unix.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/os_unix.c
+
+os_win.lo: $(TOP)/src/os_win.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/os_win.c
+
+parse.lo: parse.c $(HDR)
+ $(LTCOMPILE) -c parse.c
+
+parse.h: parse.c
+
+parse.c: $(TOP)/src/parse.y lemon
+ cp $(TOP)/src/parse.y .
+ ./lemon parse.y
+
+pragma.lo: $(TOP)/src/pragma.c $(HDR)
+ $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/pragma.c
+
+printf.lo: $(TOP)/src/printf.c $(HDR)
+ $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/printf.c
+
random.lo: $(TOP)/src/random.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/random.c
select.lo: $(TOP)/src/select.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/select.c
+sqlite3.h: $(TOP)/src/sqlite.h.in
+ sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
+ -e s/--ENCODING--/$(ENCODING)/ \
+ $(TOP)/src/sqlite.h.in >sqlite3.h
+
table.lo: $(TOP)/src/table.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/table.c
+tclsqlite.lo: $(TOP)/src/tclsqlite.c $(HDR)
+ $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c
+
+tokenize.lo: $(TOP)/src/tokenize.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/tokenize.c
+
trigger.lo: $(TOP)/src/trigger.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/trigger.c
update.lo: $(TOP)/src/update.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/update.c
+utf.lo: $(TOP)/src/utf.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/utf.c
+
+util.lo: $(TOP)/src/util.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/util.c
+
vacuum.lo: $(TOP)/src/vacuum.c $(HDR)
$(LTCOMPILE) -c $(TOP)/src/vacuum.c
-tclsqlite.lo: $(TOP)/src/tclsqlite.c $(HDR)
- $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/tclsqlite.c
+vdbe.lo: $(TOP)/src/vdbe.c $(VDBEHDR)
+ $(LTCOMPILE) -c $(TOP)/src/vdbe.c
-pragma.lo: $(TOP)/src/pragma.c $(HDR)
- $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/pragma.c
+vdbeapi.lo: $(TOP)/src/vdbeapi.c $(VDBEHDR)
+ $(LTCOMPILE) -c $(TOP)/src/vdbeapi.c
-printf.lo: $(TOP)/src/printf.c $(HDR)
- $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/printf.c
+vdbeaux.lo: $(TOP)/src/vdbeaux.c $(VDBEHDR)
+ $(LTCOMPILE) -c $(TOP)/src/vdbeaux.c
-attach.lo: $(TOP)/src/attach.c $(HDR)
- $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/attach.c
+vdbemem.lo: $(TOP)/src/vdbemem.c $(VDBEHDR)
+ $(LTCOMPILE) -c $(TOP)/src/vdbemem.c
-auth.lo: $(TOP)/src/auth.c $(HDR)
- $(LTCOMPILE) $(TCL_FLAGS) -c $(TOP)/src/auth.c
+where.lo: $(TOP)/src/where.c $(HDR)
+ $(LTCOMPILE) -c $(TOP)/src/where.c
tclsqlite-sh.lo: $(TOP)/src/tclsqlite.c $(HDR)
$(LTCOMPILE) $(TCL_FLAGS) -DTCLSH=1 -o $@ -c $(TOP)/src/tclsqlite.c
-tclsqlite: tclsqlite-sh.lo libsqlite.la
- $(LTLINK) $(TCL_FLAGS) -o tclsqlite tclsqlite-sh.lo libsqlite.la $(LIBTCL)
+tclsqlite3: tclsqlite-sh.lo libsqlite3.la
+ $(LTLINK) $(TCL_FLAGS) -o tclsqlite3 tclsqlite-sh.lo \
+ libsqlite3.la $(LIBTCL)
-testfixture@TARGET_EXEEXT@: $(TOP)/src/tclsqlite.c libtclsqlite.la libsqlite.la $(TESTSRC)
+testfixture@TARGET_EXEEXT@: $(TOP)/src/tclsqlite.c libtclsqlite3.la libsqlite3.la $(TESTSRC)
$(LTLINK) $(TCL_FLAGS) -DTCLSH=1 -DSQLITE_TEST=1\
-o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \
- libtclsqlite.la libsqlite.la $(LIBTCL)
+ libtclsqlite3.la libsqlite3.la $(LIBTCL)
fulltest: testfixture@TARGET_EXEEXT@ sqlite@TARGET_EXEEXT@
./testfixture $(TOP)/test/all.test
test: testfixture@TARGET_EXEEXT@ sqlite@TARGET_EXEEXT@
./testfixture $(TOP)/test/quick.test
-index.html: $(TOP)/www/index.tcl last_change
- tclsh $(TOP)/www/index.tcl `cat $(TOP)/VERSION` >index.html
-sqlite.html: $(TOP)/www/sqlite.tcl
- tclsh $(TOP)/www/sqlite.tcl >sqlite.html
+# Rules used to build documentation
+#
+arch.html: $(TOP)/www/arch.tcl
+ tclsh $(TOP)/www/arch.tcl >arch.html
+
+arch.png: $(TOP)/www/arch.png
+ cp $(TOP)/www/arch.png .
c_interface.html: $(TOP)/www/c_interface.tcl
tclsh $(TOP)/www/c_interface.tcl >c_interface.html
+capi3.html: $(TOP)/www/capi3.tcl
+ tclsh $(TOP)/www/capi3.tcl >capi3.html
+
+capi3ref.html: $(TOP)/www/capi3ref.tcl
+ tclsh $(TOP)/www/capi3ref.tcl >capi3ref.html
+
changes.html: $(TOP)/www/changes.tcl
tclsh $(TOP)/www/changes.tcl >changes.html
-lang.html: $(TOP)/www/lang.tcl
- tclsh $(TOP)/www/lang.tcl >lang.html
+copyright.html: $(TOP)/www/copyright.tcl
+ tclsh $(TOP)/www/copyright.tcl >copyright.html
-vdbe.html: $(TOP)/www/vdbe.tcl
- tclsh $(TOP)/www/vdbe.tcl >vdbe.html
+copyright-release.html: $(TOP)/www/copyright-release.html
+ cp $(TOP)/www/copyright-release.html .
-arch.html: $(TOP)/www/arch.tcl
- tclsh $(TOP)/www/arch.tcl >arch.html
+copyright-release.pdf: $(TOP)/www/copyright-release.pdf
+ cp $(TOP)/www/copyright-release.pdf .
-arch.png: $(TOP)/www/arch.png
- cp $(TOP)/www/arch.png .
+common.tcl: $(TOP)/www/common.tcl
+ cp $(TOP)/www/common.tcl .
-opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
- tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
+conflict.html: $(TOP)/www/conflict.tcl
+ tclsh $(TOP)/www/conflict.tcl >conflict.html
-mingw.html: $(TOP)/www/mingw.tcl
- tclsh $(TOP)/www/mingw.tcl >mingw.html
+datatypes.html: $(TOP)/www/datatypes.tcl
+ tclsh $(TOP)/www/datatypes.tcl >datatypes.html
-tclsqlite.html: $(TOP)/www/tclsqlite.tcl
- tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html
+datatype3.html: $(TOP)/www/datatype3.tcl
+ tclsh $(TOP)/www/datatype3.tcl >datatype3.html
-speed.html: $(TOP)/www/speed.tcl
- tclsh $(TOP)/www/speed.tcl >speed.html
+docs.html: $(TOP)/www/docs.tcl
+ tclsh $(TOP)/www/docs.tcl >docs.html
+
+download.html: $(TOP)/www/download.tcl
+ tclsh $(TOP)/www/download.tcl >download.html
faq.html: $(TOP)/www/faq.tcl
tclsh $(TOP)/www/faq.tcl >faq.html
+fileformat.html: $(TOP)/www/fileformat.tcl
+ tclsh $(TOP)/www/fileformat.tcl >fileformat.html
+
formatchng.html: $(TOP)/www/formatchng.tcl
tclsh $(TOP)/www/formatchng.tcl >formatchng.html
-conflict.html: $(TOP)/www/conflict.tcl
- tclsh $(TOP)/www/conflict.tcl >conflict.html
+index.html: $(TOP)/www/index.tcl last_change
+ tclsh $(TOP)/www/index.tcl >index.html
-download.html: $(TOP)/www/download.tcl
- tclsh $(TOP)/www/download.tcl >download.html
+lang.html: $(TOP)/www/lang.tcl
+ tclsh $(TOP)/www/lang.tcl >lang.html
+
+lockingv3.html: $(TOP)/www/lockingv3.tcl
+ tclsh $(TOP)/www/lockingv3.tcl >lockingv3.html
+
+oldnews.html: $(TOP)/www/oldnews.tcl
+ tclsh $(TOP)/www/oldnews.tcl >oldnews.html
omitted.html: $(TOP)/www/omitted.tcl
tclsh $(TOP)/www/omitted.tcl >omitted.html
-datatypes.html: $(TOP)/www/datatypes.tcl
- tclsh $(TOP)/www/datatypes.tcl >datatypes.html
+opcode.html: $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c
+ tclsh $(TOP)/www/opcode.tcl $(TOP)/src/vdbe.c >opcode.html
+
+mingw.html: $(TOP)/www/mingw.tcl
+ tclsh $(TOP)/www/mingw.tcl >mingw.html
+
+nulls.html: $(TOP)/www/nulls.tcl
+ tclsh $(TOP)/www/nulls.tcl >nulls.html
quickstart.html: $(TOP)/www/quickstart.tcl
tclsh $(TOP)/www/quickstart.tcl >quickstart.html
-fileformat.html: $(TOP)/www/fileformat.tcl
- tclsh $(TOP)/www/fileformat.tcl >fileformat.html
+speed.html: $(TOP)/www/speed.tcl
+ tclsh $(TOP)/www/speed.tcl >speed.html
-nulls.html: $(TOP)/www/nulls.tcl
- tclsh $(TOP)/www/nulls.tcl >nulls.html
+sqlite.gif: $(TOP)/art/SQLite.gif
+ cp $(TOP)/art/SQLite.gif sqlite.gif
+
+sqlite.html: $(TOP)/www/sqlite.tcl
+ tclsh $(TOP)/www/sqlite.tcl >sqlite.html
+
+support.html: $(TOP)/www/support.tcl
+ tclsh $(TOP)/www/support.tcl >support.html
+
+tclsqlite.html: $(TOP)/www/tclsqlite.tcl
+ tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html
+
+vdbe.html: $(TOP)/www/vdbe.tcl
+ tclsh $(TOP)/www/vdbe.tcl >vdbe.html
+
+version3.html: $(TOP)/www/version3.tcl
+ tclsh $(TOP)/www/version3.tcl >version3.html
# Files to be published on the website.
#
DOC = \
- index.html \
- sqlite.html \
- changes.html \
- lang.html \
- opcode.html \
arch.html \
arch.png \
- vdbe.html \
c_interface.html \
- mingw.html \
- tclsqlite.html \
+ capi3.html \
+ capi3ref.html \
+ changes.html \
+ copyright.html \
+ copyright-release.html \
+ copyright-release.pdf \
+ conflict.html \
+ datatypes.html \
+ datatype3.html \
+ docs.html \
download.html \
- speed.html \
faq.html \
+ fileformat.html \
formatchng.html \
- conflict.html \
+ index.html \
+ lang.html \
+ lockingv3.html \
+ mingw.html \
+ nulls.html \
+ oldnews.html \
omitted.html \
- datatypes.html \
+ opcode.html \
quickstart.html \
- fileformat.html \
- nulls.html
+ speed.html \
+ sqlite.gif \
+ sqlite.html \
+ support.html \
+ tclsqlite.html \
+ vdbe.html \
+ version3.html
doc: $(DOC)
mkdir -p doc
mv $(DOC) doc
-install: sqlite libsqlite.la sqlite.h
+install: sqlite3 libsqlite3.la sqlite3.h
$(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib
- $(LTINSTALL) libsqlite.la $(DESTDIR)$(exec_prefix)/lib
+ $(LTINSTALL) libsqlite3.la $(DESTDIR)$(exec_prefix)/lib
$(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin
- $(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin
+ $(LTINSTALL) sqlite3 $(DESTDIR)$(exec_prefix)/bin
$(INSTALL) -d $(DESTDIR)$(prefix)/include
- $(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include
+ $(INSTALL) -m 0644 sqlite3.h $(DESTDIR)$(prefix)/include
$(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
$(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
clean:
- rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
+ rm -f *.lo *.la *.o sqlite3@TARGET_EXEEXT@ libsqlite3.la
+ rm -f sqlite3.h opcodes.*
rm -rf .libs .deps
rm -f lemon@BUILD_EXEEXT@ lempar.c parse.* sqlite*.tar.gz
rm -f $(PUBLISH)