ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/Makefile.in
(Generate patch)

Comparing BasiliskII/src/Unix/Makefile.in (file contents):
Revision 1.11 by cebix, 1999-10-18T16:15:39Z vs.
Revision 1.18 by cebix, 2000-10-10T18:54:34Z

# Line 11 | Line 11 | datadir = @datadir@
11   mandir = @mandir@
12   man1dir = $(mandir)/man1
13  
14 + DESTDIR =
15 +
16   CC = @CC@
17   CXX = @CXX@
18   CFLAGS = @CFLAGS@
# Line 26 | Line 28 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
28   INSTALL_DATA = @INSTALL_DATA@
29  
30   ## Files
31 < SRCS = main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp ../rom_patches.cpp \
32 <    ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp ../macos_util.cpp \
33 <    ../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp clip_unix.cpp \
34 <    ../adb.cpp ../serial.cpp serial_unix.cpp ../ether.cpp ../sony.cpp \
35 <    ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp ../audio.cpp \
36 <    ../user_strings.cpp user_strings_unix.cpp \
31 > SRCS = ../main.cpp main_unix.cpp ../prefs.cpp ../prefs_items.cpp prefs_unix.cpp \
32 >    sys_unix.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp \
33 >    ../emul_op.cpp ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp \
34 >    timer_unix.cpp clip_unix.cpp ../adb.cpp ../serial.cpp ../ether.cpp \
35 >    ../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp \
36 >    ../audio.cpp ../extfs.cpp extfs_unix.cpp ../user_strings.cpp \
37 >    user_strings_unix.cpp \
38      $(SYSSRCS) $(CPUSRCS)
39   APP = BasiliskII
40  
41   ## Rules
42 < .PHONY: modules install uninstall clean distclean depend
42 > .PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep
43   .SUFFIXES:
44   .SUFFIXES: .c .cpp .s .o .h
45  
# Line 62 | Line 65 | $(APP): $(OBJ_DIR) $(OBJS)
65   modules:
66          cd Linux/NetDriver; make
67  
68 < install: $(APP)
69 <        $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
70 <        -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
71 <        $(INSTALL) -d $(datadir)/$(APP)
72 <        $(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes
68 > install: $(APP) installdirs
69 >        $(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
70 >        -$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
71 >        $(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
72 >        $(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
73 >
74 > installdirs:
75 >        $(SHELL) mkinstalldirs $(bindir) $(man1dir) $(datadir)/$(APP)
76  
77   uninstall:
78 <        rm -f $(bindir)/$(APP)
79 <        rm -f $(man1dir)/$(APP).1
80 <        rm -f $(datadir)/$(APP)/keycodes
81 <        rmdir $(datadir)/$(APP)
78 >        rm -f $(DESTDIR)$(bindir)/$(APP)
79 >        rm -f $(DESTDIR)$(man1dir)/$(APP).1
80 >        rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
81 >        rm -f $(DESTDIR)$(datadir)/$(APP)/fbdevices
82 >        rmdir $(DESTDIR)$(datadir)/$(APP)
83  
84   mostlyclean:
85          rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines