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

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

Revision 1.21, Sun Apr 2 02:42:33 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.20: +7 -7 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.21 2006/04/02 02:42:33 ray Exp $

PROG=	cvs
MAN=	cvs.1 cvsignore.5 cvsrc.5 cvswrappers.5 cvsintro.7
CPPFLAGS+=-I${.CURDIR}

SRCS=	cvs.c add.c admin.c annotate.c buf.c checkout.c cmd.c commit.c \
	compress.c date.y diff.c diff3.c edit.c entries.c fatal.c file.c \
	getlog.c history.c hist.c import.c init.c log.c logmsg.c proto.c \
	rcs.c rcsnum.c rcstime.c release.c remove.c req.c resp.c root.c \
	server.c status.c tag.c update.c util.c version.c watch.c \
	worklist.c xmalloc.c

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

DPADD+= ${LIBZ}
LDADD+= -lz

INSTALL_STRIP=

.include <bsd.prog.mk>