NetBSD/usr.sbin/hprop/Makefile

47 lines
915 B
Makefile

# $NetBSD: Makefile,v 1.14 2007/05/28 12:06:34 tls Exp $
NOLINT= # defined
.include <bsd.own.mk>
USE_FORT?= yes # network client
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kdc
WARNS?= 1
PROG= hprop
SRCS+= hprop.c \
v4_dump.c \
mit_dump.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kdc \
-I${DIST}/heimdal/lib/hdb \
-I${DIST}/heimdal/lib/krb5 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
.if ${HAVE_GCC} == 4
COPTS.mit_dump.c+= -Wno-pointer-sign
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lhdb -lkrb5 -lcrypto -lasn1 \
-lcom_err -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBHDB} ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
MAN= hprop.8
.include <bsd.prog.mk>