xref: /netbsd-src/external/gpl2/rcs/lib/Makefile (revision fa28c6faa16e0b00edee7acdcaf4899797043def)
1#	$NetBSD: Makefile,v 1.1 2016/01/14 04:22:39 christos Exp $
2
3LIBISPRIVATE=	yes
4.include <bsd.init.mk>
5
6# Define FSYNC_ALL to get slower but safer writes in case of crashes in
7# the middle of CVS/RCS changes
8CPPFLAGS+=-DFSYNC_ALL
9
10# If you wish to use a different Id token in addition to Id,
11# set the variable RCS_LOCALID in mk.conf or environment.
12.if defined(RCS_LOCALID)
13CPPFLAGS+=-DLOCALID=\"${RCS_LOCALID}\"
14.endif
15
16LIB=	rcs
17SRCS=	maketime.c merger.c partime.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \
18	rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsrev.c rcssyn.c rcstime.c \
19	rcsutil.c version.c
20
21CWARNFLAGS.clang+=	-Wno-format-security -Wno-string-plus-int
22
23.include <bsd.lib.mk>
24