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