Makefile.inc revision 1.6
1#	$NetBSD: Makefile.inc,v 1.6 2019/10/09 23:39:20 christos Exp $
2
3# net sources
4.PATH: ${.CURDIR}/resolv
5CPPFLAGS+=-DCOMPAT__RES -DUSE_POLL
6
7SRCS+=	h_errno.c herror.c res_comp.c res_data.c res_debug.c \
8	res_init.c res_mkquery.c res_query.c res_send.c \
9	res_state.c mtctxres.c
10# For COMPAT__RES
11SRCS+=	res_compat.c
12
13.if ${ACTIVE_CC} == "gcc"
14COPTS.res_query.c += -Wno-error=stringop-overflow
15.endif
16