]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/power/Makefile.in
adding generic BUNDLE_RESOURCES for copying any special resources into the bundle...
[wxWidgets.git] / samples / power / Makefile.in
index 24306d49991030fa7c7d8ce59e7360dd1a15a6f7..5ce6938096f23adcc2e2898f0350eff0b7f641d7 100644 (file)
@@ -97,10 +97,13 @@ COND_PLATFORM_OS2_1___power___os2_emxbindcmd = $(NM) power$(EXEEXT) | if grep -q
 @COND_PLATFORM_WIN32_1@__power___win32rc = power_sample_rc.o
 @COND_PLATFORM_OS2_1@__power_os2_lib_res = \
 @COND_PLATFORM_OS2_1@  $(top_srcdir)/include/wx/os2/wx.res
+@COND_PLATFORM_MACOSX_1@__power_app_Contents_PkgInfo___depname \
+@COND_PLATFORM_MACOSX_1@       = power.app/Contents/PkgInfo
 @COND_PLATFORM_MACOSX_1@__power_bundle___depname = power_bundle
 @COND_TOOLKIT_COCOA@____power_BUNDLE_TGT_REF_DEP = \
-@COND_TOOLKIT_COCOA@   power.app/Contents/PkgInfo
-@COND_TOOLKIT_MAC@____power_BUNDLE_TGT_REF_DEP = power.app/Contents/PkgInfo
+@COND_TOOLKIT_COCOA@   $(__power_app_Contents_PkgInfo___depname)
+@COND_TOOLKIT_MAC@____power_BUNDLE_TGT_REF_DEP = \
+@COND_TOOLKIT_MAC@     $(__power_app_Contents_PkgInfo___depname)
 COND_MONOLITHIC_0___WXLIB_CORE_p = \
        -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
@@ -159,25 +162,25 @@ power$(EXEEXT): $(POWER_OBJECTS) $(__power___win32rc)
        $(__power___os2_emxbindcmd)
        $(SAMPLES_RPATH_POSTLINK)
 
-power.app/Contents/PkgInfo: power$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
-       mkdir -p power.app/Contents
-       mkdir -p power.app/Contents/MacOS
-       mkdir -p power.app/Contents/Resources
-       
-       
-       sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
-       -e "s/EXECUTABLE/power/" \
-       -e "s/VERSION/$(WX_VERSION)/" \
-       $(top_srcdir)/src/mac/carbon/Info.plist.in >power.app/Contents/Info.plist
-       
-       
-       echo -n "APPL????" >power.app/Contents/PkgInfo
-       
-       
-       ln -f power$(EXEEXT) power.app/Contents/MacOS/power
-       
-       
-       cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns power.app/Contents/Resources/wxmac.icns
+@COND_PLATFORM_MACOSX_1@power.app/Contents/PkgInfo: power$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
+@COND_PLATFORM_MACOSX_1@       mkdir -p power.app/Contents
+@COND_PLATFORM_MACOSX_1@       mkdir -p power.app/Contents/MacOS
+@COND_PLATFORM_MACOSX_1@       mkdir -p power.app/Contents/Resources
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
+@COND_PLATFORM_MACOSX_1@       -e "s/EXECUTABLE/power/" \
+@COND_PLATFORM_MACOSX_1@       -e "s/VERSION/$(WX_VERSION)/" \
+@COND_PLATFORM_MACOSX_1@       $(top_srcdir)/src/osx/carbon/Info.plist.in >power.app/Contents/Info.plist
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       echo -n "APPL????" >power.app/Contents/PkgInfo
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       ln -f power$(EXEEXT) power.app/Contents/MacOS/power
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns power.app/Contents/Resources/wxmac.icns
 
 @COND_PLATFORM_MACOSX_1@power_bundle: $(____power_BUNDLE_TGT_REF_DEP)