1 # $NetBSD: Makefile,v 1.6 2023/06/19 23:56:55 mrg Exp $ 2 3 .include <bsd.own.mk> 4 .include <${.CURDIR}/../../Makefile.inc> 5 6 USE_FORT?= yes # network protocol library 7 NOLINT= 8 9 .PATH: ${HEIMDIST}/kdc ${HEIMBASE}/include 10 11 LIB= kdc 12 13 LIBDPLIBS+= 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 22 SRCS = 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 36 INCSDIR=/usr/include/krb5 37 INCS= kdc-protos.h kdc.h 38 39 CPPFLAGS+= \ 40 -I${HEIMDIST}/lib/krb5 \ 41 -I${HEIMDIST}/lib 42 43 COPTS.kx509.c+= -Wno-error=deprecated-declarations 44 COPTS.pkinit-ec.c+= -Wno-error=deprecated-declarations 45 COPTS.pkinit.c+= -Wno-error=deprecated-declarations 46 47 # Prevent collision with old MIT Kerberos includes -- require manual 48 # intervention of the operator. 49 .BEGIN: 50 .ifmake includes 51 @if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \ 52 echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \ 53 false; \ 54 fi 55 .endif 56 57 .include <${HEIMBASE}/Makefile.rules.inc> 58 .include <bsd.lib.mk> 59