diff options
author | Maximilian Szengel <gnunet@maxsz.de> | 2012-03-22 19:41:52 +0000 |
---|---|---|
committer | Maximilian Szengel <gnunet@maxsz.de> | 2012-03-22 19:41:52 +0000 |
commit | 010f7dc6e0efcba23c3a79a17c6f426f51b1db05 (patch) | |
tree | df33ab89475bf8f59793868b5272b7486c2fdc0c /src/regex/Makefile.am | |
parent | 084a50eebe08234d97cd5edb1e704e0c8ff9b18b (diff) | |
download | gnunet-010f7dc6e0efcba23c3a79a17c6f426f51b1db05.tar.gz gnunet-010f7dc6e0efcba23c3a79a17c6f426f51b1db05.zip |
Added initial version of regex lib
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 | ||