xref: /freebsd/lib/libopenbsd/Makefile (revision ecebb3cc1d2d074defc302d8ae6820bb6b20d4fe)
1a36eca08SCraig Rodrigues# $FreeBSD$
2a36eca08SCraig Rodrigues
3a70cba95SGlen BarberPACKAGE=lib${LIB}
4a36eca08SCraig RodriguesLIB=	openbsd
5abc73e04SAlex RichardsonSRCS=	imsg-buffer.c \
6649e1da3SCraig Rodrigues	imsg.c \
71bbc47cbSCraig Rodrigues	ohash.c
8abc73e04SAlex Richardson.if !defined(BOOTSTRAPPING)
9abc73e04SAlex Richardson# Skip getdtablecount.c when bootstrapping since it doesn't compile for Linux
10abc73e04SAlex Richardson# and is not used by any of the bootstrap tools
11abc73e04SAlex RichardsonSRCS+=	getdtablecount.c
12abc73e04SAlex Richardson.endif
13abc73e04SAlex Richardson
14a36eca08SCraig RodriguesINTERNALLIB=
15a36eca08SCraig Rodrigues
161bbc47cbSCraig RodriguesCFLAGS+= -I${.CURDIR}
171bbc47cbSCraig Rodrigues
18*ecebb3ccSKyle EvansWARNS?=	3
19a36eca08SCraig Rodrigues
20a36eca08SCraig Rodrigues.include <bsd.lib.mk>
21