Makefile revision 1.3
1# $NetBSD: Makefile,v 1.3 2017/01/28 21:31:52 christos Exp $
2
3.include <bsd.own.mk>
4.include <${.CURDIR}/../../Makefile.inc>
5
6USE_FORT?= yes	# network protocol library
7NOLINT=
8
9.PATH:		${HEIMDIST}/kdc ${HEIMBASE}/include
10
11LIB=		kdc
12
13LIBDPLIBS+=	krb5		${.CURDIR}/../libkrb5		\
14		crypto		${SSLBASE}/lib/libcrypto	\
15		hdb		${.CURDIR}/../libhdb		\
16		hx509		${.CURDIR}/../libhx509		\
17		asn1		${.CURDIR}/../libasn1		\
18		heimntlm	${.CURDIR}/../libheimntlm	\
19		roken		${.CURDIR}/../libroken
20
21SRCS =	default_config.c	\
22        set_dbinfo.c		\
23        digest.c		\
24        fast.c			\
25        kerberos5.c		\
26        krb5tgs.c		\
27        pkinit.c		\
28        pkinit-ec.c		\
29        log.c			\
30        misc.c			\
31        kx509.c			\
32        process.c		\
33        windc.c
34
35INCSDIR=/usr/include/krb5
36INCS= kdc-protos.h kdc.h
37
38CPPFLAGS+= -I${HEIMDIST}/lib/krb5
39
40# Prevent collision with old MIT Kerberos includes -- require manual
41# intervention of the operator.
42.BEGIN:
43.ifmake includes
44	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
45		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
46		false; \
47	fi
48.endif
49
50.include <${HEIMBASE}/Makefile.rules.inc>
51.include <bsd.lib.mk>
52