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