summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-20 16:06:53 (GMT)
committerescoffon <escoffon>1998-07-20 16:06:53 (GMT)
commit1b187b25e0c1384a2c94a7ed9f5e208da28f8b04 (patch)
treef27a85279b94557adcf8593eb99cb397cda4978d /win
parentb42ca102dd95a6ab6f401e78dc76265d5239e0d4 (diff)
downloadtk-1b187b25e0c1384a2c94a7ed9f5e208da28f8b04.zip
tk-1b187b25e0c1384a2c94a7ed9f5e208da28f8b04.tar.gz
tk-1b187b25e0c1384a2c94a7ed9f5e208da28f8b04.tar.bz2
added the ability to specify the name prefix for the generated binaries
instead of fixing it at "tcl".
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc28
1 files changed, 16 insertions, 12 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index e2a2d62..2d0ebb1 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -4,7 +4,7 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Copyright (c) 1995-1996 Sun Microsystems, Inc.
-# SCCS: %Z% $Id: makefile.vc,v 1.2 1998/07/01 18:48:48 escoffon Exp $
+# SCCS: %Z% $Id: makefile.vc,v 1.3 1998/07/20 16:06:53 escoffon Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -43,29 +43,33 @@ NODEBUG = 1
# Do not modify below this line
######################################################################
+TCLNAMEPREFIX = tcl
+TKNAMEPREFIX = tcl
+WISHNAMEPREFIX = wish
VERSION = 80
+BINROOT = .
!IF "$(NODEBUG)" == "1"
-TMPDIR = Release
+TMPDIR = $(BINROOT)\Release
DBGX =
!ELSE
-TMPDIR = Debug
+TMPDIR = $(BINROOT)\Debug
DBGX = d
!ENDIF
OUTDIR = $(TMPDIR)
-TCLLIB = tcl$(VERSION)$(DBGX).lib
-TCLPLUGINLIB = tcl$(VERSION)p.lib
-TKDLLNAME = tk$(VERSION)$(DBGX).dll
+TCLLIB = $(TCLNAMEPREFIX)$(VERSION)$(DBGX).lib
+TCLPLUGINLIB = $(TCLNAMEPREFIX)$(VERSION)p.lib
+TKDLLNAME = $(TKNAMEPREFIX)$(VERSION)$(DBGX).dll
TKDLL = $(OUTDIR)\$(TKDLLNAME)
-TKLIB = $(OUTDIR)\tk$(VERSION)$(DBGX).lib
-TKPLUGINDLLNAME = tk$(VERSION)p$(DBG).dll
+TKLIB = $(OUTDIR)\$(TKNAMEPREFIX)$(VERSION)$(DBGX).lib
+TKPLUGINDLLNAME = $(TKNAMEPREFIX)$(VERSION)p$(DBG).dll
TKPLUGINDLL = $(OUTDIR)\$(TKPLUGINDLLNAME)
-TKPLUGINLIB = $(OUTDIR)\tk$(VERSION)p$(DBGX).lib
+TKPLUGINLIB = $(OUTDIR)\$(TKNAMEPREFIX)$(VERSION)p$(DBGX).lib
-WISH = $(OUTDIR)\wish$(VERSION)$(DBGX).exe
-WISHP = $(OUTDIR)\wishp$(VERSION)$(DBGX).exe
-TKTEST = $(OUTDIR)\tktest.exe
+WISH = $(OUTDIR)\$(WISHNAMEPREFIX)$(VERSION)$(DBGX).exe
+WISHP = $(OUTDIR)\$(WISHNAMEPREFIX)p$(VERSION)$(DBGX).exe
+TKTEST = $(OUTDIR)\$(TKNAMEPREFIX)test.exe
DUMPEXTS = $(TMPDIR)\dumpexts.exe
WISHOBJS = \