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