Deleted Added
full compact
Makefile (57744) Makefile (95509)
1# $FreeBSD: head/kerberos5/Makefile 57744 2000-03-03 20:37:15Z jhay $
1# $FreeBSD: head/kerberos5/Makefile 95509 2002-04-26 17:55:27Z ru $
2
3SUBDIR= lib libexec usr.bin usr.sbin
4
2
3SUBDIR= lib libexec usr.bin usr.sbin
4
5SDIR= ${.CURDIR}/../secure
5# These are the programs which depend on Kerberos.
6KPROGS= secure/usr.bin/ssh secure/usr.sbin/sshd
6
7
7bootstrap: cleandir obj depend all install kprog
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
8
18
9help-distribute: distribute
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
10
29
11CODAI= ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes cleandir && \
12 ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes obj && \
13 ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes depend all install
14
15CODAD= ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes cleandir && \
16 ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes obj && \
17 ${MAKE} ${MFLAGS} MAKE_KERBEROS5=yes depend all distribute
18
19kprog:
20 cd ${SDIR}/usr.bin/ssh; ${CODAI}
21 cd ${SDIR}/usr.sbin/sshd; ${CODAI}
22
23help-distribute: distribute
24 cd ${SDIR}/usr.bin/ssh; ${CODAD}
25 cd ${SDIR}/usr.sbin/sshd; ${CODAD}
26
27.include <bsd.subdir.mk>
30.include <bsd.subdir.mk>