1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/secure/Makefile
2004-12-21 10:16:04 +00:00

37 lines
900 B
Makefile

# $FreeBSD$
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 !defined(NO_SENDMAIL)
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} -DNO_CRYPT cleandir; \
${MAKE} -DNO_CRYPT obj; \
${MAKE} -DNO_CRYPT depend; \
${MAKE} -DNO_CRYPT all; \
${MAKE} -DNO_CRYPT install
.endfor
.include <bsd.subdir.mk>