/[baselayout]/trunk/src/Makefile
Gentoo

Diff of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2876 Revision 2895
39# For debugging. -Werror is pointless due to ISO C issues with dlsym 39# For debugging. -Werror is pointless due to ISO C issues with dlsym
40#CFLAGS += -ggdb 40#CFLAGS += -ggdb
41 41
42DESTDIR = 42DESTDIR =
43LIB = lib 43LIB = lib
44RC_LIB = /$(LIB)/rc
44 45
45# Set PAM = pam for pam support 46# Set PAM = pam for pam support
46PAM = 47PAM =
47 48
48LIBEINFOSOVER = 0 49LIBEINFOSOVER = 0
132 install -m 0644 einfo.h rc.h $(DESTDIR)/usr/include 133 install -m 0644 einfo.h rc.h $(DESTDIR)/usr/include
133 install -m 0755 -d $(DESTDIR)/bin 134 install -m 0755 -d $(DESTDIR)/bin
134 install -m 0755 -d $(DESTDIR)/sbin 135 install -m 0755 -d $(DESTDIR)/sbin
135 install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin 136 install -m 0755 $(SBIN_TARGETS) $(DESTDIR)/sbin
136 ln -sf rc-update $(DESTDIR)/sbin/update-rc 137 ln -sf rc-update $(DESTDIR)/sbin/update-rc
137 install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/conf.d 138 install -m 0755 -d $(DESTDIR)/$(RC_LIB)/conf.d
138 install -m 0644 $(SYS_WHITELIST) $(DESTDIR)/$(LIB)/rcscripts/conf.d 139 install -m 0644 $(SYS_WHITELIST) $(DESTDIR)/$(RC_LIB)/conf.d
139 install -m 0755 -d $(DESTDIR)/$(LIB)/rcscripts/bin 140 install -m 0755 -d $(DESTDIR)/$(RC_LIB)/bin
140 for x in $(BINLINKS); do ln -sf ../sbin/rc $(DESTDIR)/bin/$$x; done 141 for x in $(BINLINKS); do ln -sf ../sbin/rc $(DESTDIR)/bin/$$x; done
141 for x in $(SBINLINKS); do ln -sf rc $(DESTDIR)/sbin/$$x; done 142 for x in $(SBINLINKS); do ln -sf rc $(DESTDIR)/sbin/$$x; done
142 for x in $(RCLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(LIB)/rcscripts/bin/$$x; done 143 for x in $(RCLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/bin/$$x; done
143 if test "$(PAM)" != "pam" ; then \ 144 if test "$(PAM)" = "pam" ; then \
144 install -m 0755 -d $(DESTDIR)/etc/pam.d ; \ 145 install -m 0755 -d $(DESTDIR)/etc/pam.d ; \
145 install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon ; \ 146 install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon ; \
146 fi 147 fi
147 148
148clean: 149clean:

Legend:
Removed from v.2876  
changed lines
  Added in v.2895

  ViewVC Help
Powered by ViewVC 1.1.20