Initial import from FreeBSD RELENG_4:
[dragonfly.git] / lib / libc / regex / Makefile.inc
1 #       from @(#)Makefile.inc   8.1 (Berkeley) 6/4/93
2 # $FreeBSD: src/lib/libc/regex/Makefile.inc,v 1.5.2.1 2001/04/25 10:04:08 ru Exp $
3
4 # regex sources
5 .PATH: ${.CURDIR}/../libc/regex
6
7 CFLAGS+=-DPOSIX_MISTAKE
8
9 SRCS+=  regcomp.c regerror.c regexec.c regfree.c
10
11 .if ${LIB} == "c"
12 MAN+=   regex.3
13 MAN+=   re_format.7
14
15 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
16 MLINKS+=regexec.3 regfree.3
17 .endif