summaryrefslogtreecommitdiff
path: root/krb5/util/support/Makefile
blob: e2e677fee89d21721d0f730b40b44a96a6ee8bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2025 FreeBSD Foundation
#
# This sofware was developed by Cy Schubert <cy@FreeBSD.org>
# under sponsorship from the FreeBSD Foundation.
#

.include <src.opts.mk>

.include "../Makefile.inc"

LIB=	krb5support
# SHLIB_MAJOR=	0
LDFLAGS=-Wl,--no-undefined
VERSION_MAP=	${.CURDIR}/version.map

.PATH: ${KRB5_DIR}/util/support

SRCS=	base64.c \
	bcmp.c \
	dir_filenames.c \
	errors.c \
	fake-addrinfo.c \
	gmt_mktime.c \
	hashtab.c \
	hex.c \
	init-addrinfo.c \
	json.c \
	k5buf.c \
	path.c \
	plugins.c \
	strerror_r.c \
	threads.c \
	utf8.c \
	utf8_conv.c \
	zap.c \
	cache-addrinfo.h \
	supp-int.h

CFLAGS+=-I${KRB5_DIR}/util/support \
	-I${KRB5_DIR}/include \
	-I${.CURDIR:H:H}/include \
	-I${.OBJDIR}

.include <bsd.lib.mk>