summaryrefslogtreecommitdiffstats
path: root/kerberosIV/Makefile
blob: 9c962efbb2008b24b85b8de55512a1343f201fe0 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# $FreeBSD$

MAINTAINER=	markm@FreeBSD.org

SUBDIR=	include lib libexec usr.bin usr.sbin

SDIR= ${.CURDIR}/..

CODAI=	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes cleandir && \
	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes obj && \
	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes depend all install

CODAIN=	${MAKE} ${MFLAGS} cleandir && \
	${MAKE} ${MFLAGS} obj && \
	${MAKE} ${MFLAGS} depend all install

CODAD=	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes cleandir && \
	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes obj && \
	${MAKE} ${MFLAGS} MAKE_KERBEROS4=yes depend all distribute

# These are the programs which depend on kerberos
kprog:
	cd ${SDIR}/bin/rcp; ${CODAI}
	echo "WARNING: kerberosIV'ed cvs broken"
	#cd ${SDIR}/gnu/usr.bin/cvs; ${CODAI}
	cd ${SDIR}/libexec/ftpd; ${CODAI}
	cd ${SDIR}/libexec/rlogind; ${CODAI}
	cd ${SDIR}/libexec/rshd; ${CODAI}
	cd ${SDIR}/usr.bin/login; ${CODAI}
	cd ${SDIR}/usr.bin/passwd; ${CODAI}
	cd ${SDIR}/usr.bin/rlogin; ${CODAI}
	cd ${SDIR}/usr.bin/rsh; ${CODAI}
	cd ${SDIR}/usr.bin/su; ${CODAI}
	cd ${SDIR}/sbin/dump; ${CODAI}
	cd ${SDIR}/sbin/restore; ${CODAI}

# These are the programs which depend on kerberos
# This target us used to rebuild these programs WITHOUT kerberos
dekerberise:
	cd ${SDIR}/bin/rcp; ${CODAIN}
	echo "WARNING: kerberosIV'ed cvs broken"
	#cd ${SDIR}/gnu/usr.bin/cvs; ${CODAIN}
	cd ${SDIR}/libexec/ftpd; ${CODAIN}
	cd ${SDIR}/libexec/rlogind; ${CODAIN}
	cd ${SDIR}/libexec/rshd; ${CODAIN}
	cd ${SDIR}/usr.bin/login; ${CODAIN}
	cd ${SDIR}/usr.bin/passwd; ${CODAIN}
	cd ${SDIR}/usr.bin/rlogin; ${CODAIN}
	cd ${SDIR}/usr.bin/rsh; ${CODAIN}
	cd ${SDIR}/usr.bin/su; ${CODAIN}
	cd ${SDIR}/sbin/dump; ${CODAIN}
	cd ${SDIR}/sbin/restore; ${CODAIN}

bootstrap: cleandir obj depend all install kprog

help-distribute:	distribute
	cd ${SDIR}/bin/rcp; ${CODAD}
	echo "WARNING: kerberosIV'ed cvs broken"
	#cd ${SDIR}/gnu/usr.bin/cvs; ${CODAD}
	cd ${SDIR}/libexec/ftpd; ${CODAD}
	cd ${SDIR}/libexec/rlogind; ${CODAD}
	cd ${SDIR}/libexec/rshd; ${CODAD}
	cd ${SDIR}/usr.bin/login; ${CODAD}
	cd ${SDIR}/usr.bin/passwd; ${CODAD}
	cd ${SDIR}/usr.bin/rlogin; ${CODAD}
	cd ${SDIR}/usr.bin/rsh; ${CODAD}
	cd ${SDIR}/usr.bin/su; ${CODAD}
	cd ${SDIR}/sbin/dump; ${CODAD}
	cd ${SDIR}/sbin/restore; ${CODAD}

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud