summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rcs/Makefile')
-rw-r--r--usr.bin/rcs/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/rcs/Makefile b/usr.bin/rcs/Makefile
new file mode 100644
index 00000000000..dd617f41686
--- /dev/null
+++ b/usr.bin/rcs/Makefile
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile,v 1.1 2005/04/15 15:46:21 deraadt Exp $
+
+.PATH: ${.CURDIR}/../cvs
+
+PROG= rcs
+MAN= rcs.1
+
+SRCS= rcsprog.c buf.c log.c rcs.c rcsnum.c strtab.c
+CFLAGS+=-I${.CURDIR}/../cvs
+
+BINDIR= /usr/bin
+
+# Don't build the links until we actually support those commands
+#LINKS= ${BINDIR}/ci ${BINDIR}/co ${BINDIR}/rcsclean ${BINDIR}/rcsdiff
+
+CFLAGS+= -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+
+.include <bsd.prog.mk>