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