1997-05-03 03:50:06 +00:00
|
|
|
# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
|
|
# $Id$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
# regex sources
|
1997-05-03 03:50:06 +00:00
|
|
|
.PATH: ${.CURDIR}/../libc/regex
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
CFLAGS+=-DPOSIX_MISTAKE
|
|
|
|
|
|
|
|
SRCS+= regcomp.c regerror.c regexec.c regfree.c
|
|
|
|
|
1997-05-03 03:50:06 +00:00
|
|
|
# Only build man pages with libc.
|
|
|
|
.if ${LIB} == "c"
|
1994-08-05 01:19:12 +00:00
|
|
|
MAN3+= regex/regex.3
|
|
|
|
MAN7+= regex/re_format.7
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
|
|
|
|
MLINKS+=regexec.3 regfree.3
|
1997-05-03 03:50:06 +00:00
|
|
|
.endif
|