Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / kdigest / Makefile
blob909fab72737907a254ea92413b24ae2228b54d14
1 # $NetBSD: Makefile,v 1.2 2008/04/10 15:42:06 tsutsui Exp $
3 WARNS?= 2 # XXX -Wextra -Wsign-compare
4 NOLINT= # defined
6 .include <bsd.own.mk>
8 DIST= ${NETBSDSRCDIR}/crypto/dist
9 .PATH: ${DIST}/heimdal/kuser
11 PROG= kdigest
12 # no man-page yet
13 MAN=
15 SRCS+= kdigest.c \
16 kdigest-commands.c
18 CPPFLAGS+= -I. \
19 -I${DIST}/heimdal/kuser \
20 -I${NETBSDSRCDIR}/include/heimdal \
21 -I${DIST}/heimdal/lib/asn1 \
22 -I${DIST}/heimdal/lib/krb5 \
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+= -lkrb5 -lhx509 -lheimntlm -lcrypto -lasn1 -lcom_err -lsl \
33 -L${VERS} -lvers -lroken -lcrypt \
34 -lutil -ledit -ltermcap
35 DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBCRYPTO} ${LIBASN1} \
36 ${LIBCOM_ERR} ${LIBSL} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} \
37 ${LIBUTIL} ${LIBEDIT} ${LIBTERMCAP}
39 .include <bsd.prog.mk>