xref: /freebsd/lib/libopenbsd/Makefile (revision 42664610795bc0a728851ba6223fcf9b93801167)
1LIB=	openbsd
2SRCS=	imsg-buffer.c \
3	imsg.c \
4	ohash.c
5.if defined(BOOTSTRAPPING)
6.PATH:	${SRCTOP}/lib/libc/stdlib
7SRCS+=	recallocarray.c
8.endif
9
10.if !defined(BOOTSTRAPPING)
11# Skip getdtablecount.c when bootstrapping since it doesn't compile for Linux
12# and is not used by any of the bootstrap tools
13SRCS+=	getdtablecount.c
14.endif
15
16INTERNALLIB=
17
18CFLAGS+= -I${.CURDIR}
19
20WARNS?=	3
21
22.include <bsd.lib.mk>
23