Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / hxtool / Makefile
blob8bc1f124f4cead4372939f8f6d7e511c294f7d40
1 # $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
3 WARNS?= 1 # XXX -Wextra -Wshadow
5 NOLINT= # defined
6 NOMAN= # defined
8 .include <bsd.own.mk>
10 DIST= ${NETBSDSRCDIR}/crypto/dist
11 .PATH: ${DIST}/heimdal/lib/hx509
13 PROG= hxtool
15 SRCS= \
16 hxtool.c \
17 hxtool-commands.c
19 CPPFLAGS+= -I. \
20 -I${DIST}/heimdal/lib/hx509 \
21 -I${DIST}/heimdal/lib/asn1 \
22 -I${NETBSDSRCDIR}/include/heimdal \
23 -I${DESTDIR}/usr/include/krb5 \
24 -DHAVE_CONFIG_H
26 .if (${USE_INET6} != "no")
27 CPPFLAGS+=-DHAVE_IPV6
28 .endif
30 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
32 LDADD+= -lhx509 -lcrypto -lasn1 -lcom_err \
33 -L${VERS} -lvers -lroken -lsl -lcrypt -lutil \
34 -ledit -ltermcap
35 DPADD+= ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
36 ${VERS}/libvers.a ${LIBROKEN} ${LIBSL} ${LIBCRYPT} ${LIBUTIL} \
37 ${LIBEDIT} ${LIBTERMCAP}
39 .include <bsd.prog.mk>