xref: /freebsd/kerberos5/Makefile (revision bb15ca603fa442c72dde3f3cb8b46db6970e3950)
1# $FreeBSD$
2
3SUBDIR=	doc lib libexec 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} -DWITHOUT_KERBEROS cleandir; \
25	${MAKE} -DWITHOUT_KERBEROS obj; \
26	${MAKE} -DWITHOUT_KERBEROS depend; \
27	${MAKE} -DWITHOUT_KERBEROS all; \
28	${MAKE} -DWITHOUT_KERBEROS install
29.endfor
30
31.include <bsd.subdir.mk>
32