Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.bin / kinit / Makefile
blobe15fae2a9bf487b19fae816f3966d43a91808a0b
1 # $NetBSD: Makefile,v 1.23 2008/04/10 15:05:24 tsutsui Exp $
3 WARNS?= 2 # XXX -Wextra
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= kinit
16 SRCS= kinit.c
18 .if (${USE_INET6} != "no")
19 CPPFLAGS+=-DHAVE_IPV6
20 .endif
22 CPPFLAGS+= -I. \
23 -I${DIST}/heimdal/kuser \
24 -I${NETBSDSRCDIR}/include/heimdal \
25 -I${DESTDIR}/usr/include/krb5 \
26 -DHAVE_CONFIG_H
28 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
30 LDADD+= -lkafs -lkrb5 -lhx509 -lheimntlm -ldes -lcrypto -lasn1 -lcom_err \
31 -L${VERS} -lvers -lroken -lcrypt -lutil
32 DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBHEIMNTLM} ${LIBDES} \
33 ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
34 ${LIBCRYPT} ${LIBUTIL}
36 .include <bsd.prog.mk>