Initial import from FreeBSD RELENG_4:
[dragonfly.git] / kerberos5 / Makefile
1 # $FreeBSD: src/kerberos5/Makefile,v 1.8.2.1 2002/07/25 09:33:14 ru Exp $
2
3 SUBDIR= lib libexec usr.bin usr.sbin
4
5 # These are the programs which depend on Kerberos.
6 KPROGS= secure/usr.bin/ssh secure/usr.sbin/sshd
7
8 # This target is used to rebuild these programs WITH Kerberos.
9 kerberize:
10 .for entry in ${KPROGS}
11         cd ${.CURDIR}/../${entry}; \
12         ${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 cleandir; \
13         ${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 obj; \
14         ${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 depend; \
15         ${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 all; \
16         ${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 install
17 .endfor
18
19 # This target is used to rebuild these programs WITHOUT Kerberos.
20 dekerberize:
21 .for entry in ${KPROGS}
22         cd ${.CURDIR}/../${entry}; \
23         ${MAKE} ${MFLAGS} cleandir; \
24         ${MAKE} ${MFLAGS} obj; \
25         ${MAKE} ${MFLAGS} depend; \
26         ${MAKE} ${MFLAGS} all; \
27         ${MAKE} ${MFLAGS} install
28 .endfor
29
30 .include <bsd.subdir.mk>