G95 makefiles:
_Always_ use forward slashes when using copy. Added OSTYPE to makef95.env to fool makefiles into thinking that MSYS is being used, even when it is, but only from DOS. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -343,9 +343,12 @@ $(ARCHINCDIR)/wx:
|
|||||||
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
|
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
|
||||||
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
|
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
|
||||||
|
|
||||||
$(SETUP_H): $(ARCHINCDIR)/wx
|
# Copy ALWAYS uses forward slashes now.
|
||||||
$(COPY) $(WXDIR)/include/wx/msw/setup.h $@
|
|
||||||
|
|
||||||
|
$(SETUP_H): $(ARCHINCDIR)/wx
|
||||||
|
$(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@)
|
||||||
|
|
||||||
|
# $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
|
||||||
# $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
|
# $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
|
||||||
|
|
||||||
ifndef WXMAKINGDLL
|
ifndef WXMAKINGDLL
|
||||||
|
@@ -15,8 +15,14 @@
|
|||||||
MINGW32=1
|
MINGW32=1
|
||||||
|
|
||||||
# Set to the version you have
|
# Set to the version you have
|
||||||
#MINGW32VERSION=2.95
|
MINGW32VERSION=2.95
|
||||||
MINGW32VERSION=3.0
|
#MINGW32VERSION=3.0
|
||||||
|
|
||||||
|
# If we're using MSYS, or other utilities that
|
||||||
|
# use forward slashes, we need to set this when
|
||||||
|
# invoking the makefile from DOS, or the wrong separators
|
||||||
|
# will be assumed.
|
||||||
|
OSTYPE=msys
|
||||||
|
|
||||||
# If building DLL, the version
|
# If building DLL, the version
|
||||||
WXVERSION=233
|
WXVERSION=233
|
||||||
|
@@ -546,9 +546,12 @@ $(ARCHINCDIR)/wx:
|
|||||||
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
|
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
|
||||||
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
|
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
|
||||||
|
|
||||||
$(SETUP_H): $(ARCHINCDIR)/wx
|
# Copy ALWAYS uses forward slashes now.
|
||||||
$(COPY) $(WXDIR)/include/wx/msw/setup.h $@
|
|
||||||
|
|
||||||
|
$(SETUP_H): $(ARCHINCDIR)/wx
|
||||||
|
$(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@)
|
||||||
|
|
||||||
|
# $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
|
||||||
# $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
|
# $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
|
||||||
|
|
||||||
ifndef WXMAKINGDLL
|
ifndef WXMAKINGDLL
|
||||||
|
Reference in New Issue
Block a user