2008-04-10 19:05:23 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
|
2008-03-22 12:24:06 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
|
|
.PATH: ${DIST}/heimdal/lib/hx509
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
|
|
|
PROG= hxtool
|
|
|
|
# man page is missing
|
|
|
|
MAN=
|
|
|
|
|
|
|
|
SRCS= \
|
|
|
|
hxtool.c \
|
|
|
|
hxtool-commands.c
|
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/lib/hx509 \
|
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
|
|
-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+= -lhx509 -lcrypto -lasn1 -lcom_err \
|
2008-04-10 19:05:23 +04:00
|
|
|
-L${VERS} -lvers -lroken -lsl -lcrypt -lutil \
|
|
|
|
-ledit -ltermcap
|
2008-03-22 12:24:06 +03:00
|
|
|
DPADD+= ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
|
2008-04-10 19:05:23 +04:00
|
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBSL} ${LIBCRYPT} ${LIBUTIL} \
|
|
|
|
${LIBEDIT} ${LIBTERMCAP}
|
2008-03-22 12:24:06 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|