2008-08-29 04:02:21 +04:00
|
|
|
# $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
|
|
|
|
|
2008-08-29 04:02:21 +04:00
|
|
|
.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}
|
|
|
|
|
2008-04-10 19:42:06 +04:00
|
|
|
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>
|