X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798..c94ad3c365a7a2b12346258f3d6b26432f36fd8d:/src/msw/makefile.dos diff --git a/src/msw/makefile.dos b/src/msw/makefile.dos index 0314a8a54d..a9a3678b9d 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 @@ -58,11 +62,17 @@ GENERICOBJS= \ $(GENDIR)\listctrl.obj \ $(GENDIR)\notebook.obj \ $(GENDIR)\panelg.obj \ + $(GENDIR)\progdlgg.obj \ + $(GENDIR)\prop.obj \ + $(GENDIR)\propform.obj \ + $(GENDIR)\proplist.obj \ $(GENDIR)\scrolwin.obj \ $(GENDIR)\splitter.obj \ $(GENDIR)\statusbr.obj \ $(GENDIR)\tabg.obj \ $(GENDIR)\textdlgg.obj\ + $(GENDIR)\tipdlg.obj\ + $(GENDIR)\prntdlgg.obj \ $(GENDIR)\treectrl.obj # Don't need these generic objects for Windows @@ -70,12 +80,12 @@ GENERICOBJS= \ # $(GENDIR)\fontdlgg.obj \ # $(GENDIR)\colrdlgg.obj \ # $(GENDIR)\printps.obj \ -# $(GENDIR)\prntdlgg.obj \ # $(GENDIR)\helpxlp.obj \ COMMONOBJS = \ $(COMMDIR)\config.obj \ $(COMMDIR)\cmndata.obj \ + $(COMMDIR)\dcbase.obj \ $(COMMDIR)\docview.obj \ $(COMMDIR)\docmdi.obj \ $(COMMDIR)\dynarray.obj \ @@ -102,12 +112,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 \ @@ -117,17 +129,19 @@ COMMONOBJS = \ $(COMMDIR)\zstream.obj \ $(COMMDIR)\datstrm.obj \ $(COMMDIR)\extended.obj \ - $(COMMDIR)\wincmn.obj + $(COMMDIR)\dlgcmn.obj \ + $(COMMDIR)\wincmn.obj \ + $(COMMDIR)\wxchar.obj # 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 \ @@ -137,6 +151,7 @@ MSWOBJS = \ $(MSWDIR)\button.obj \ $(MSWDIR)\checkbox.obj \ $(MSWDIR)\checklst.obj \ + $(MSWDIR)\caret.obj \ $(MSWDIR)\choice.obj \ $(MSWDIR)\clipbrd.obj \ $(MSWDIR)\colordlg.obj \ @@ -188,6 +203,7 @@ MSWOBJS = \ $(MSWDIR)\spinbutt.obj \ $(MSWDIR)\statbmp.obj \ $(MSWDIR)\statbox.obj \ + $(MSWDIR)\statline.obj \ $(MSWDIR)\stattext.obj \ $(MSWDIR)\tbarmsw.obj \ $(MSWDIR)\textctrl.obj \ @@ -203,6 +219,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 \ @@ -302,6 +323,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) @@ -587,6 +613,11 @@ $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(MSWDIR)/statline.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -607,6 +638,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) @@ -675,6 +711,11 @@ $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/dcbase.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/docview.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -755,22 +796,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) << @@ -820,6 +861,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) @@ -850,6 +896,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) @@ -905,11 +956,21 @@ $(COMMDIR)/extended.obj: $*.c $(CPPFLAGS2) /Fo$@ /c /Tp $*.c << +$(COMMDIR)/dlgcmn.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) cl @<< $(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 @@ -990,6 +1051,26 @@ $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(GENDIR)/progdlgg.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + +$(GENDIR)/prop.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + +$(GENDIR)/propform.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + +$(GENDIR)/proplist.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -1015,6 +1096,11 @@ $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(GENDIR)/tipdlg.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(GENDIR)/treectrl.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -1025,12 +1111,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