diff options
Diffstat (limited to 'src/lib/hello/Makefile.am')
-rw-r--r-- | src/lib/hello/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/hello/Makefile.am b/src/lib/hello/Makefile.am new file mode 100644 index 000000000..c7b3e4a05 --- /dev/null +++ b/src/lib/hello/Makefile.am | |||
@@ -0,0 +1,33 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | if USE_COVERAGE | ||
5 | AM_CFLAGS = --coverage -O0 | ||
6 | XLIB = -lgcov | ||
7 | endif | ||
8 | |||
9 | lib_LTLIBRARIES = libgnunethello.la | ||
10 | |||
11 | libgnunethello_la_SOURCES = \ | ||
12 | hello-uri.c | ||
13 | libgnunethello_la_LIBADD = \ | ||
14 | $(top_builddir)/src/lib/util/libgnunetutil.la $(XLIB) \ | ||
15 | $(LTLIBINTL) | ||
16 | libgnunethello_la_LDFLAGS = \ | ||
17 | $(GN_LIB_LDFLAGS) \ | ||
18 | -version-info 1:0:1 | ||
19 | |||
20 | check_PROGRAMS = \ | ||
21 | test_hello-uri | ||
22 | |||
23 | if ENABLE_TEST_RUN | ||
24 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
25 | TESTS = $(check_PROGRAMS) | ||
26 | endif | ||
27 | |||
28 | test_hello_uri_SOURCES = \ | ||
29 | test_hello-uri.c | ||
30 | test_hello_uri_LDADD = \ | ||
31 | libgnunethello.la \ | ||
32 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
33 | -lgcrypt | ||