diff options
author | patthoyts <patthoyts@noemail.net> | 2006-10-31 14:45:02 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2006-10-31 14:45:02 (GMT) |
commit | 0486003898e3f9eddcbd70c521c1af8267b775ea (patch) | |
tree | 5e46a32140b52ac1c774fb5714341f9f581df02b /win/rules.vc | |
parent | 0074491897431fb9025956e6cb435b227a954c27 (diff) | |
download | tk-0486003898e3f9eddcbd70c521c1af8267b775ea.zip tk-0486003898e3f9eddcbd70c521c1af8267b775ea.tar.gz tk-0486003898e3f9eddcbd70c521c1af8267b775ea.tar.bz2 |
Update to support ttk merge.
FossilOrigin-Name: f5ba36e6f973a6a92cb9e392c5dcb345ea369a37
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc index 4217753..e5f59a1 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.13 2006/10/19 00:48:26 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.14 2006/10/31 14:45:04 patthoyts Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -31,7 +31,7 @@ _INSTALLDIR = $(INSTALLDIR:/=\) !endif !ifndef MACHINE -!if "$(CPU)" == "" +!if "$(CPU)" == "" || "$(CPU)" == "i386" MACHINE = IX86 !else MACHINE = $(CPU) @@ -131,9 +131,12 @@ DEBUGFLAGS = $(DEBUGFLAGS) -GZ COMPILERFLAGS =-W3 +# In v13 -GL and -YX are incompatible. !if [nmakehlp -c -YX] +!if ![nmakehlp -c -GL] OPTIMIZATIONS = $(OPTIMIZATIONS) -YX !endif +!endif !if "$(MACHINE)" == "IX86" ### test for pentium errata @@ -207,6 +210,7 @@ LOIMPACT = 0 TCL_USE_STATIC_PACKAGES = 0 USE_THREAD_ALLOC = 0 UNCHECKED = 0 +HAVE_UXTHEME_H = 1 !else !if [nmakehlp -f $(OPTS) "static"] !message *** Doing static @@ -262,6 +266,12 @@ UNCHECKED = 1 !else UNCHECKED = 0 !endif +!if [nmakehlp -f $(OPTS) "noxp"] +!message *** Exclude support for XP theme +HAVE_UXTHEME_H = 0 +!else +HAVE_UXTHEME_H = 1 +!endif !endif |