1
2PACKAGE=	kerberos
3
4PROG=	hxtool
5MAN=
6CFLAGS+=	-I${KRB5DIR}/lib/hx509 \
7		-I${KRB5DIR}/lib/asn1 \
8		-I${KRB5DIR}/lib/roken \
9		-I${KRB5DIR}/lib/sl \
10		-I${SRCTOP}/contrib/com_err \
11		-I.
12CFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
13LIBADD=	hx509 roken asn1 crypto sl vers edit
14SRCS=	hxtool.c hxtool-commands.c hxtool-commands.h
15
16CLEANFILES=	hxtool-commands.h hxtool-commands.c
17
18hxtool-commands.h: hxtool-commands.in
19	${SLC} ${.ALLSRC:M*.in}
20
21hxtool-commands.c: hxtool-commands.h
22
23.include <bsd.prog.mk>
24
25.PATH: ${KRB5DIR}/lib/hx509
26