diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-02 02:42:34 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-02 02:42:34 +0000 |
commit | eee1dd5e1b21ad755ff45d9c5069141f52bb02a3 (patch) | |
tree | b3f6826a5d809aa3858198d1190f30a3f58abbc0 /usr.bin | |
parent | 6ee1521df40177d7f4cfbc7762e470b94e1b540b (diff) |
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@.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/Makefile | 14 | ||||
-rw-r--r-- | usr.bin/rcs/Makefile | 13 |
2 files changed, 14 insertions, 13 deletions
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 <bsd.prog.mk> |