$(__widget___mac_setfilecmd)
$(SAMPLES_RPATH_POSTLINK)
-widget.app/Contents: widget$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
+widget.app/Contents/PkgInfo: widget$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
mkdir -p widget.app/Contents
mkdir -p widget.app/Contents/MacOS
mkdir -p widget.app/Contents/Resources
ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc widget.app/Contents/Resources/widget.rsrc
ln -f $(top_srcdir)/src/mac/wxmac.icns widget.app/Contents/Resources/wxmac.icns
-@COND_PLATFORM_MACOSX_1@widget_bundle: widget.app/Contents
+@COND_PLATFORM_MACOSX_1@widget_bundle: widget.app/Contents/PkgInfo
widget_widget.o: $(srcdir)/widget.cpp
$(CXXC) -c -o $@ $(WIDGET_CXXFLAGS) $<