Deleted Added
full compact
Makefile.inc (25401) Makefile.inc (30447)
1# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
1# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
2# $Id$
2# $Id: Makefile.inc,v 1.3 1997/05/03 03:50:02 jb Exp $
3
4# regex sources
5.PATH: ${.CURDIR}/../libc/regex
6
7CFLAGS+=-DPOSIX_MISTAKE
8
9SRCS+= regcomp.c regerror.c regexec.c regfree.c
10
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"
11.if ${LIB} == "c"
13MAN3+= regex/regex.3
14MAN7+= regex/re_format.7
12MAN3+= regex.3
13MAN7+= re_format.7
15
16MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
17MLINKS+=regexec.3 regfree.3
18.endif
14
15MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
16MLINKS+=regexec.3 regfree.3
17.endif