summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
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.vc
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.vc')
-rw-r--r--win/makefile.vc5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index a2d613d..029a462 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.100.2.3 2003/03/23 03:10:13 kennykb Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.100.2.4 2003/07/16 19:34:14 mdejong Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -355,7 +355,8 @@ crt = -MTd
!endif
TCL_INCLUDES = -I"$(WINDIR)" -I"$(GENERICDIR)"
-BASE_CLFAGS = $(cflags) $(cdebug) $(crt) $(TCL_INCLUDES) -DTCL_DBGX=$(DBGX)
+BASE_CLFAGS = $(cflags) $(cdebug) $(crt) $(TCL_INCLUDES) \
+ -DTCL_PIPE_DLL=\"$(TCLPIPEDLLNAME)\"
CON_CFLAGS = $(cflags) $(cdebug) $(crt) -DCONSOLE
TCL_CFLAGS = $(BASE_CLFAGS) $(OPTDEFINES)