freebsd-nq/kerberos5/lib/libheimbase/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

26 lines
323 B
Makefile

#$FreeBSD$
PACKAGE= kerberos-lib
LIB= heimbase
LDFLAGS= -Wl,--no-undefined
LIBADD= pthread
VERSION_MAP= ${KRB5DIR}/base/version-script.map
INCS= heimbase.h
SRCS= \
array.c \
bool.c \
dict.c \
heimbase.c \
null.c \
number.c \
string.c
CFLAGS+= -I${KRB5DIR}/include
.include <bsd.lib.mk>
.PATH: ${KRB5DIR}/base