prettiness police
[unix-history] / usr / src / etc / Makefile
CommitLineData
28f10a87 1# @(#)Makefile 5.16 (Berkeley) %G%
77f73222
KB
2
3NOOBJ= oobj
c4500850 4
812add4f 5# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
c4500850 6# -rw-r--r--
af5d69aa
KB
7BIN1= aliases changelist csh.cshrc csh.login csh.logout crontab daily \
8 dm.conf ftpusers gettytab group hosts hosts.equiv hosts.lpd \
9 inetd.conf man.conf monthly motd netstart phones printcap protocols \
10 rc rc.local remote security services shells syslog.conf ttys weekly \
812add4f 11 etc.${MACHINE}/disktab
c4500850
KB
12
13# -rw-rw-rw-
14BIN2= motd
15
11d4c065 16MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist special
18fc0c30 17KRB= README krb.conf krb.realms
74c3b0ba 18NAMEDB= localhost.rev named.boot root.cache
38309355
KB
19PCS= pcs750.bin
20WCS1= wcs fppwcs poc poc1 poc2 fppoc
21WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
c4500850
KB
22
23all clean cleandir depend etc install lint:
24
25distribution:
eba2e515 26 # password file first
18fc0c30 27 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
eba2e515
KB
28 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/tmp/p
29 pwd_mkdb -p /tmp/p
30 rm -f /tmp/p
31 # install devices
32.if ${MACHINE} == "hp300"
33 (cd etc.hp300; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
34 MAKEDEV.hpux ${DESTDIR}/)
35.endif
27b11769
KB
36 install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
37 MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
eba2e515 38 (cd /dev && ./MAKEDEV std)
28f10a87 39 install -c -o ${BINOWN} -g ${BINGRP} -m 444 COPYRIGHT ${DESTDIR}/
eba2e515
KB
40 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
41 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
d05906a8
KB
42 (cd root; \
43 install -c -o root -g wheel -m 644 dot.cshrc \
44 ${DESTDIR}/root/.cshrc; \
45 install -c -o root -g wheel -m 644 dot.klogin \
46 ${DESTDIR}/root/.klogin; \
47 install -c -o root -g wheel -m 644 dot.login \
48 ${DESTDIR}/root/.login; \
49 install -c -o root -g wheel -m 644 dot.profile \
50 ${DESTDIR}/root/.profile; \
51 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
52 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
53 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
77f73222
KB
54 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
55 ${DESTDIR}/etc/mtree
74c3b0ba
KB
56 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
57 ${DESTDIR}/etc/namedb
18fc0c30
KB
58 cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
59 ${DESTDIR}/etc/kerberosIV
f4fe22ce
KB
60 install -c -o ${BINOWN} -g operator -m 664 /dev/null \
61 ${DESTDIR}/etc/dumpdates
c4500850
KB
62 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
63 ${DESTDIR}/var/log/messages
64 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
65 ${DESTDIR}/var/log/maillog
66 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
67 ${DESTDIR}/var/log/lpd-errs
68 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
69 ${DESTDIR}/var/run/utmp
cf184a31
KB
70 (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
71 fstab.* ${DESTDIR}/)
38309355 72.if ${MACHINE} == "tahoe"
cf184a31
KB
73 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
74 ${DESTDIR}/)
38309355
KB
75.endif
76.if ${MACHINE} == "vax"
cf184a31
KB
77 (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
78 ${DESTDIR}/)
38309355
KB
79.endif
80
81hcx9-distribution:
cf184a31
KB
82 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
83 ${DESTDIR}/)
c4500850 84
c4500850 85.include <bsd.prog.mk>