summaryrefslogtreecommitdiff
path: root/lib/libopenbsd/Makefile
blob: 80ae0f90621a58bae938d0a92ffb2c7311ac8679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LIB=	openbsd
SRCS=	imsg-buffer.c \
	imsg.c \
	ohash.c
.if defined(BOOTSTRAPPING)
.PATH:	${SRCTOP}/lib/libc/stdlib
SRCS+=	recallocarray.c
.endif

.if !defined(BOOTSTRAPPING)
# Skip getdtablecount.c when bootstrapping since it doesn't compile for Linux
# and is not used by any of the bootstrap tools
SRCS+=	getdtablecount.c
.endif

INTERNALLIB=

CFLAGS+= -I${.CURDIR}

WARNS?=	3

.include <bsd.lib.mk>