summaryrefslogtreecommitdiff
path: root/kerberosV/usr.bin/kcc/Makefile
blob: 46247ba9317803d2f6f8925ad462b2509d092384 (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
# $OpenBSD: Makefile,v 1.5 2013/07/01 05:15:24 ajacoutot Exp $

PROG=	kcc
MPAGES=	klist.1
MSRC=	${KRB5DIR}/kuser
LINKS=	${BINDIR}/kcc ${BINDIR}/klist
CFLAGS+=	-I${KRB5DIR}/lib/asn1 \
		-I${KRB5DIR}/lib/roken \
		-I${KRB5DIR}/lib/sl -I.
DPADD=	${LIBKRB5} ${LIBHEIMNTLM} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
	${LIBCRYPT} ${LIBKAFS5} ${LIBSL} ${LIBVERS} ${LIBEDIT}
LDADD=	-lkrb5 -lroken -lasn1 -lcrypto -lkafs5 ${LIBSL} \
	${LIBVERS} -ledit -lcurses -lwind -lcom_err -lheimbase
SRCS=	kcc.c \
	kcc-commands.c \
	kcc-commands.h \
	klist.c \
	kswitch.c \
	copy_cred_cache.c

CLEANFILES+=	kcc-commands.[ch]*

kcc-commands.h kcc-commands.c: kcc-commands.in
	${SLC} ${.ALLSRC:M*.in}

kcc-commands.o: kcc-commands.h

.include <bsd.prog.mk>

.PATH: ${KRB5DIR}/kuser