Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / usr.bin / kdestroy / Makefile
blob0d8069e08b7f29ce88823a7f6edc3079b4a3299c
1 # $NetBSD: Makefile,v 1.19 2008/04/10 15:05:23 tsutsui Exp $
3 USE_FORT?= yes # cryptographic software
5 NOLINT= # defined
7 .include <bsd.own.mk>
9 DIST= ${NETBSDSRCDIR}/crypto/dist
10 .PATH: ${DIST}/heimdal/kuser
12 PROG= kdestroy
14 SRCS= kdestroy.c
16 CPPFLAGS+= -I. \
17 -I${DIST}/heimdal/kuser \
18 -I${NETBSDSRCDIR}/include/heimdal \
19 -I${DESTDIR}/usr/include/krb5 \
20 -DHAVE_CONFIG_H
22 .if (${USE_INET6} != "no")
23 CPPFLAGS+=-DHAVE_IPV6
24 .endif
26 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
28 LDADD+= -lkafs -lkrb5 -lhx509 -lcrypto -lasn1 \
29 -lcom_err -L${VERS} -lvers -lroken -lcrypt
30 DPADD+= ${LIBKAFS} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
31 ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
33 .include <bsd.prog.mk>