29 |
|
SRCS = ../main.cpp main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp \ |
30 |
|
../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \ |
31 |
|
../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp \ |
32 |
< |
clip_unix.cpp ../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ../sony.cpp \ |
32 |
> |
clip_unix.cpp ../adb.cpp ../serial.cpp ../ether.cpp ../sony.cpp \ |
33 |
|
../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp ../audio.cpp \ |
34 |
|
../extfs.cpp extfs_unix.cpp ../user_strings.cpp user_strings_unix.cpp \ |
35 |
|
$(SYSSRCS) $(CPUSRCS) |
36 |
|
APP = BasiliskII |
37 |
|
|
38 |
|
## Rules |
39 |
< |
.PHONY: modules install uninstall clean distclean depend |
39 |
> |
.PHONY: modules install uninstall clean distclean depend dep |
40 |
|
.SUFFIXES: |
41 |
|
.SUFFIXES: .c .cpp .s .o .h |
42 |
|
|
62 |
|
modules: |
63 |
|
cd Linux/NetDriver; make |
64 |
|
|
65 |
< |
install: $(APP) |
65 |
> |
install: $(APP) installdirs |
66 |
|
$(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP) |
67 |
|
-$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1 |
68 |
– |
$(INSTALL) -d $(datadir)/$(APP) |
68 |
|
$(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes |
69 |
+ |
$(INSTALL_DATA) fbdevices $(datadir)/$(APP)/fbdevices |
70 |
+ |
|
71 |
+ |
installdirs: |
72 |
+ |
$(SHELL) mkinstalldirs $(bindir) $(man1dir) $(datadir)/$(APP) |
73 |
|
|
74 |
|
uninstall: |
75 |
|
rm -f $(bindir)/$(APP) |
76 |
|
rm -f $(man1dir)/$(APP).1 |
77 |
|
rm -f $(datadir)/$(APP)/keycodes |
78 |
+ |
rm -f $(datadir)/$(APP)/fbdevices |
79 |
|
rmdir $(datadir)/$(APP) |
80 |
|
|
81 |
|
mostlyclean: |