-consistently use struct GNUNET_HashCode
[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_eval_api \
23  test_regex_iterate_api
24
25 if ENABLE_TEST_RUN
26 TESTS = $(check_PROGRAMS)
27 endif
28
29 test_regex_eval_api_SOURCES = \
30  test_regex_eval_api.c
31 test_regex_eval_api_LDADD = \
32  $(top_builddir)/src/regex/libgnunetregex.la \
33  $(top_builddir)/src/util/libgnunetutil.la
34
35 test_regex_iterate_api_SOURCES = \
36  test_regex_iterate_api.c
37 test_regex_iterate_api_LDADD = \
38  $(top_builddir)/src/regex/libgnunetregex.la \
39  $(top_builddir)/src/util/libgnunetutil.la
40
41 EXTRA_DIST = 
42 # test_regex_data.conf