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