summaryrefslogtreecommitdiff
path: root/lib/libcbor/Makefile
blob: ddc064562fc53364a49b4bd8888dd77544830a10 (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
PACKAGE=ssh
LIB=	cbor
PRIVATELIB=

DIST=${SRCTOP}/contrib/libcbor
.PATH:	${DIST}/src

SRCS=	allocators.c
SRCS+=	cbor.c
SRCS+=	cbor/arrays.c
SRCS+=	cbor/bytestrings.c
SRCS+=	cbor/callbacks.c
SRCS+=	cbor/common.c
SRCS+=	cbor/encoding.c
SRCS+=	cbor/floats_ctrls.c
SRCS+=	cbor/ints.c
SRCS+=	cbor/maps.c
SRCS+=	cbor/serialization.c
SRCS+=	cbor/streaming.c
SRCS+=	cbor/strings.c
SRCS+=	cbor/tags.c
SRCS+=	cbor/internal/builder_callbacks.c
SRCS+=	cbor/internal/encoders.c
SRCS+=	cbor/internal/loaders.c
SRCS+=	cbor/internal/memory_utils.c
SRCS+=	cbor/internal/stack.c
SRCS+=	cbor/internal/unicode.c

CFLAGS+= -I${DIST}/src -I${.CURDIR}

WARNS?=	2
IGNORE_PRAGMA=
MAN=

.include <bsd.lib.mk>