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