45 |
|
../user_strings.cpp user_strings_unix.cpp sshpty.c strlcpy.c \ |
46 |
|
$(SYSSRCS) $(CPUSRCS) $(SLIRP_SRCS) |
47 |
|
APP = BasiliskII |
48 |
+ |
APP_APP = $(APP).app |
49 |
|
|
50 |
|
## Rules |
51 |
|
.PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep |
72 |
|
$(CXX) -o $(APP)$(EXEEXT) $(LDFLAGS) $(OBJS) $(LIBS) |
73 |
|
$(BLESS) $(APP)$(EXEEXT) |
74 |
|
|
75 |
+ |
$(APP)_app: $(APP) ../MacOSX/Info.plist ../MacOSX/$(APP).icns |
76 |
+ |
mkdir -p $(APP_APP)/Contents |
77 |
+ |
cp -f ../MacOSX/Info.plist $(APP_APP)/Contents/ |
78 |
+ |
echo -n 'APPL????' > $(APP_APP)/Contents/PkgInfo |
79 |
+ |
mkdir -p $(APP_APP)/Contents/MacOS |
80 |
+ |
cp -f $(APP) $(APP_APP)/Contents/MacOS/ |
81 |
+ |
strip $(APP_APP)/Contents/MacOS/$(APP) |
82 |
+ |
mkdir -p $(APP_APP)/Contents/Resources |
83 |
+ |
cp -f ../MacOSX/$(APP).icns $(APP_APP)/Contents/Resources/ |
84 |
+ |
|
85 |
|
modules: |
86 |
|
cd Linux/NetDriver; make |
87 |
|
|