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= krb5support 15# SHLIB_MAJOR= 0 16LDFLAGS=-Wl,--no-undefined 17VERSION_MAP= ${.CURDIR}/version.map 18 19.PATH: ${KRB5_DIR}/util/support 20 21SRCS= base64.c \ 22 bcmp.c \ 23 dir_filenames.c \ 24 errors.c \ 25 fake-addrinfo.c \ 26 gmt_mktime.c \ 27 hashtab.c \ 28 hex.c \ 29 init-addrinfo.c \ 30 json.c \ 31 k5buf.c \ 32 path.c \ 33 plugins.c \ 34 strerror_r.c \ 35 threads.c \ 36 utf8.c \ 37 utf8_conv.c \ 38 zap.c \ 39 cache-addrinfo.h \ 40 supp-int.h 41 42CFLAGS+=-I${KRB5_DIR}/util/support \ 43 -I${KRB5_DIR}/include \ 44 -I${.CURDIR:H:H}/include \ 45 -I${.OBJDIR} 46 47.include <bsd.lib.mk> 48