summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2002-04-10 18:04:17 (GMT)
committerdavygrvy <davygrvy>2002-04-10 18:04:17 (GMT)
commit6a87aaa8f6942ef9e0e585a4603598eb3e7fd27d (patch)
tree7360a24cbb7eff7aa5ecc3884f53dfbf77bfda2d
parent39d6f4411a5b5529710a0d40c82c880d3032ed47 (diff)
downloadtk-6a87aaa8f6942ef9e0e585a4603598eb3e7fd27d.zip
tk-6a87aaa8f6942ef9e0e585a4603598eb3e7fd27d.tar.gz
tk-6a87aaa8f6942ef9e0e585a4603598eb3e7fd27d.tar.bz2
Added a special rule for tkStubImg.c so it always is built with _DSTATIC_BUILD for use in the Stubs library.
-rw-r--r--win/makefile.vc7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 13006ca..e7b4729 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -7,7 +7,7 @@
# Copyright (c) 1998-2000 Ajuba Solutions.
# Copyright (c) 2001 ActiveState Corporation.
#
-# RCS: @(#) $Id: makefile.vc,v 1.33.2.3 2002/04/10 17:57:26 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.33.2.4 2002/04/10 18:04:17 davygrvy Exp $
# Does not depend on the presence of any environment variables in
# order to compile tcl; all needed information is derived from
@@ -446,7 +446,10 @@ $(TMPDIR)\tkSquare.obj: $(GENERICDIR)\tkSquare.c
$(TMPDIR)\winMain.obj: $(WINDIR)\winMain.c
$(cc32) $(WISH_CFLAGS) -Fo$@ $?
-$(TMPDIR)\tkStubLib.obj : $(GENERICDIR)\tkStubLib.c
+$(TMPDIR)\tkStubLib.obj: $(GENERICDIR)\tkStubLib.c
+ $(cc32) $(TK_CFLAGS) -DSTATIC_BUILD -Fo$@ $?
+
+$(TMPDIR)\tkStubImg.obj: $(GENERICDIR)\tkStubImg.c
$(cc32) $(TK_CFLAGS) -DSTATIC_BUILD -Fo$@ $?
#