📄 makefile.in
字号:
#!/usr/make## Makefile for SQLITE## This makefile is suppose to be configured automatically using the# autoconf. But if that does not work for you, you can configure# the makefile manually. Just set the parameters below to values that# work well for your system.## If the configure script does not work out-of-the-box, you might# be able to get it to work by giving it some hints. See the comment# at the beginning of configure.in for additional information.## The toplevel directory of the source tree. This is the directory# that contains this "Makefile.in" and the "configure.in" script.#TOP = @srcdir@# C Compiler and options for use in building executables that# will run on the platform that is doing the build.#BCC = @BUILD_CC@ @BUILD_CFLAGS@# C Compile and options for use in building executables that # will run on the target platform. (BCC and TCC are usually the# same unless your are cross-compiling.)#TCC = @CC@ @CFLAGS@ -I. -I${TOP}/src# Define -DNDEBUG to compile without debugging (i.e., for production usage)# Omitting the define will cause extra debugging code to be inserted and# includes extra comments when "EXPLAIN stmt" is used.#TCC += @TARGET_DEBUG@ @XTHREADCONNECT@# Compiler options needed for programs that use the TCL library.#TCC += @TCL_INCLUDE_SPEC@# The library that programs using TCL must link against.#LIBTCL = @TCL_LIB_SPEC@ @TCL_LIBS@# Compiler options needed for programs that use the readline() library.#READLINE_FLAGS = -DHAVE_READLINE=@TARGET_HAVE_READLINE@ @TARGET_READLINE_INC@# The library that programs using readline() must link against.#LIBREADLINE = @TARGET_READLINE_LIBS@# Should the database engine be compiled threadsafe#TCC += -DTHREADSAFE=@THREADSAFE@# The pthreads library if needed#LIBPTHREAD=@TARGET_THREAD_LIB@# Do threads override each others locks by default (1), or do we test (-1)#TCC += -DSQLITE_THREAD_OVERRIDE_LOCK=@THREADSOVERRIDELOCKS@# The fdatasync libraryTLIBS = @LIBS@# Flags controlling use of the in memory btree implementation## TEMP_STORE is 0 to force temporary tables to be in a file, 1 to# default to file, 2 to default to memory, and 3 to force temporary# tables to always be in memory.#TEMP_STORE = -DTEMP_STORE=@TEMP_STORE@# Version numbers and release number for the SQLite being compiled.#VERSION = @VERSION@VERSION_NUMBER = @VERSION_NUMBER@RELEASE = @RELEASE@# Filename extensions#BEXE = @BUILD_EXEEXT@TEXE = @TARGET_EXEEXT@# The following variable is "1" if the configure script was able to locate# the tclConfig.sh file. It is an empty string otherwise. When this# variable is "1", the TCL extension library (libtclsqlite3.so) is built# and installed.#HAVE_TCL = @HAVE_TCL@# The suffix used on shared libraries. Ex: ".dll", ".so", ".dylib"#SHLIB_SUFFIX = @TCL_SHLIB_SUFFIX@# The directory into which to store package information for# Some standard variables and programs#prefix = @prefix@exec_prefix = @exec_prefix@libdir = @libdir@INSTALL = @INSTALL@LIBTOOL = ./libtoolALLOWRELEASE = @ALLOWRELEASE@# libtool compile/link/installLTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(TCC)LTLINK = $(LIBTOOL) --mode=link $(TCC) @LDFLAGS@LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)# nawk compatible awk.NAWK = @AWK@# You should not have to change anything below this line###############################################################################TCC += -DSQLITE_OMIT_LOAD_EXTENSION=1# Object files for the SQLite library.#LIBOBJ = alter.lo analyze.lo attach.lo auth.lo btree.lo build.lo \ callback.lo complete.lo date.lo \ delete.lo expr.lo func.lo hash.lo insert.lo loadext.lo \ main.lo malloc.lo opcodes.lo os.lo os_unix.lo os_win.lo os_os2.lo \ pager.lo parse.lo pragma.lo prepare.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 vdbeblob.lo vdbefifo.lo vdbemem.lo \ where.lo utf.lo legacy.lo vtab.lo# All of the source code files.#SRC = \ $(TOP)/src/alter.c \ $(TOP)/src/analyze.c \ $(TOP)/src/attach.c \ $(TOP)/src/auth.c \ $(TOP)/src/btree.c \ $(TOP)/src/btree.h \ $(TOP)/src/build.c \ $(TOP)/src/callback.c \ $(TOP)/src/complete.c \ $(TOP)/src/date.c \ $(TOP)/src/delete.c \ $(TOP)/src/expr.c \ $(TOP)/src/func.c \ $(TOP)/src/hash.c \ $(TOP)/src/hash.h \ $(TOP)/src/insert.c \ $(TOP)/src/legacy.c \ $(TOP)/src/loadext.c \ $(TOP)/src/main.c \ $(TOP)/src/malloc.c \ $(TOP)/src/os.c \ $(TOP)/src/os_unix.c \ $(TOP)/src/os_win.c \ $(TOP)/src/os_os2.c \ $(TOP)/src/pager.c \ $(TOP)/src/pager.h \ $(TOP)/src/parse.y \ $(TOP)/src/pragma.c \ $(TOP)/src/prepare.c \ $(TOP)/src/printf.c \ $(TOP)/src/random.c \ $(TOP)/src/select.c \ $(TOP)/src/shell.c \ $(TOP)/src/sqlite.h.in \ $(TOP)/src/sqliteInt.h \ $(TOP)/src/table.c \ $(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/vdbe.h \ $(TOP)/src/vdbeapi.c \ $(TOP)/src/vdbeaux.c \ $(TOP)/src/vdbeblob.c \ $(TOP)/src/vdbefifo.c \ $(TOP)/src/vdbemem.c \ $(TOP)/src/vdbeInt.h \ $(TOP)/src/vtab.c \ $(TOP)/src/where.c# Source code for extensions#SRC += \ $(TOP)/ext/fts1/fts1.c \ $(TOP)/ext/fts1/fts1.h \ $(TOP)/ext/fts1/fts1_hash.c \ $(TOP)/ext/fts1/fts1_hash.h \ $(TOP)/ext/fts1/fts1_porter.c \ $(TOP)/ext/fts1/fts1_tokenizer.h \ $(TOP)/ext/fts1/fts1_tokenizer1.c# Source code to the test files.#TESTSRC = \ $(TOP)/src/btree.c \ $(TOP)/src/date.c \ $(TOP)/src/func.c \ $(TOP)/src/insert.c \ $(TOP)/src/malloc.c \ $(TOP)/src/os.c \ $(TOP)/src/os_os2.c \ $(TOP)/src/os_unix.c \ $(TOP)/src/os_win.c \ $(TOP)/src/pager.c \ $(TOP)/src/pragma.c \ $(TOP)/src/printf.c \ $(TOP)/src/test1.c \ $(TOP)/src/test2.c \ $(TOP)/src/test3.c \ $(TOP)/src/test4.c \ $(TOP)/src/test5.c \ $(TOP)/src/test6.c \ $(TOP)/src/test7.c \ $(TOP)/src/test8.c \ $(TOP)/src/test9.c \ $(TOP)/src/test_autoext.c \ $(TOP)/src/test_async.c \ $(TOP)/src/test_btree.c \ $(TOP)/src/test_config.c \ $(TOP)/src/test_hexio.c \ $(TOP)/src/test_md5.c \ $(TOP)/src/test_schema.c \ $(TOP)/src/test_server.c \ $(TOP)/src/test_tclvar.c \ $(TOP)/src/utf.c \ $(TOP)/src/util.c \ $(TOP)/src/vdbe.c \ $(TOP)/src/vdbeaux.c \ $(TOP)/src/where.c# Header files used by all library source files.#HDR = \ sqlite3.h \ $(TOP)/src/btree.h \ $(TOP)/src/btreeInt.h \ $(TOP)/src/hash.h \ $(TOP)/src/sqliteLimit.h \ opcodes.h \ $(TOP)/src/os.h \ $(TOP)/src/os_common.h \ $(TOP)/src/sqlite3ext.h \ $(TOP)/src/sqliteInt.h \ $(TOP)/src/vdbe.h \ parse.h# Header files used by extensions#HDR += \ $(TOP)/ext/fts1/fts1.h \ $(TOP)/ext/fts1/fts1_hash.h \ $(TOP)/ext/fts1/fts1_tokenizer.h# Header files used by the VDBE submodule#VDBEHDR = \ $(HDR) \ $(TOP)/src/vdbeInt.h# This is the default Makefile target. The objects listed here# are what get build when you type just "make" with no arguments.#all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la)Makefile: $(TOP)/Makefile.in ./config.status# Generate the file "last_change" which contains the date of change# of the most recently modified source code file#last_change: $(SRC) cat $(SRC) | grep '$$Id: ' | sort -k 5 | tail -1 \ | $(NAWK) '{print $$5,$$6}' >last_changelibsqlite3.la: $(LIBOBJ) $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \ ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8"libtclsqlite3.la: tclsqlite.lo libsqlite3.la $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \ -rpath $(libdir)/sqlite \ -version-info "8:6:8"sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \ -o $@ $(TOP)/src/shell.c libsqlite3.la \ $(LIBREADLINE) $(TLIBS)# This target creates a directory named "tsrc" and fills it with# copies of all of the C source code and header files needed to# build on the target system. Some of the C source code and header# files are automatically generated. This target takes care of# all that automatic generation.#target_source: $(SRC) parse.c opcodes.c keywordhash.h $(VDBEHDR) rm -rf tsrc mkdir -p tsrc cp $(SRC) $(VDBEHDR) tsrc rm tsrc/sqlite.h.in tsrc/parse.y cp parse.c opcodes.c keywordhash.h tsrcsqlite3.c: target_source $(TOP)/tool/mksqlite3c.tcl tclsh $(TOP)/tool/mksqlite3c.tcl# Rules to build the LEMON compiler generator#lemon$(BEXE): $(TOP)/tool/lemon.c $(TOP)/tool/lempar.c $(BCC) -o lemon$(BEXE) $(TOP)/tool/lemon.c cp $(TOP)/tool/lempar.c .# Rules to build individual files#alter.lo: $(TOP)/src/alter.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/alter.canalyze.lo: $(TOP)/src/analyze.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/analyze.cattach.lo: $(TOP)/src/attach.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/attach.cauth.lo: $(TOP)/src/auth.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/auth.cbtree.lo: $(TOP)/src/btree.c $(HDR) $(TOP)/src/pager.h $(LTCOMPILE) -c $(TOP)/src/btree.cbuild.lo: $(TOP)/src/build.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/build.ccallback.lo: $(TOP)/src/callback.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/callback.ccomplete.lo: $(TOP)/src/complete.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/complete.cdate.lo: $(TOP)/src/date.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/date.cdelete.lo: $(TOP)/src/delete.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/delete.cexpr.lo: $(TOP)/src/expr.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/expr.cfunc.lo: $(TOP)/src/func.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/func.chash.lo: $(TOP)/src/hash.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/hash.cinsert.lo: $(TOP)/src/insert.c $(HDR) $(LTCOMPILE) -c $(TOP)/src/insert.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -