2003-08-24 03:03:42 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2003/08/23 23:03:45 lha Exp $
|
2001-12-12 15:24:19 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2001-01-11 16:15:06 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-06-17 03:32:37 +04:00
|
|
|
.PATH: ${DIST}/heimdal/kdc
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
|
|
|
PROG= kdc
|
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
.if ${MKKERBEROS4} != "no"
|
|
|
|
CPPFLAGS+= -DKRB4
|
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
2003-08-24 03:03:42 +04:00
|
|
|
KRB4LDADD= -lkrb -ldes
|
|
|
|
KRB4DPADD= ${LIBKRB} ${LIBDES}
|
2003-07-23 12:01:24 +04:00
|
|
|
|
|
|
|
SRCS+= kaserver.c
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS+= 524.c \
|
2000-06-17 03:32:37 +04:00
|
|
|
config.c \
|
|
|
|
connect.c \
|
|
|
|
kdc_locl.h \
|
|
|
|
kerberos4.c \
|
|
|
|
kerberos5.c \
|
|
|
|
log.c \
|
|
|
|
main.c \
|
|
|
|
misc.c \
|
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${DIST}/heimdal/kdc \
|
2002-09-18 07:54:26 +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-09-18 07:54:26 +04:00
|
|
|
VERS!= cd ${NETBSDSRCDIR}/lib/libvers && ${PRINTOBJDIR}
|
2000-08-04 02:47:37 +04:00
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
LDADD+= -lhdb -lkrb5 ${KRB4LDADD} -lcrypto -lasn1 -lcom_err \
|
2002-10-23 05:09:37 +04:00
|
|
|
-L${VERS} -lvers -lroken -lcrypt -lutil
|
2003-07-23 12:01:24 +04:00
|
|
|
DPADD+= ${LIBHDB} ${LIBKRB5} ${KRB4DPADD} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} \
|
2002-10-23 05:09:37 +04:00
|
|
|
${VERS}/libvers.a ${LIBROKEN} ${LIBCRYPT} ${LIBUTIL}
|
2000-06-17 03:32:37 +04:00
|
|
|
|
|
|
|
MAN= kdc.8
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|