1# @(#)Makefile 5.18 (Berkeley) 07/20/92 2 3NOOBJ= oobj 4 5# disktab may be wrong -- hcx9 is a tahoe, but gets its own. 6# -rw-r--r-- 7BIN1= aliases changelist csh.cshrc csh.login csh.logout crontab daily \ 8 dm.conf ftpusers gettytab group hosts hosts.equiv hosts.lpd \ 9 inetd.conf man.conf monthly motd netstart phones printcap protocols \ 10 rc rc.local remote security services shells syslog.conf ttys weekly \ 11 etc.${MACHINE}/disktab 12 13# -rw-rw-rw- 14BIN2= motd 15 16MTREE= 4.4alpha.dist special 17KRB= README krb.conf krb.realms 18NAMEDB= localhost.rev named.boot root.cache 19PCS= pcs750.bin 20WCS1= wcs fppwcs poc poc1 poc2 fppoc 21WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual 22 23all clean cleandir depend etc install lint: 24 25distribution: 26 # Hand-craft the password file first. 27 mkdir /etc /dev 28 cp master.passwd ${DESTDIR}/tmp/p 29 pwd_mkdb -p /tmp/p 30 rm -f /tmp/p 31 cp group /etc/group 32 # Build the tree. 33 -mtree -def mtree/4.4alpha.dist -p ${DESTDIR}/ -u 34 # install devices 35.if ${MACHINE} == "hp300" 36 (cd etc.hp300; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 37 MAKEDEV.hpux ${DESTDIR}/dev) 38.endif 39 install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ 40 MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev 41 (cd /dev && ./MAKEDEV std) 42 install -c -o ${BINOWN} -g ${BINGRP} -m 444 COPYRIGHT ${DESTDIR}/ 43 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc 44 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc 45 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc 46 (cd /etc && rm -f rmt && ln -s /usr/sbin/rmt rmt) 47 (cd root; \ 48 install -c -o root -g wheel -m 644 dot.cshrc \ 49 ${DESTDIR}/root/.cshrc; \ 50 install -c -o root -g wheel -m 644 dot.klogin \ 51 ${DESTDIR}/root/.klogin; \ 52 install -c -o root -g wheel -m 644 dot.login \ 53 ${DESTDIR}/root/.login; \ 54 install -c -o root -g wheel -m 644 dot.profile \ 55 ${DESTDIR}/root/.profile; \ 56 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 57 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ 58 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) 59 (cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \ 60 ${DESTDIR}/etc/mtree) 61 (cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ 62 ${DESTDIR}/etc/namedb) 63 (cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \ 64 ${DESTDIR}/etc/kerberosIV) 65 install -c -o ${BINOWN} -g operator -m 664 /dev/null \ 66 ${DESTDIR}/etc/dumpdates 67 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 68 ${DESTDIR}/var/log/messages 69 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 70 ${DESTDIR}/var/log/maillog 71 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 72 ${DESTDIR}/var/log/lpd-errs 73 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ 74 ${DESTDIR}/var/run/utmp 75 (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ 76 fstab.* ${DESTDIR}/) 77.if ${MACHINE} == "tahoe" 78 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \ 79 ${DESTDIR}/) 80.endif 81.if ${MACHINE} == "vax" 82 (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \ 83 ${DESTDIR}/) 84.endif 85 # There are certain symbolic links we have to have, and 86 # no other place to have install them. 87 (cd /usr/lib && rm -f X && ln -s /usr/hpux/lib/X X) 88 (cd /usr/lib && rm -f X11 && ln -s /usr/X11R4/lib X11) 89 (cd /usr/lib && rm -f grmd && ln -s /usr/hpux/lib/grmd grmd) 90 (cd /usr/lib && rm -f tmac && ln -s /usr/share/tmac tmac) 91 (cd /usr/ucb && rm -f rdist && ln -s /usr/bin/rdist rdist) 92 93hcx9-distribution: 94 (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \ 95 ${DESTDIR}/) 96 97.include <bsd.prog.mk> 98