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