1#	$NetBSD: Makefile,v 1.11 2012/04/04 10:59:44 joerg Exp $
2
3LIBISPRIVATE=	yes
4
5.include "${.CURDIR}/../../Makefile.inc"
6
7LIB=	cvs
8
9DIST=	${IDIST}/lib
10.PATH:	${DIST}
11CPPFLAGS+=-I${DIST}
12
13SRCS=	__fpending.c asnprintf.c basename.c canon-host.c canonicalize.c \
14	chdir-long.c closeout.c cycle-check.c dirname.c dup-safer.c exitfail.c \
15	fd-safer.c getdate.c gettime.c md5.c \
16	openat.c pagealign_alloc.c printf-args.c printf-parse.c \
17	quotearg.c regex.c rpmatch.c save-cwd.c sighandle.c strftime.c \
18	stripslash.c vasnprintf.c xalloc-die.c xgetcwd.c xgethostname.c \
19	xmalloc.c xreadlink.c yesno.c
20
21CWARNFLAGS.clang+=	-Wno-string-plus-int
22
23.include <bsd.lib.mk>
24# bsd.lib.mk includes bsd.sys.mk which defines the suffix rules, so we
25# need to override after.
26.y.c .y.h:
27	@true
28