xref: /freebsd/secure/Makefile (revision 38f0b757fd84d17d0fc24739a7cda160c4516d81)
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} MK_CRYPT=no cleandir; \
35	${MAKE} MK_CRYPT=no obj; \
36	${MAKE} MK_CRYPT=no depend; \
37	${MAKE} MK_CRYPT=no all; \
38	${MAKE} MK_CRYPT=no install
39.endfor
40
41.include <bsd.subdir.mk>
42