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.13 by cebix, 1999-10-21T13:19:13Z vs.
Revision 1.21 by gbeauche, 2001-05-20T20:31:50Z

# 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.cpp main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp \
32 <    ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \
33 <    ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp \
34 <    clip_unix.cpp ../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 <    ../extfs.cpp extfs_unix.cpp ../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_blit.cpp \
36 >    video_x.cpp sigsegv.cpp ../audio.cpp ../extfs.cpp extfs_unix.cpp \
37 >        ../user_strings.cpp 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
73 <        $(INSTALL_DATA) fbdevices $(datadir)/$(APP)/fbdevices
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 $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
76  
77   uninstall:
78 <        rm -f $(bindir)/$(APP)
79 <        rm -f $(man1dir)/$(APP).1
80 <        rm -f $(datadir)/$(APP)/keycodes
81 <        rm -f $(datadir)/$(APP)/fbdevices
82 <        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