1# 2# SPDX-License-Identifier: BSD-2-Clause 3# 4# Copyright (c) 2025 FreeBSD Foundation 5# 6# This sofware was developed by Cy Schubert <cy@FreeBSD.org> 7# under sponsorship from the FreeBSD Foundation. 8# 9 10.include <src.opts.mk> 11 12.include "../Makefile.inc" 13 14LIB= k5crypto 15# SHLIB_MAJOR= 3 16LDFLAGS=-Wl,--no-undefined 17LIBADD= com_err krb5support crypto 18VERSION_MAP= ${.CURDIR}/version.map 19 20# XXX The following doesn't work. Even though the pathnames are the same 21# XXX we need to use the alternative .include statements. 22# .include "${KRB5_CRYPTOLIBDIR}/krb/Makefile.inc" 23# .include "${KRB5_CRYPTOLIBDIR}/builtin/Makefile.inc" 24# .include "${KRB5_CRYPTOLIBDIR}/openssl/Makefile.inc" 25 26.include "${KRB5_SRCTOP}/lib/crypto/krb/Makefile.inc" 27.include "${KRB5_SRCTOP}/lib/crypto/builtin/Makefile.inc" 28.include "${KRB5_SRCTOP}/lib/crypto/openssl/Makefile.inc" 29 30# Not normally configured to use the openssl provider 31# .include "${KRB5_SRCTOP}/lib/crypto/openssl/Makefile.inc" 32 33CFLAGS+=-I${.CURDIR:H:H}/include \ 34 -I${KRB5_DIR}/include \ 35 -I${KRB5_DIR}/lib/crypto \ 36 -I${KRB5_DIR}/lib/crypto/krb \ 37 -I${KRB5_DIR}/lib/crypto/builtin/aes \ 38 -I${KRB5_DIR}/lib/crypto/builtin/camellia \ 39 -I${KRB5_DIR}/lib/crypto/builtin/des \ 40 -I${KRB5_DIR}/lib/crypto/builtin/md4 \ 41 -I${KRB5_DIR}/lib/crypto/builtin/md5 \ 42 -I${KRB5_DIR}/lib/crypto/builtin/sha1 \ 43 -I${KRB5_DIR}/lib/crypto/builtin/sha2 \ 44 -I${SRCTOP}/crypto/openssl/include 45 46.include <bsd.lib.mk> 47