xref: /freebsd/kerberos5/Makefile (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1# $FreeBSD$
2
3SUBDIR=	doc tools 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