Deleted Added
full compact
Makefile (99449) Makefile (99451)
1# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
1# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
2# $FreeBSD: head/etc/Makefile 99449 2002-07-05 13:17:24Z ru $
2# $FreeBSD: head/etc/Makefile 99451 2002-07-05 13:39:38Z ru $
3
4.if !defined(NO_SENDMAIL)
5SUBDIR= sendmail
6.endif
7
3
4.if !defined(NO_SENDMAIL)
5SUBDIR= sendmail
6.endif
7
8BIN1= amd.map apmd.conf auth.conf \
8BIN1= amd.map apmd.conf auth.conf \
9 crontab csh.cshrc csh.login csh.logout \
10 dhclient.conf dm.conf fbtab ftpusers gettytab group \
11 hosts hosts.allow hosts.equiv hosts.lpd \
12 inetd.conf login.access login.conf \
13 motd modems netconfig networks newsyslog.conf \
14 phones printcap profile protocols \
15 rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
16 rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown \

--- 24 unchanged lines hidden (view full) ---

41
42DEFAULTS= rc.conf pccard.conf periodic.conf
43
44MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
45 BSD.var.dist BSD.x11.dist BSD.x11-4.dist
46.if !defined(NO_SENDMAIL)
47MTREE+= BSD.sendmail.dist
48.endif
9 crontab csh.cshrc csh.login csh.logout \
10 dhclient.conf dm.conf fbtab ftpusers gettytab group \
11 hosts hosts.allow hosts.equiv hosts.lpd \
12 inetd.conf login.access login.conf \
13 motd modems netconfig networks newsyslog.conf \
14 phones printcap profile protocols \
15 rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
16 rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown \

--- 24 unchanged lines hidden (view full) ---

41
42DEFAULTS= rc.conf pccard.conf periodic.conf
43
44MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
45 BSD.var.dist BSD.x11.dist BSD.x11-4.dist
46.if !defined(NO_SENDMAIL)
47MTREE+= BSD.sendmail.dist
48.endif
49NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
49
50NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
50 make-localhost
51 make-localhost
51PPPCNF= ppp.conf
52
53PPPCNF= ppp.conf
54
52ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
53 mailertable.sample aliases
54
55ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
56 mailertable.sample aliases
57
55
56# Special top level files for FreeBSD
57FREEBSD=COPYRIGHT
58
59etc:
60
61distribute:
62 cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION}
63.if defined(OBJFORMAT)
64 echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/${DISTRIBUTION}/etc/objformat
65.endif
66 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
67 ${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
68 ${DISTDIR}/${DISTRIBUTION}/boot/device.hints
69
70distribution:
71 cd ${.CURDIR}; \
58# Special top level files for FreeBSD
59FREEBSD=COPYRIGHT
60
61etc:
62
63distribute:
64 cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION}
65.if defined(OBJFORMAT)
66 echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/${DISTRIBUTION}/etc/objformat
67.endif
68 ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
69 ${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
70 ${DISTDIR}/${DISTRIBUTION}/boot/device.hints
71
72distribution:
73 cd ${.CURDIR}; \
72 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \
73 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN2} ${DESTDIR}/etc; \
74 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \
75 master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
76 pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
74 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
75 ${BIN1} ${DESTDIR}/etc; \
76 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 \
77 ${BIN2} ${DESTDIR}/etc; \
78 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \
79 master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
80 pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
77 cd ${.CURDIR}/defaults; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
78 ${DEFAULTS} ${DESTDIR}/etc/defaults
79 cd ${.CURDIR}/periodic; ${MAKE} install
80 cd ${.CURDIR}/rc.d; ${MAKE} install
81 cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall
82 cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap
83 cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt
84 cd ${.CURDIR}/pam.d; ${MAKE} install
85.if !defined(NO_I4B)
86 cd ${.CURDIR}/isdn; ${MAKE} install
87.endif
88.if !defined(NO_SENDMAIL)
89 cd ${.CURDIR}/sendmail; ${MAKE} distribution
90.endif
91.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL)
92.if !defined(NO_OPENSSH)
81 cd ${.CURDIR}/defaults; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
82 ${DEFAULTS} ${DESTDIR}/etc/defaults
83 cd ${.CURDIR}/periodic; ${MAKE} install
84 cd ${.CURDIR}/rc.d; ${MAKE} install
85 cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall
86 cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap
87 cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt
88 cd ${.CURDIR}/pam.d; ${MAKE} install
89.if !defined(NO_I4B)
90 cd ${.CURDIR}/isdn; ${MAKE} install
91.endif
92.if !defined(NO_SENDMAIL)
93 cd ${.CURDIR}/sendmail; ${MAKE} distribution
94.endif
95.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL)
96.if !defined(NO_OPENSSH)
93 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \
94 ${DESTDIR}/etc/ssh
97 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
98 ${SSH} ${DESTDIR}/etc/ssh
95.endif
99.endif
96 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \
97 ${DESTDIR}/etc/ssl
100 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
101 ${SSL} ${DESTDIR}/etc/ssl
98.endif
99.if !defined(NO_MAKEDEV_INSTALL)
100 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
102.endif
103.if !defined(NO_MAKEDEV_INSTALL)
104 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
101 MAKEDEV.local MAKEDEV ${DESTDIR}/dev
105 MAKEDEV.local MAKEDEV ${DESTDIR}/dev
102.if !defined(NO_MAKEDEV_RUN)
103 cd ${DESTDIR}/dev; sh MAKEDEV all
104.endif
105.endif
106 cd ${.CURDIR}/root; \
106.if !defined(NO_MAKEDEV_RUN)
107 cd ${DESTDIR}/dev; sh MAKEDEV all
108.endif
109.endif
110 cd ${.CURDIR}/root; \
107 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \
108 ${DESTDIR}/root/.cshrc; \
109 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \
110 ${DESTDIR}/root/.klogin; \
111 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \
112 ${DESTDIR}/root/.login; \
113 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \
114 ${DESTDIR}/root/.profile; \
115 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
116 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
117 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
111 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
112 dot.cshrc ${DESTDIR}/root/.cshrc; \
113 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
114 dot.klogin ${DESTDIR}/root/.klogin; \
115 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
116 dot.login ${DESTDIR}/root/.login; \
117 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
118 dot.profile ${DESTDIR}/root/.profile; \
119 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
120 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
121 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
118 cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
119 ${MTREE} ${DESTDIR}/etc/mtree
120 cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
121 ${NAMEDB} ${DESTDIR}/etc/namedb
122 cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \
123 ${PPPCNF} ${DESTDIR}/etc/ppp
124 cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
125 ${ETCMAIL} ${DESTDIR}/etc/mail

