diff options
author | nijtmans <nijtmans> | 2010-10-23 21:43:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-10-23 21:43:05 (GMT) |
commit | 52ff2939a9d7c26b6a44363781a81e2dd5574c19 (patch) | |
tree | 8b30072690e26b26beb32e3c6a4098e45b367886 | |
parent | 380904237a2f7ecdaefa758f5893dd8501b9ddaf (diff) | |
download | tk-52ff2939a9d7c26b6a44363781a81e2dd5574c19.zip tk-52ff2939a9d7c26b6a44363781a81e2dd5574c19.tar.gz tk-52ff2939a9d7c26b6a44363781a81e2dd5574c19.tar.bz2 |
Update for VS10
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | win/rules.vc | 19 |
2 files changed, 18 insertions, 7 deletions
@@ -1,3 +1,7 @@ +2010-10-23 Jan Nijtmans <nijtmans@users.sf.net> + + * win/rules.vc Update for VS10 + 2010-03-12 Jan Nijtmans <nijtmans@users.sf.net> * generic/tkButton.h [Bug 2956548] TkpButtonSetDefaults only @@ -3699,7 +3703,7 @@ [Merge from HEAD] Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards - reported by Jérôme Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on + reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on tcl-mac on 2004-03-22. * macosx/tkMacOSXKeyEvent.c (KLSInit): Add. diff --git a/win/rules.vc b/win/rules.vc index 678f4b3..ba87724 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.5.2.9 2007/09/11 00:13:12 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.5.2.10 2010/10/23 21:43:05 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 @@ -145,9 +145,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 @@ -167,7 +167,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 @@ -195,6 +195,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 @@ -393,7 +401,6 @@ FULLWARNINGS = 0 !endif !endif - #---------------------------------------------------------- # Set our defines now armed with our options. #---------------------------------------------------------- |