diff options
author | escoffon <escoffon@noemail.net> | 1998-07-01 18:28:40 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-07-01 18:28:40 (GMT) |
commit | e189edac007c780b2661be5ac6bc9358db240ad4 (patch) | |
tree | 0adc3b36e7d07fd47e3f4d1a9363d8464b6fb58a /unix/Makefile.in | |
parent | 5efe2931d4db4b2928af315241bb0bbaf1d29df0 (diff) | |
download | tk-e189edac007c780b2661be5ac6bc9358db240ad4.zip tk-e189edac007c780b2661be5ac6bc9358db240ad4.tar.gz tk-e189edac007c780b2661be5ac6bc9358db240ad4.tar.bz2 |
- added support for configuration of debug/nodebug in configure script.
- also added a atring to append to generated libraries when built with
symbols.
FossilOrigin-Name: 889ecab30e2394c486ff5b327d198cd4ade1de08
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 837e5b5..88df1da 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -81,6 +81,20 @@ TCL_GENERIC_DIR = @TCL_SRC_DIR@/generic # for this version of Tk: TCL_BIN_DIR = @TCL_BIN_DIR@ +# Libraries built with optimization switches have this additional extension +DBGX = @DBGX@ + +# The default switches for optimization or debugging +CFLAGS_DEBUG = @CFLAGS_DEBUG@ +CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ + +# To change the compiler switches, for example to change from optimization to +# debugging symbols, change the following line: +#CFLAGS = $(CFLAGS_DEBUG) +#CFLAGS = $(CFLAGS_OPTIMIZE) +#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) +CFLAGS = $(@CFLAGS_DEFAULT@) + # A "-I" switch that can be used when compiling to make all of the # X11 include files accessible (the configure script will try to # set this value, and will cause it to be an empty string if the @@ -96,10 +110,6 @@ X11_LIB_SWITCHES = @XLIBSW@ # configure script. LIBS = @TCL_BUILD_LIB_SPEC@ @LIBS@ $(X11_LIB_SWITCHES) @DL_LIBS@ @MATH_LIBS@ -lc -# To change the compiler switches, for example to change from -O -# to -g, change the following line: -CFLAGS = -O - # To turn off the security checks that disallow incoming sends when # the X server appears to be insecure, reverse the comments on the # following lines: |