Makefile revision 1.2
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; pwd_mkdb -p master.passwd)
29	install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
30	     MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
31	(cd root; \
32		install -c -o root -g wheel -m 644 dot.cshrc \
33		    ${DESTDIR}/root/.cshrc; \
34		install -c -o root -g wheel -m 644 dot.klogin \
35		    ${DESTDIR}/root/.klogin; \
36		install -c -o root -g wheel -m 644 dot.login \
37		    ${DESTDIR}/root/.login; \
38		install -c -o root -g wheel -m 644 dot.profile \
39		    ${DESTDIR}/root/.profile; \
40		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
41		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
42		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
43	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
44	    ${DESTDIR}/etc/mtree
45	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
46	    ${DESTDIR}/etc/namedb
47	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
48	    ${DESTDIR}/etc/dumpdates
49	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
50	    ${DESTDIR}/var/log/messages
51	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
52	    ${DESTDIR}/var/log/maillog
53	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
54	    ${DESTDIR}/var/log/lpd-errs
55	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
56	    ${DESTDIR}/var/run/utmp
57	(cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
58	    fstab.* ${DESTDIR}/)
59.if ${MACHINE} == "tahoe"
60	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
61	    ${DESTDIR}/)
62.endif
63.if ${MACHINE} == "vax"
64	(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
65	    ${DESTDIR}/)
66.endif
67
68hcx9-distribution:
69	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
70	    ${DESTDIR}/)
71
72.include <bsd.prog.mk>
73