diff options
author | hobbs <hobbs> | 2005-03-08 21:53:43 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-03-08 21:53:43 (GMT) |
commit | 9fc74a06806ba13332afec6311d42357b4df4ab3 (patch) | |
tree | d49d588e62603927b82e5f93daed2957488ec3bd /win | |
parent | a3f9819cb9212a7ef9d9803fcd50da955b0d55c1 (diff) | |
download | tk-9fc74a06806ba13332afec6311d42357b4df4ab3.zip tk-9fc74a06806ba13332afec6311d42357b4df4ab3.tar.gz tk-9fc74a06806ba13332afec6311d42357b4df4ab3.tar.bz2 |
* win/makefile.vc: clarify necessary defined vars that can come
from MSVC or the Platform SDK.
Diffstat (limited to 'win')
-rw-r--r-- | win/makefile.vc | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index c9644a1..b8d6c91 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.67.2.8 2004/10/29 11:52:42 patthoyts Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.67.2.9 2005/03/08 21:54:01 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 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 install of Microsoft Developer Studio, 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. (default) |