add $(GN_LIBINTL) to Makefile.am (fixes 0005902)
[oweals/gnunet.git] / src / hello / Makefile.am
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.c \
13   address.c \
14   hello-ng.c
15 libgnunethello_la_LIBADD = \
16  $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
17  $(LTLIBINTL)
18 libgnunethello_la_LDFLAGS = \
19   $(GN_LIB_LDFLAGS) \
20   -version-info 1:0:1
21
22 noinst_PROGRAMS = \
23  gnunet-hello
24
25 check_PROGRAMS = \
26  test_hello \
27  test_friend_hello
28
29 if ENABLE_TEST_RUN
30 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
31 TESTS = $(check_PROGRAMS)
32 endif
33
34 test_hello_SOURCES = \
35  test_hello.c
36 test_hello_LDADD = \
37  libgnunethello.la \
38  $(top_builddir)/src/util/libgnunetutil.la  
39
40 test_friend_hello_SOURCES = \
41  test_friend_hello.c
42 test_friend_hello_LDADD = \
43  libgnunethello.la \
44  $(top_builddir)/src/util/libgnunetutil.la  
45
46 gnunet_hello_SOURCES = \
47  gnunet-hello.c
48 gnunet_hello_LDADD = \
49  libgnunethello.la \
50  $(top_builddir)/src/util/libgnunetutil.la  
51 gnunet_hello_LDFLAGS = \
52   $(GN_LIBINTL)