diff options
author | escoffon <escoffon@noemail.net> | 1998-07-29 11:12:24 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-07-29 11:12:24 (GMT) |
commit | 501aea73f2edf7c4576da3a222c82b2b7c1e496e (patch) | |
tree | bf1e704d584230c31ec1c196b545a617d7dbeaec /win/makefile.vc | |
parent | 62cd5a3f68979b8a92b08509f041217f90cc3546 (diff) | |
download | tcl-501aea73f2edf7c4576da3a222c82b2b7c1e496e.zip tcl-501aea73f2edf7c4576da3a222c82b2b7c1e496e.tar.gz tcl-501aea73f2edf7c4576da3a222c82b2b7c1e496e.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.
FossilOrigin-Name: 9a8d7964e93d3c5bf4f6fe8689505c95d5fe3372
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 18 |
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__ \ |