2005-01-10 06:11:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2005/01/10 03:11:18 lukem Exp $
|
2004-05-25 14:31:45 +04:00
|
|
|
|
|
|
|
NOLINT= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2004-05-25 14:31:45 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
|
|
|
|
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err \
|
|
|
|
-L${VERS} -lvers -lroken -lcrypt
|
|
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
|
|
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|