NetBSD/usr.sbin/iprop-log/Makefile

46 lines
1.0 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2008/08/29 00:02:25 gmcgarry Exp $
2008-03-22 12:29:55 +03:00
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/lib/kadm5
WARNS?= 1
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
2008-03-22 12:29:55 +03:00
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}
2008-03-22 12:29:55 +03:00
MAN= iprop-log.8
.include <bsd.prog.mk>