summaryrefslogtreecommitdiff
path: root/kerberosV/usr.sbin/kadmin/Makefile
blob: e98725dcbf8aa576ef63d18233764378c1ff72dd (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
# $OpenBSD: Makefile,v 1.13 2003/07/14 16:14:45 mho Exp $

KRBDEPTH=../..
.include <${.CURDIR}/../../Makefile.inc>

PROG=	kadmin
MAN=	kadmin.8

SRCS=	ank.c \
	cpw.c \
	del.c \
	del_enctype.c \
	dump.c \
	ext.c \
	get.c \
	init.c \
	kadmin.c \
	load.c \
	mod.c \
	rename.c \
	util.c \
	random_password.c \
	kadmin_locl.h \
	sl.c
SRCS+=	${PRINTVER}
SRCS+=	tm2time.c get_default_username.c k_getpwnam.c k_getpwuid.c

.PATH:	${KRB5SRC}/kadmin
.PATH:	${KRB5SRC}/lib/sl
.PATH:	${ROKENSRC}

CFLAGS+=-I${KRB5SRC}/lib/krb5 -I${KRB5SRC}/lib/kadm5

DPADD+= ${LIBREADLINE} ${LIBCURSES} ${LIBKADM5SRV} ${LIBKADM5CLNT} \
	${LIBKRB5} ${LIBCRYPTO} ${LIBDES}
LDADD+=	-lreadline -lcurses -lkadm5srv -lkadm5clnt \
	-lkrb5 -lcrypto -ldes

.include <bsd.prog.mk>