Makefile revision 147
137Srgrimes# @(#)Makefile 5.11 (Berkeley) 5/21/91 237Srgrimes 3147SrgrimesLOCALTIME= US/Pacific 4147SrgrimesTZDIR=/usr/share/zoneinfo 5147Srgrimes 637SrgrimesNOOBJ= oobj 737Srgrimes 837Srgrimes# disktab may be wrong -- hcx9 is a tahoe, but gets its own. 937Srgrimes# -rw-r--r-- 10147SrgrimesBINOWN= root 11147SrgrimesBINGRP= wheel 12147SrgrimesBIN1= aliases csh.cshrc csh.login csh.logout dm.conf \ 1337Srgrimes ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \ 14147Srgrimes man.conf motd myname netstart phones \ 15147Srgrimes printcap protocols rc rc.local remote security services shells \ 16147Srgrimes syslog.conf ttys etc.${MACHINE}/disktab rpc 1737Srgrimes 1837Srgrimes# -rw-rw-rw- 1937SrgrimesBIN2= motd 2037Srgrimes 21147Srgrimes# -rwxr-xr-x root.wheel, for the new f***ing cron root.wheel 22147SrgrimesBIN3= daily weekly monthly 23147Srgrimes 2437SrgrimesMTREE= BSD.root.dist BSD.usr.dist BSD.var.dist 2537SrgrimesNAMEDB= localhost.rev named.boot root.cache 2637SrgrimesPCS= pcs750.bin 2737SrgrimesWCS1= wcs fppwcs poc poc1 poc2 fppoc 2837SrgrimesWCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual 2937Srgrimes 3037Srgrimesall clean cleandir depend etc install lint: 3137Srgrimes 32147Srgrimesdistribution: distrib-dirs 3337Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc 3437Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc 35147Srgrimes install -c -o root -g wheel -m 755 ${BIN3} ${DESTDIR}/etc 36147Srgrimes install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root 3737Srgrimes install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc 38147Srgrimes (cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd) 3937Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 4037Srgrimes MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev 41147Srgrimes (cd ${DESTDIR}/dev; sh MAKEDEV all) 4237Srgrimes (cd root; \ 4337Srgrimes install -c -o root -g wheel -m 644 dot.cshrc \ 4437Srgrimes ${DESTDIR}/root/.cshrc; \ 4537Srgrimes install -c -o root -g wheel -m 644 dot.klogin \ 4637Srgrimes ${DESTDIR}/root/.klogin; \ 4737Srgrimes install -c -o root -g wheel -m 644 dot.login \ 4837Srgrimes ${DESTDIR}/root/.login; \ 4937Srgrimes install -c -o root -g wheel -m 644 dot.profile \ 5037Srgrimes ${DESTDIR}/root/.profile; \ 5137Srgrimes rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 5237Srgrimes ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 5337Srgrimes ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 5437Srgrimes cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \ 5537Srgrimes ${DESTDIR}/etc/mtree 5637Srgrimes cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ 5737Srgrimes ${DESTDIR}/etc/namedb 58147Srgrimes /bin/rm -f ${DESTDIR}/etc/localtime 59147Srgrimes ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime 6037Srgrimes install -c -o ${BINOWN} -g operator -m 664 /dev/null \ 6137Srgrimes ${DESTDIR}/etc/dumpdates 62147Srgrimes install -c -o nobody -g ${BINGRP} -m 664 /dev/null \ 63147Srgrimes ${DESTDIR}/var/db/locate.database 6437Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 65147Srgrimes ${DESTDIR}/var/log/lpd-errs 6637Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 6737Srgrimes ${DESTDIR}/var/log/maillog 6837Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 69147Srgrimes ${DESTDIR}/var/log/messages 7037Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 71147Srgrimes ${DESTDIR}/var/log/wtmp 72147Srgrimes install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 7337Srgrimes ${DESTDIR}/var/run/utmp 7437Srgrimes (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 75147Srgrimes fstab.* ${DESTDIR}/etc) 7637Srgrimes.if ${MACHINE} == "tahoe" 7737Srgrimes (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \ 7837Srgrimes ${DESTDIR}/) 7937Srgrimes.endif 8037Srgrimes.if ${MACHINE} == "vax" 8137Srgrimes (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \ 8237Srgrimes ${DESTDIR}/) 8337Srgrimes.endif 8437Srgrimes 8537Srgrimeshcx9-distribution: 8637Srgrimes (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \ 8737Srgrimes ${DESTDIR}/) 8837Srgrimes 89147Srgrimesdistrib-dirs: 90147Srgrimes mtree -du -f mtree/BSD.root.dist -p ${DESTDIR} 91147Srgrimes mtree -u -f mtree/BSD.var.dist -p ${DESTDIR}/var 92147Srgrimes mtree -u -f mtree/BSD.usr.dist -p ${DESTDIR}/usr 93147Srgrimes (cd ${DESTDIR}; rm -f ${DESTDIR}/sys; \ 94147Srgrimes ln -s usr/src/sys.386bsd sys ) 95147Srgrimes 9637Srgrimes.include <bsd.prog.mk> 97