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