--- 25 unchanged lines hidden (view full) ---

151 ${INSTALL} -c -o ${BINOWN} -g network -m 640 /dev/null \
152 ${DESTDIR}/var/log/ppp.log
153 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
154 ${DESTDIR}/var/log/wtmp
155 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
156 ${DESTDIR}/var/run/utmp
157 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
158 ${DESTDIR}/var/crash
122 cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
123 ${MTREE} ${DESTDIR}/etc/mtree
124 cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
125 ${NAMEDB} ${DESTDIR}/etc/namedb
126 cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \
127 ${PPPCNF} ${DESTDIR}/etc/ppp
128 cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
129 ${ETCMAIL} ${DESTDIR}/etc/mail

--- 25 unchanged lines hidden (view full) ---

155 ${INSTALL} -c -o ${BINOWN} -g network -m 640 /dev/null \
156 ${DESTDIR}/var/log/ppp.log
157 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
158 ${DESTDIR}/var/log/wtmp
159 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
160 ${DESTDIR}/var/run/utmp
161 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
162 ${DESTDIR}/var/crash
159 cd ${.CURDIR}/..; \
160 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \
161 ${DESTDIR}/
163 cd ${.CURDIR}/..; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
164 ${FREEBSD} ${DESTDIR}/
162.if !defined(NOMAN)
163 cd ${.CURDIR}/../share/man; ${MAKE} makedb
164.endif
165
166distrib-dirs:
167 -set - `grep "^[a-zA-Z]" ${.CURDIR}/locale.deprecated`; \
168 while [ $$# -gt 0 ] ; \
169 do \

--- 38 unchanged lines hidden (view full) ---

208 while [ $$# -gt 0 ] ; \
209 do \
210 rm -rf "$$1"; \
211 ln -s "$$2" "$$1"; \
212 shift; shift; \
213 done
214
215etc-examples:
165.if !defined(NOMAN)
166 cd ${.CURDIR}/../share/man; ${MAKE} makedb
167.endif
168
169distrib-dirs:
170 -set - `grep "^[a-zA-Z]" ${.CURDIR}/locale.deprecated`; \
171 while [ $$# -gt 0 ] ; \
172 do \

--- 38 unchanged lines hidden (view full) ---

211 while [ $$# -gt 0 ] ; \
212 do \
213 rm -rf "$$1"; \
214 ln -s "$$2" "$$1"; \
215 shift; shift; \
216 done
217
218etc-examples:
216 cd ${.CURDIR}; \
217 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \
218 nsmb.conf opieaccess ${DESTDIR}/usr/share/examples/etc
219 cd ${.CURDIR}/defaults; \
220 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${DEFAULTS} \
221 ${DESTDIR}/usr/share/examples/etc/defaults
219 cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
220 ${BIN1} ${BIN2} nsmb.conf opieaccess \
221 ${DESTDIR}/usr/share/examples/etc
222 cd ${.CURDIR}/defaults; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
223 ${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults
222
223.include <bsd.prog.mk>
224
225.include <bsd.prog.mk>