diff --git a/BasiliskII/src/Unix/Makefile.in b/BasiliskII/src/Unix/Makefile.in index ef8dfd79..f71129c5 100644 --- a/BasiliskII/src/Unix/Makefile.in +++ b/BasiliskII/src/Unix/Makefile.in @@ -56,6 +56,7 @@ APP_APP = $(APP).app PROGS = $(APP)$(EXEEXT) ifeq ($(STANDALONE_GUI),yes) GUI_APP = BasiliskIIGUI +GUI_APP_APP = $(GUI_APP).app PROGS += $(GUI_APP)$(EXEEXT) else CXXFLAGS += $(GUI_CFLAGS) @@ -94,7 +95,7 @@ $(APP)$(EXEEXT): $(OBJ_DIR) $(OBJS) $(BLESS) $(APP)$(EXEEXT) $(GUI_APP)$(EXEEXT): $(OBJ_DIR) $(GUI_OBJS) - $(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(LIBS) $(GUI_LIBS) + $(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS) $(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns mkdir -p $(APP_APP)/Contents @@ -106,6 +107,16 @@ $(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns mkdir -p $(APP_APP)/Contents/Resources cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/ +$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns + 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/ + strip $(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 + modules: cd Linux/NetDriver; make