1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
12 AM_CFLAGS = --coverage -O0
20 libgnunetcore_la_SOURCES = \
22 core_api_monitor_peers.c
23 libgnunetcore_la_LIBADD = \
24 $(top_builddir)/src/util/libgnunetutil.la \
26 libgnunetcore_la_LDFLAGS = \
37 gnunet_service_core_SOURCES = \
38 gnunet-service-core.c gnunet-service-core.h \
39 gnunet-service-core_kx.c gnunet-service-core_kx.h \
40 gnunet-service-core_sessions.c gnunet-service-core_sessions.h \
41 gnunet-service-core_typemap.c gnunet-service-core_typemap.h
42 gnunet_service_core_LDADD = \
43 $(top_builddir)/src/statistics/libgnunetstatistics.la \
44 $(top_builddir)/src/transport/libgnunettransport.la \
45 $(top_builddir)/src/util/libgnunetutil.la \
46 $(GN_LIBINTL) $(Z_LIBS)
49 gnunet_core_SOURCES = \
53 $(top_builddir)/src/util/libgnunetutil.la
54 gnunet_core_LDFLAGS = \
59 test_core_api_send_to_self
63 test_core_api_start_only \
65 test_core_api_reliability \
66 test_core_quota_compliance_symmetric \
67 test_core_quota_compliance_asymmetric_send_limited \
68 test_core_quota_compliance_asymmetric_recv_limited \
72 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
73 TESTS = $(check_PROGRAMS)
76 test_core_api_SOURCES = \
78 test_core_api_LDADD = \
80 $(top_builddir)/src/transport/libgnunettransport.la \
81 $(top_builddir)/src/ats/libgnunetats.la \
82 $(top_builddir)/src/util/libgnunetutil.la
84 test_core_api_reliability_SOURCES = \
85 test_core_api_reliability.c
86 test_core_api_reliability_LDADD = \
88 $(top_builddir)/src/transport/libgnunettransport.la \
89 $(top_builddir)/src/ats/libgnunetats.la \
90 $(top_builddir)/src/util/libgnunetutil.la
92 test_core_api_send_to_self_SOURCES = \
93 test_core_api_send_to_self.c
94 test_core_api_send_to_self_LDADD = \
96 $(top_builddir)/src/testing/libgnunettesting.la \
97 $(top_builddir)/src/transport/libgnunettransport.la \
98 $(top_builddir)/src/util/libgnunetutil.la
100 test_core_api_start_only_SOURCES = \
101 test_core_api_start_only.c
102 test_core_api_start_only_LDADD = \
103 $(top_builddir)/src/testing/libgnunettesting.la \
105 $(top_builddir)/src/util/libgnunetutil.la
107 test_core_quota_compliance_symmetric_SOURCES = \
108 test_core_quota_compliance.c
109 test_core_quota_compliance_symmetric_LDADD = \
111 $(top_builddir)/src/transport/libgnunettransport.la \
112 $(top_builddir)/src/ats/libgnunetats.la \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/statistics/libgnunetstatistics.la
116 test_core_quota_compliance_asymmetric_send_limited_SOURCES = \
117 test_core_quota_compliance.c
118 test_core_quota_compliance_asymmetric_send_limited_LDADD = \
120 $(top_builddir)/src/transport/libgnunettransport.la \
121 $(top_builddir)/src/ats/libgnunetats.la \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/statistics/libgnunetstatistics.la
125 test_core_quota_compliance_asymmetric_recv_limited_SOURCES = \
126 test_core_quota_compliance.c
127 test_core_quota_compliance_asymmetric_recv_limited_LDADD = \
129 $(top_builddir)/src/transport/libgnunettransport.la \
130 $(top_builddir)/src/ats/libgnunetats.la \
131 $(top_builddir)/src/util/libgnunetutil.la \
132 $(top_builddir)/src/statistics/libgnunetstatistics.la
135 test_core_defaults.conf \
136 test_core_api_data.conf \
137 test_core_api_peer1.conf \
138 test_core_api_peer2.conf \
139 test_core_api_send_to_self.conf \
140 test_core_quota_asymmetric_recv_limited_peer1.conf \
141 test_core_quota_asymmetric_recv_limited_peer2.conf \
142 test_core_quota_asymmetric_send_limit_peer1.conf \
143 test_core_quota_asymmetric_send_limit_peer2.conf \
144 test_core_quota_peer1.conf \
145 test_core_quota_peer2.conf