[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / rcs

File: [local] / src / usr.bin / rcs / Makefile (download)

Revision 1.30, Sun Apr 2 02:42:33 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.29: +7 -6 lines

Enable DEBUG=-g -ggdb for rcs, move -g -ggdb out of CFLAGS for cvs.
Line up flags while I'm at it.

OK to add DEBUG flags to rcs niallo@.

#	$OpenBSD: Makefile,v 1.30 2006/04/02 02:42:33 ray Exp $

.PATH:	${.CURDIR}/../cvs

PROG=	rcs
MAN=	ci.1 co.1 ident.1 rcs.1 rcsclean.1 rcsdiff.1 rcsmerge.1 rlog.1

SRCS=	ci.c co.c ident.c rcsclean.c rcsdiff.c rcsmerge.c rcsprog.c rlog.c \
	buf.c date.y diff.c diff3.c fatal.c log.c rcs.c rcsnum.c rcstime.c \
	util.c worklist.c xmalloc.c

CPPFLAGS+=-I${.CURDIR}/../cvs -DRCSPROG

LINKS=	${BINDIR}/rcs ${BINDIR}/ci ${BINDIR}/rcs ${BINDIR}/co \
	${BINDIR}/rcs ${BINDIR}/rcsclean ${BINDIR}/rcs ${BINDIR}/rcsdiff \
	${BINDIR}/rcs ${BINDIR}/rcsmerge ${BINDIR}/rcs ${BINDIR}/rlog \
	${BINDIR}/rcs ${BINDIR}/ident

CFLAGS+=-Wall
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=-Wmissing-declarations
CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=-Wsign-compare
DEBUG=	-g -ggdb
YFLAGS=

.include <bsd.prog.mk>