Makefile.inc revision 25401
1#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
2#	$Id$
3
4# regex sources
5.PATH: ${.CURDIR}/../libc/regex
6
7CFLAGS+=-DPOSIX_MISTAKE
8
9SRCS+=	regcomp.c regerror.c regexec.c regfree.c
10
11# Only build man pages with libc.
12.if ${LIB} == "c"
13MAN3+=	regex/regex.3
14MAN7+=	regex/re_format.7
15
16MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
17MLINKS+=regexec.3 regfree.3
18.endif
19