summaryrefslogtreecommitdiff
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
committerJohn Birrell <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
commit870039320ffbf6d3defd48faa288bb650ca2a1cb (patch)
treeedfa5ba030406429c7a12970ea64bcf2ea32a909 /lib/libc/regex
parent85351f7d5aac0bff601c4dc0a6aa7f035685a306 (diff)
Notes
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/Makefile.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/regex/Makefile.inc b/lib/libc/regex/Makefile.inc
index 48e286e9fa53..d8c6092e3999 100644
--- a/lib/libc/regex/Makefile.inc
+++ b/lib/libc/regex/Makefile.inc
@@ -1,14 +1,18 @@
-# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# $Id$
# regex sources
-.PATH: ${.CURDIR}/regex
+.PATH: ${.CURDIR}/../libc/regex
CFLAGS+=-DPOSIX_MISTAKE
SRCS+= regcomp.c regerror.c regexec.c regfree.c
+# Only build man pages with libc.
+.if ${LIB} == "c"
MAN3+= regex/regex.3
MAN7+= regex/re_format.7
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
MLINKS+=regexec.3 regfree.3
+.endif