xref: /original-bsd/etc/Makefile (revision 2ca53284)
1#	@(#)Makefile	5.9 (Berkeley) 07/01/90
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
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	install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
27	install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
28	install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
29	(cd ${DESTDIR}/etc; \
30	    mkpasswd -p master.passwd; \
31	    mv master.passwd.pag passwd.pag; \
32	    mv master.passwd.dir passwd.dir; \
33	    mv master.passwd.orig passwd)
34	install -c -o ${BINOWN} -g ${BINGRP} -m 555 etc.${MACHINE}/MAKEDEV \
35	    ${DESTDIR}/dev
36	(cd root; \
37		install -c -o root -g wheel -m 644 dot.cshrc \
38		    ${DESTDIR}/root/.cshrc; \
39		install -c -o root -g wheel -m 644 dot.klogin \
40		    ${DESTDIR}/root/.klogin; \
41		install -c -o root -g wheel -m 644 dot.login \
42		    ${DESTDIR}/root/.login; \
43		install -c -o root -g wheel -m 644 dot.profile \
44		    ${DESTDIR}/root/.profile; \
45		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
46		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
47		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
48	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
49	    ${DESTDIR}/etc/mtree
50	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
51	    ${DESTDIR}/etc/namedb
52	cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
53	    ${DESTDIR}/etc/kerberosIV
54	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
55	    ${DESTDIR}/etc/dumpdates
56	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
57	    ${DESTDIR}/var/log/messages
58	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
59	    ${DESTDIR}/var/log/maillog
60	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
61	    ${DESTDIR}/var/log/lpd-errs
62	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
63	    ${DESTDIR}/var/run/utmp
64.if ${MACHINE} == "tahoe"
65	cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
66	    ${DESTDIR}/
67.endif
68.if ${MACHINE} == "vax"
69	cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
70	    ${DESTDIR}/
71.endif
72
73hcx9-distribution:
74	cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
75	    ${DESTDIR}/
76
77.include <bsd.prog.mk>
78