1 2.include <src.opts.mk> 3 4SUBDIR= lib .WAIT \ 5 libexec usr.bin usr.sbin 6SUBDIR_PARALLEL= 7 8SUBDIR.${MK_TESTS}+= tests 9 10SUBDIR.${MK_CAROOT}+= caroot 11 12# These are the programs which depend on crypto, but not Kerberos. 13SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet \ 14 bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \ 15 usr.sbin/ppp usr.sbin/tcpdump/tcpdump 16.if ${MK_SENDMAIL} != "no" 17SPROGS+=usr.sbin/sendmail 18.endif 19 20# This target is used to rebuild these programs with crypto. 21secure: .MAKE .PHONY 22.for entry in ${SPROGS} 23 cd ${.CURDIR:H}/${entry}; \ 24 ${MAKE} cleandir; \ 25 ${MAKE} obj; \ 26 ${MAKE} all; \ 27 ${MAKE} install 28.endfor 29 30# This target is used to rebuild these programs without crypto. 31insecure: .MAKE .PHONY 32.for entry in ${SPROGS} 33 cd ${.CURDIR:H}/${entry}; \ 34 ${MAKE} MK_CRYPT=no cleandir; \ 35 ${MAKE} MK_CRYPT=no obj; \ 36 ${MAKE} MK_CRYPT=no all; \ 37 ${MAKE} MK_CRYPT=no install 38.endfor 39 40.include <bsd.subdir.mk> 41