X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3a43801df2f05c057892481df9d3cfe30fd8800..828f655fd31ac19d83cf7ec14d0b207e9b254977:/src/msw/makefile.dos diff --git a/src/msw/makefile.dos b/src/msw/makefile.dos index 07528f8dad..adba1c6dd1 100644 --- a/src/msw/makefile.dos +++ b/src/msw/makefile.dos @@ -45,6 +45,10 @@ PERIPH_TARGET=xpm $(PERIPH_TARGET) PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) !endif +# PNG and Zlib +PERIPH_TARGET=png zlib $(PERIPH_TARGET) +PERIPH_CLEAN_TARGET=clean_png clean_zlib $(PERIPH_CLEAN_TARGET) + GENDIR=..\generic COMMDIR=..\common OLEDIR=.\ole @@ -105,6 +109,7 @@ COMMONOBJS = \ $(COMMDIR)\timercmn.obj \ $(COMMDIR)\utilscmn.obj \ $(COMMDIR)\validate.obj \ + $(COMMDIR)\valgen.obj \ $(COMMDIR)\valtext.obj \ $(COMMDIR)\date.obj \ $(COMMDIR)\wxexpr.obj \ @@ -125,12 +130,12 @@ COMMONOBJS = \ # Doesn't compile (nested classes) # $(COMMDIR)\fileconf.obj\ +# Uses WIN32 registry functions +# $(COMMDIR)\mimetype.obj \ + # Fails when including png.h, on jmp_buf. # $(COMMDIR)\image.obj \ -# Don't need this -# $(COMMDIR)\postscrp.obj \ - MSWOBJS = \ $(MSWDIR)\accel.obj \ $(MSWDIR)\app.obj \ @@ -206,6 +211,11 @@ MSWOBJS = \ # $(OLEDIR)\dataobj.obj \ # $(OLEDIR)\oleutils.obj \ # $(OLEDIR)\uuid.obj +# $(MSWDIR)\tooltip.obj \ + +# TODO: Implement XPM and PNG targets in this makefile! +# $(OLEDIR)\xpmhand \ +# $(OLEDIR)\pnghand \ # Not appropriate for 16-bit Windows # $(MSWDIR)\registry.obj \ @@ -610,6 +620,11 @@ $(MSWDIR)/timer.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(MSWDIR)/tooltip.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -758,22 +773,22 @@ $(COMMDIR)/memory.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/module.obj: $*.$(SRCSUFF) +$(COMMDIR)/mimetype.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/object.obj: $*.$(SRCSUFF) +$(COMMDIR)/module.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/odbc.obj: $*.$(SRCSUFF) +$(COMMDIR)/object.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) +$(COMMDIR)/odbc.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << @@ -823,6 +838,11 @@ $(COMMDIR)/validate.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/valgen.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -1043,12 +1063,32 @@ $(OBJECTS): $(WXDIR)/include/wx/setup.h # Peripheral components xpm: - cd $(WXDIR)\contrib\wxxpm + cd $(WXDIR)\src\xpm nmake -f makefile.dos FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_xpm: - cd $(WXDIR)\contrib\wxxpm + cd $(WXDIR)\src\xpm + nmake -f makefile.dos clean + cd $(WXDIR)\src\msw + +zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\src\msw + +clean_zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.dos clean + cd $(WXDIR)\src\msw + +png: + cd $(WXDIR)\src\png + nmake -f makefile.dos FINAL=$(FINAL) + cd $(WXDIR)\src\msw + +clean_png: + cd $(WXDIR)\src\png nmake -f makefile.dos clean cd $(WXDIR)\src\msw