Makefile revision 1.4
1# $NetBSD: Makefile,v 1.4 2018/07/06 08:54:30 martin 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		heimbase	${.CURDIR}/../libheimbase	\
19		heimntlm	${.CURDIR}/../libheimntlm	\
20		roken		${.CURDIR}/../libroken
21
22SRCS =	default_config.c	\
23        set_dbinfo.c		\
24        digest.c		\
25        fast.c			\
26        kerberos5.c		\
27        krb5tgs.c		\
28        pkinit.c		\
29        pkinit-ec.c		\
30        log.c			\
31        misc.c			\
32        kx509.c			\
33        process.c		\
34        windc.c
35
36INCSDIR=/usr/include/krb5
37INCS= kdc-protos.h kdc.h
38
39CPPFLAGS+= -I${HEIMDIST}/lib/krb5
40
41# Prevent collision with old MIT Kerberos includes -- require manual
42# intervention of the operator.
43.BEGIN:
44.ifmake includes
45	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
46		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
47		false; \
48	fi
49.endif
50
51.include <${HEIMBASE}/Makefile.rules.inc>
52.include <bsd.lib.mk>
53