summaryrefslogtreecommitdiffstats
path: root/eBones/Makefile
blob: d086a4a56c54d5f013d3f2fb8ad3e611c700ae2a (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
#	From: @(#)Makefile	5.1 (Berkeley) 6/25/90
#	$Id: Makefile,v 1.3 1994/10/06 00:48:55 wollman Exp $

SUBDIR=	include

SUBDIR+= des compile_et acl ext_srvtab include kdb kdb_destroy kdb_edit \
	 kdb_init kdb_util kdestroy kerberos kinit klist krb ksrvtgt \
	 kstash man
#
# MISSING AND PROBABLY BOGUS: register registerd make_keypair
#

SDIR= ${.CURDIR}/..

CODAI?=	${MAKE} ${MFLAGS} cleandir; \
	${MAKE} ${MFLAGS} obj; ${MAKE} ${MFLAGS} depend all install

# These are the programs which depend on kerberos
# It's nice to know who they are
kprog:
	cd ${SDIR}/bin/rcp; ${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}/libexec/kpasswdd; ${CODAI}

bootstrap:
	cd include; ${MAKE} ${MFLAGS} install
	${MAKE} ${MFLAGS} cleandir
	${MAKE} ${MFLAGS} obj
	@echo removing old 1.1.5 Kerberos libraries
	rm -f /usr/lib/libkrb.so.4.0
	rm -f /usr/lib/libdes.so.4.0
	rm -f /usr/lib/libkdb.so.4.0
	${MAKE} ${MFLAGS} depend all install kprog

help-distribute:	distribute
	cd ${SDIR}/bin/rcp; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/libexec/rlogind; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/libexec/rshd; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/usr.bin/login; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/usr.bin/passwd; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/usr.bin/rlogin; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/usr.bin/rsh; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/usr.bin/su; ${MAKE} ${MFLAGS} distribute
	cd ${SDIR}/libexec/kpasswdd; ${MAKE} ${MFLAGS} distribute


.include <bsd.subdir.mk>

OpenPOWER on IntegriCloud