summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-29 11:12:24 (GMT)
committerescoffon <escoffon>1998-07-29 11:12:24 (GMT)
commit9e0ef81eaf9e878795a2c4cd79e2b442c0b99a3b (patch)
treebf1e704d584230c31ec1c196b545a617d7dbeaec
parenteb1bc81f09245c679576e4effe9b3310ed833842 (diff)
downloadtcl-9e0ef81eaf9e878795a2c4cd79e2b442c0b99a3b.zip
tcl-9e0ef81eaf9e878795a2c4cd79e2b442c0b99a3b.tar.gz
tcl-9e0ef81eaf9e878795a2c4cd79e2b442c0b99a3b.tar.bz2
modified to support the new EXTERN macro, which has support for DLL
import/export mechanisms. - Defines DLL_BUILD and BUILD_tcl. - Still uses the .def file for the DLLs, we'll phase it out later.
-rw-r--r--win/makefile.vc18
1 files changed, 15 insertions, 3 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 627c41e..500e69c 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -422,18 +422,30 @@ install-libraries:
$(TMPDIR)\testMain.obj: $(WINDIR)\tclAppInit.c
$(cc32) $(TCL_CFLAGS) -DTCL_TEST -Fo$(TMPDIR)\testMain.obj $?
+$(TMPDIR)\tclTest.obj: $(GENERICDIR)\tclTest.c
+ $(cc32) $(TCL_CFLAGS) -Fo$@ $?
+
+$(TMPDIR)\tclTestObj.obj: $(GENERICDIR)\tclTestObj.c
+ $(cc32) $(TCL_CFLAGS) -Fo$@ $?
+
+$(TMPDIR)\tclWinTest.obj: $(WINDIR)\tclWinTest.c
+ $(cc32) $(TCL_CFLAGS) -Fo$@ $?
+
+$(TMPDIR)\tclAppInit.obj : $(WINDIR)\tclAppInit.c
+ $(cc32) $(TCL_CFLAGS) -Fo$@ $?
+
#
# Implicit rules
#
{$(WINDIR)}.c{$(TMPDIR)}.obj:
- $(cc32) $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
+ $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
{$(GENERICDIR)}.c{$(TMPDIR)}.obj:
- $(cc32) $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
+ $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
{$(ROOT)\compat}.c{$(TMPDIR)}.obj:
- $(cc32) $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
+ $(cc32) -DDLL_BUILD -DBUILD_tcl $(TCL_CFLAGS) -Fo$(TMPDIR)\ $<
{$(WINDIR)}.rc{$(TMPDIR)}.res:
$(rc32) -fo $@ -r -i $(GENERICDIR) -i $(WINDIR) -D__WIN32__ \