xref: /freebsd/lib/libc/regex/Makefile.inc (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4# regex sources
5.PATH: ${LIBC_SRCTOP}/regex
6
7CFLAGS+=-DPOSIX_MISTAKE
8
9SRCS+=	regcomp.c regerror.c regexec.c regfree.c
10
11SYM_MAPS+=${LIBC_SRCTOP}/regex/Symbol.map
12
13# manpages only included in libc version
14.if ${LIB} == "c"
15MAN+=	regex.3
16MAN+=	re_format.7
17
18MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
19MLINKS+=regexec.3 regfree.3
20.endif
21