- clean up the receive switch case
[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 address.c
16 libgnunethello_la_LIBADD = \
17  $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
18 libgnunethello_la_LDFLAGS = \
19   $(GN_LIB_LDFLAGS)
20
21 check_PROGRAMS = \
22  test_hello
23
24 if ENABLE_TEST_RUN
25 TESTS = $(check_PROGRAMS)
26 endif
27
28 test_hello_SOURCES = \
29  test_hello.c
30 test_hello_LDADD = \
31  $(top_builddir)/src/hello/libgnunethello.la \
32  $(top_builddir)/src/util/libgnunetutil.la  
33