2003-08-18 11:23:45 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2003/08/18 07:23:45 lha Exp $
|
2001-12-12 03:51:00 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2000-12-30 20:29:24 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/kdc
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
PROG= hpropd
|
|
|
|
MAN= hpropd.8
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
.if ${MKKERBEROS4} != "no"
|
|
|
|
CPPFLAGS+= -DKRB4
|
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
2003-08-18 11:23:45 +04:00
|
|
|
KRB4LDADD= -lkdb -lkrb -ldes
|
|
|
|
KRB4DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES}
|
2003-07-23 12:01:24 +04:00
|
|
|
.endif
|
|
|
|
|
2000-06-17 03:32:37 +04:00
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/kdc \
|
2002-08-19 17:54:34 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-17 03:32:37 +04:00
|
|
|
-I${DIST}/heimdal/lib/asn1 \
|
|
|
|
-I${DIST}/heimdal/lib/krb5 \
|
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
LDADD+= -lhdb -lkrb5 ${KRB4LDADD} -lcrypto \
|
2002-10-23 05:11:09 +04:00
|
|
|
-lasn1 -lcom_err -L${VERS} -lvers -lroken \
|
|
|
|
-lcrypt
|
2003-07-23 12:01:24 +04:00
|
|
|
DPADD+= ${LIBHDB} ${LIBKRB5} ${KRB4DPADD} ${LIBCRYPTO} \
|
2002-10-23 05:11:09 +04:00
|
|
|
${LIBASN1} ${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} \
|
2003-07-23 12:01:24 +04:00
|
|
|
${LIBCRYPT}
|
2000-06-17 03:32:37 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|