summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/heimdal/lib/libkdc/Makefile
blob: 3e255934de699c1bf5e24eb4d7aeb57ed6de3b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $NetBSD: Makefile,v 1.2 2013/09/11 23:04:09 joerg Exp $

.include <bsd.own.mk>
.include <${.CURDIR}/../../Makefile.inc>

USE_FORT?= yes	# network protocol library
NOLINT=

.PATH:		${HEIMDIST}/kdc ${HEIMBASE}/include

LIB=		kdc

LIBDPLIBS+=	krb5		${.CURDIR}/../libkrb5		\
		crypto		${SSLBASE}/lib/libcrypto	\
		hdb		${.CURDIR}/../libhdb		\
		hx509		${.CURDIR}/../libhx509		\
		asn1		${.CURDIR}/../libasn1		\
		heimntlm	${.CURDIR}/../libheimntlm	\
		roken		${.CURDIR}/../libroken

SRCS =	default_config.c	\
        set_dbinfo.c		\
        digest.c		\
        kerberos5.c		\
        krb5tgs.c		\
        pkinit.c		\
        log.c			\
        misc.c			\
        kx509.c			\
        process.c		\
        windc.c

INCSDIR=/usr/include/krb5
INCS= kdc-protos.h kdc.h

CPPFLAGS+= -I${HEIMDIST}/lib/krb5

# Prevent collision with old MIT Kerberos includes -- require manual
# intervention of the operator.
.BEGIN:
.ifmake includes
	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
		false; \
	fi
.endif

.include <${HEIMBASE}/Makefile.rules.inc>
.include <bsd.lib.mk>