1ee3960cbSCy Schubert# 218a87075SLexi 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" 13*ce9c325aSLexi Winter.include "${KRB5_SRCTOP}/Makefile.pc" 14ee3960cbSCy Schubert 15ee3960cbSCy SchubertLIB= gssapi_krb5 16ee3960cbSCy SchubertLDFLAGS= -Wl,--no-undefined 17ee3960cbSCy SchubertLIBADD= krb5 k5crypto com_err krb5profile krb5support 18ae07a580SCy SchubertVERSION_MAP= ${.CURDIR}/version.map 19*ce9c325aSLexi WinterPCFILES= krb5-gssapi.pc \ 20*ce9c325aSLexi Winter mit-krb5-gssapi.pc 21*ce9c325aSLexi WinterCLEANFILES+= ${PCFILES} 22ee3960cbSCy Schubert 23ee3960cbSCy Schubert# This is a contcatonation of: 24ee3960cbSCy Schubert# crypto/krb5/src/lib/gssapi/libgssapi_krb5.exports 25ee3960cbSCy Schubert# crypto/krb5/src/lib/gssapi/spnego/mech_spnego.exports 26ee3960cbSCy Schubert 27ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/generic/Makefile.inc" 28ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/krb5/Makefile.inc" 29ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/spnego/Makefile.inc" 30ee3960cbSCy Schubert.include "${KRB5_SRCTOP}/lib/gssapi/mechglue/Makefile.inc" 31ee3960cbSCy Schubert 32ee3960cbSCy SchubertDEFINES=-D_GSS_STATIC_LINK=1 33ee3960cbSCy Schubert 34ee3960cbSCy SchubertCFLAGS+=${DEFINES} \ 35ee3960cbSCy Schubert -I${KRB5_DIR}/lib/gssapi/generic \ 36ee3960cbSCy Schubert -I${KRB5_DIR}/lib/gssapi/krb5 \ 37ee3960cbSCy Schubert -I${KRB5_DIR}/lib/gssapi/spnego \ 38ee3960cbSCy Schubert -I${KRB5_DIR}/lib/gssapi/mechglue \ 39ee3960cbSCy Schubert -I${KRB5_DIR}/lib/gssapi \ 40ee3960cbSCy Schubert -I${KRB5_DIR}/lib \ 41ee3960cbSCy Schubert -I${KRB5_SRCTOP}/lib \ 42ee3960cbSCy Schubert -I${KRB5_SRCTOP}/lib/gssapi \ 43ee3960cbSCy Schubert -I${KRB5_OBJTOP}/lib/gssapi \ 44ee3960cbSCy Schubert -I${KRB5_OBJTOP}/lib \ 45ee3960cbSCy Schubert -I${KRB5_DIR}/include \ 46ee3960cbSCy Schubert -I${KRB5_SRCTOP}/include 47ee3960cbSCy Schubert 48ee3960cbSCy Schubert.include <bsd.lib.mk> 49ee3960cbSCy Schubert 50*ce9c325aSLexi Winterall: ${PCFILES} 51*ce9c325aSLexi Winter 52ee3960cbSCy Schubert.SUFFIXES: .h .c .et 53*ce9c325aSLexi Winter 54*ce9c325aSLexi Winter.PATH: ${KRB5_DIR}/build-tools 55