summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-01 18:01:03 (GMT)
committerescoffon <escoffon>1998-07-01 18:01:03 (GMT)
commit4574ec8c1da94b6a01b0de02a13e432135a318b9 (patch)
tree2ecf76c58c4e8422fd3ecc458ff656cb55d46a02 /unix/Makefile.in
parent14b51b9da52e85337007dfc59d89c8318c61ae16 (diff)
downloadtcl-4574ec8c1da94b6a01b0de02a13e432135a318b9.zip
tcl-4574ec8c1da94b6a01b0de02a13e432135a318b9.tar.gz
tcl-4574ec8c1da94b6a01b0de02a13e432135a318b9.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.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 93f8c2b..ce8cfd9 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -71,9 +71,19 @@ MAN3_INSTALL_DIR = $(MAN_INSTALL_DIR)/man3
# Tcl commands:
MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann
-# To change the compiler switches, for example to change from -O
-# to -g, change the following line:
-CFLAGS = -O
+# 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@)
# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines: