SQLite

Check-in [e5f1a01f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Adjust Makefile.in to honor the CC environment variable. Add the "show-variables" target to main.mk, for debugging.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e5f1a01f9f574a64e464c66c1b88f76aeea83f0bbe697c53bb63d3592d93e55e
User & Date: drh 2024-10-30 19:13:07
Context
2024-10-30
22:09
proj.tcl/main.mk doc updates. No functional changes. (check-in: e06574c6 user: stephan tags: trunk)
19:13
Adjust Makefile.in to honor the CC environment variable. Add the "show-variables" target to main.mk, for debugging. (check-in: e5f1a01f user: drh tags: trunk)
14:03
Fix the CLI so that it can use either the canonical Antirez linenoise (with HAVE_LINENOISE=1) or Steve Bennett's enhanced linenoise that works on the Win32 console as well as on Unix (with HAVE_LINENOISE=2). The ./configure script detects which one to use and sets HAVE_LINENOISE accordingly. (check-in: c0048e44 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to Makefile.in.
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#

INSTALL = @BIN_INSTALL@
AR = @AR@
AR.flags = cr # TODO? Add a configure test to determine this?
CC = @CC@
B.cc = @CC_FOR_BUILD@ @BUILD_CFLAGS@
T.cc = @CC@
#
# CFLAGS is problematic because it is frequently overridden when
# invoking make, which loses things like -fPIC. So... let's avoid
# using it directly and instead add a level of indirection.  We
# combine CFLAGS and CPPFLAGS here because that's the way the legacy
# build did it.
#







|







92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#

INSTALL = @BIN_INSTALL@
AR = @AR@
AR.flags = cr # TODO? Add a configure test to determine this?
CC = @CC@
B.cc = @CC_FOR_BUILD@ @BUILD_CFLAGS@
T.cc = $(CC)
#
# CFLAGS is problematic because it is frequently overridden when
# invoking make, which loses things like -fPIC. So... let's avoid
# using it directly and instead add a level of indirection.  We
# combine CFLAGS and CPPFLAGS here because that's the way the legacy
# build did it.
#
Changes to main.mk.
2144
2145
2146
2147
2148
2149
2150








clean-.:
clean:	clean-. tidy
	rm -rf omittest* testrunner* testdir*

# Clean up everything.  No exceptions.
distclean-.:
distclean:	distclean-. clean















>
>
>
>
>
>
>
>
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
clean-.:
clean:	clean-. tidy
	rm -rf omittest* testrunner* testdir*

# Clean up everything.  No exceptions.
distclean-.:
distclean:	distclean-. clean


# Show important variable settings.
show-variables:	
	@echo "CC          = $(CC)"
	@echo "B.cc        = $(B.cc)"
	@echo "T.cc        = $(T.cc)"
	@echo "T.cc.sqlite = $(T.cc.sqlite)"