summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-08-13 14:54:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-08-13 14:54:13 +0000
commit9520371779669492783bddd93c89b2001b96d23a (patch)
tree9d1373b33111460d800d1ab9c273270ba66f75eb /regress/lib/libc
parentd6e931866e738b79af4534082f852bf3a0bfdf68 (diff)
When running regex regress build a private copy with REDEBUG enabled.
That way we get the asserts enabled.
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/regex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libc/regex/Makefile b/regress/lib/libc/regex/Makefile
index a29686bca41..271debb5d35 100644
--- a/regress/lib/libc/regex/Makefile
+++ b/regress/lib/libc/regex/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.5 2002/09/02 20:01:43 avsm Exp $
+# $OpenBSD: Makefile,v 1.6 2004/08/13 14:54:12 millert Exp $
# $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $
PROG= re
-SRCS= main.c split.c debug.c
+SRCS= main.c split.c debug.c regcomp.c regerror.c regexec.c regfree.c
+.PATH: ${.CURDIR}/../../../../lib/libc/regex
-CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex
+CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex -DREDEBUG -DPOSIX_MISTAKE
TESTS= ${.CURDIR}/tests