]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ownerdrw/Makefile.in
compilation fix for wxUniv/GTK (closes #9849)
[wxWidgets.git] / samples / ownerdrw / Makefile.in
index 8513ea04120a711847df7f5e083876e2898b12b2..d511ead9959a7ed81f50157484991f1aa9e46e3b 100644 (file)
@@ -96,11 +96,13 @@ COND_PLATFORM_OS2_1___ownerdrw___os2_emxbindcmd = $(NM) ownerdrw$(EXEEXT) | if \
 @COND_TOOLKIT_MSW@     $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
 @COND_PLATFORM_OS2_1@__ownerdrw_os2_lib_res = \
 @COND_PLATFORM_OS2_1@  $(top_srcdir)/include/wx/os2/wx.res
+@COND_PLATFORM_MACOSX_1@__ownerdrw_app_Contents_PkgInfo___depname \
+@COND_PLATFORM_MACOSX_1@       = ownerdrw.app/Contents/PkgInfo
 @COND_PLATFORM_MACOSX_1@__ownerdrw_bundle___depname = ownerdrw_bundle
 @COND_TOOLKIT_COCOA@____ownerdrw_BUNDLE_TGT_REF_DEP = \
-@COND_TOOLKIT_COCOA@   ownerdrw.app/Contents/PkgInfo
+@COND_TOOLKIT_COCOA@   $(__ownerdrw_app_Contents_PkgInfo___depname)
 @COND_TOOLKIT_MAC@____ownerdrw_BUNDLE_TGT_REF_DEP = \
-@COND_TOOLKIT_MAC@     ownerdrw.app/Contents/PkgInfo
+@COND_TOOLKIT_MAC@     $(__ownerdrw_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)
@@ -160,25 +162,25 @@ ownerdrw$(EXEEXT): $(OWNERDRW_OBJECTS) $(__ownerdrw___win32rc)
        $(__ownerdrw___os2_emxbindcmd)
        $(SAMPLES_RPATH_POSTLINK)
 
-ownerdrw.app/Contents/PkgInfo: ownerdrw$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
-       mkdir -p ownerdrw.app/Contents
-       mkdir -p ownerdrw.app/Contents/MacOS
-       mkdir -p ownerdrw.app/Contents/Resources
-       
-       
-       sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
-       -e "s/EXECUTABLE/ownerdrw/" \
-       -e "s/VERSION/$(WX_VERSION)/" \
-       $(top_srcdir)/src/mac/carbon/Info.plist.in >ownerdrw.app/Contents/Info.plist
-       
-       
-       echo -n "APPL????" >ownerdrw.app/Contents/PkgInfo
-       
-       
-       ln -f ownerdrw$(EXEEXT) ownerdrw.app/Contents/MacOS/ownerdrw
-       
-       
-       cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns ownerdrw.app/Contents/Resources/wxmac.icns
+@COND_PLATFORM_MACOSX_1@ownerdrw.app/Contents/PkgInfo: ownerdrw$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
+@COND_PLATFORM_MACOSX_1@       mkdir -p ownerdrw.app/Contents
+@COND_PLATFORM_MACOSX_1@       mkdir -p ownerdrw.app/Contents/MacOS
+@COND_PLATFORM_MACOSX_1@       mkdir -p ownerdrw.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/ownerdrw/" \
+@COND_PLATFORM_MACOSX_1@       -e "s/VERSION/$(WX_VERSION)/" \
+@COND_PLATFORM_MACOSX_1@       $(top_srcdir)/src/osx/carbon/Info.plist.in >ownerdrw.app/Contents/Info.plist
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       echo -n "APPL????" >ownerdrw.app/Contents/PkgInfo
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       ln -f ownerdrw$(EXEEXT) ownerdrw.app/Contents/MacOS/ownerdrw
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       
+@COND_PLATFORM_MACOSX_1@       cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns ownerdrw.app/Contents/Resources/wxmac.icns
 
 @COND_PLATFORM_MACOSX_1@ownerdrw_bundle: $(____ownerdrw_BUNDLE_TGT_REF_DEP)