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