diff options
Diffstat (limited to 'src/regex/Makefile.am')
-rw-r--r-- | src/regex/Makefile.am | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/regex/Makefile.am b/src/regex/Makefile.am new file mode 100644 index 000000000..729773399 --- /dev/null +++ b/src/regex/Makefile.am | |||
@@ -0,0 +1,34 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | if MINGW | ||
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
5 | endif | ||
6 | |||
7 | if USE_COVERAGE | ||
8 | AM_CFLAGS = --coverage | ||
9 | endif | ||
10 | |||
11 | lib_LTLIBRARIES = libgnunetregex.la | ||
12 | |||
13 | libgnunetregex_la_SOURCES = \ | ||
14 | regex.c regex.h | ||
15 | libgnunetregex_la_LIBADD = -lm \ | ||
16 | $(top_builddir)/src/util/libgnunetutil.la | ||
17 | libgnunetregex_la_LDFLAGS = \ | ||
18 | $(GN_LIB_LDFLAGS) \ | ||
19 | -version-info 0:0:0 | ||
20 | |||
21 | check_PROGRAMS = \ | ||
22 | test_regex | ||
23 | |||
24 | if ENABLE_TEST_RUN | ||
25 | TESTS = $(check_PROGRAMS) | ||
26 | endif | ||
27 | |||
28 | test_regex_SOURCES = \ | ||
29 | test_regex.c | ||
30 | test_regex_LDADD = \ | ||
31 | $(top_builddir)/src/regex/libgnunetregex.la \ | ||
32 | $(top_builddir)/src/util/libgnunetutil.la | ||
33 | |||
34 | EXTRA_DIST = test_regex_data.conf | ||