Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.bin / klist / Makefile
blob015d4277ac9099d2d3cb4969509f09aad72645bd
1 # $NetBSD: Makefile,v 1.18 2008/04/10 15:05:24 tsutsui Exp $
3 WARNS?= 1 # XXX -Wextra -Wshadow
5 NOLINT= # defined
7 .include <bsd.own.mk>
9 USE_FORT?= yes # cryptographic software
11 DIST= ${NETBSDSRCDIR}/crypto/dist
12 .PATH: ${DIST}/heimdal/kuser
14 PROG= klist
16 SRCS= klist.c
18 CPPFLAGS+= -I. \
19 -I${DIST}/heimdal/kuser \
20 -I${NETBSDSRCDIR}/include/heimdal \
21 -I${DESTDIR}/usr/include/krb5 \
22 -DHAVE_CONFIG_H
24 .if (${USE_INET6} != "no")
25 CPPFLAGS+=-DHAVE_IPV6
26 .endif
28 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
30 LDADD+= -lkafs -lkrb5 -lhx509 -lcrypto -lasn1 \
31 -lcom_err -L${VERS} -lvers -lroken -lcrypt
32 DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
33 ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
35 .include <bsd.prog.mk>