2014-01-15 10:53:42 +01:00

50 lines
1.1 KiB
Makefile

# $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>