47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2011/04/13 19:16:53 elric 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 \
|
|
hdb ${.CURDIR}/../libhdb \
|
|
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>
|