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