freebsd-dev/secure/Makefile

42 lines
967 B
Makefile
Raw Normal View History

1999-08-28 01:35:59 +00:00
# $FreeBSD$
1994-08-07 19:04:10 +00:00
.include <bsd.own.mk>
SUBDIR= lib libexec ${_tests} usr.bin usr.sbin
.if ${MK_TESTS} != "no"
_tests= tests
.endif
1994-08-07 19:04:10 +00:00
# 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 \
2009-12-29 20:14:39 +00:00
usr.sbin/pkg_install usr.sbin/ppp 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} MK_CRYPT=no cleandir; \
${MAKE} MK_CRYPT=no obj; \
${MAKE} MK_CRYPT=no depend; \
${MAKE} MK_CRYPT=no all; \
${MAKE} MK_CRYPT=no install
.endfor
.include <bsd.subdir.mk>