2024-10-09 10:12:32 +03:00
|
|
|
#!/usr/bin/make
|
2024-10-20 04:09:51 +03:00
|
|
|
# ^^^^ help out editors which guess this file's type.
|
2004-06-30 15:41:55 +04:00
|
|
|
#
|
|
|
|
# Makefile for SQLITE
|
|
|
|
#
|
2024-10-09 10:12:32 +03:00
|
|
|
# This makefile is intended to be configured automatically using the
|
|
|
|
# configure script. Hand editing may not work as expected because
|
|
|
|
# certain blocks are added or removed depending on configure-time
|
|
|
|
# information.
|
2004-06-30 15:41:55 +04:00
|
|
|
#
|
2024-10-21 20:50:55 +03:00
|
|
|
# The docs for many of its variables are in the primary static
|
|
|
|
# makefile, main.mk (which this one includes at runtime).
|
|
|
|
#
|
|
|
|
all:
|
|
|
|
clean:
|
2024-10-20 04:09:51 +03:00
|
|
|
########################################################################
|
|
|
|
#XX# Lines starting with #XX# are TODOs for the port to autosetup.
|
|
|
|
#
|
|
|
|
# Known TODOs/FIXMEs/TOIMPROVEs for the autosetup port, in no
|
|
|
|
# particular order...
|
|
|
|
#
|
|
|
|
# - libreadline detection and handling of its -I, -L, and -l flags.
|
|
|
|
# These can vary considerably across systems. e.g. some need -lncurses,
|
2024-10-20 04:34:13 +03:00
|
|
|
# and some don't know what an -lncurses is.
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
2024-10-20 04:34:13 +03:00
|
|
|
# - TEA pieces.
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# - Replace the autotools-specific distribution deliverable(s).
|
|
|
|
#
|
|
|
|
# - Provide Makefile.msc, Makefile.linux-gcc, and any required similar
|
2024-10-20 04:34:13 +03:00
|
|
|
# makefile stubs for environments where the configure script will not
|
2024-10-20 04:09:51 +03:00
|
|
|
# run. The core makefile rules in main.mk "should" apply as-is for
|
2024-10-20 04:34:13 +03:00
|
|
|
# most platforms. We can potentially generate those makefiles, along
|
|
|
|
# with main.mk, like we do in the Fossil project.
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# - Confirm whether cross-compilation works and patch it
|
|
|
|
# appropriately.
|
|
|
|
#
|
2024-10-20 05:47:56 +03:00
|
|
|
# - There are some lingering dependencies issues which cause a
|
|
|
|
# re-configure to trigger more often than it should. This is
|
|
|
|
# especially a problem in parallel builds, which may launch multiple
|
|
|
|
# re-configures in parallel. GNU Make offers ways of controlling
|
|
|
|
# that, but we're limited to POSIX Make compatibility here. The
|
|
|
|
# automatic reconfigures are not too onerous, though, because they're
|
|
|
|
# much, much faster than Autotools configure runs.
|
2024-10-22 01:15:04 +03:00
|
|
|
#
|
|
|
|
# - Add target(s) to dump out specific vars, e.g. SQLITE_OPT, as
|
|
|
|
# requested at https://sqlite.org/forum/forumpost/75cb3179216f8d86.
|
|
|
|
# This would also be useful for the ext/wasm build, which fishes
|
|
|
|
# SHELL_OPT out of the makefile.
|
|
|
|
#
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# Maintenance reminder: When using the X?=Y variable assignment
|
|
|
|
# formulation, please test the build with both GNU make and a POSIX
|
|
|
|
# make (e.g. BSD make, a.k.a. bmake). On at least one occassion, that
|
|
|
|
# formulation has led to inconsistent behavior between the two major
|
|
|
|
# make flavors when used with variable names which might sensibly be
|
|
|
|
# in the developer's environment (namely CC).
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# The top-most directory of the source tree. This is the directory
|
2024-09-25 17:38:46 +03:00
|
|
|
# that contains this "Makefile.in" and the "configure" script.
|
2004-06-30 15:41:55 +04:00
|
|
|
#
|
2024-09-25 17:38:46 +03:00
|
|
|
TOP = @abs_top_srcdir@
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# Some standard variables and programs
|
|
|
|
#
|
|
|
|
prefix ?= @prefix@
|
|
|
|
exec_prefix ?= @exec_prefix@
|
|
|
|
libdir ?= @libdir@
|
|
|
|
pkgconfigdir ?= $(libdir)/pkgconfig
|
|
|
|
bindir ?= @bindir@
|
|
|
|
includedir ?= @includedir@
|
2024-10-21 20:50:55 +03:00
|
|
|
#
|
|
|
|
# Just testing some default dir expansions...
|
|
|
|
# srcdir = @srcdir@
|
2024-10-23 19:46:46 +03:00
|
|
|
# builddir = @builddir@
|
2024-10-21 20:50:55 +03:00
|
|
|
# top_srcdir = @top_srcdir@
|
|
|
|
# abs_top_srcdir = @abs_top_srcdir@
|
|
|
|
# abs_top_builddir = @abs_top_builddir@
|
|
|
|
#
|
|
|
|
|
2024-10-20 04:09:51 +03:00
|
|
|
INSTALL = @BIN_INSTALL@
|
2024-10-19 23:53:46 +03:00
|
|
|
AR = @AR@
|
|
|
|
CC = @CC@
|
2024-09-26 15:16:46 +03:00
|
|
|
BCC = @BUILD_CC@ @BUILD_CFLAGS@
|
2024-10-21 20:50:55 +03:00
|
|
|
TCC = $(CC) $(CFLAGS)
|
|
|
|
CFLAGS = @CFLAGS@ @SH_CFLAGS@
|
2024-10-19 23:26:17 +03:00
|
|
|
|
2024-10-21 20:50:55 +03:00
|
|
|
LDFLAGS_SHOBJ = @SHOBJ_LDFLAGS@
|
2024-10-20 04:09:51 +03:00
|
|
|
LDFLAGS_ZLIB = @LDFLAGS_ZLIB@
|
|
|
|
LDFLAGS_MATH = @LDFLAGS_MATH@
|
|
|
|
LDFLAGS_RPATH = @LDFLAGS_RPATH@
|
|
|
|
LDFLAGS_PTHREAD = @LDFLAGS_PTHREAD@
|
2024-10-23 18:05:08 +03:00
|
|
|
LDFLAGS_DLOPEN = @LDFLAGS_DLOPEN@
|
2024-10-21 20:50:55 +03:00
|
|
|
LDFLAGS_READLINE = @LDFLAGS_READLINE@
|
|
|
|
CFLAGS_READLINE = -DHAVE_READLINE=@HAVE_READLINE@ @CFLAGS_READLINE@
|
2024-10-20 04:09:51 +03:00
|
|
|
|
|
|
|
ENABLE_SHARED = @ENABLE_SHARED@
|
|
|
|
HAVE_WASI_SDK = @HAVE_WASI_SDK@
|
|
|
|
|
2024-10-24 04:26:50 +03:00
|
|
|
TCC.sqlite = $(TCC) @TARGET_DEBUG@
|
|
|
|
|
|
|
|
#
|
|
|
|
# Define -D_HAVE_SQLITE_CONFIG_H so that the code knows it
|
2024-10-20 04:09:51 +03:00
|
|
|
# can include the generated sqlite_cfg.h.
|
2024-10-19 23:26:17 +03:00
|
|
|
#
|
2024-10-24 04:26:50 +03:00
|
|
|
TCC.sqlite += -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite
|
2024-10-19 23:26:17 +03:00
|
|
|
#
|
2024-10-24 04:26:50 +03:00
|
|
|
# main.mk will fill out TCC.sqlite with some flags common to all builds.
|
2024-10-19 23:26:17 +03:00
|
|
|
|
2024-10-20 04:09:51 +03:00
|
|
|
#XX#CFLAGS_READLINE += -DHAVE_EDITLINE=@TARGET_HAVE_EDITLINE@
|
|
|
|
#XX#CFLAGS_READLINE += -DHAVE_LINENOISE=@TARGET_HAVE_LINENOISE@
|
2024-09-25 17:38:46 +03:00
|
|
|
#XX#
|
|
|
|
#XX## The library that programs using readline() must link against.
|
|
|
|
#XX##
|
|
|
|
#XX#LIBREADLINE = @TARGET_READLINE_LIBS@
|
|
|
|
#XX#
|
|
|
|
#XX## Should the database engine be compiled threadsafe
|
|
|
|
#XX##
|
|
|
|
#XX#TCC += -DSQLITE_THREADSAFE=@SQLITE_THREADSAFE@
|
2024-10-18 19:39:17 +03:00
|
|
|
|
2024-10-18 01:19:37 +03:00
|
|
|
#
|
|
|
|
# JimTCL is part of the autosetup suite and is suitable for all
|
|
|
|
# current in-tree code-generation TCL jobs, but it requires that we
|
|
|
|
# build it with non-default flags. Note that the build tree will, if
|
2024-10-21 20:50:55 +03:00
|
|
|
# no system-level tclsh is found, also have a ./jimsh0 binary. That
|
|
|
|
# one is a bare-bones build for the configure process, whereas we need
|
|
|
|
# to build it with another option enabled for use with the various
|
|
|
|
# code generators.
|
2024-10-18 01:19:37 +03:00
|
|
|
#
|
2024-10-23 19:46:46 +03:00
|
|
|
# After jimsh is compiled, we run some sanity checks to ensure that
|
|
|
|
# it was built in a way compatible with this project's scripts:
|
|
|
|
#
|
|
|
|
# 1) Ensure that it was built with realpath() or _fullpath() support.
|
|
|
|
# Without that flag the [file normalize] command will always resolve
|
|
|
|
# to an empty string.
|
|
|
|
#
|
|
|
|
# 2) Ensure that it is built with -DJIM_COMPAT (which may be
|
|
|
|
# hard-coded into jimsh0.c). Without this, the [expr] command
|
|
|
|
# accepts only a single argument.
|
|
|
|
#
|
2024-10-19 21:31:47 +03:00
|
|
|
CFLAGS_JIMSH ?= @CFLAGS_JIMSH@
|
2024-10-23 19:46:46 +03:00
|
|
|
JIMSH = @builddir@/jimsh$(TEXE)
|
2024-10-18 01:19:37 +03:00
|
|
|
$(JIMSH): $(TOP)/autosetup/jimsh0.c
|
2024-10-23 19:46:46 +03:00
|
|
|
$(BCC) -o $@ $(CFLAGS_JIMSH) $(TOP)/autosetup/jimsh0.c
|
|
|
|
@if [ x = "x$$($(JIMSH) -e 'file normalize $(JIMSH)' 2>/dev/null)" ]; then \
|
|
|
|
echo "jimsh was built without -DHAVE_REALPATH or -DHAVE__FULLPATH." 1>&2; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
@if [ x3 != "x$$($(JIMSH) -e 'expr 1 + 2' 2>/dev/null)" ]; then \
|
|
|
|
echo "jimsh was built without -DJIM_COMPAT." 1>&2; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2024-10-18 01:19:37 +03:00
|
|
|
|
|
|
|
# BTCLSH is the tclsh-compatible app used for running various code
|
|
|
|
# generators and other in-tree tools, as opposed to the TCL-based
|
|
|
|
# tests, which must be built and run using the canonical TCL
|
|
|
|
# distribution.
|
|
|
|
BTCLSH = @BTCLSH@
|
|
|
|
$(BTCLSH):
|
|
|
|
|
2024-10-24 03:02:44 +03:00
|
|
|
#
|
2024-10-21 20:50:55 +03:00
|
|
|
# $(CFLAGS_libsqlite3) is documented in main.mk.
|
2024-10-24 03:02:44 +03:00
|
|
|
#
|
2024-10-24 06:14:40 +03:00
|
|
|
CFLAGS_libsqlite3 = $(CFLAGS) -DSQLITE_TEMP_STORE=@TEMP_STORE@
|
2004-06-30 15:41:55 +04:00
|
|
|
|
2024-08-29 21:32:56 +03:00
|
|
|
OPT_FEATURE_FLAGS = @OPT_FEATURE_FLAGS@ $(OPTIONS)
|
2024-09-26 02:09:38 +03:00
|
|
|
|
|
|
|
TCC += $(OPT_FEATURE_FLAGS)
|
|
|
|
|
2024-10-21 20:50:55 +03:00
|
|
|
#
|
|
|
|
# Add in any optional global compilation flags on the make commane
|
|
|
|
# line ie. make "OPTS=-DSQLITE_ENABLE_FOO=1 -DSQLITE_OMIT_FOO=1".
|
|
|
|
#
|
|
|
|
#XX# FIXME: rename one or the other of $(OPTS) and $(OPTIONS), as they
|
|
|
|
#XX# serve different purposes.
|
2024-09-26 02:09:38 +03:00
|
|
|
TCC += $(OPTS)
|
|
|
|
|
|
|
|
# Version numbers and release number for the SQLite being compiled.
|
|
|
|
#
|
2024-10-21 20:50:55 +03:00
|
|
|
# VERSION = @VERSION@
|
2024-09-26 15:16:46 +03:00
|
|
|
RELEASE = @RELEASE@
|
2024-09-26 02:09:38 +03:00
|
|
|
|
2024-10-19 16:44:16 +03:00
|
|
|
# Filename extensions for binaries and libraries
|
2024-09-26 02:09:38 +03:00
|
|
|
#
|
|
|
|
BEXE = @BUILD_EXEEXT@
|
|
|
|
TEXE = @TARGET_EXEEXT@
|
2024-09-30 17:33:36 +03:00
|
|
|
BDLL = @BUILD_DLLEXT@
|
|
|
|
TDLL = @TARGET_DLLEXT@
|
2024-09-30 22:01:41 +03:00
|
|
|
BLIB = @BUILD_LIBEXT@
|
|
|
|
TLIB = @TARGET_LIBEXT@
|
2024-09-26 02:09:38 +03:00
|
|
|
|
2024-09-27 04:00:32 +03:00
|
|
|
# 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.
|
2024-09-26 02:09:38 +03:00
|
|
|
#
|
2024-09-27 04:00:32 +03:00
|
|
|
HAVE_TCL = @HAVE_TCL@
|
|
|
|
|
|
|
|
# This is the command to use for tclsh - normally just "tclsh", but we may
|
2024-10-19 15:47:06 +03:00
|
|
|
# know the specific version we want to use. This must point to the canonical
|
|
|
|
# TCL interpreter, not JimTCL.
|
2024-09-27 04:00:32 +03:00
|
|
|
#
|
2024-09-27 05:35:41 +03:00
|
|
|
TCLSH_CMD = @TCLSH_CMD@
|
2024-10-09 07:01:14 +03:00
|
|
|
TCL_CONFIG_SH = @TCL_CONFIG_SH@
|
|
|
|
|
|
|
|
# TCL config info from tclConfig.sh
|
|
|
|
TCL_INCLUDE_SPEC = @TCL_INCLUDE_SPEC@
|
|
|
|
TCL_LIB_SPEC = @TCL_LIB_SPEC@
|
|
|
|
TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
|
|
|
|
TCL_EXEC_PREFIX = @TCL_EXEC_PREFIX@
|
2024-10-09 07:27:03 +03:00
|
|
|
TCL_VERSION = @TCL_VERSION@
|
2024-10-19 21:31:47 +03:00
|
|
|
TCLLIB_RPATH = @TCLLIB_RPATH@
|
|
|
|
TCLLIBDIR = @TCLLIBDIR@
|
|
|
|
|
2024-09-27 04:00:32 +03:00
|
|
|
# Additional options when running tests using testrunner.tcl
|
|
|
|
# This is usually either blank, or else --status
|
|
|
|
#
|
|
|
|
TSTRNNR_OPTS = @TSTRNNR_OPTS@
|
|
|
|
|
2024-10-16 17:04:00 +03:00
|
|
|
# Where do we want to install the tcl plugin
|
|
|
|
#
|
|
|
|
TCLLIBDIR = @TCLLIBDIR@
|
2024-09-26 02:09:38 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2024-10-22 00:22:18 +03:00
|
|
|
|
|
|
|
CFLAGS_GCOV1 = -DSQLITE_COVERAGE_TEST=1 -fprofile-arcs -ftest-coverage
|
|
|
|
LDFLAGS_GCOV1 = -lgcov
|
2024-09-26 02:09:38 +03:00
|
|
|
USE_GCOV = @USE_GCOV@
|
2024-10-22 00:22:18 +03:00
|
|
|
TCOMPILE_EXTRAS += $(CFLAGS_GCOV$(USE_GCOV))
|
|
|
|
TLINK_EXTRAS += $(LDFLAGS_GCOV$(USE_GCOV))
|
2024-09-26 02:09:38 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# You should not have to change anything below this line
|
|
|
|
################################################################################
|
|
|
|
#
|
2024-09-27 04:00:32 +03:00
|
|
|
|
|
|
|
# Vars with the AS_ prefix are specifically related to AutoSetup.
|
|
|
|
#
|
|
|
|
# AS_AUTO_DEF is the main configure script.
|
|
|
|
#
|
|
|
|
AS_AUTO_DEF = $(TOP)/auto.def
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# Shell commands to re-run $(TOP)/configure with the same args it was
|
|
|
|
# invoked with to produce this makefile.
|
|
|
|
#
|
|
|
|
AS_AUTOREMAKE = @SQLITE_AUTOREMAKE@
|
2024-09-27 04:00:32 +03:00
|
|
|
|
2024-10-19 23:26:17 +03:00
|
|
|
USE_AMALGAMATION ?= @USE_AMALGAMATION@
|
2024-10-21 20:50:55 +03:00
|
|
|
AMALGAMATION_GEN_FLAGS ?= --linemacros=@AMALGAMATION_LINE_MACROS@
|
2024-09-27 04:00:32 +03:00
|
|
|
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# CFLAGS for sqlite3$(TEXE)
|
|
|
|
#
|
2024-10-19 23:26:17 +03:00
|
|
|
SHELL_OPT ?= @OPT_SHELL@
|
2024-09-26 02:09:38 +03:00
|
|
|
|
2024-09-30 22:01:41 +03:00
|
|
|
Makefile: $(TOP)/Makefile.in $(AS_AUTO_DEF)
|
2024-10-19 21:31:47 +03:00
|
|
|
$(AS_AUTOREMAKE)
|
2024-09-27 04:00:32 +03:00
|
|
|
@touch $@
|
|
|
|
|
2024-09-30 22:01:41 +03:00
|
|
|
sqlite3.pc: $(TOP)/sqlite3.pc.in $(AS_AUTO_DEF)
|
2024-10-19 21:31:47 +03:00
|
|
|
$(AS_AUTOREMAKE)
|
2024-09-27 04:00:32 +03:00
|
|
|
@touch $@
|
2024-10-21 23:12:03 +03:00
|
|
|
install: install-pc # defined in main.mk
|
2024-09-27 04:00:32 +03:00
|
|
|
|
|
|
|
sqlite_cfg.h: $(TOP)/sqlite_cfg.h.in $(AS_AUTO_DEF)
|
2024-10-19 21:31:47 +03:00
|
|
|
$(AS_AUTOREMAKE)
|
2024-09-27 04:00:32 +03:00
|
|
|
@touch $@
|
|
|
|
|
2024-10-09 08:28:29 +03:00
|
|
|
#
|
|
|
|
# Fiddle app
|
|
|
|
#
|
2024-10-20 04:09:51 +03:00
|
|
|
# EMCC_WRAPPER must refer to the genuine emcc binary, or a
|
|
|
|
# call-compatible wrapper, e.g. $(TOP)/tool/emcc.sh. If it's empty,
|
|
|
|
# build components requiring Emscripten will not build.
|
|
|
|
#
|
2024-10-22 20:57:22 +03:00
|
|
|
# Achtung: though _this_ makefile is POSIX-make compatible, the fiddle
|
|
|
|
# build requires GNU make.
|
|
|
|
#
|
2024-10-20 04:09:51 +03:00
|
|
|
EMCC_WRAPPER = @EMCC_WRAPPER@
|
2024-10-09 08:28:29 +03:00
|
|
|
fiddle: sqlite3.c shell.c
|
2024-10-19 21:31:47 +03:00
|
|
|
@if [ x = "x$(EMCC_WRAPPER)" ]; then \
|
2024-10-22 20:57:22 +03:00
|
|
|
echo "Emscripten SDK not found by configure. Cannot build fiddle." 1&>2; \
|
2024-10-19 21:31:47 +03:00
|
|
|
exit 1; \
|
|
|
|
fi
|
2024-10-20 04:09:51 +03:00
|
|
|
$(MAKE) -C ext/wasm fiddle emcc_opt=-Os
|
2024-10-09 08:28:29 +03:00
|
|
|
|
2024-10-19 15:47:06 +03:00
|
|
|
#
|
|
|
|
# Spell-checking for source comments
|
|
|
|
# The sources checked are either C sources or C source templates.
|
|
|
|
# Their comments are extracted and processed through aspell using
|
|
|
|
# a custom dictionary that contains scads of odd identifiers that
|
|
|
|
# find their way into the comments.
|
|
|
|
#
|
|
|
|
# Currently, this target is setup to be "made" in-tree only.
|
|
|
|
# The output is ephemeral. Redirect it to guide spelling fixups,
|
|
|
|
# either to correct spelling or add words to tool/custom.txt.
|
|
|
|
#
|
|
|
|
./custom.rws: ./tool/custom.txt
|
|
|
|
@echo 'Updating custom dictionary from tool/custom.txt'
|
2024-10-19 23:53:46 +03:00
|
|
|
aspell --lang=en create master ./custom.rws < ./tool/custom.txt
|
2024-10-19 15:47:06 +03:00
|
|
|
# Note that jimsh does not work here:
|
|
|
|
# https://github.com/msteveb/jimtcl/issues/319
|
|
|
|
misspell: ./custom.rws has_tclsh84
|
|
|
|
$(TCLSH_CMD) ./tool/spellsift.tcl ./src/*.c ./src/*.h ./src/*.in
|
|
|
|
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
# clean/distclean are mostly defined in main.mk. In this makefile we
|
2024-10-20 04:34:13 +03:00
|
|
|
# perform cleanup known to be relevant to (only) the autosetup-driven
|
|
|
|
# build.
|
2024-10-20 04:09:51 +03:00
|
|
|
#
|
|
|
|
clean-autosetup:
|
|
|
|
-gmake -C ext/wasm distclean 2>/dev/null; true
|
|
|
|
clean: clean-autosetup
|
|
|
|
|
|
|
|
distclean-autosetup: clean
|
|
|
|
rm -f sqlite_cfg.h config.log config.status $(JIMSH) Makefile sqlite3.pc
|
|
|
|
rm -f $(TOP)/tool/emcc.sh
|
|
|
|
-gmake -C ext/wasm distclean 2>/dev/null; true
|
|
|
|
distclean: distclean-autosetup
|
|
|
|
|
2024-10-24 06:14:40 +03:00
|
|
|
#
|
|
|
|
# tool/version-info: a utility for emitting sqlite3 version info
|
|
|
|
# in various forms.
|
|
|
|
#
|
|
|
|
version-info$(TEXE): $(TOP)/tool/version-info.c Makefile sqlite3.h
|
|
|
|
$(TLINK) $(ST_OPT) -o $@ $(TOP)/tool/version-info.c
|
|
|
|
|
2024-10-19 23:26:17 +03:00
|
|
|
include $(TOP)/main.mk
|