Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / usr.sbin / iprop-log / Makefile
blob3749bb53bf99ec3056f8239d2c64cd5974a2d89c
1 # $NetBSD: Makefile,v 1.3 2008/08/29 00:02:25 gmcgarry Exp $
3 WARNS?= 2 # XXX -Wextra -Wsign-compare
4 NOLINT= # defined
6 .include <bsd.own.mk>
8 DIST= ${NETBSDSRCDIR}/crypto/dist
9 .PATH: ${DIST}/heimdal/lib/kadm5
11 PROG= iprop-log
13 SRCS+= iprop-log.c \
14 iprop-commands.c
16 CPPFLAGS+= -I. \
17 -I${DIST}/heimdal/lib/hdb \
18 -I${DIST}/heimdal/lib/krb5 \
19 -I${NETBSDSRCDIR}/include/heimdal \
20 -I${DIST}/heimdal/lib/asn1 \
21 -I${DESTDIR}/usr/include/krb5 \
22 -I${DESTDIR}/usr/include/kadm5 \
23 -DHAVE_CONFIG_H
25 .if (${USE_INET6} != "no")
26 CPPFLAGS+=-DHAVE_IPV6
27 .endif
29 .if defined(HAVE_GCC) && ${HAVE_GCC} == 4
30 COPTS.mit_dump.c+= -Wno-pointer-sign
31 .endif
33 VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
35 LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lcrypto \
36 -lasn1 -lsl -lcom_err -L${VERS} -lvers \
37 -lroken -lcrypt -ledit -ltermcap
38 DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} \
39 ${LIBASN1} ${LIBSL} ${LIBCOM_ERR} ${VERS}/libvers.a \
40 ${LIBROKEN} ${LIBCRYPT} ${LIBEDIT} ${LIBTERMCAP}
42 MAN= iprop-log.8
44 .include <bsd.prog.mk>