summaryrefslogtreecommitdiff
path: root/kerberosIV/Makefile
blob: 2cb6c91f8ba4bb0323a86cf1830bb747950eaddc (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
#	$OpenBSD: Makefile,v 1.4 1996/06/02 07:21:30 tholo Exp $
#	from @(#)Makefile	5.1 (Berkeley) 6/25/90

# do compile_et and mk_cmds first, used by other directories

.ifnmake install
SUBDIR=	compile_et mk_cmds
.endif

.ifmake includes
SUBDIR+=include
.endif

SUBDIR+=acl com_err des krb kadm kafs kdb ss

SUBDIR+=ext_srvtab kadmin kadmind kdb_destroy kdb_edit kdb_init kdb_util \
	kdestroy kerberos kinit klist kpasswdd kprop kpropd ksrvtgt ksrvutil \
	kstash make_keypair register registerd

SUBDIR+=man

build:
	(cd ${.CURDIR}/include && ${MAKE} includes)
	${MAKE} cleandir
	${MAKE} includes
	(cd ${.CURDIR}/compile_et && ${MAKE} depend && ${MAKE})
	(cd ${.CURDIR}/mk_cmds && ${MAKE} depend && ${MAKE})
	(cd ${.CURDIR}/acl && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/com_err && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/des && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/krb && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/kadm && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/kafs && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/kdb && ${MAKE} depend && ${MAKE} && ${MAKE} install)
	(cd ${.CURDIR}/ss && ${MAKE} depend && ${MAKE} && ${MAKE} install)

# Since depending need to have some dynamically built sources available,
# we need to build the generators first.
beforedepend:
	(cd ${.CURDIR}/compile_et && ${MAKE} depend && ${MAKE})
	(cd ${.CURDIR}/mk_cmds && ${MAKE} depend && ${MAKE})

.include <bsd.dep.mk>
.include <bsd.subdir.mk>