- fixed string to address parsing
[oweals/gnunet.git] / src / regex / Makefile.am
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
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