Makefile revision 37
137Srgrimes#	@(#)Makefile	5.11 (Berkeley) 5/21/91
237Srgrimes
337SrgrimesNOOBJ=	oobj
437Srgrimes
537Srgrimes# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
637Srgrimes# -rw-r--r--
737SrgrimesBIN1=	aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \
837Srgrimes	ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
937Srgrimes	man.conf monthly motd netstart phones printcap protocols rc \
1037Srgrimes	rc.local remote security services shells syslog.conf ttys weekly \
1137Srgrimes	etc.${MACHINE}/disktab
1237Srgrimes
1337Srgrimes# -rw-rw-rw-
1437SrgrimesBIN2=	motd
1537Srgrimes
1637SrgrimesMTREE=	BSD.root.dist BSD.usr.dist BSD.var.dist
1737SrgrimesNAMEDB=	localhost.rev named.boot root.cache
1837SrgrimesPCS=	pcs750.bin
1937SrgrimesWCS1=	wcs fppwcs poc poc1 poc2 fppoc
2037SrgrimesWCS2=	fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
2137Srgrimes
2237Srgrimesall clean cleandir depend etc install lint:
2337Srgrimes
2437Srgrimesdistribution:
2537Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
2637Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
2737Srgrimes	install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
2837Srgrimes	(cd ${DESTDIR}/etc; \
2937Srgrimes	    pwd_mkdb -p master.passwd; \
3037Srgrimes	    mv master.passwd.pag passwd.pag; \
3137Srgrimes	    mv master.passwd.dir passwd.dir; \
3237Srgrimes	    mv master.passwd.orig passwd)
3337Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
3437Srgrimes	     MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
3537Srgrimes	(cd root; \
3637Srgrimes		install -c -o root -g wheel -m 644 dot.cshrc \
3737Srgrimes		    ${DESTDIR}/root/.cshrc; \
3837Srgrimes		install -c -o root -g wheel -m 644 dot.klogin \
3937Srgrimes		    ${DESTDIR}/root/.klogin; \
4037Srgrimes		install -c -o root -g wheel -m 644 dot.login \
4137Srgrimes		    ${DESTDIR}/root/.login; \
4237Srgrimes		install -c -o root -g wheel -m 644 dot.profile \
4337Srgrimes		    ${DESTDIR}/root/.profile; \
4437Srgrimes		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
4537Srgrimes		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
4637Srgrimes		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
4737Srgrimes	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
4837Srgrimes	    ${DESTDIR}/etc/mtree
4937Srgrimes	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
5037Srgrimes	    ${DESTDIR}/etc/namedb
5137Srgrimes	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
5237Srgrimes	    ${DESTDIR}/etc/dumpdates
5337Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
5437Srgrimes	    ${DESTDIR}/var/log/messages
5537Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
5637Srgrimes	    ${DESTDIR}/var/log/maillog
5737Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
5837Srgrimes	    ${DESTDIR}/var/log/lpd-errs
5937Srgrimes	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
6037Srgrimes	    ${DESTDIR}/var/run/utmp
6137Srgrimes	(cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
6237Srgrimes	    fstab.* ${DESTDIR}/)
6337Srgrimes.if ${MACHINE} == "tahoe"
6437Srgrimes	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
6537Srgrimes	    ${DESTDIR}/)
6637Srgrimes.endif
6737Srgrimes.if ${MACHINE} == "vax"
6837Srgrimes	(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
6937Srgrimes	    ${DESTDIR}/)
7037Srgrimes.endif
7137Srgrimes
7237Srgrimeshcx9-distribution:
7337Srgrimes	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
7437Srgrimes	    ${DESTDIR}/)
7537Srgrimes
7637Srgrimes.include <bsd.prog.mk>
77