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