summaryrefslogtreecommitdiffstats
path: root/kerberosIV/Makefile
blob: b3ce435207506e070954b557eeba01c3115f4713 (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
#	$Id: Makefile,v 1.9 1998/09/04 22:18:49 markm Exp $

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}
	cd ${SDIR}/gnu/usr.bin/cvs; ${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}
	cd ${SDIR}/gnu/usr.bin/cvs; ${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}
	cd ${SDIR}/gnu/usr.bin/cvs; ${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