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