summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-03-08 21:52:35 (GMT)
committerhobbs <hobbs>2005-03-08 21:52:35 (GMT)
commit5f26542526675ab831c4fcca8ada7aaf62b63946 (patch)
treede5a88c926f8e9b7131053c081a57937928bc0b4 /win/makefile.vc
parent476266e06c435aec3b4393aa5c33604769446873 (diff)
downloadtcl-5f26542526675ab831c4fcca8ada7aaf62b63946.zip
tcl-5f26542526675ab831c4fcca8ada7aaf62b63946.tar.gz
tcl-5f26542526675ab831c4fcca8ada7aaf62b63946.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 ad5b4cc..b18d51e 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-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.135 2004/10/27 20:53:38 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.136 2005/03/08 21:52:35 hobbs Exp $
#------------------------------------------------------------------------------
-!if !defined(MSDEVDIR) && !defined(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 %MSDevDir% 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++, MSDevDir 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)