1# $NetBSD: Makefile.inc,v 1.5 2018/06/25 18:03:56 kamil Exp $ 2 3.include <bsd.own.mk> 4 5USE_FORT?= yes # network client/server 6 7WARNS?= 0 8 9CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-parentheses \ 10 -Wno-format-security -Wno-format \ 11 -Wno-tautological-constant-out-of-range-compare 12 13BINDIR?= /usr/bin 14IDIST:= ${.PARSEDIR}/dist 15 16.if !defined(SUBDIR) 17CPPFLAGS+= -DSETXID_SUPPORT -DHAVE_CONFIG_H \ 18 -I${.CURDIR}/../../include -I${IDIST}/lib \ 19 -I${IDIST}/diff -I${IDIST}/src 20 21DOBJDIR!=cd $(.CURDIR)/../../lib/libdiff && ${PRINTOBJDIR} 22COBJDIR!=cd $(.CURDIR)/../../lib/libcvs && ${PRINTOBJDIR} 23 24LIBDIFF= ${DOBJDIR}/libdiff.a 25LIBCVS= ${COBJDIR}/libcvs.a 26.endif 27 28SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree 29