Makefile revision 1.32
11.24Smycroft#	from: @(#)Makefile	5.11 (Berkeley) 5/21/91
21.32Sjtc#	$Id: Makefile,v 1.32 1994/02/05 02:01:49 jtc Exp $
31.1Scgd
41.23ScgdTZDIR=		/usr/share/zoneinfo
51.19SderaadtLOCALTIME=	US/Pacific
61.19Sderaadt
71.1ScgdNOOBJ=	oobj
81.1Scgd
91.32Sjtc.if exists(etc.${MACHINE}/Makefile.inc)
101.32Sjtc.include ${MACHINE}/Makefile.inc
111.32Sjtc.endif
121.32Sjtc
131.1Scgd# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
141.21Scgd# -rw-r--r--
151.21ScgdBINOWN= root
161.21ScgdBINGRP= wheel
171.21ScgdBIN1=	aliases csh.cshrc csh.login csh.logout dm.conf \
181.1Scgd	ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
191.21Scgd	man.conf motd myname netstart newsyslog.conf phones \
201.18Scgd	printcap protocols rc rc.local remote security services shells \
211.21Scgd	syslog.conf ttys etc.${MACHINE}/disktab rpc
221.1Scgd
231.1Scgd# -rw-rw-rw-
241.1ScgdBIN2=	motd
251.1Scgd
261.22Scgd# -rwxr-xr-x root.wheel, for the new f***ing cron root.wheel
271.21ScgdBIN3=	daily weekly monthly
281.21Scgd
291.1ScgdMTREE=	BSD.root.dist BSD.usr.dist BSD.var.dist
301.1ScgdNAMEDB=	localhost.rev named.boot root.cache
311.1ScgdPCS=	pcs750.bin
321.1ScgdWCS1=	wcs fppwcs poc poc1 poc2 fppoc
331.1ScgdWCS2=	fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
341.1Scgd
351.1Scgdall clean cleandir depend etc install lint:
361.1Scgd
371.7Scgddistribution: distrib-dirs
381.32Sjtc	(cd ..; ${MAKE} install)
391.21Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
401.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
411.21Scgd	install -c -o root -g wheel -m 755 ${BIN3} ${DESTDIR}/etc
421.3Sglass	install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root
431.1Scgd	install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
441.32Sjtc	chroot ${DESTDIR}/ pwd_mkdb -p /etc/master.passwd
451.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
461.1Scgd	     MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
471.1Scgd	(cd root; \
481.1Scgd		install -c -o root -g wheel -m 644 dot.cshrc \
491.1Scgd		    ${DESTDIR}/root/.cshrc; \
501.1Scgd		install -c -o root -g wheel -m 644 dot.klogin \
511.1Scgd		    ${DESTDIR}/root/.klogin; \
521.1Scgd		install -c -o root -g wheel -m 644 dot.login \
531.1Scgd		    ${DESTDIR}/root/.login; \
541.1Scgd		install -c -o root -g wheel -m 644 dot.profile \
551.1Scgd		    ${DESTDIR}/root/.profile; \
561.1Scgd		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
571.1Scgd		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
581.1Scgd		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
591.1Scgd	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
601.1Scgd	    ${DESTDIR}/etc/mtree
611.1Scgd	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
621.1Scgd	    ${DESTDIR}/etc/namedb
631.19Sderaadt	/bin/rm -f ${DESTDIR}/etc/localtime
641.19Sderaadt	ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
651.1Scgd	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
661.32Sjtc		${DESTDIR}/etc/dumpdates
671.16Scgd	install -c -o nobody -g ${BINGRP} -m 664 /dev/null \
681.32Sjtc		${DESTDIR}/var/db/locate.database
691.32Sjtc	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
701.32Sjtc		${DESTDIR}/var/log/lastlog
711.32Sjtc	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
721.32Sjtc		${DESTDIR}/var/log/lpd-errs
731.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
741.32Sjtc		${DESTDIR}/var/log/maillog
751.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
761.32Sjtc		${DESTDIR}/var/log/messages
771.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
781.32Sjtc		${DESTDIR}/var/log/wtmp
791.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
801.32Sjtc		${DESTDIR}/var/run/utmp
811.1Scgd	(cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
821.6Scgd	    fstab.* ${DESTDIR}/etc)
831.1Scgd.if ${MACHINE} == "tahoe"
841.1Scgd	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
851.1Scgd	    ${DESTDIR}/)
861.1Scgd.endif
871.1Scgd.if ${MACHINE} == "vax"
881.1Scgd	(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
891.1Scgd	    ${DESTDIR}/)
901.1Scgd.endif
911.1Scgd
921.1Scgdhcx9-distribution:
931.1Scgd	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
941.1Scgd	    ${DESTDIR}/)
951.1Scgd
961.7Scgddistrib-dirs:
971.30Sjtc	mtree -u -d -p ${DESTDIR}/ -f ${.CURDIR}/mtree/BSD.root.dist
981.31Sjtc	mtree -u -d -p ${DESTDIR}/usr -f ${.CURDIR}/mtree/BSD.usr.dist
991.30Sjtc	mtree -u -d -p ${DESTDIR}/var -f ${.CURDIR}/mtree/BSD.var.dist
1001.28Sjtc	cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys
1011.7Scgd
1021.1Scgd.include <bsd.prog.mk>
103