diff options
author | davygrvy <davygrvy> | 2004-02-08 01:38:03 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2004-02-08 01:38:03 (GMT) |
commit | cc430100da5c0e5b45bd8295b123b8464b1730dc (patch) | |
tree | d61c26056c1f9c057cf111244dd03a44ef225a09 /win/rules.vc | |
parent | 89863e265fc2042b971977d9184e3904b53e015e (diff) | |
download | tk-cc430100da5c0e5b45bd8295b123b8464b1730dc.zip tk-cc430100da5c0e5b45bd8295b123b8464b1730dc.tar.gz tk-cc430100da5c0e5b45bd8295b123b8464b1730dc.tar.bz2 |
* win/makefile.vc:
* win/rules.vc:
* win/rc/tk.rc:
* win/rc/wish.rc: Now supports the 'unchecked' option when building.
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/win/rules.vc b/win/rules.vc index 03af7cc..dff158c 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -10,7 +10,7 @@ # Copyright (c) 2001-2003 David Gravereaux. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.10 2004/02/01 10:40:07 davygrvy Exp $ +# RCS: @(#) $Id: rules.vc,v 1.11 2004/02/08 01:38:03 davygrvy Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -129,6 +129,7 @@ MSVCRT = 0 LOIMPACT = 0 TCL_USE_STATIC_PACKAGES = 0 USE_THREAD_ALLOC = 0 +UNCHECKED = 0 !else !if [nmakehlp -f $(OPTS) "static"] !message *** Doing static @@ -178,6 +179,12 @@ USE_THREAD_ALLOC = 1 !else USE_THREAD_ALLOC = 0 !endif +!if [nmakehlp -f $(OPTS) "unchecked"] +!message *** Doing unchecked +UNCHECKED = 1 +!else +UNCHECKED = 0 +!endif !endif @@ -195,14 +202,25 @@ TCL_USE_STATIC_PACKAGES = 0 # by accident. #---------------------------------------------------------- +#---------------------------------------- +# Naming convention: +# t = full thread support. +# s = static library (as opposed to an +# import library) +# g = linked to the debug enabled C +# run-time. +# x = special static build when it +# links to the dynamic C run-time. +#---------------------------------------- SUFX = tsgx !if $(DEBUG) BUILDDIRTOP = Debug -DBGX = g !else BUILDDIRTOP = Release -DBGX = +!endif + +!if !$(DEBUG) || $(DEBUG) && $(UNCHECKED) SUFX = $(SUFX:g=) !endif |