xref: /freebsd/kerberos5/Makefile (revision 445ed7b40948c160f2f7d363d2d0ae1ffac4aabd)
1# $FreeBSD$
2
3SUBDIR=	doc lib libexec tools usr.bin usr.sbin
4
5# These are the programs which depend on Kerberos.
6KPROGS=	lib/libpam \
7	secure/lib/libssh secure/usr.bin/ssh secure/usr.sbin/sshd
8
9# This target is used to rebuild these programs WITH Kerberos.
10kerberize:
11.for entry in ${KPROGS}
12	cd ${.CURDIR}/../${entry}; \
13	${MAKE} cleandir; \
14	${MAKE} obj; \
15	${MAKE} depend; \
16	${MAKE} all; \
17	${MAKE} install
18.endfor
19
20# This target is used to rebuild these programs WITHOUT Kerberos.
21dekerberize:
22.for entry in ${KPROGS}
23	cd ${.CURDIR}/../${entry}; \
24	${MAKE} MK_KERBEROS=no cleandir; \
25	${MAKE} MK_KERBEROS=no obj; \
26	${MAKE} MK_KERBEROS=no depend; \
27	${MAKE} MK_KERBEROS=no all; \
28	${MAKE} MK_KERBEROS=no install
29.endfor
30
31.include <bsd.subdir.mk>
32