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= spake 15LIBDIR= ${PLUGINSDIR}/preauth 16LDFLAGS=-Wl,--no-undefined 17LIBADD= krb5profile krb5 k5crypto com_err krb5support crypto sys 18VERSION_MAP= ${.CURDIR}/version.map 19 20.PATH: ${KRB5_DIR}/plugins/preauth/spake 21 22SRCS= edwards25519.c \ 23 groups.c \ 24 iana.c \ 25 openssl.c \ 26 spake_client.c \ 27 spake_kdc.c \ 28 util.c 29 30CFLAGS+=-I${KRB5_DIR}/plugins/preauth/spake \ 31 -I${KRB5_DIR}/include \ 32 -I${KRB5_SRCTOP}/include 33 34.include <bsd.lib.mk> 35