-
- sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
- -e "s/EXECUTABLE/nativdlg/" \
- -e "s/VERSION/$(WX_VERSION)/" \
- $(top_srcdir)/src/mac/Info.plist.in >nativdlg.app/Contents/Info.plist
-
-
- echo -n "APPL????" >nativdlg.app/Contents/PkgInfo
-
-
- ln -f nativdlg nativdlg.app/Contents/MacOS/nativdlg
-
-
- ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc nativdlg.app/Contents/Resources/nativdlg.rsrc
- ln -f $(top_srcdir)/src/mac/wxmac.icns nativdlg.app/Contents/Resources/wxmac.icns
-
-@COND_PLATFORM_MACOSX_1@nativdlg_bundle: nativdlg.app/Contents
+ $(__nativdlg___mac_setfilecmd)
+ $(__nativdlg___os2_emxbindcmd)
+
+@COND_PLATFORM_MACOSX_1@nativdlg.app/Contents/PkgInfo: nativdlg$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
+@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.app/Contents
+@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.app/Contents/MacOS
+@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.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/nativdlg/" \
+@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
+@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >nativdlg.app/Contents/Info.plist
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@ /bin/echo "APPL????" >nativdlg.app/Contents/PkgInfo
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@ ln -f nativdlg$(EXEEXT) nativdlg.app/Contents/MacOS/nativdlg
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@
+@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns nativdlg.app/Contents/Resources/wxmac.icns
+
+@COND_PLATFORM_MACOSX_1@nativdlg_bundle: $(____nativdlg_BUNDLE_TGT_REF_DEP)