summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2004-09-16 17:52:08 (GMT)
committerdavygrvy <davygrvy>2004-09-16 17:52:08 (GMT)
commite90907f43b27fab55a2283958f8f3b451cca8cdb (patch)
tree391ae5b95bcdc5437bc143d21c4937cdf238d297 /win
parentc0b97fcbba31a29e91424f07a2d9ae0a1498d4e5 (diff)
downloadtk-e90907f43b27fab55a2283958f8f3b451cca8cdb.zip
tk-e90907f43b27fab55a2283958f8f3b451cca8cdb.tar.gz
tk-e90907f43b27fab55a2283958f8f3b451cca8cdb.tar.bz2
added VC7-safe environment check used in the Tcl makefile.vc
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 118db27..51c254a 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,10 +12,10 @@
# Copyright (c) 2001-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.85 2004/09/10 12:32:24 vincentdarley Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.86 2004/09/16 17:52:08 davygrvy Exp $
#------------------------------------------------------------------------------
-!if "$(MSDEVDIR)" == ""
+!if !defined(MSDEVDIR) && !defined(MSVCDIR)
MSG = ^
You will need to run vcvars32.bat from Developer Studio, first, to setup^
the environment. Jump to this line to read the new instructions.
@@ -193,6 +193,8 @@ WISHNAMEPREFIX = wish
BINROOT = .
ROOT = ..
+TK_LIBRARY = $(ROOT)\library
+
TKIMPLIB = "$(OUT_DIR)\$(PROJECT)$(VERSION)$(SUFX).lib"
TKLIBNAME = $(PROJECT)$(VERSION)$(SUFX).$(EXT)
TKLIB = "$(OUT_DIR)\$(TKLIBNAME)"
@@ -485,7 +487,7 @@ tktest: setup $(TKTEST) $(CAT32)
test: setup $(TKTEST) $(TKLIB) $(CAT32)
set TCL_LIBRARY=$(TCL_LIBRARY)
- set TK_LIBRARY=$(ROOT)/library
+ set TK_LIBRARY=$(TK_LIBRARY)
!if $(TCLINSTALL)
set PATH=$(_TCLDIR)\bin;$(PATH)
!else
@@ -499,7 +501,7 @@ test: setup $(TKTEST) $(TKLIB) $(CAT32)
runtest: setup $(TKTEST) $(TKLIB) $(CAT32)
set TCL_LIBRARY=$(TCL_LIBRARY)
- set TK_LIBRARY=$(ROOT)/library
+ set TK_LIBRARY=$(TK_LIBRARY)
!if $(TCLINSTALL)
set PATH=$(_TCLDIR)\bin;$(PATH)
!else
@@ -509,7 +511,7 @@ runtest: setup $(TKTEST) $(TKLIB) $(CAT32)
rundemo: setup $(TKTEST) $(TKLIB) $(CAT32)
set TCL_LIBRARY=$(TCL_LIBRARY)
- set TK_LIBRARY=$(ROOT)/library
+ set TK_LIBRARY=$(TK_LIBRARY)
!if $(TCLINSTALL)
set PATH=$(_TCLDIR)\bin;$(PATH)
!else