37 lines
801 B
Makefile
37 lines
801 B
Makefile
# $NetBSD: Makefile,v 1.16 2009/04/22 15:23:05 lukem Exp $
|
|
|
|
WARNS?= 2 # XXX -Wextra -Wsign-compare
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/kdc
|
|
|
|
PROG= kstash
|
|
|
|
SRCS= kstash.c
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${DIST}/heimdal/kdc \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
LDADD+= -lhdb -lkrb5 -lhx509 -lcrypto -lasn1 -lcom_err \
|
|
-L${VERS} -lvers -lroken -lcrypt
|
|
DPADD+= ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
|
|
|
|
MAN= kstash.8
|
|
|
|
.include <bsd.prog.mk>
|