Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / usr.bin / string2key / Makefile
blobba349e4ea6d439f63d90eddc722b51b668dd3643
1 # $NetBSD: Makefile,v 1.17 2008/04/10 15:05:24 tsutsui Exp $
3 WARNS?= 1 # XXX -Wextra -Wshadow
5 NOLINT= # defined
7 .include <bsd.own.mk>
9 DIST= ${NETBSDSRCDIR}/crypto/dist
10 .PATH: ${DIST}/heimdal/kdc
12 PROG= string2key
13 MAN= string2key.8
15 SRCS= string2key.c
17 CPPFLAGS+= -I. \
18 -I${DIST}/heimdal/kdc \
19 -I${NETBSDSRCDIR}/include/heimdal \
20 -I${DIST}/heimdal/lib/asn1 \
21 -I${DIST}/heimdal/lib/krb5 \
22 -I${DESTDIR}/usr/include/krb5 \
23 -DHAVE_CONFIG_H
25 .if (${USE_INET6} != "no")
26 CPPFLAGS+=-DHAVE_IPV6
27 .endif
29 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
31 LDADD+= -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err -L${VERS} \
32 -lvers -lroken -lcrypt -lutil
33 DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
34 ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
36 .include <bsd.prog.mk>