summaryrefslogtreecommitdiffstats
path: root/kerberosIV/Makefile
blob: f8efd7a3b57e51aa5b67c8902169e5bbf10ece3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $FreeBSD$

MAINTAINER=	markm@FreeBSD.org

SUBDIR=	include lib libexec usr.bin usr.sbin

# These are the programs which depend on Kerberos.
KPROGS=	lib/libpam \
	sbin/dump sbin/restore

# This target is used to rebuild these programs WITH Kerberos.
kerberize:
.for entry in ${KPROGS}
	cd ${.CURDIR}/../${entry}; \
	${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 cleandir; \
	${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 obj; \
	${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 depend; \
	${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 all; \
	${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 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>
OpenPOWER on IntegriCloud