46 lines
997 B
Makefile
46 lines
997 B
Makefile
# $NetBSD: Makefile,v 1.4 2011/06/20 07:43:59 mrg Exp $
|
|
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/lib/kadm5
|
|
|
|
WARNS?= 1
|
|
|
|
PROG= ipropd-slave
|
|
|
|
# man page included with ipropd-master
|
|
MAN=
|
|
|
|
SRCS+= ipropd_slave.c \
|
|
ipropd_common.c
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${DESTDIR}/usr/include/kadm5 \
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if defined(HAVE_GCC) || defined(HAVE_PCC)
|
|
COPTS.server.c+= -Wno-pointer-sign
|
|
.endif
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
|
|
|
LDADD+= -lkadm5srv -lhdb -lkrb5 -lhx509 -lasn1 \
|
|
-lcrypto -L${VERS} -lvers -lcom_err -lroken \
|
|
-lcrypt -lutil
|
|
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBHX509} ${LIBASN1} \
|
|
${LIBCRYPTO} ${VERS}/libvers.a ${LIBCOM_ERR} ${LIBROKEN} \
|
|
${LIBCRYPT} ${LIBUTIL}
|
|
|
|
.include <bsd.prog.mk>
|