1# $FreeBSD$
2
3.include <bsd.own.mk>
4
5SUBDIR= lib libexec ${_tests} usr.bin usr.sbin
6
7.if ${MK_TESTS} != "no"
8_tests=	tests
9.endif
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:
21.for entry in ${SPROGS}
22	cd ${.CURDIR}/../${entry}; \
23	${MAKE} cleandir; \
24	${MAKE} obj; \
25	${MAKE} depend; \
26	${MAKE} all; \
27	${MAKE} install
28.endfor
29
30# This target is used to rebuild these programs without crypto.
31insecure:
32.for entry in ${SPROGS}
33	cd ${.CURDIR}/../${entry}; \
34	${MAKE} -DWITHOUT_CRYPT cleandir; \
35	${MAKE} -DWITHOUT_CRYPT obj; \
36	${MAKE} -DWITHOUT_CRYPT depend; \
37	${MAKE} -DWITHOUT_CRYPT all; \
38	${MAKE} -DWITHOUT_CRYPT install
39.endfor
40
41.include <bsd.subdir.mk>
42