makefile.in

来自「最新的sqlite3.6.2源代码」· IN 代码 · 共 782 行 · 第 1/2 页

IN
782
字号
#!/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@ @CPPFLAGS@ @CFLAGS@ -I. -I${TOP}/src# Define this for the autoconf-based build, so that the code knows it can# include the generated config.h# TCC += -D_HAVE_SQLITE_CONFIG_H# 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 += -DSQLITE_THREADSAFE=@SQLITE_THREADSAFE@# Do threads override each others locks by default (1), or do we test (-1)#TCC += -DSQLITE_THREAD_OVERRIDE_LOCK=@THREADSOVERRIDELOCKS@# Any target libraries which libsqlite must be linked against# TLIBS = @LIBS@# Flags controlling use of the in memory btree implementation## SQLITE_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 = -DSQLITE_TEMP_STORE=@TEMP_STORE@# Enable/disable loadable extensions, and other optional features# based on configuration. (-DSQLITE_OMIT*).  The same set of OMIT# flags should be passed to the LEMON parser generator and the # mkkeywordhash tool as well.OPT_FEATURE_FLAGS = @OPT_FEATURE_FLAGS@TCC += $(OPT_FEATURE_FLAGS)# 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@# This is the command to use for tclsh - normally just "tclsh", but we may# know the specific version we want to use#TCLSH_CMD = @TCLSH_CMD@# The suffix used on shared libraries.  Ex:  ".dll", ".so", ".dylib"#SHLIB_SUFFIX = @TCL_SHLIB_SUFFIX@# If gcov support was enabled by the configure script, add the appropriate# flags here.  It's not always as easy as just having the user add the right# CFLAGS / LDFLAGS, because libtool wants to use CFLAGS when linking, which# causes build errors with -fprofile-arcs -ftest-coverage with some GCCs.  # Supposedly GCC does the right thing if you use --coverage, but in # practice it still fails.  See:## http://www.mail-archive.com/debian-gcc@lists.debian.org/msg26197.html## for more info.#GCOV_CFLAGS1 = -fprofile-arcs -ftest-coverageGCOV_LDFLAGS1 = -lgcovUSE_GCOV = @USE_GCOV@LTCOMPILE_EXTRAS += $(GCOV_CFLAGS$(USE_GCOV))LTLINK_EXTRAS += $(GCOV_LDFLAGS$(USE_GCOV))# The directory into which to store package information for# Some standard variables and programs#prefix = @prefix@exec_prefix = @exec_prefix@libdir = @libdir@pkgconfigdir = $(libdir)/pkgconfigbindir = @bindir@includedir = @includedir@INSTALL = @INSTALL@LIBTOOL = ./libtoolALLOWRELEASE = @ALLOWRELEASE@# libtool compile/link/installLTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(TCC) $(LTCOMPILE_EXTRAS)LTLINK = $(LIBTOOL) --mode=link $(TCC) @LDFLAGS@ $(LTLINK_EXTRAS)LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)# nawk compatible awk.NAWK = @AWK@# You should not have to change anything below this line################################################################################ Object files for the SQLite library (non-amalgamation).#OBJS0 = alter.lo analyze.lo attach.lo auth.lo bitvec.lo btmutex.lo \        btree.lo build.lo callback.lo complete.lo date.lo \        delete.lo expr.lo fault.lo func.lo global.lo \        hash.lo journal.lo insert.lo legacy.lo loadext.lo \        main.lo malloc.lo mem1.lo mem2.lo mem3.lo mem4.lo mem5.lo mem6.lo \        mutex.lo mutex_os2.lo mutex_unix.lo mutex_w32.lo \        opcodes.lo os.lo os_unix.lo os_win.lo os_os2.lo \        pager.lo parse.lo pcache.lo pragma.lo prepare.lo printf.lo random.lo \        resolve.lo select.lo status.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 \        walker.lo where.lo utf.lo vtab.lo# Object files for the amalgamation.#OBJS1 = sqlite3.lo# Determine the real value of LIBOBJ based on the 'configure' script#USE_AMALGAMATION = @USE_AMALGAMATION@LIBOBJ = $(OBJS$(USE_AMALGAMATION))# 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/bitvec.c \  $(TOP)/src/btmutex.c \  $(TOP)/src/btree.c \  $(TOP)/src/btree.h \  $(TOP)/src/btreeInt.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/fault.c \  $(TOP)/src/func.c \  $(TOP)/src/global.c \  $(TOP)/src/hash.c \  $(TOP)/src/hash.h \  $(TOP)/src/hwtime.h \  $(TOP)/src/insert.c \  $(TOP)/src/journal.c \  $(TOP)/src/legacy.c \  $(TOP)/src/loadext.c \  $(TOP)/src/main.c \  $(TOP)/src/malloc.c \  $(TOP)/src/mem1.c \  $(TOP)/src/mem2.c \  $(TOP)/src/mem3.c \  $(TOP)/src/mem4.c \  $(TOP)/src/mem5.c \  $(TOP)/src/mem6.c \  $(TOP)/src/mutex.c \  $(TOP)/src/mutex.h \  $(TOP)/src/mutex_os2.c \  $(TOP)/src/mutex_unix.c \  $(TOP)/src/mutex_w32.c \  $(TOP)/src/os.c \  $(TOP)/src/os.h \  $(TOP)/src/os_common.h \  $(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/pcache.c \  $(TOP)/src/pcache.h \  $(TOP)/src/pragma.c \  $(TOP)/src/prepare.c \  $(TOP)/src/printf.c \  $(TOP)/src/random.c \  $(TOP)/src/resolve.c \  $(TOP)/src/select.c \  $(TOP)/src/status.c \  $(TOP)/src/shell.c \  $(TOP)/src/sqlite.h.in \  $(TOP)/src/sqlite3ext.h \  $(TOP)/src/sqliteInt.h \  $(TOP)/src/sqliteLimit.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/walker.c \  $(TOP)/src/where.c# Generated source code files#SRC += \  keywordhash.h \  opcodes.c \  opcodes.h \  parse.c \  parse.h \  config.h \  sqlite3.h# 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.cSRC += \  $(TOP)/ext/fts2/fts2.c \  $(TOP)/ext/fts2/fts2.h \  $(TOP)/ext/fts2/fts2_hash.c \  $(TOP)/ext/fts2/fts2_hash.h \  $(TOP)/ext/fts2/fts2_icu.c \  $(TOP)/ext/fts2/fts2_porter.c \  $(TOP)/ext/fts2/fts2_tokenizer.h \  $(TOP)/ext/fts2/fts2_tokenizer.c \  $(TOP)/ext/fts2/fts2_tokenizer1.cSRC += \  $(TOP)/ext/fts3/fts3.c \  $(TOP)/ext/fts3/fts3.h \  $(TOP)/ext/fts3/fts3_hash.c \  $(TOP)/ext/fts3/fts3_hash.h \  $(TOP)/ext/fts3/fts3_icu.c \  $(TOP)/ext/fts3/fts3_porter.c \  $(TOP)/ext/fts3/fts3_tokenizer.h \  $(TOP)/ext/fts3/fts3_tokenizer.c \  $(TOP)/ext/fts3/fts3_tokenizer1.cSRC += \  $(TOP)/ext/icu/icu.cSRC += \  $(TOP)/ext/rtree/rtree.h \  $(TOP)/ext/rtree/rtree.c# Source code to the library files needed by the test fixture#TESTSRC2 = \  $(TOP)/src/attach.c \  $(TOP)/src/bitvec.c \  $(TOP)/src/btree.c \  $(TOP)/src/build.c \  $(TOP)/src/date.c \  $(TOP)/src/expr.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/pcache.c \  $(TOP)/src/pragma.c \  $(TOP)/src/prepare.c \  $(TOP)/src/printf.c \  $(TOP)/src/random.c \  $(TOP)/src/select.c \  $(TOP)/src/tokenize.c \  $(TOP)/src/utf.c \  $(TOP)/src/util.c \  $(TOP)/src/vdbe.c \  $(TOP)/src/vdbeapi.c \  $(TOP)/src/vdbeaux.c \  $(TOP)/src/vdbemem.c \  $(TOP)/src/where.c \  parse.c# Source code to the actual test files.#TESTSRC = \  $(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_devsym.c \  $(TOP)/src/test_func.c \  $(TOP)/src/test_hexio.c \  $(TOP)/src/test_malloc.c \  $(TOP)/src/test_md5.c \  $(TOP)/src/test_mutex.c \  $(TOP)/src/test_onefile.c \  $(TOP)/src/test_osinst.c \  $(TOP)/src/test_schema.c \  $(TOP)/src/test_server.c \  $(TOP)/src/test_tclvar.c \  $(TOP)/src/test_thread.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/hwtime.h \   $(TOP)/src/sqliteLimit.h \   $(TOP)/src/mutex.h \   opcodes.h \   $(TOP)/src/os.h \   $(TOP)/src/os_common.h \   $(TOP)/src/sqlite3ext.h \   $(TOP)/src/sqliteInt.h  \   $(TOP)/src/vdbe.h \   $(TOP)/src/vdbeInt.h \

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?