home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / etc / Makefile < prev    next >
Encoding:
Makefile  |  1991-05-21  |  2.8 KB  |  80 lines

  1. #    @(#)Makefile    5.11 (Berkeley) 5/21/91
  2.  
  3. NOOBJ=    oobj
  4.  
  5. # disktab may be wrong -- hcx9 is a tahoe, but gets its own.
  6. # -rw-r--r--
  7. BIN1=    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-
  14. BIN2=    motd
  15.  
  16. MTREE=    BSD.root.dist BSD.usr.dist BSD.var.dist
  17. KRB=    README krb.conf krb.realms
  18. NAMEDB=    localhost.rev named.boot root.cache
  19. PCS=    pcs750.bin
  20. WCS1=    wcs fppwcs poc poc1 poc2 fppoc
  21. WCS2=    fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
  22.  
  23. all clean cleandir depend etc install lint:
  24.  
  25. distribution:
  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 \
  35.          MAKEDEV.local etc.${MACHINE}/MAKEDEV ${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.     (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
  65.         fstab.* ${DESTDIR}/)
  66. .if ${MACHINE} == "tahoe"
  67.     (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
  68.         ${DESTDIR}/)
  69. .endif
  70. .if ${MACHINE} == "vax"
  71.     (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
  72.         ${DESTDIR}/)
  73. .endif
  74.  
  75. hcx9-distribution:
  76.     (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
  77.         ${DESTDIR}/)
  78.  
  79. .include <bsd.prog.mk>
  80.