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