X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..f3bd1796cae0fc37a45f6b7a61b473e3ddc652ee:/src/msw/makefile.dos?ds=sidebyside diff --git a/src/msw/makefile.dos b/src/msw/makefile.dos index e7ef28afa6..a23c1db6a0 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 @@ -66,6 +70,7 @@ GENERICOBJS= \ $(GENDIR)\statusbr.obj \ $(GENDIR)\tabg.obj \ $(GENDIR)\textdlgg.obj\ + $(GENDIR)\prntdlgg.obj \ $(GENDIR)\treectrl.obj # Don't need these generic objects for Windows @@ -73,7 +78,6 @@ GENERICOBJS= \ # $(GENDIR)\fontdlgg.obj \ # $(GENDIR)\colrdlgg.obj \ # $(GENDIR)\printps.obj \ -# $(GENDIR)\prntdlgg.obj \ # $(GENDIR)\helpxlp.obj \ COMMONOBJS = \ @@ -105,12 +109,14 @@ COMMONOBJS = \ $(COMMDIR)\timercmn.obj \ $(COMMDIR)\utilscmn.obj \ $(COMMDIR)\validate.obj \ + $(COMMDIR)\valgen.obj \ $(COMMDIR)\valtext.obj \ $(COMMDIR)\date.obj \ $(COMMDIR)\wxexpr.obj \ $(COMMDIR)\hash.obj \ $(COMMDIR)\list.obj \ $(COMMDIR)\variant.obj \ + $(COMMDIR)\paper.obj \ $(COMMDIR)\string.obj \ $(COMMDIR)\time.obj \ $(COMMDIR)\y_tab.obj \ @@ -120,7 +126,8 @@ COMMONOBJS = \ $(COMMDIR)\zstream.obj \ $(COMMDIR)\datstrm.obj \ $(COMMDIR)\extended.obj \ - $(COMMDIR)\wincmn.obj + $(COMMDIR)\wincmn.obj \ + $(COMMDIR)\wxchar.obj # Doesn't compile (nested classes) # $(COMMDIR)\fileconf.obj\ @@ -131,9 +138,6 @@ COMMONOBJS = \ # 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 \ @@ -143,6 +147,7 @@ MSWOBJS = \ $(MSWDIR)\button.obj \ $(MSWDIR)\checkbox.obj \ $(MSWDIR)\checklst.obj \ + $(MSWDIR)\caret.obj \ $(MSWDIR)\choice.obj \ $(MSWDIR)\clipbrd.obj \ $(MSWDIR)\colordlg.obj \ @@ -209,6 +214,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 \ @@ -308,6 +318,11 @@ $(MSWDIR)/button.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(MSWDIR)/caret.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(MSWDIR)/choice.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -613,6 +628,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) @@ -781,11 +801,6 @@ $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << -$(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) - cl @<< -$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) -<< - $(COMMDIR)/process.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -831,6 +846,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) @@ -861,6 +881,11 @@ $(COMMDIR)/variant.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/paper.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/string.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -921,6 +946,11 @@ $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/wxchar.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c cl @<< $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c @@ -1051,12 +1081,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