From eee1dd5e1b21ad755ff45d9c5069141f52bb02a3 Mon Sep 17 00:00:00 2001 From: Ray Lai Date: Sun, 2 Apr 2006 02:42:34 +0000 Subject: 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@. --- usr.bin/cvs/Makefile | 14 +++++++------- usr.bin/rcs/Makefile | 13 +++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/cvs/Makefile b/usr.bin/cvs/Makefile index 38b03a61b95..a73a94353bd 100644 --- a/usr.bin/cvs/Makefile +++ b/usr.bin/cvs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.20 2006/03/09 10:56:33 xsa Exp $ +# $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 @@ -11,12 +11,12 @@ SRCS= cvs.c add.c admin.c annotate.c buf.c checkout.c cmd.c commit.c \ server.c status.c tag.c update.c util.c version.c watch.c \ worklist.c xmalloc.c -CFLAGS= -g -ggdb -CFLAGS+= -Wall -CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -CFLAGS+= -Wmissing-declarations -CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare +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} diff --git a/usr.bin/rcs/Makefile b/usr.bin/rcs/Makefile index 4b773ee1cf7..e4ec2df4151 100644 --- a/usr.bin/rcs/Makefile +++ b/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 2006/03/09 14:31:34 xsa Exp $ +# $OpenBSD: Makefile,v 1.30 2006/04/02 02:42:33 ray Exp $ .PATH: ${.CURDIR}/../cvs @@ -16,11 +16,12 @@ LINKS= ${BINDIR}/rcs ${BINDIR}/ci ${BINDIR}/rcs ${BINDIR}/co \ ${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 +CFLAGS+=-Wall +CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes +CFLAGS+=-Wmissing-declarations +CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual +CFLAGS+=-Wsign-compare +DEBUG= -g -ggdb YFLAGS= .include -- cgit v1.2.3