Return to Makefile CVS log | Up to [local] / src / usr.bin / rcs |
File: [local] / src / usr.bin / rcs / Makefile (download)
Revision 1.8, Wed Oct 5 23:11:15 2005 UTC (18 years, 8 months ago) by niallo
- add a diff.h header file, corresponding to public functions in diff.c and some #defines - include this header in rcs.c - link rcs against diff.c this allows us to use the existing diff work from opencvs within functions in the rcs.c API and thus in rcs programs. paves the way for diff support in usr.bin/rcs programs. ok joris@ |
# $OpenBSD: Makefile,v 1.8 2005/10/05 23:11:15 niallo Exp $ .PATH: ${.CURDIR}/../cvs PROG= rcs MAN= rcs.1 SRCS= ci.c co.c rcsprog.c buf.c diff.c log.c rcs.c rcsnum.c strtab.c CFLAGS+=-I${.CURDIR}/../cvs # 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 CFLAGS+= -DRCSPROG .include <bsd.prog.mk>