summaryrefslogtreecommitdiffstats
path: root/win/Makefile.in
diff options
context:
space:
mode:
authormdejong <mdejong>2003-07-16 19:34:14 (GMT)
committermdejong <mdejong>2003-07-16 19:34:14 (GMT)
commit807f03b48dcdb08f9acb0493b804a5b41d5bf7a0 (patch)
tree3b1898f02612bda19ba1bfd4a82f766277b976d5 /win/Makefile.in
parentedcb9d3655e60d05d4774eef38d89620d0a0e6a1 (diff)
downloadtcl-807f03b48dcdb08f9acb0493b804a5b41d5bf7a0.zip
tcl-807f03b48dcdb08f9acb0493b804a5b41d5bf7a0.tar.gz
tcl-807f03b48dcdb08f9acb0493b804a5b41d5bf7a0.tar.bz2
* win/Makefile.in: Don't define TCL_DBGX
symbol for every compile. Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This will break other build systems, so they will need to remove the TCL_DBGX define and replace it with a define for TCL_PIPE_DLL. * win/makefile.vc: Ditto. * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build env instead of trying to construct the dll name from already defined symbols. This approach is more flexible and better in the long run.
Diffstat (limited to 'win/Makefile.in')
-rw-r--r--win/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 929defc..d40a6f1 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.68 2003/01/28 11:03:53 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.68.2.1 2003/07/16 19:34:14 mdejong Exp $
VERSION = @TCL_VERSION@
@@ -85,7 +85,7 @@ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
#CFLAGS = $(CFLAGS_DEBUG)
#CFLAGS = $(CFLAGS_OPTIMIZE)
#CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
-CFLAGS = @CFLAGS@ @CFLAGS_DEFAULT@ -DTCL_DBGX=$(TCL_DBGX)
+CFLAGS = @CFLAGS@ @CFLAGS_DEFAULT@
# To enable compilation debugging reverse the comment characters on
# one of the following lines.
@@ -383,6 +383,10 @@ ${PIPE_DLL_FILE}: ${PIPE_OBJS}
tclWinInit.${OBJEXT}: tclWinInit.c
$(CC) -c $(CC_SWITCHES) -DBUILD_tcl $(EXTFLAGS) @DEPARG@ $(CC_OBJNAME)
+tclWinPipe.${OBJEXT}: tclWinPipe.c
+ $(CC) -c $(CC_SWITCHES) -DBUILD_tcl -DTCL_PIPE_DLL=\"$(PIPE_DLL_FILE)\" \
+ $(EXTFLAGS) @DEPARG@ $(CC_OBJNAME)
+
testMain.${OBJEXT}: tclAppInit.c
$(CC) -c $(CC_SWITCHES) -DTCL_TEST @DEPARG@ $(CC_OBJNAME)