NetBSD/usr.sbin/hprop/Makefile
itojun e63468d8cc split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se
(build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
2003-07-23 08:01:24 +00:00

45 lines
941 B
Makefile

# $NetBSD: Makefile,v 1.9 2003/07/23 08:01:40 itojun Exp $
NOLINT= # defined
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/crypto/dist
.PATH: ${DIST}/heimdal/kdc
WARNS?= 1
PROG= hprop
.if ${MKKERBEROS4} != "no"
CPPFLAGS+= -DKRB4
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
KRB4LDADD= -lkdb -lkrb
KRB4DPADD= ${LIBKDB} ${LIBKRB}
.endif
SRCS+= hprop.c \
v4_dump.c \
mit_dump.c
CPPFLAGS+= -I. \
-I${DIST}/heimdal/kdc \
-I${DIST}/heimdal/lib/hdb \
-I${DIST}/heimdal/lib/krb5 \
-I${NETBSDSRCDIR}/include/heimdal \
-I${DIST}/heimdal/lib/asn1 \
-I${DESTDIR}/usr/include/krb5 \
-DHAVE_CONFIG_H
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
LDADD+= -lhdb -lkrb5 ${KRB4LDADD} -lcrypto -lasn1 \
-lcom_err -L${VERS} -lvers -lroken -lcrypt
DPADD+= ${LIBHDB} ${LIBKRB5} ${KRB4DPADD} ${LIBCRYPTO} ${LIBASN1} \
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT}
MAN= hprop.8
.include <bsd.prog.mk>