Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
main.mk
97e6368
Add the snapshot-zip makefile targets for both Windows and Posix.
by drh
· 5 days ago
d961d49
Eliminate configure/build discrepancies in how 'make tclextension-...' works vs other makefile-side handling of the extension, conforming to the former.
by stephan
· 4 weeks ago
12bd8ea
Add the --tclConfig.sh FILE flag to buildtclext.tcl to eliminate the discrepancy between the configure-time-detected tclConfig.sh and the one auto-detected by the tclextension family of makefile targets. Add the tclextension-all target to run all of the various tclextension-... targets in their natural order to facilitate testing changes like this one. Update the --help text to note that --with-tclsh should only be used if there's a specific need, and that --with-tcl is generall preferred. This is in response to [https://github.com/termux/termux-packages/issues/23268 | Termux ticket 23268].
by stephan
· 4 weeks ago
b1929b7
Remove the clunky test_windirent.h and test_windirent.c files from src/
by drh
· 6 weeks ago
0d3e5ca
New makefile target "xdevtest" works like "releasetest" except that it
by drh
· 7 weeks ago
81a2f7b
Amend the previous: Set SQLITE_JSON_MAX_DEPTH to 500 on *all* builds
by drh
· 8 weeks ago
85f37eb
Limit JSON recursion depth to 500 when running ASAN in fuzzcheck, to prevent
by drh
· 8 weeks ago
5a9a2d8
Remove the run-fuzzcheck makefile targets, since testrunner now
by drh
· 3 months ago
86527e8
Rename makefile var libtclsqlite3.SO to libtclsqlite3.DLL for consistency.
by stephan
· 4 months ago
16aa90b
Make the --static-cli-shell flag available in the autoconf build mode.
by stephan
· 4 months ago
2a56949
Add the --static-cli-shell configure flag to the canonical build, which works like --static-tclsqlite3 but applies to the CLI shell (statically linking it, which only works if all requisite libs are available in static form). It is not called --static-shell because that flag has a completely different legacy meaning in the autoconf build and this flight might eventually be added to that build, so would collide there.
by stephan
· 4 months ago
2636632
Add the --static-tclsqlite3 configure flag (canonical build only) to build tclsqlite3 as a static binary. This will only work on systems which have static versions of all requisite libraries.
by stephan
· 4 months ago
20f5347
Minor cleanups to the --static-tclsqlite3 support.
by stephan
· 4 months ago
static-tclsqlite3
0993fc6
Add experimental --static-tclsqlite3 configure flag to build tclsqlite3 statically, which only works if static libtcl/etc. are available. Currently intended for docker builds via Alpine Linux.
by stephan
· 4 months ago
0a0367f
Ensure that the compilation of extensions get the same CFLAGS as the core lib. Move the feature flags enabled by --dev out of TARGET_DEBUG and into OPT_FEATURE_FLAGS (for consistency). Rename the make-internal gcov-related flags to be more descriptive. At the end of the configure script, if SQLITE_DEBUG is active then emit a note reminding the builder that performance will suffer.
by stephan
· 4 months ago
227df62
Ensure that extension sources also inherit the debugging-related flags from --debug or --dev.
by stephan
· 4 months ago
13a9fb0
Configure/make doc tweaks. No functional changes.
by stephan
· 4 months ago
d877b56
Configure script internal cleanups and re-orgs. No functional changes.
by stephan
· 4 months ago
ccda0f0
Very slight simplification of the run-fuzzcheck rules.
by stephan
· 4 months ago
ab68965
Add --asan-fsanitize=... configure flag to the canonical build to optionally set -fsantize flags for the fuzzcheck-asan tool. Teach proj-check-fsanitiz to fail for flags which the compiler emits any warning for, for reasons described in its comments.
by stephan
· 4 months ago
bafddb1
Consolidate some much-duplicated run-fuzzcheck recipe code in main.mk.
by stephan
· 4 months ago
fc293f7
Rework the run-fuzzcheck makefile target so that it better exploit parallelism.
by drh
· 4 months ago
6e5d59e
Make use of the C99 flexible array feature, when available, so that
by drh
· 4 months ago
9f8a238
Configure-internal build cleanups (no functional changes). Add EXTRA_SRC to the deps of sqlite3.c.
by stephan
· 4 months ago
8c0e922
-fsanitize is a CFLAG, not LDFLAG, so rename some vars accordingly and simplify the feature check to not run the linker.
by stephan
· 4 months ago
f792cda
For fuzzcheck-asan, dynamically determine the list of -fsanitize flags to use based on configure-time feature tests.
by stephan
· 4 months ago
d389fd3
Omit the -fsanitize=bounds-strict for now, as that is still not widely
by drh
· 4 months ago
0a4f10e
Use flexible arrays in the recovery extension and in the fuzzcheck test program.
by drh
· 4 months ago
f5965e9
Makefile doc updates. Remove a couple extraneous targets. No functional changes.
by stephan
· 5 months ago
5b27bfa
Document the EXTRA_SRC makefile var and add --amalgamation-extra-src=list to the canonical-build configure script as the formal way to pass that at configure-time.
by stephan
· 5 months ago
da5f813
Approximately 100 typo corrections spanning the whole tree, submitted via [forum:0db9827f0464bc33|forum post 0db9827f0464bc33] and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text.
by stephan
· 5 months ago
5d60f47
Approximately 50 typo fixes, spanning the whole tree, contributed via [forum:006c8fa165083ac3|forum post 006c8fa165083ac3] and individually checked for correctness. Affects only code comments, docs, and a single line of debug output in a test app.
by stephan
· 5 months ago
644b996
Configure-internal doc tweaks. Fix the distclean rules for libsqlite3.dll.a on msys/cygwin/mingw, broken when the DLL basename was changed for those platforms.
by stephan
· 5 months ago
7b90bee
Internal cleanups to how certain linker flags are tested.
by stephan
· 5 months ago
43aeed3
Internal configure doc cleanups. Apply the [5ecbe7ddc4] unix-on-windows DLL install dir fix to the canonical build.
by stephan
· 5 months ago
449c552
Rename configure-defined ENABLE_SHARED/STATIC makefile vars to ENABLE_LIB_... so that they're consistent between the canonical and autoconf builds (baby steps towards further configure code consolidation).
by stephan
· 5 months ago
4d58d39
Add --dll-basename flag to give clients control over the DLL's base name. Split the DLL installation makefile rules into digestible, platform-specific chunks. On Windows-side Unix-like environments, install the DLL into the bin dir. Requires testing and feedback from those platforms' package maintainers to confirm it follows the expectated conventions.
by stephan
· 5 months ago
d9959bf
Makefile-internal var renaming in prep for pending portability-related changes in the handling of DLLs. No functional/build interface changes.
by stephan
· 5 months ago
f6757b3
Replace TEXE (legacy name) with T.exe (3.48+ name) in two places in makefiles. This fixes distclean of jimsh.exe in the canonical build in non-native Windows environments.
by stephan
· 5 months ago
984f699
DLL installation rules no longer create versioned symlinks on platforms where the DLL extension is '.dll' (cygwin, msys2, etc.), as suggested in [forum:28bb79638844c328|forum post 28bb79638844c328].
by stephan
· 5 months ago
e89f31f
When using the --out-implib build option, install the generated .dll.a file to PREFIX/lib.
by stephan
· 5 months ago
cd56ad4
Omit the src/pragma.h file. It is generated by the tool/mkpragmatab.tcl script.
by drh
· 5 months ago
374c6a4
Omit the src/ctime.c source file, since it is automatically generated by a TCL
by drh
· 5 months ago
df9b899
Adapt [https://fossil-scm.org/home/info/3bff7b92d6d|Fossil SCM patch 3bff7b92d6d], applying -lrt for platforms which need it for one of {fdatasync, nanosleep}.
by stephan
· 5 months ago
63f4926
configure: if the linker supports --out-implib, generate libsqlite3.X.a, where X is the platform's DLL file extension. Discussion in/around [forum:0c7fc097b2|forum post 0c7fc097b2].
by stephan
· 5 months ago
7df5704
build: work around a report of (install -d DIR) failing in one environment if DIR already exists.
by stephan
· 5 months ago
189a4a0
Mac-specific build fixes discussed in [forum:9dfd5b8fd525a5d7|forum thread 9dfd5b8fd525a5d7]: rename dylib links and add legacy-compatibility versioning stamps to libsqlite3.dylib.
by stephan
· 5 months ago
3cf467a
Adjust the build process to avoid extra CR characters inserted by jimsh
by drh
· 6 months ago
000e39e
Improvements to the TCL interface for Tcl9 as suggested by Jan Nijtmans.
by drh
· 6 months ago
83baa23
Do not strip binaries during 'make install', for consistency with the legacy build and per request from package maintainers.
by stephan
· 6 months ago
e52cdad
When running make install, avoid the -s (strip) flag when cross-compiling, as it only works for the build platform. Reported in [forum:9a67df63eda9925c|forum post 9a67df63eda9925c].
by stephan
· 6 months ago
fbbe262
Enhance the makefile to make it easier to build from a read-only source tree.
by drh
· 6 months ago
8b53358
Improvements to TCL extension test procedure description. Improvements to
by drh
· 7 months ago
1e03bd8
Improvements to testing and validation of the SQLite TCL extension.
by drh
· 7 months ago
95f6df5
Add the convenience makefile target (unix-only) "src-archives" that builds
by drh
· 7 months ago
b56f179
Correct duplicated soname linker flags, one of them mis-named.
by stephan
· 8 months ago
5c94526
Move handling of the tempstore feature flag into the OPT_FEATURE_FLAGS list and remove the CFLAGS.libsqlite3 makefile var which exists solely to account for the tempstore being tracked separately from the other feature flags.
by stephan
· 8 months ago
dcaf03f
Makefile doc cleanups. No functional changes.
by stephan
· 8 months ago
7a13eff
Remove the libsqlite3.so.3 link from the installation process, as it now serves no functional purpose. We retain libsqlite3.so.0 (A) for compatibility with clients linked against legacy builds and (B) 0 is still valid as the library's ABI version.
by stephan
· 8 months ago
0cf7131
Add links to [/forumpost/5a3b44f510df8ded|the SONAME discussion] at relevant places in auto.def and the makefiles. No functional changes.
by stephan
· 8 months ago
914e32f
Use shared-library flags, not shared-object flags, to create shared libraries.
by drh
· 8 months ago
link-tools-dynamically
a34fbd1
Add fix from [bfab759611b0] to sqltclsh. Remove some now-unneeded has_tclsh84/5 checks in cases where jimsh can be used.
by stephan
· 8 months ago
18c9e26
Add missing $TCL_LIBS to the link for sqlite3_analyzer.
by drh
· 8 months ago
457d938
Rename --link-tools-dynamically to --dynlink-tools, per discussion.
by stephan
· 8 months ago
c73b85c
Get sqlite3_analyzer optionally linking against libsqlite3.so instead of embedding sqlite3.c. Patch mkccode.tcl to accept digits in its IFDEF/IFNDEF checks and sqlite3_analyzer.c.in to only include sqlite3.c if -DINCLUDE_SQLITE3_C is passed to mkccode.tcl.
by stephan
· 8 months ago
3cd93a0
Revert linking the shell to the dll for reasons explained in new makefile comments. Move the --with-debug configure flag into the developer options set and add commentary about why it should never be used for production builds.
by stephan
· 8 months ago
5ef61df
Reformulate sqldiff deps and rules so that the target matches the resulting file name, to avoid rebuilding it on every make invocation. Apply the same treatment to the sqlite3 CLI shell.
by stephan
· 8 months ago
fbd9de1
Initial configure support for linking certain binaries to libsqlite3.so instead of embedding it dynamically (which they typically do). This currently applies only to sqldiff, but support for adding the same for other tools is planned. This requires disabling the soname because setting it causes the build to link to whatever libsqlite3.so.0 is installed system-wide, so the soname now defaults to off.
by stephan
· 8 months ago
0df847c
Remove the .POSIX entries from the makefiles because they cause portability problems rather than solve them.
by stephan
· 8 months ago
f6c7cc6
Add the --destdir flag to the tclextension-install makefile target.
by stephan
· 8 months ago
1adf875
In the interest of minimizing downstream disruption, set the soname of libsqlite3.so to (by default) its legacy value of libsqlite3.so.0 and unconditionally create (or replace) a symlink with that name at install-time, in addition to the newer-named symlinks.
by stephan
· 8 months ago
009601d
Remove $prefix/include from the default -I path because it can cause the build to pick up an unintended copy of sqlite3.h. Extend the ICU configure support (the origin of -I$prefix/include) to enable fetching the -I path from icu-config and apply it only to those objects which need it.
by stephan
· 8 months ago
59c80e0
Add new makefile target "sqlite3d" (where the "d" means either "development" or
by drh
· 8 months ago
074cad3
Wrap some exceptionally long lines in main.mk. Add option to override LDFLAGS on the sqlite3.dll target. Audit: all targets for which it is hypothetically relevant can now inherit user-supplied LDFLAGS, but only those provided to the configure script, not at make-time, in order to mimic the historical build's restriction in that regard.
by stephan
· 8 months ago
f1b88ec
Fix a deps problem, introduced in [1bd9de719], which breaks the build on systems where HAVE_TCL=0.
by stephan
· 8 months ago
4441897
Remove one dep from .tclenv.sh which is only valid for configure-driven builds, not static makefiles.
by stephan
· 8 months ago
a700db9
Add 'tcl' makefile target which builds all but tclextension (which does not have a well-defined name and dependencies). Improve the deps for .tclenv.sh to avoid getting a stale tclsh when re-configuring with a different --with-tcl(sh).
by stephan
· 8 months ago
a4093dc
Add missing CFLAGS.intree_includes to T.compile.tcl to fix build of tclsqlite3.
by stephan
· 8 months ago
6280108
More closely emulate the legacy build's handling of LDFLAGS, permitting them to be passed to configure but not to make. We cannot 100% enforce that because main.mk is not filtered by the configure script, so we instead add a level of indirection to make passing of LDFLAGS=... to make a no-op.
by stephan
· 8 months ago
3b306aa
Support clients passing in LDFLAGS to configure/make, but in a more limited form than the legacy build it (i.e. only to select targets rather than all targets). Rename make-side internal uses of CFLAGS to CFLAGS.env for consistency with the new LDFLAGS.env. See discussion in [forum:5fcbea40f3|forum thread 5fcbea40f3].
by stephan
· 8 months ago
d42855e
Fix an OOB write that could occur in fts3 when dealing with corrupt database records.
by dan
· 8 months ago
c7882b9
tcl configuration: --with-tcl=prefix is equivalent to passing the --prefix dir to it. If --with-tcl or --enable-tcl are explicitly passed in and tclConfig.sh is not found, fail fatally. When TCL is either explicitly disabled or default search for it fails non-fatally, be more explicit about which components are not available.
by stephan
· 8 months ago
199925a
Add a section to autosetup/README.md describing the motivations for the more glaring design decisions.
by stephan
· 9 months ago
d2ac1c5
Remove the --enable-rbu flag from the configure script, per /chat discussion, because it's a highly niche feature not in active use.
by stephan
· 9 months ago
63346a4
Add the --enable-rbu configure flag and building of the commented-out rbu binary.
by stephan
· 9 months ago
2fd3883
Fix typo of --libexec ==> --libexecdir, discovered via audit of a downstream build script. Unrelated doc touchups.
by stephan
· 9 months ago
f3d2795
When installing the shared lib, re-activate the accommodation of legacy-style .so links (removed in [80584e165e4]) based on two reports that not having those will cause all clients linked against the legacy naming convention to fail to dynamically link (which would preclude an update of a system-level libsqlite3 package). Set up the infrastructure needed for adding an SONAME to the library but do not yet activate it. See discussion in/around [forum:046133a7da|forum post 046133a7da].
by stephan
· 9 months ago
e595a83
Fix another T.exe typo and remove an outdated TODO.
by stephan
· 9 months ago
13f03af
Fix T.exe typos in main.mk which break installation on platforms where that value is not empty. Also some unrelated doc tweaks.
by stephan
· 9 months ago
dea749a
Add autotools-compatible overridable dir name vars for the various installation targets, calculated at make-time instead of exported at configure-time for reasons explained at length in the accompanying comments.
by stephan
· 9 months ago
f5187de
When building a shared library on Mac, one must specify the original *.o
by drh
· 9 months ago
07cdcee
Add the .POSIX special target to the main makefiles to hint to the make impl that it should behave POSIXly-correct. Fix the default file extension for static libs in main.mk.
by stephan
· 9 months ago
cf758d2
Add more deps to T.tcl.env.sh so that it gets rebuilt if configure is run with a different --with-tcl value. Remove all references to the superfluous XYZdir makefile vars conventionally set by the autotools (they're just noise in this build).
by stephan
· 9 months ago
fe9baec
Fix a corner case in automatic TCLLIBDIR detection: if the $auto_path list is not empty but none of them refer to an existing dir, the last dir in that list would have been accepted as the TCLLIBDIR. It will now error out instead.
by stephan
· 9 months ago
7a55fe3
Reimplement how the TCL-related environment vars are made available to make recipes which need them, reducing the console noise and consolidating it with the has_tclconfig flag file. It now uses a generated shell snippet which it sources, rather than inlining all of that shell code.
by stephan
· 9 months ago
26eccee
proj.tcl/main.mk doc updates. No functional changes.
by stephan
· 9 months ago
4f0529e
Adjust Makefile.in to honor the CC environment variable. Add the
by drh
· 9 months ago
55865c4
Remove accommodation of the legacy-named shared libraries from the installation rules, per discussion. Rename install-includes to install-headers. Quote installation target dir names "just in case".
by stephan
· 9 months ago
fe5f721
Generic makefile cleanups.
by stephan
· 9 months ago
067f809
Re-enable exporting of TCLLIBDIR at configure-time so that clients can override it once there rather than having to override it on an arbitrary number of make invocations (which they can still do, but now need not). Based on feedback in [forum:38f6988e57b738e5|forum post 38f6988e57b].
by stephan
· 9 months ago
Next »