diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1993-08-28 03:33:06 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1993-08-28 03:33:06 +0000 |
commit | 990baf30065dc7a17a16e35e0269fe675a83ec7d (patch) | |
tree | b925cbb3fd8dddd29d8f2f188756baff78e02663 /etc/Makefile | |
parent | d1de7f30db8cdf8f48f18530a629c93ff9c38c2f (diff) | |
download | src-test2-990baf30065dc7a17a16e35e0269fe675a83ec7d.tar.gz src-test2-990baf30065dc7a17a16e35e0269fe675a83ec7d.zip |
Notes
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index 0dcdd8fa7d7a..b911859226dd 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -72,8 +72,31 @@ INST2_CPIO+= usr/bin/elvis usr/bin/ex usr/bin/vi usr/bin/view INST2_CPIO+= usr/sbin/update usr/sbin/chown INST2_CPIO+= var +CRYPT_LIB= lib/libcrypt +CRYPT_FILES= bin/ed bin/rcp +CRYPT_FILES+= libexec/ftpd libexec/makekey libexec/rexecd libexec/rlogind +CRYPT_FILES+= libexec/rshd libexec/telnetd libexec/uucpd +CRYPT_FILES+= usr.bin/bdes usr.bin/lock usr.bin/login usr.bin/passwd +CRYPT_FILES+= usr.bin/rlogin usr.bin/rsh usr.bin/su usr.bin/telnet + all clean cleandir depend etc install lint: +crypt: + rm -f ${LIBCRYPT}; + (cd ${.CURDIR}/../${CRYPT_LIB}; \ + make cleandir obj depend all install) + for i in ${CRYPT_FILES}; do \ + cd ${.CURDIR}/../$$i; \ + make cleandir obj depend all; \ + done + +non-crypt: + rm -f ${LIBCRYPT} + for i in ${CRYPT_FILES}; do \ + cd ${.CURDIR}/../$$i; \ + make cleandir obj depend all; \ + done + distribution: distrib-dirs install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc @@ -92,7 +115,9 @@ distribution: distrib-dirs install -c -o root -g wheel -m 644 passwd ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev +.if defined(CDROMDIST) (cd ${DESTDIR}/dev; sh MAKEDEV all) +.endif (cd root; \ install -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ @@ -127,7 +152,13 @@ distribution: distrib-dirs ${DESTDIR}/var/run/utmp (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ fstab.* ${DESTDIR}/etc) +.if defined(NOCRYPT) + make non-crypt + (cd ..; NOCRYPT=nocrypt; export NOCRYPT; make install) +.else + make crypt (cd ..; make install) +.endif (cd ../usr.sbin/sendmail/src; \ make install; \ cd ../cf/cf; \ |