X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66e23ad2081689dad6e829b9667cdbc93ac45154..889f0b7c67f207f230d8bf9f558ae35445d57e10:/src/msw/makefile.dos?ds=sidebyside diff --git a/src/msw/makefile.dos b/src/msw/makefile.dos index 27aafb2fa4..f2247e551d 100644 --- a/src/msw/makefile.dos +++ b/src/msw/makefile.dos @@ -26,12 +26,10 @@ DUMMYOBJ=dummy.obj # This one overrides the others, to be consistent with the settings in wx_setup.h MINIMAL_WXWINDOWS_SETUP=0 -USE_XPM_IN_MSW=1 USE_CTL3D=1 !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" USE_CTL3D=0 -USE_XPM_IN_MSW=0 !endif PERIPH_LIBS= @@ -42,12 +40,6 @@ PERIPH_CLEAN_TARGET= # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) # !endif -!if "$(USE_XPM_IN_MSW)" == "1" -PERIPH_LIBS=$(WXDIR)\lib\xpm.lib $(PERIPH_LIBS) -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) @@ -138,6 +130,7 @@ COMMONOBJS1 = \ $(COMMDIR)\imagbmp.obj \ $(COMMDIR)\image.obj \ $(COMMDIR)\imaggif.obj \ + $(COMMDIR)\imagxpm.obj \ $(COMMDIR)\intl.obj \ $(COMMDIR)\ipcbase.obj \ $(COMMDIR)\layout.obj \ @@ -270,10 +263,6 @@ MSWOBJS2 = $(MSWDIR)\palette.obj \ $(MSWDIR)\wave.obj \ $(MSWDIR)\window.obj -# TODO: Implement XPM and PNG targets in this makefile! -# $(OLEDIR)\xpmhand \ -# $(OLEDIR)\pnghand \ - OBJECTS = $(COMMONOBJS1) $(COMMONOBJS2) $(GENERICOBJS) $(MSWOBJS1) $(MSWOBJS2) # Normal, static library @@ -975,6 +964,11 @@ $(COMMDIR)/imaggif.obj: $*.$(SRCSUFF) $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) << +$(COMMDIR)/imagxpm.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) +<< + $(COMMDIR)/intl.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) @@ -1377,18 +1371,6 @@ $(OBJECTS): $(WXDIR)/include/wx/setup.h # Peripheral components -$(WXDIR)\lib\xpm.lib: xpm - -xpm: - cd $(WXDIR)\src\xpm - nmake -f makefile.dos FINAL=$(FINAL) - cd $(WXDIR)\src\msw - -clean_xpm: - cd $(WXDIR)\src\xpm - nmake -f makefile.dos clean - cd $(WXDIR)\src\msw - zlib: cd $(WXDIR)\src\zlib nmake -f makefile.dos FINAL=$(FINAL)