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