blob: 4fb9c5ef48ea2c628d9ec5e4e3de9cc5e218f31e (
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
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.6 2023/06/19 23:56:55 mrg 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 \
heimbase ${.CURDIR}/../libheimbase \
heimntlm ${.CURDIR}/../libheimntlm \
roken ${.CURDIR}/../libroken
SRCS = default_config.c \
set_dbinfo.c \
digest.c \
fast.c \
kerberos5.c \
krb5tgs.c \
pkinit.c \
pkinit-ec.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 \
-I${HEIMDIST}/lib
COPTS.kx509.c+= -Wno-error=deprecated-declarations
COPTS.pkinit-ec.c+= -Wno-error=deprecated-declarations
COPTS.pkinit.c+= -Wno-error=deprecated-declarations
# 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>
|