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.17 by cebix, 2000-07-25T15:19:42Z 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 37 | Line 39 | SRCS = ../main.cpp main_unix.cpp ../pref
39   APP = BasiliskII
40  
41   ## Rules
42 < .PHONY: modules install uninstall clean distclean depend dep
42 > .PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep
43   .SUFFIXES:
44   .SUFFIXES: .c .cpp .s .o .h
45  
# Line 64 | Line 66 | modules:
66          cd Linux/NetDriver; make
67  
68   install: $(APP) installdirs
69 <        $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
70 <        -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
71 <        $(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes
72 <        $(INSTALL_DATA) fbdevices $(datadir)/$(APP)/fbdevices
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 <        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