2006-05-12 03:16:28 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 2006/05/11 23:16:29 mrg 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/kpasswd
|
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= kpasswdd
|
|
|
|
MAN= kpasswdd.8
|
2000-06-17 03:32:37 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/kpasswd \
|
2002-08-19 17:54:34 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-06-17 03:32:37 +04:00
|
|
|
-I${DESTDIR}/usr/include/kadm5 \
|
|
|
|
-I${DESTDIR}/usr/include/krb5 \
|
2000-09-13 15:30:41 +04:00
|
|
|
-DHAVE_CONFIG_H -DINETD_SUPPORT
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2006-05-12 03:16:28 +04:00
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS.kpasswdd.c+= -fno-strict-aliasing
|
|
|
|
.endif
|
|
|
|
|
2002-08-19 17:54:34 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-06-17 03:32:37 +04:00
|
|
|
|
2002-10-23 05:06:11 +04:00
|
|
|
LDADD+= -lkadm5srv -lhdb -lkrb5 -lcrypto -lasn1 \
|
|
|
|
-lcom_err -L${VERS} -lvers -lroken -lcrypt \
|
|
|
|
-lutil
|
|
|
|
DPADD+= ${LIBKADM5SRV} ${LIBHDB} ${LIBKRB5} ${LIBCRYPTO} ${LIBASN1} \
|
|
|
|
${LIBCOM_ERR} ${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} \
|
|
|
|
${LIBUTIL}
|
2000-06-17 03:32:37 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|