xref: /freebsd/secure/Makefile (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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/pppd		\
11	usr.sbin/tcpdump/tcpdump
12.if ${MK_SENDMAIL} != "no"
13SPROGS+=usr.sbin/sendmail
14.endif
15
16# This target is used to rebuild these programs with crypto.
17secure:
18.for entry in ${SPROGS}
19	cd ${.CURDIR}/../${entry}; \
20	${MAKE} cleandir; \
21	${MAKE} obj; \
22	${MAKE} depend; \
23	${MAKE} all; \
24	${MAKE} install
25.endfor
26
27# This target is used to rebuild these programs without crypto.
28insecure:
29.for entry in ${SPROGS}
30	cd ${.CURDIR}/../${entry}; \
31	${MAKE} -DWITHOUT_CRYPT cleandir; \
32	${MAKE} -DWITHOUT_CRYPT obj; \
33	${MAKE} -DWITHOUT_CRYPT depend; \
34	${MAKE} -DWITHOUT_CRYPT all; \
35	${MAKE} -DWITHOUT_CRYPT install
36.endfor
37
38.include <bsd.subdir.mk>
39