blob: cbc193a0ab258565d8b88406e5fd36b5357bd4db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
lib_LTLIBRARIES = libgnunethello.la
libgnunethello_la_SOURCES = \
hello-uri.c
libgnunethello_la_LIBADD = \
$(top_builddir)/src/lib/util/libgnunetutil.la $(XLIB) \
$(LTLIBINTL)
libgnunethello_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \
-version-info 1:0:1
check_PROGRAMS = \
test_hello \
test_hello-uri \
test_friend_hello \
test_hello-ng
if ENABLE_TEST_RUN
AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
TESTS = $(check_PROGRAMS)
endif
test_hello_SOURCES = \
test_hello.c
test_hello_LDADD = \
libgnunethello.la \
$(top_builddir)/src/lib/util/libgnunetutil.la
test_hello_ng_SOURCES = \
test_hello-ng.c
test_hello_ng_LDADD = \
libgnunethello.la \
$(top_builddir)/src/lib/util/libgnunetutil.la
test_hello_uri_SOURCES = \
test_hello-uri.c
test_hello_uri_LDADD = \
libgnunethello.la \
$(top_builddir)/src/lib/util/libgnunetutil.la \
-lgcrypt
test_friend_hello_SOURCES = \
test_friend_hello.c
test_friend_hello_LDADD = \
libgnunethello.la \
$(top_builddir)/src/lib/util/libgnunetutil.la
|