2009-04-15 02:15:16 +04:00
|
|
|
# $NetBSD: Makefile,v 1.18 2009/04/14 22:15:27 lukem Exp $
|
|
|
|
|
|
|
|
WARNS?= 1 # XXX -Wextra -Wshadow
|
2001-12-12 15:24:19 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 18:25:19 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-06-17 03:47:14 +04:00
|
|
|
.PATH: ${DIST}/heimdal/kdc
|
|
|
|
|
|
|
|
PROG= string2key
|
2001-01-25 02:09:30 +03:00
|
|
|
MAN= string2key.8
|
2000-06-17 03:47:14 +04:00
|
|
|
|
|
|
|
SRCS= string2key.c
|
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/kdc \
|
2002-09-18 18:00:33 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-17 03:47:14 +04:00
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-08-04 02:47:37 +04:00
|
|
|
|
2008-04-10 19:05:23 +04:00
|
|
|
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}
|
2000-06-17 03:47:14 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|