freebsd-dev/kerberos5/lib/libkdc/Makefile
Doug Rabson 6e4dbb7fef pkgbase: split kerberos binaries and libs
Summary:
This allows installing packages that depend on kerberos libraries
without pulling in all the binaries. It also moves libgssapi to runtime
to allow installing kerbereos libraries without adding a dependancy on
the large utilities package. It makes sense to put libgssapi in runtime
rather than kerberos-lib since this is a plugin layer which is intended
to support any GSS-API mechanisms, not just kerberos.

A good example of a package which uses kerberos libraries without
needing the kerberos utilities is sshd. This uses the kerberos GSS-API
libraries to implement its GSSAPIAuthentication option.

MFC after: 2 weeks

Subscribers: imp

Differential Revision: https://reviews.freebsd.org/D36028
2022-08-03 11:02:28 +01:00

39 lines
614 B
Makefile

#$FreeBSD$
PACKAGE= kerberos-lib
LIB= kdc
LDFLAGS= -Wl,--no-undefined
VERSION_MAP= ${KRB5DIR}/kdc/version-script.map
LIBADD= roken hdb hx509 krb5 heimntlm asn1 crypto
INCS= kdc.h \
kdc-protos.h
KRB5INCS= windc_plugin.h
KRB5INCSDIR= ${INCLUDEDIR}/krb5
INCSGROUPS= INCS KRB5INCS
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
CFLAGS+= -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/lib/krb5 \
-I${KRB5DIR}/lib/hdb \
-I${KRB5DIR}/kdc \
-I${SRCTOP}/contrib/com_err
.include <bsd.lib.mk>
.PATH: ${KRB5DIR}/kdc