xref: /freebsd/krb5/lib/gssapi/Makefile (revision 18a870751b036f1dc78b36084ccb993d139a11bb)
1ee3960cbSCy Schubert#
2*18a87075SLexi Winter# SPDX-License-Identifier: BSD-2-Clause
3ee3960cbSCy Schubert#
4ee3960cbSCy Schubert# Copyright (c) 2025 FreeBSD Foundation
5ee3960cbSCy Schubert#
6ee3960cbSCy Schubert# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
7ee3960cbSCy Schubert# under sponsorship from the FreeBSD Foundation.
8ee3960cbSCy Schubert#
9ee3960cbSCy Schubert
10ee3960cbSCy Schubert.include <src.opts.mk>
11ee3960cbSCy Schubert
12ee3960cbSCy Schubert.include "../Makefile.inc"
13ee3960cbSCy Schubert
14ee3960cbSCy SchubertLIB=		gssapi_krb5
15ee3960cbSCy Schubert# SHLIB_MAJOR=	2
16ee3960cbSCy SchubertLDFLAGS=-Wl,--no-undefined
17ee3960cbSCy SchubertLIBADD=	krb5 k5crypto com_err krb5profile krb5support
18ae07a580SCy SchubertVERSION_MAP=	${.CURDIR}/version.map
19ee3960cbSCy Schubert
20ee3960cbSCy Schubert# This is a contcatonation of:
21ee3960cbSCy Schubert#	crypto/krb5/src/lib/gssapi/libgssapi_krb5.exports
22ee3960cbSCy Schubert#	crypto/krb5/src/lib/gssapi/spnego/mech_spnego.exports
23ee3960cbSCy Schubert
24ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/generic/Makefile.inc"
25ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/krb5/Makefile.inc"
26ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/spnego/Makefile.inc"
27ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/mechglue/Makefile.inc"
28ee3960cbSCy Schubert
29ee3960cbSCy SchubertDEFINES=-D_GSS_STATIC_LINK=1
30ee3960cbSCy Schubert
31ee3960cbSCy SchubertCFLAGS+=${DEFINES} \
32ee3960cbSCy Schubert	-I${KRB5_DIR}/lib/gssapi/generic \
33ee3960cbSCy Schubert	-I${KRB5_DIR}/lib/gssapi/krb5 \
34ee3960cbSCy Schubert	-I${KRB5_DIR}/lib/gssapi/spnego \
35ee3960cbSCy Schubert	-I${KRB5_DIR}/lib/gssapi/mechglue \
36ee3960cbSCy Schubert	-I${KRB5_DIR}/lib/gssapi \
37ee3960cbSCy Schubert	-I${KRB5_DIR}/lib \
38ee3960cbSCy Schubert	-I${KRB5_SRCTOP}/lib \
39ee3960cbSCy Schubert	-I${KRB5_SRCTOP}/lib/gssapi \
40ee3960cbSCy Schubert	-I${KRB5_OBJTOP}/lib/gssapi \
41ee3960cbSCy Schubert	-I${KRB5_OBJTOP}/lib \
42ee3960cbSCy Schubert	-I${KRB5_DIR}/include \
43ee3960cbSCy Schubert	-I${KRB5_SRCTOP}/include
44ee3960cbSCy Schubert
45ee3960cbSCy Schubert.include <bsd.lib.mk>
46ee3960cbSCy Schubert
47ee3960cbSCy Schubert.SUFFIXES: .h .c .et
48