Add the source code for the pcfs package
[unix-history] / usr / othersrc / etc / Makefile
CommitLineData
69f5921a
WJ
1# @(#)Makefile 5.11 (Berkeley) 5/21/91
2
3NOOBJ= oobj
4
5# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
6# -rw-r--r--
7BIN1= aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \
8 ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
9 man.conf monthly motd netstart phones printcap protocols rc \
10 rc.local remote security services shells syslog.conf ttys weekly \
11 etc.${MACHINE}/disktab
12
13# -rw-rw-rw-
14BIN2= motd
15
16MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist
17NAMEDB= localhost.rev named.boot root.cache
18PCS= pcs750.bin
19WCS1= wcs fppwcs poc poc1 poc2 fppoc
20WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
21
22all clean cleandir depend etc install lint:
23
24distribution:
25 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
26 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
27 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
28 (cd ${DESTDIR}/etc; \
29 pwd_mkdb -p master.passwd; \
30 mv master.passwd.pag passwd.pag; \
31 mv master.passwd.dir passwd.dir; \
32 mv master.passwd.orig passwd)
33 install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
34 MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
35 (cd root; \
36 install -c -o root -g wheel -m 644 dot.cshrc \
37 ${DESTDIR}/root/.cshrc; \
38 install -c -o root -g wheel -m 644 dot.klogin \
39 ${DESTDIR}/root/.klogin; \
40 install -c -o root -g wheel -m 644 dot.login \
41 ${DESTDIR}/root/.login; \
42 install -c -o root -g wheel -m 644 dot.profile \
43 ${DESTDIR}/root/.profile; \
44 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
45 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
46 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
47 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
48 ${DESTDIR}/etc/mtree
49 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
50 ${DESTDIR}/etc/namedb
51 install -c -o ${BINOWN} -g operator -m 664 /dev/null \
52 ${DESTDIR}/etc/dumpdates
53 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
54 ${DESTDIR}/var/log/messages
55 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
56 ${DESTDIR}/var/log/maillog
57 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
58 ${DESTDIR}/var/log/lpd-errs
59 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
60 ${DESTDIR}/var/run/utmp
61 (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
62 fstab.* ${DESTDIR}/)
63.if ${MACHINE} == "tahoe"
64 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
65 ${DESTDIR}/)
66.endif
67.if ${MACHINE} == "vax"
68 (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
69 ${DESTDIR}/)
70.endif
71
72hcx9-distribution:
73 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
74 ${DESTDIR}/)
75
76.include <bsd.prog.mk>