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