stephan
|
df9b89932f
Adapt [https://fossil-scm.org/home/info/3bff7b92d6d|Fossil SCM patch 3bff7b92d6d], applying -lrt for platforms which need it for one of {fdatasync, nanosleep}.
|
4 days ago |
stephan
|
63f4926524
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].
|
1 week ago |
stephan
|
189a4a0bbb
Mac-specific build fixes discussed in [forum:9dfd5b8fd525a5d7|forum thread 9dfd5b8fd525a5d7]: rename dylib links and add legacy-compatibility versioning stamps to libsqlite3.dylib.
|
1 week ago |
stephan
|
17dca772e0
Get the CLI shell building in the autoconf bundle.
|
3 weeks ago |
stephan
|
e52cdadea7
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].
|
4 weeks ago |
stephan
|
bba1953426
Tiny makefile/configure script doc tweaks. No functional changes.
|
2 months ago |
stephan
|
2aac896611
Remove some outdated docs from Makefile.in.
|
2 months ago |
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.
|
2 months ago |
stephan
|
0cf7131555
Add links to [/forumpost/5a3b44f510df8ded|the SONAME discussion] at relevant places in auto.def and the makefiles. No functional changes.
|
2 months ago |
drh
|
914e32f24a
Use shared-library flags, not shared-object flags, to create shared libraries.
|
2 months ago |
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.
|
2 months ago |
stephan
|
0df847cc77
Remove the .POSIX entries from the makefiles because they cause portability problems rather than solve them.
|
2 months ago |
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.
|
3 months ago |
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.
|
3 months ago |
stephan
|
98be43ed73
Fix a state makefile dependency which refered to the now-removed sqlite_cfg.h.in.
|
3 months ago |
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.
|
3 months ago |
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].
|
3 months ago |
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.
|
3 months ago |
stephan
|
2c8d251956
Remove some dead makefile code.
|
3 months ago |
stephan
|
2fd38836dc
Fix typo of --libexec ==> --libexecdir, discovered via audit of a downstream build script. Unrelated doc touchups.
|
3 months ago |
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].
|
3 months ago |
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.
|
3 months ago |
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].
|
3 months ago |
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.
|
3 months ago |
drh
|
03cfce20c9
Fix the clean-autosetup target in Makefile.in so that it does not fail even
|
3 months ago |
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.
|
3 months ago |
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).
|
3 months ago |
drh
|
4f0529e33e
Adjust Makefile.in to honor the CC environment variable. Add the
|
3 months ago |
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].
|
3 months ago |
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]).
|
3 months ago |