freebsd-skq/lib/libopenbsd/Makefile
Kyle Evans ecebb3cc1d Only set WARNS if not defined
This would allow interested parties to do experimental runs with an
environment set appropriately to raise all the warnings throughout the
build; e.g. env WARNS=6 NO_WERROR=yes buildworld.

Not currently touching the numerous instances in ^/tools.

MFC after:	1 week
2020-09-11 13:28:37 +00:00

21 lines
341 B
Makefile

# $FreeBSD$
PACKAGE=lib${LIB}
LIB= openbsd
SRCS= imsg-buffer.c \
imsg.c \
ohash.c
.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>