summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-07-31 02:31:53 (GMT)
committerredman <redman@noemail.net>1999-07-31 02:31:53 (GMT)
commit1359bed461624e77b6d07de0eef501915b0922ab (patch)
treeb2acbc4a74e8153e67398523b40caffe0f139de0 /win
parent961a0732d81223573d6a06edea6fb872270dfb23 (diff)
downloadtk-1359bed461624e77b6d07de0eef501915b0922ab.zip
tk-1359bed461624e77b6d07de0eef501915b0922ab.tar.gz
tk-1359bed461624e77b6d07de0eef501915b0922ab.tar.bz2
* win/makefile.vc: Corrected building threaded tktest.exe on
Windows. Needed to link in .obj files from Tcl, needs to change later so that code is in Tk and doesn't require a Tcl build. Also added runtest target. FossilOrigin-Name: 0976632cca8aed23dd1bd9244dd577b47b56f2be
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc12
1 files changed, 7 insertions, 5 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 58f111b..29ca19c 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-1997 Sun Microsystems, Inc.
-# RCS: @(#) $Id: makefile.vc,v 1.26 1999/07/09 02:10:07 stanton Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.27 1999/07/31 02:31:57 redman Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -100,8 +100,7 @@ TKTESTOBJS = \
$(TMPDIR)\tkTest.obj \
$(TMPDIR)\tkSquare.obj \
$(TMPDIR)\testMain.obj \
-# the tkThreadTest.c file has not been checked it yet.
-# $(TMPDIR)\tkThreadTest.obj
+ $(TCLLIBDIR)\tclThreadTest.obj
XLIBOBJS = \
$(TMPDIR)\xcolors.obj \
@@ -229,7 +228,7 @@ RCDIR = $(WINDIR)\rc
TK_INCLUDES = -I$(WINDIR) -I$(GENERICDIR) -I$(BITMAPDIR) -I$(XLIBDIR) \
-I$(TCLDIR)\generic
-TK_DEFINES = $(DEBUGDEFINES)
+TK_DEFINES = -D__WIN32__ $(DEBUGDEFINES) $(THREADDEFINES)
TK_CFLAGS = $(cdebug) $(cflags) $(cvarsdll) $(include32) \
$(TK_INCLUDES) $(TK_DEFINES) -DUSE_TCL_STUBS
@@ -336,7 +335,10 @@ test: setup $(TKTEST) $(TKLIB) $(CAT32)
set PATH=$(TCLDIR)\win\$(TMPDIRNAME);$(PATH)
$(TKTEST) $(ROOT)/tests/all.tcl | $(CAT32)
-# copy $(TCLDIR)\bin\pkgIndex.tcl $(OUTDIR)
+runtest: setup $(TKTEST) $(TKLIB) $(CAT32)
+ set TCL_LIBRARY=$(TCLDIR)/library
+ set PATH=$(TCLDIR)\win\$(TMPDIRNAME);$(PATH)
+ $(TKTEST)
console-wish : all $(WISHC)