summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2003-06-16 18:36:44 (GMT)
committerandreas_kupries <akupries@shaw.ca>2003-06-16 18:36:44 (GMT)
commit1268ac3113dd4f5b5627c98afd15addcf608875a (patch)
tree2accbcfce059c2893b4f3a4073f383fe5a0487bf /win/rules.vc
parent474a30aa667f24a8686adf6e4054789d5f199484 (diff)
downloadtcl-1268ac3113dd4f5b5627c98afd15addcf608875a.zip
tcl-1268ac3113dd4f5b5627c98afd15addcf608875a.tar.gz
tcl-1268ac3113dd4f5b5627c98afd15addcf608875a.tar.bz2
* win/Makefile.in: Haven't heard back from David for a week.
* win/configure: Now committing the remaining changes. * win/configure.in: Note: In active contact with Helmut Giese * win/makefile.vc: about the borland relatedchanges. This part * win/rules.vc: will see future updates. * win/tcl.m4: * win/makefile.bc:
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc20
1 files changed, 18 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc
index fee4792..068c338 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -10,7 +10,7 @@
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: rules.vc,v 1.12 2003/03/06 03:05:00 davygrvy Exp $
+# RCS: @(#) $Id: rules.vc,v 1.13 2003/06/16 18:36:45 andreas_kupries Exp $
#------------------------------------------------------------------------------
!ifndef _RULES_VC
@@ -33,6 +33,9 @@ _INSTALLDIR = $(INSTALLDIR:/=\)
MACHINE = IX86
!endif
+!ifndef CFG_ENCODING
+CFG_ENCODING = \"cp1252\"
+!endif
#----------------------------------------------------------
# Set the proper copy method to avoid overwrite questions
@@ -266,7 +269,8 @@ TCL_COMPILE_DEBUG = 0
# Set our defines now armed with our options.
#----------------------------------------------------------
-OPTDEFINES =
+OPTDEFINES = -DTCL_CFGVAL_ENCODING=$(CFG_ENCODING)
+
!if $(TCL_MEM_DEBUG)
OPTDEFINES = -DTCL_MEM_DEBUG
!endif
@@ -283,6 +287,18 @@ OPTDEFINES = $(OPTDEFINES) -DUSE_THREAD_ALLOC=1
OPTDEFINES = $(OPTDEFINES) -DSTATIC_BUILD
!endif
+!if $(DEBUG)
+OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_DEBUG
+!elseif $(OPTIMIZING)
+OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_OPTIMIZED
+!endif
+!if $(PROFILE)
+OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_PROFILED
+!endif
+!if "$(MACHINE)" == "IA64"
+OPTDEFINES = $(OPTDEFINES) -DTCL_CFG_DO64BIT
+!endif
+
#----------------------------------------------------------
# Get common info used when building extensions.