NetBSD/usr.sbin/iprop-log/Makefile

45 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2009/04/22 15:23:03 lukem Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/kadm5
PROG= iprop-log
SRCS+= iprop-log.c \
iprop-commands.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/lib/hdb \
-I${DIST}/heimdal/lib/krb5 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DESTDIR}/usr/include/krb5 \
-I${DESTDIR}/usr/include/kadm5 \
-DHAVE_CONFIG_H
.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
COPTS.mit_dump.c+= -Wno-pointer-sign
.endif
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lcrypto \
-lasn1 -lsl -lcom_err -L${VERS} -lvers \
-lroken -lcrypt -ledit -ltermcap
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} \
${LIBASN1} ${LIBSL} ${LIBCOM_ERR} ${VERS}/libvers.a \
${LIBROKEN} ${LIBCRYPT} ${LIBEDIT} ${LIBTERMCAP}
MAN= iprop-log.8
.include <bsd.prog.mk>