diff options
Diffstat (limited to 'lib/libc/regex/Makefile.inc')
-rw-r--r-- | lib/libc/regex/Makefile.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/regex/Makefile.inc b/lib/libc/regex/Makefile.inc new file mode 100644 index 000000000000..89468f1317f6 --- /dev/null +++ b/lib/libc/regex/Makefile.inc @@ -0,0 +1,17 @@ +# regex sources +.PATH: ${LIBC_SRCTOP}/regex + +CFLAGS+=-DPOSIX_MISTAKE + +SRCS+= regcomp.c regerror.c regexec.c regfree.c + +SYM_MAPS+=${LIBC_SRCTOP}/regex/Symbol.map + +# manpages only included in libc version +.if ${LIB} == "c" +MAN+= regex.3 +MAN+= re_format.7 + +MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 +MLINKS+=regexec.3 regfree.3 +.endif |