xref: /netbsd-src/external/gpl2/xcvs/lib/libcvs/Makefile (revision b757af438b42b93f8c6571f026d8b8ef3eaf5fc9)
1*b757af43Sjoerg#	$NetBSD: Makefile,v 1.11 2012/04/04 10:59:44 joerg Exp $
2274254cdSchristos
3274254cdSchristosLIBISPRIVATE=	yes
4274254cdSchristos
5274254cdSchristos.include "${.CURDIR}/../../Makefile.inc"
6274254cdSchristos
7274254cdSchristosLIB=	cvs
8274254cdSchristos
9274254cdSchristosDIST=	${IDIST}/lib
10274254cdSchristos.PATH:	${DIST}
11274254cdSchristosCPPFLAGS+=-I${DIST}
12274254cdSchristos
13274254cdSchristosSRCS=	__fpending.c asnprintf.c basename.c canon-host.c canonicalize.c \
140eb8ebe6Schristos	chdir-long.c closeout.c cycle-check.c dirname.c dup-safer.c exitfail.c \
156deb2c22Schristos	fd-safer.c getdate.c gettime.c md5.c \
162d265727Schristos	openat.c pagealign_alloc.c printf-args.c printf-parse.c \
17274254cdSchristos	quotearg.c regex.c rpmatch.c save-cwd.c sighandle.c strftime.c \
18274254cdSchristos	stripslash.c vasnprintf.c xalloc-die.c xgetcwd.c xgethostname.c \
19274254cdSchristos	xmalloc.c xreadlink.c yesno.c
20274254cdSchristos
21*b757af43SjoergCWARNFLAGS.clang+=	-Wno-string-plus-int
22*b757af43Sjoerg
23274254cdSchristos.include <bsd.lib.mk>
244817a0b0Schristos# bsd.lib.mk includes bsd.sys.mk which defines the suffix rules, so we
25a12cad24Spgoyette# need to override after.
264817a0b0Schristos.y.c .y.h:
274817a0b0Schristos	@true
28