X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ea96ac392cb9e6a61302f229d3727ebfe5c336d..46ae103b9f08fc4e447d16a6a92b03cf55ee3189:/wxPython/distrib/msw/.makesetup.mk diff --git a/wxPython/distrib/msw/.makesetup.mk b/wxPython/distrib/msw/.makesetup.mk index 369b10c1dd..0cc9bef97a 100644 --- a/wxPython/distrib/msw/.makesetup.mk +++ b/wxPython/distrib/msw/.makesetup.mk @@ -1,14 +1,14 @@ -SRC=$(WXWIN)/include/wx/msw/setup.h -DIR=$(WXWIN)/lib -FILES= $(DIR)/vc_dll/mswd/wx/setup.h \ - $(DIR)/vc_dll/mswh/wx/setup.h \ - $(DIR)/vc_dll/mswud/wx/setup.h \ - $(DIR)/vc_dll/mswuh/wx/setup.h \ - $(DIR)/vc_dll/msw/wx/setup.h \ - $(DIR)/vc_dll/mswu/wx/setup.h \ +SRC=$(WXWIN)\include\wx\msw\setup.h +DIR=$(WXWIN)\lib +FILES= $(DIR)\vc_dll\mswd\wx\setup.h \ + $(DIR)\vc_dll\mswh\wx\setup.h \ + $(DIR)\vc_dll\mswud\wx\setup.h \ + $(DIR)\vc_dll\mswuh\wx\setup.h \ + $(DIR)\vc_dll\msw\wx\setup.h \ + $(DIR)\vc_dll\mswu\wx\setup.h \ \ - $(DIR)/vc_lib/msw/wx/setup.h \ + $(DIR)\vc_lib\msw\wx\setup.h \ UNI_SEDCMD=sed "s!wxUSE_UNICODE 0!wxUSE_UNICODE 1!g;s!wxUSE_UNICODE_MSLU 0!wxUSE_UNICODE_MSLU 1!g" @@ -21,37 +21,37 @@ test : # debug $(DIR)\vc_dll\mswd\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\mswd\wx mkdir $(DIR)\vc_dll\mswd\wx + cat $(SRC) > $@ # hybrid $(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) | $(HYB_SEDCMD) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\mswh\wx mkdir $(DIR)\vc_dll\mswh\wx + cat $(SRC) | $(HYB_SEDCMD) > $@ # release $(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\msw\wx mkdir $(DIR)\vc_dll\msw\wx + cat $(SRC) > $@ $(DIR)\vc_lib\msw\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_lib\msw\wx mkdir $(DIR)\vc_lib\msw\wx + cat $(SRC) > $@ # debug-uni $(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) | $(UNI_SEDCMD) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\mswud\wx mkdir $(DIR)\vc_dll\mswud\wx + cat $(SRC) | $(UNI_SEDCMD) > $@ # hybrid-uni $(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\mswuh\wx mkdir $(DIR)\vc_dll\mswuh\wx + cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@ # release-uni $(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk - cat $(SRC) | $(UNI_SEDCMD) > setup.h.tmp - mv setup.h.tmp $@ + -if not exist $(DIR)\vc_dll\mswu\wx mkdir $(DIR)\vc_dll\mswu\wx + cat $(SRC) | $(UNI_SEDCMD) > $@