diff options
author | nijtmans <nijtmans> | 2010-10-23 21:42:15 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-10-23 21:42:15 (GMT) |
commit | f3eecfda59c82db4d384e61989803bd6742a591e (patch) | |
tree | bf3164b3d51b8a1ddc794407ccc97a6d963a34f0 /win | |
parent | f4543d108932da940043a980534f32ebdcd68946 (diff) | |
download | tcl-f3eecfda59c82db4d384e61989803bd6742a591e.zip tcl-f3eecfda59c82db4d384e61989803bd6742a591e.tar.gz tcl-f3eecfda59c82db4d384e61989803bd6742a591e.tar.bz2 |
Update for VS10
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/win/rules.vc b/win/rules.vc index 6cb2381..f4fad25 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2006 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.11.2.7 2007/09/11 00:10:48 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.11.2.8 2010/10/23 21:42:15 nijtmans Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -83,7 +83,7 @@ COPY = copy /y >NUL !message *** Compiler has 'Optimizations' OPTIMIZING = 1 !else -!message *** Compiler doesn't have 'Optimizations' +!message *** Compiler does not have 'Optimizations' OPTIMIZING = 0 !endif @@ -141,9 +141,9 @@ OPTIMIZATIONS = $(OPTIMIZATIONS) -YX ### test for pentium errata !if [nmakehlp -c -QI0f] !message *** Compiler has 'Pentium 0x0f fix' -COMPILERFLAGS = $(COMPILERFLAGSS) -QI0f +COMPILERFLAGS = $(COMPILERFLAGS) -QI0f !else -!message *** Compiler doesn't have 'Pentium 0x0f fix' +!message *** Compiler does not have 'Pentium 0x0f fix' !endif !endif @@ -163,7 +163,7 @@ COMPILERFLAGS = $(COMPILERFLAGS) -QIA64_Bx !message *** Linker has 'Win98 alignment problem' ALIGN98_HACK = 1 !else -!message *** Linker doesn't have 'Win98 alignment problem' +!message *** Linker does not have 'Win98 alignment problem' ALIGN98_HACK = 0 !endif !else @@ -191,6 +191,14 @@ VCVER=7 VCVER=8 _VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 _VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 +!elseif ![cl /Zs /Tc NUL 2>&1 | find "Version 15" > NUL] +VCVER=9 +_VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 +_VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 +!elseif ![cl /Zs /Tc NUL 2>&1 | find "Version 16" > NUL] +VCVER=10 +_VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 +_VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 !else VCVER=0 !endif @@ -389,7 +397,6 @@ FULLWARNINGS = 0 !endif !endif - #---------------------------------------------------------- # Set our defines now armed with our options. #---------------------------------------------------------- |