summaryrefslogtreecommitdiffstats
path: root/eBones/usr.bin/kadmin/Makefile
blob: 0754009b896bf33220430157583388139eb34612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$Id$

BINDIR=	/usr/bin
PROG=	kadmin
SRCS=	kadmin.c kadmin_cmds.c krb_err.h
CLEANFILES+=	kadmin_cmds.c krb_err.c
CFLAGS+=	-DPOSIX -I${.CURDIR}/../../include \
		-I${.CURDIR}/../../lib/libkadm -Wall
DPADD= ${LIBKRB} ${LIBDES}
LDADD+=	-lkadm -lkrb -ldes
LDADD+=	-lss -lcom_err
MAN8=	kadmin.8

kadmin_cmds.c:	kadmin_cmds.ct
	test -e kadmin_cmds.ct || ln -s ${.CURDIR}/kadmin_cmds.ct .
	mk_cmds kadmin_cmds.ct

krb_err.h:
	test -e krb_err.et || ln -s ${.CURDIR}/../../lib/libkrb/krb_err.et .
	compile_et krb_err.et

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