freebsd-dev/kerberos5/Makefile
2002-10-30 20:33:28 +00:00

31 lines
851 B
Makefile

# $FreeBSD$
SUBDIR= doc lib libexec usr.bin usr.sbin
# These are the programs which depend on Kerberos.
KPROGS= lib/libpam secure/lib/libssh secure/usr.bin/ssh secure/usr.sbin/sshd
# This target is used to rebuild these programs WITH Kerberos.
kerberize:
.for entry in ${KPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 cleandir; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 obj; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 depend; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 all; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS5 install
.endfor
# This target is used to rebuild these programs WITHOUT Kerberos.
dekerberize:
.for entry in ${KPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} ${MFLAGS} cleandir; \
${MAKE} ${MFLAGS} obj; \
${MAKE} ${MFLAGS} depend; \
${MAKE} ${MFLAGS} all; \
${MAKE} ${MFLAGS} install
.endfor
.include <bsd.subdir.mk>