NetBSD/usr.bin/hxtool/Makefile

42 lines
841 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2008/04/10 15:05:23 tsutsui Exp $
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 \
-L${VERS} -lvers -lroken -lsl -lcrypt -lutil \
-ledit -ltermcap
DPADD+= ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
${VERS}/libvers.a ${LIBROKEN} ${LIBSL} ${LIBCRYPT} ${LIBUTIL} \
${LIBEDIT} ${LIBTERMCAP}
.include <bsd.prog.mk>