also match tname
[oweals/gnunet.git] / src / hello / 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 -O0
9   XLIB = -lgcov
10 endif
11
12 lib_LTLIBRARIES = libgnunethello.la
13
14 libgnunethello_la_SOURCES = \
15   hello.c 
16 libgnunethello_la_LIBADD = \
17  $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
18
19 check_PROGRAMS = \
20  test_hello
21
22 TESTS = $(check_PROGRAMS)
23
24 test_hello_SOURCES = \
25  test_hello.c
26 test_hello_LDADD = \
27  $(top_builddir)/src/hello/libgnunethello.la \
28  $(top_builddir)/src/util/libgnunetutil.la  
29