summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-03-08 21:50:34 (GMT)
committerhobbs <hobbs>2005-03-08 21:50:34 (GMT)
commitdd554b7d2ad1bdc8a120c1f6627e43035d454420 (patch)
tree59ade66872eb496e80b6d65e9e81745f018aa536 /win/makefile.vc
parent78b19eb0cf87919273d02fb4b527223ad94b0e0b (diff)
downloadtcl-dd554b7d2ad1bdc8a120c1f6627e43035d454420.zip
tcl-dd554b7d2ad1bdc8a120c1f6627e43035d454420.tar.gz
tcl-dd554b7d2ad1bdc8a120c1f6627e43035d454420.tar.bz2
* win/makefile.vc: clarify necessary defined vars that can come
from MSVC or the Platform SDK.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc32
1 files changed, 18 insertions, 14 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index b03f1f4..31b5b67 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -8,36 +8,40 @@
#
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
-# Copyright (c) 2001 ActiveState Corporation.
+# Copyright (c) 2001-2005 ActiveState Corporation.
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.100.2.5 2004/11/16 23:39:52 andreas_kupries Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.100.2.6 2005/03/08 21:50:37 hobbs Exp $
#------------------------------------------------------------------------------
-!if "$(MSVCDIR)" == ""
+# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
+# or with the MS Platform SDK (MSSDK)
+!if !defined(MSDEVDIR) && !defined(MSVCDIR) && !defined(MSSDK)
MSG = ^
-You'll need to run vcvars32.bat from Developer Studio, first, to setup^
-the environment. Jump to this line to read the new instructions.
+You need to run vcvars32.bat from Developer Studio or setenv.bat from the^
+Platform SDK first to setup the environment. Jump to this line to read^
+the build instructions.
!error $(MSG)
!endif
#------------------------------------------------------------------------------
# HOW TO USE this makefile:
#
-# 1) It is now necessary to have %MSVCDir% set in the environment. This is used
-# as a check to see if vcvars32.bat had been run prior to running nmake or
-# during the installation of Microsoft Visual C++, MSVCDir had been set
-# globally and the PATH adjusted. Either way is valid.
+# 1) It is now necessary to have MSVCDir, MSDevDir or MSSDK set in the
+# environment. This is used as a check to see if vcvars32.bat had been
+# run prior to running nmake or during the installation of Microsoft
+# Visual C++, MSVCDir had been set globally and the PATH adjusted.
+# Either way is valid.
#
# You'll need to run vcvars32.bat contained in the MsDev's vc(98)/bin
-# directory to setup the proper environment, if needed, for your current
-# setup. This is a needed bootstrap requirement and allows the swapping of
-# different environments to be easier.
+# directory to setup the proper environment, if needed, for your
+# current setup. This is a needed bootstrap requirement and allows the
+# swapping of different environments to be easier.
#
# 2) To use the Platform SDK (not expressly needed), run setenv.bat after
-# vcvars32.bat according to the instructions for it. This can also turn on
-# the 64-bit compiler, if your SDK has it.
+# vcvars32.bat according to the instructions for it. This can also
+# turn on the 64-bit compiler, if your SDK has it.
#
# 3) Targets are:
# release -- Builds the core, the shell and the dlls. (default)