diff options
Diffstat (limited to 'secure/Makefile')
-rw-r--r-- | secure/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/secure/Makefile b/secure/Makefile new file mode 100644 index 0000000..7a78d94 --- /dev/null +++ b/secure/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +SUBDIR= lib libexec usr.bin usr.sbin + +# These are the programs which depend on crypto, but not Kerberos. +SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet \ + bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \ + usr.sbin/pkg_install usr.sbin/ppp usr.sbin/pppd \ + usr.sbin/tcpdump/tcpdump +.if ${MK_SENDMAIL} != "no" +SPROGS+=usr.sbin/sendmail +.endif + +# This target is used to rebuild these programs with crypto. +secure: +.for entry in ${SPROGS} + cd ${.CURDIR}/../${entry}; \ + ${MAKE} cleandir; \ + ${MAKE} obj; \ + ${MAKE} depend; \ + ${MAKE} all; \ + ${MAKE} install +.endfor + +# This target is used to rebuild these programs without crypto. +insecure: +.for entry in ${SPROGS} + cd ${.CURDIR}/../${entry}; \ + ${MAKE} -DWITHOUT_CRYPT cleandir; \ + ${MAKE} -DWITHOUT_CRYPT obj; \ + ${MAKE} -DWITHOUT_CRYPT depend; \ + ${MAKE} -DWITHOUT_CRYPT all; \ + ${MAKE} -DWITHOUT_CRYPT install +.endfor + +.include <bsd.subdir.mk> |