summaryrefslogtreecommitdiff
path: root/external/gpl2/rcs/lib/Makefile
blob: 22e9f5c66460ab37a8c6e81e73b9199554aafd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$NetBSD: Makefile,v 1.1 2016/01/14 04:22:39 christos Exp $

LIBISPRIVATE=	yes
.include <bsd.init.mk>

# Define FSYNC_ALL to get slower but safer writes in case of crashes in
# the middle of CVS/RCS changes
CPPFLAGS+=-DFSYNC_ALL

# If you wish to use a different Id token in addition to Id,
# set the variable RCS_LOCALID in mk.conf or environment.
.if defined(RCS_LOCALID)
CPPFLAGS+=-DLOCALID=\"${RCS_LOCALID}\"
.endif

LIB=	rcs
SRCS=	maketime.c merger.c partime.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \
	rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsrev.c rcssyn.c rcstime.c \
	rcsutil.c version.c

CWARNFLAGS.clang+=	-Wno-format-security -Wno-string-plus-int

.include <bsd.lib.mk>