summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-15 15:46:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-15 15:46:22 +0000
commit19b75a1a690e40a7a022d348bb1329485a220608 (patch)
tree93872155e539765be66b471a54dce51563b52b71 /usr.bin/rcs/Makefile
parentcadd396a1affc48e3b21b474cc67cdbae1da3fbd (diff)
move rcs (and later on, clones of all the other rcs commands) out of the
cvs subdirectory; ok jfb joris
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>