56 |
|
PROGS = $(APP)$(EXEEXT) |
57 |
|
ifeq ($(STANDALONE_GUI),yes) |
58 |
|
GUI_APP = BasiliskIIGUI |
59 |
+ |
GUI_APP_APP = $(GUI_APP).app |
60 |
|
PROGS += $(GUI_APP)$(EXEEXT) |
61 |
|
else |
62 |
|
CXXFLAGS += $(GUI_CFLAGS) |
95 |
|
$(BLESS) $(APP)$(EXEEXT) |
96 |
|
|
97 |
|
$(GUI_APP)$(EXEEXT): $(OBJ_DIR) $(GUI_OBJS) |
98 |
< |
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(LIBS) $(GUI_LIBS) |
98 |
> |
$(CXX) -o $@ $(LDFLAGS) $(GUI_OBJS) $(GUI_LIBS) |
99 |
|
|
100 |
|
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
101 |
|
mkdir -p $(APP_APP)/Contents |
107 |
|
mkdir -p $(APP_APP)/Contents/Resources |
108 |
|
cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/ |
109 |
|
|
110 |
+ |
$(GUI_APP)_app: $(GUI_APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
111 |
+ |
mkdir -p $(GUI_APP_APP)/Contents |
112 |
+ |
sed -e "s/$(APP)/$(GUI_APP)/" < ../MacOSX/Info.plist > $(GUI_APP_APP)/Contents/Info.plist |
113 |
+ |
echo -n 'APPL????' > $(GUI_APP_APP)/Contents/PkgInfo |
114 |
+ |
mkdir -p $(GUI_APP_APP)/Contents/MacOS |
115 |
+ |
cp -f $(GUI_APP) $(GUI_APP_APP)/Contents/MacOS/ |
116 |
+ |
strip $(GUI_APP_APP)/Contents/MacOS/$(GUI_APP) |
117 |
+ |
mkdir -p $(GUI_APP_APP)/Contents/Resources |
118 |
+ |
cp -f ../MacOSX/$(APP).icns $(GUI_APP_APP)/Contents/Resources/$(GUI_APP).icns |
119 |
+ |
|
120 |
|
modules: |
121 |
|
cd Linux/NetDriver; make |
122 |
|
|