diff options
Diffstat (limited to 'lib/libc/regex/Makefile.inc')
-rw-r--r-- | lib/libc/regex/Makefile.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libc/regex/Makefile.inc b/lib/libc/regex/Makefile.inc new file mode 100644 index 0000000..d8c6092 --- /dev/null +++ b/lib/libc/regex/Makefile.inc @@ -0,0 +1,18 @@ +# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# $Id$ + +# regex sources +.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 |