- use proper signedness
[oweals/gnunet.git] / src / topology / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
2
3 if USE_COVERAGE
4   AM_CFLAGS = --coverage -O0
5 endif
6
7 pkgcfgdir= $(pkgdatadir)/config.d/
8
9 libexecdir= $(pkglibdir)/libexec/
10
11 dist_pkgcfg_DATA = \
12   topology.conf
13
14
15 lib_LTLIBRARIES = libgnunetfriends.la
16
17 libgnunetfriends_la_SOURCES = \
18   friends.c
19 libgnunetfriends_la_LIBADD = \
20   $(top_builddir)/src/util/libgnunetutil.la \
21   $(GN_LIBINTL) $(XLIB)
22 libgnunetfriends_la_LDFLAGS = \
23   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
24   -version-info 0:0:0
25
26
27 libexec_PROGRAMS = \
28  gnunet-daemon-topology
29
30 gnunet_daemon_topology_SOURCES = \
31  gnunet-daemon-topology.c
32 gnunet_daemon_topology_LDADD = \
33   libgnunetfriends.la \
34   $(top_builddir)/src/core/libgnunetcore.la \
35   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
36   $(top_builddir)/src/statistics/libgnunetstatistics.la \
37   $(top_builddir)/src/transport/libgnunettransport.la \
38   $(top_builddir)/src/hello/libgnunethello.la \
39   $(top_builddir)/src/util/libgnunetutil.la \
40   $(GN_LIBINTL)
41
42
43 if HAVE_TESTING
44 check_PROGRAMS = \
45  test_gnunet_daemon_topology
46 endif
47
48 if ENABLE_TEST_RUN
49 TESTS = $(check_PROGRAMS)
50 endif
51
52 test_gnunet_daemon_topology_SOURCES = \
53  test_gnunet_daemon_topology.c
54 test_gnunet_daemon_topology_LDADD = \
55  $(top_builddir)/src/testbed/libgnunettestbed.la \
56  $(top_builddir)/src/util/libgnunetutil.la
57
58 EXTRA_DIST = \
59  test_gnunet_daemon_topology_data.conf