diff --git a/SheepShaver/Makefile b/SheepShaver/Makefile index b99fda9a..997fbb6a 100644 --- a/SheepShaver/Makefile +++ b/SheepShaver/Makefile @@ -72,7 +72,7 @@ links: dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \ dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \ MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \ - MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \ + MacOSX/macos_util_macosx.h Unix/cpr.sh \ MacOSX/extfs_macosx.cpp Windows/clip_windows.cpp \ MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \ MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \ diff --git a/SheepShaver/src/Unix/Makefile.in b/SheepShaver/src/Unix/Makefile.in index 77b57cf0..1878bc49 100644 --- a/SheepShaver/src/Unix/Makefile.in +++ b/SheepShaver/src/Unix/Makefile.in @@ -119,25 +119,27 @@ $(GUI_APP_EXE): $(OBJ_DIR) $(GUI_OBJS) $(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS) $(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns + rm -rf $(APP_APP)/Contents mkdir -p $(APP_APP)/Contents - cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/ + ./cpr.sh ../MacOSX/Info.plist $(APP_APP)/Contents/ echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo mkdir -p $(APP_APP)/Contents/MacOS - cp -f $(APP) $(APP_APP)/Contents/MacOS/ + ./cpr.sh $(APP) $(APP_APP)/Contents/MacOS/ strip -x $(APP_APP)/Contents/MacOS/$(APP) mkdir -p $(APP_APP)/Contents/Resources - cp -R ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources - cp -f ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/ + ./cpr.sh ../MacOSX/PrefsEditor/standalone_nib/English.lproj $(APP_APP)/Contents/Resources + ./cpr.sh ../MacOSX/SheepShaver.icns $(APP_APP)/Contents/Resources/ $(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns + rm -rf $(GUI_APP_APP)/Contents mkdir -p $(GUI_APP_APP)/Contents sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo mkdir -p $(GUI_APP_APP)/Contents/MacOS - cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ + ./cpr.sh $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ strip -x $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) mkdir -p $(GUI_APP_APP)/Contents/Resources - cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns + ./cpr.sh ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns modules: cd Linux/NetDriver; make