Makefile revision 117675
1# $FreeBSD: head/kerberos5/Makefile 117675 2003-07-16 20:59:15Z markm $
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} ${MFLAGS} cleandir; \
14	${MAKE} ${MFLAGS} obj; \
15	${MAKE} ${MFLAGS} depend; \
16	${MAKE} ${MFLAGS} all; \
17	${MAKE} ${MFLAGS} 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} ${MFLAGS} -DNO_KERBEROS cleandir; \
25	${MAKE} ${MFLAGS} -DNO_KERBEROS obj; \
26	${MAKE} ${MFLAGS} -DNO_KERBEROS depend; \
27	${MAKE} ${MFLAGS} -DNO_KERBEROS all; \
28	${MAKE} ${MFLAGS} -DNO_KERBEROS install
29.endfor
30
31.include <bsd.subdir.mk>
32