mktime()'s argument isn't const.
[unix-history] / usr / src / etc / Makefile
CommitLineData
38309355 1# @(#)Makefile 5.9 (Berkeley) %G%
77f73222
KB
2
3NOOBJ= oobj
c4500850 4
812add4f 5# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
c4500850 6# -rw-r--r--
18fc0c30
KB
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 \
812add4f
KB
10 rc.local remote security services shells syslog.conf ttys weekly \
11 etc.${MACHINE}/disktab
c4500850
KB
12
13# -rw-rw-rw-
14BIN2= motd
15
77f73222 16MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist
18fc0c30 17KRB= README krb.conf krb.realms
74c3b0ba 18NAMEDB= localhost.rev named.boot root.cache
38309355
KB
19PCS= pcs750.bin
20WCS1= wcs fppwcs poc poc1 poc2 fppoc
21WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
c4500850
KB
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
18fc0c30
KB
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)
c4500850
KB
34 install -c -o ${BINOWN} -g ${BINGRP} -m 555 etc.${MACHINE}/MAKEDEV \
35 ${DESTDIR}/dev
d05906a8
KB
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)
77f73222
KB
48 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
49 ${DESTDIR}/etc/mtree
74c3b0ba
KB
50 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
51 ${DESTDIR}/etc/namedb
18fc0c30
KB
52 cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
53 ${DESTDIR}/etc/kerberosIV
f4fe22ce
KB
54 install -c -o ${BINOWN} -g operator -m 664 /dev/null \
55 ${DESTDIR}/etc/dumpdates
c4500850
KB
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
38309355
KB
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}/
c4500850 76
c4500850 77.include <bsd.prog.mk>