1# $FreeBSD$ 2 3SUBDIR= doc lib libexec usr.bin usr.sbin 4 5# These are the programs which depend on Kerberos. 6KPROGS= lib/libpam 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} -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. 20dekerberize: 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> 31