summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2001-05-11 23:02:17 (GMT)
committermdejong <mdejong@noemail.net>2001-05-11 23:02:17 (GMT)
commit837ff2820206e2f0ec4af4d4d0ceed42b9a9ab59 (patch)
treefc14ce1d13ff13eb1bd838f2b5112d0b0d2a780a /unix/Makefile.in
parentbb1cd0944cb14337b51ffdfe55b03afec3d36098 (diff)
downloadtcl-837ff2820206e2f0ec4af4d4d0ceed42b9a9ab59.zip
tcl-837ff2820206e2f0ec4af4d4d0ceed42b9a9ab59.tar.gz
tcl-837ff2820206e2f0ec4af4d4d0ceed42b9a9ab59.tar.bz2
* unix/Makefile.in: Add a LDFLAGS variable to the
Makefile instead of directly substing @LDFLAGS@. * unix/configure: Regen. * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.win/tcl.m4 * win/Makefile.in: Move the setting of CFLAGS higher up in the Makefile. * win/configure: Regen. * win/configure.in: Use dnl to comment out macros so that they are not accidently expanded. * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@. FossilOrigin-Name: b415d56ee09857901ec51f29911fd70c611acc31
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index ceba578..7a4bb67 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.74 2001/04/25 19:54:55 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.75 2001/05/11 23:02:18 mdejong Exp $
VERSION = @TCL_VERSION@
@@ -89,6 +89,9 @@ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
CFLAGS = @CFLAGS@
+# Flags to pass to the linker
+LDFLAGS = @LDFLAGS@
+
# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines:
PROTO_FLAGS =
@@ -429,11 +432,11 @@ objs: ${OBJS}
tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
- ${CC} @LDFLAGS@ ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
+ ${CC} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
@TCL_LD_SEARCH_FLAGS@ -o tclsh
tcltest: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${BUILD_DLTEST}
- ${CC} @LDFLAGS@ ${TCLTEST_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
+ ${CC} ${LDFLAGS} ${TCLTEST_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} \
@TCL_LD_SEARCH_FLAGS@ -o tcltest