Fix libc symbol maps after build test
[dragonfly.git] / lib / libc / tre-regex / Makefile.inc
1 TRESRC= ${.CURDIR}/../../contrib/tre/lib
2
3 .PATH: ${TRESRC} ${.CURDIR}/../libc/tre-regex
4
5 CMAPS+= ${.CURDIR}/tre-regex/Symbol.map
6
7 SRCS+=  tre-ast.c \
8         tre-compile.c \
9         tre-match-backtrack.c \
10         tre-match-parallel.c \
11         tre-mem.c \
12         tre-parse.c \
13         tre-stack.c \
14         regcomp.c \
15         regerror.c \
16         regexec.c
17
18 CFLAGS+=        -I${.CURDIR}/../libc/tre-regex
19 CFLAGS+=        -I${.CURDIR}/../libc/locale
20 CFLAGS+=        -I${TRESRC}
21 CFLAGS+=        -DHAVE_CONFIG_H
22
23 .if ${LIB} == "c"
24 INCS=   ${.CURDIR}/../libc/tre-regex/regex.h
25 MAN+=   regex.3
26 MAN+=   re_format.7
27
28 MLINKS+=regex.3 regcomp.3 \
29         regex.3 regcomp_l.3 \
30         regex.3 regncomp.3 \
31         regex.3 regncomp_l.3 \
32         regex.3 regwcomp.3 \
33         regex.3 regwcomp_l.3 \
34         regex.3 regwncomp.3 \
35         regex.3 regwncomp_l.3 \
36         regex.3 regnexec.3 \
37         regex.3 regwexec.3 \
38         regex.3 regwnexec.3 \
39         regex.3 regexec.3 \
40         regex.3 regerror.3 \
41         regex.3 regfree.3
42 .endif