summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-23 21:42:15 (GMT)
committernijtmans <nijtmans>2010-10-23 21:42:15 (GMT)
commit118b3a147bb0d54069c2190fa61bdd06dce15cd9 (patch)
treebf3164b3d51b8a1ddc794407ccc97a6d963a34f0
parent73bc53b6ba99bbfdf85c62f6d341014afb443fcf (diff)
downloadtcl-118b3a147bb0d54069c2190fa61bdd06dce15cd9.zip
tcl-118b3a147bb0d54069c2190fa61bdd06dce15cd9.tar.gz
tcl-118b3a147bb0d54069c2190fa61bdd06dce15cd9.tar.bz2
Update for VS10
-rw-r--r--ChangeLog1
-rw-r--r--win/rules.vc19
2 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ffca67..5093b7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* generic/tclUniData.c: (re-generated)
* generic/regc_locale.c:(re-generated)
* generic/regcomp.c: fix comment/signatures referencing regc_locale
+ * win/rules.vc Update for VS10
2010-09-24 Andreas Kupries <andreask@activestate.com>
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.
#----------------------------------------------------------