# =========================================================================
# This makefile was generated by
-# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
+# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
# Do not modify, all changes will be overwritten!
# =========================================================================
### Variables: ###
DESTDIR =
-WX_VERSION = 2.5.1
+WX_VERSION = 2.5.2
LIBDIRNAME = $(top_builddir)lib
CONTROLS_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
$(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
@COND_PLATFORM_OS2_1@__controls_os2_lib_res = \
@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
@COND_PLATFORM_MACOSX_1@__controls_bundle___depname = controls_bundle
+@COND_TOOLKIT_COCOA@____controls_BUNDLE_TGT_REF_DEP = \
+@COND_TOOLKIT_COCOA@ controls.app/Contents/PkgInfo
+@COND_TOOLKIT_MAC@____controls_BUNDLE_TGT_REF_DEP = \
+@COND_TOOLKIT_MAC@ controls.app/Contents/PkgInfo
COND_MONOLITHIC_0___WXLIB_CORE_p = \
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
-@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
+@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
- $(srcdir)/../../samples -o controls$(EXEEXT) Carbon.r \
- $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
+ $(srcdir)/../../samples -i $(top_srcdir)/include -o controls$(EXEEXT) \
+ Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r
@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
### Targets: ###
$(__controls___os2_emxbindcmd)
$(SAMPLES_RPATH_POSTLINK)
-controls.app/Contents/PkgInfo: controls$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
+controls.app/Contents/PkgInfo: controls$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
mkdir -p controls.app/Contents
mkdir -p controls.app/Contents/MacOS
mkdir -p controls.app/Contents/Resources
sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
-e "s/EXECUTABLE/controls/" \
-e "s/VERSION/$(WX_VERSION)/" \
- $(top_srcdir)/src/mac/Info.plist.in >controls.app/Contents/Info.plist
+ $(top_srcdir)/src/mac/carbon/Info.plist.in >controls.app/Contents/Info.plist
echo -n "APPL????" >controls.app/Contents/PkgInfo
ln -f controls$(EXEEXT) controls.app/Contents/MacOS/controls
- ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc controls.app/Contents/Resources/controls.rsrc
- ln -sf $(top_srcdir)/src/mac/wxmac.icns controls.app/Contents/Resources/wxmac.icns
+ cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc controls.app/Contents/Resources/controls.rsrc
+ cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns controls.app/Contents/Resources/wxmac.icns
-@COND_PLATFORM_MACOSX_1@controls_bundle: controls.app/Contents/PkgInfo
+@COND_PLATFORM_MACOSX_1@controls_bundle: $(____controls_BUNDLE_TGT_REF_DEP)
data:
@mkdir -p .
$(CXXC) -c -o $@ $(CONTROLS_CXXFLAGS) $<
controls_controls_rc.o: $(srcdir)/controls.rc
- $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples
+ $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
# Include dependency info, if present: