1## Process this file with automake to produce Makefile.in
2
3lib_LTLIBRARIES = libtre.la
4libtre_la_LDFLAGS = -no-undefined -version-info 6:4:2 $(LDFLAGS)
5libtre_la_LIBADD = $(LTLIBINTL)
6
7noinst_HEADERS =		\
8	tre-ast.h		\
9	tre-compile.h		\
10	tre-internal.h		\
11	tre-match-utils.h	\
12	tre-mem.h		\
13	tre-parse.h		\
14	tre-stack.h		\
15	xmalloc.h
16
17libtre_la_SOURCES =		\
18	tre-ast.c		\
19	tre-compile.c		\
20	tre-match-backtrack.c	\
21	tre-match-parallel.c	\
22	tre-mem.c		\
23	tre-parse.c		\
24	tre-stack.c		\
25	regcomp.c		\
26	regexec.c		\
27	regerror.c
28
29INCLUDES = -I$(top_srcdir)/gnulib/lib
30
31if TRE_APPROX
32libtre_la_SOURCES += tre-match-approx.c
33endif TRE_APPROX
34
35dist_pkginclude_HEADERS = regex.h
36nodist_pkginclude_HEADERS = tre-config.h
37