NetBSD/usr.bin/kgetcred/Makefile

36 lines
752 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2008/04/10 15:05:23 tsutsui Exp $
NOLINT= # defined
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # cryptographic software
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kuser
WARNS?= 1
PROG= kgetcred
SRCS= kgetcred.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kuser \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err \
-L${VERS} -lvers -lroken -lcrypt -lutil
DPADD+= ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
.include <bsd.prog.mk>