X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f5e790cb1fa137bea4195268d95765b8bd4bd87..fe6b1b853aaa900356d12f69e8e3d84467221f4c:/build/bakefiles/wx.bkl?ds=sidebyside
diff --git a/build/bakefiles/wx.bkl b/build/bakefiles/wx.bkl
index 4d1ad461f5..58e38626de 100644
--- a/build/bakefiles/wx.bkl
+++ b/build/bakefiles/wx.bkl
@@ -24,7 +24,7 @@
-
+
$(MSVC6PRJ_MERGED_TARGETS_MULTILIB)
$(MSVC6PRJ_MERGED_TARGETS_MONOLIB)
@@ -61,20 +61,20 @@
xmllib
- (test -d utils/wxrc && cd utils/wxrc && $(DOLLAR)(MAKE) all) || true
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) all ; fi)
clean
- (test -d utils/wxrc && cd utils/wxrc && $(DOLLAR)(MAKE) clean) || true
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) clean ; fi)
install
wxrc
- (test -d utils/wxrc && cd utils/wxrc && $(DOLLAR)(MAKE) install) || true
+ (if test -f utils/wxrc/Makefile ; then cd utils/wxrc && $(DOLLAR)(MAKE) install ; fi)
@@ -97,23 +97,38 @@
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config
$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config
- (cd $(DESTDIR)$(BINDIR) && rm -f wx-config && $(LN_S) $(DESTDIR)$(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
+ (cd $(DESTDIR)$(BINDIR) && rm -f wx-config && $(LN_S) $(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
-
- $(BUILDDIR)
- lib/wx/include/$(TOOLCHAIN_FULLNAME)/wx/setup.h
- $(LIBDIR)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
-
+
+ msw/rcdefs.h
+
-
+
+
+
+ $(BUILDDIR)/lib/wx/include/$(TOOLCHAIN_FULLNAME)/wx
+
+
+ setup.h $(RCDEFS_H)
+
+
+ $(LIBDIR)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
+
+
+
+
+
+ is it time to use per-target <headers> now?
+
+
$(SRCDIR)/include
$(ALL_HEADERS)
$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)
-
+
@@ -141,7 +156,7 @@
all
$(MACOS_R)
- $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o $(MACOS_RSRC)
+ $(REZ) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o $(MACOS_RSRC)
$(DEREZ) $(MACOS_RSRC) -useDF >$(MACOS_R)
$(MACOS_RSRC) $(MACOS_R)
@@ -193,6 +208,33 @@
+
+
+
+
+ libdir_setup_wx
+ $(SETUPHDIR)/wx/msw
+
+
+
+
+
+ $(SETUPHDIR)\wx\msw\rcdefs.h
+
+ setup_h
+ libdir_setup_wx_msw
+ $(SRCDIR)/include/wx/msw/genrcdefs.h
+
+
+ $(DOLLAR)(CPP) "$(nativePaths(SRCDIR))\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
+
+
+
+
+
+
+