stephan
|
bba1953426
Tiny makefile/configure script doc tweaks. No functional changes.
|
1 周之前 |
stephan
|
2aac896611
Remove some outdated docs from Makefile.in.
|
3 周之前 |
stephan
|
5c945264b0
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.
|
1 月之前 |
stephan
|
0cf7131555
Add links to [/forumpost/5a3b44f510df8ded|the SONAME discussion] at relevant places in auto.def and the makefiles. No functional changes.
|
1 月之前 |
drh
|
914e32f24a
Use shared-library flags, not shared-object flags, to create shared libraries.
|
1 月之前 |
stephan
|
fbd9de1830
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.
|
1 月之前 |
stephan
|
0df847cc77
Remove the .POSIX entries from the makefiles because they cause portability problems rather than solve them.
|
1 月之前 |
stephan
|
1adf87592f
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.
|
1 月之前 |
stephan
|
009601d534
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.
|
1 月之前 |
stephan
|
98be43ed73
Fix a state makefile dependency which refered to the now-removed sqlite_cfg.h.in.
|
1 月之前 |
stephan
|
62801081f3
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.
|
1 月之前 |
stephan
|
3b306aac6e
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].
|
1 月之前 |
stephan
|
6d443b0d74
auto.def: remove an extraneous global var, some dead tcl/makefile code/comments, and some extraneous output. Rename an internal-use proc. Disable the ext/wasm cleanup in the top-level (dist)clean because the noise from gmake is irritating.
|
1 月之前 |
stephan
|
2c8d251956
Remove some dead makefile code.
|
1 月之前 |
stephan
|
2fd38836dc
Fix typo of --libexec ==> --libexecdir, discovered via audit of a downstream build script. Unrelated doc touchups.
|
1 月之前 |
stephan
|
f3d279595e
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].
|
1 月之前 |
stephan
|
a9b00b0fb7
Fix a CFLAGS.jimsh typo in Makefile.in. Change default jimsh flags to include -O1, which slows down its build but speeds up its runtime considerably.
|
1 月之前 |
stephan
|
f0e7f4c1f2
An experiment in hybridizing overriding of autotools-conventional XYZdir vars, the goal being to be able to provide both overrriding of them at configure-time and make-time with sensible semantics. Based on notes from [forum:00d12a41f7|forum post 00d12a41f7].
|
1 月之前 |
stephan
|
dea749acc3
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.
|
1 月之前 |
drh
|
03cfce20c9
Fix the clean-autosetup target in Makefile.in so that it does not fail even
|
1 月之前 |
stephan
|
07cdceed8e
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.
|
1 月之前 |
stephan
|
cf758d23cd
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).
|
1 月之前 |
drh
|
4f0529e33e
Adjust Makefile.in to honor the CC environment variable. Add the
|
1 月之前 |
stephan
|
067f809402
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].
|
1 月之前 |
stephan
|
5be33f7b3f
Split the core-most CFLAGS, which should not be overridable (like -fPIC), into CFLAGS.core, so that went CFLAGS=... is passed on in a make invocation the -fPIC flag is not lost (as reported in [forum:39f8c54391d38c72 | forum post 39f8c543]).
|
1 月之前 |
stephan
|
e034c18591
General auto.def cleanups and docs.
|
1 月之前 |
stephan
|
51d5aa0915
Calculate TCLLIBDIR in the makefile targets which use it, rather than via the configure script. This enables its use in static makefiles.
|
1 月之前 |
stephan
|
fe5602ffd9
Perform some makefile acrobatics to get the tclConfig.sh state applied for static makefiles.
|
1 月之前 |
stephan
|
ee0b5e9bed
Document why -IPREFIX/include is now part of T.cc.sqlite.
|
1 月之前 |
stephan
|
99438c843c
Correct the default config value for HAVE_TCL (0 until proven otherwise) and fix the starting dir for SQLITE_AUTORECONFIG (formerly SQLITE_AUTOREMAKE), as reported in [forum:8ab69387008f2f6c | forum post 8ab69387008f2f6c].
|
1 月之前 |