1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
16 libgnunetcore_la_SOURCES = \
18 core_api_iterate_peers.c
19 libgnunetcore_la_LIBADD = \
20 $(top_builddir)/src/util/libgnunetutil.la \
22 libgnunetcore_la_LDFLAGS = \
23 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
29 gnunet-service-core-new \
30 gnunet-core-list-connections
32 gnunet_service_core_SOURCES = \
34 gnunet_service_core_LDADD = \
35 $(top_builddir)/src/hello/libgnunethello.la \
36 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
37 $(top_builddir)/src/statistics/libgnunetstatistics.la \
38 $(top_builddir)/src/transport/libgnunettransport.la \
39 $(top_builddir)/src/util/libgnunetutil.la \
42 gnunet_service_core_new_SOURCES = \
43 gnunet-service-core-new.c gnunet-service-core.h \
44 gnunet-service-core_clients.c gnunet-service-core_clients.h \
45 gnunet-service-core_neighbours.c gnunet-service-core_neighbours.h \
46 gnunet-service-core_kx.c gnunet-service-core_kx.h \
47 gnunet-service-core_sessions.c gnunet-service-core_sessions.h \
48 gnunet-service-core_typemap.c gnunet-service-core_typemap.h
49 gnunet_service_core_new_LDADD = \
50 $(top_builddir)/src/hello/libgnunethello.la \
51 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
52 $(top_builddir)/src/statistics/libgnunetstatistics.la \
53 $(top_builddir)/src/transport/libgnunettransport.la \
54 $(top_builddir)/src/util/libgnunetutil.la \
58 gnunet_core_list_connections_SOURCES = \
59 gnunet-core-list-connections.c
60 gnunet_core_list_connections_LDADD = \
61 $(top_builddir)/src/core/libgnunetcore.la \
62 $(top_builddir)/src/transport/libgnunettransport.la \
63 $(top_builddir)/src/hello/libgnunethello.la \
64 $(top_builddir)/src/util/libgnunetutil.la
65 gnunet_core_list_connections_DEPENDENCIES = \
69 test_core_api_start_only \
71 test_core_api_preferences \
72 test_core_api_reliability \
73 test_core_quota_compliance_symmetric \
74 test_core_quota_compliance_asymmetric_send_limited \
75 test_core_quota_compliance_asymmetric_recv_limited \
76 test_core_api_send_to_self
79 TESTS = $(check_PROGRAMS)
82 test_core_api_SOURCES = \
84 test_core_api_LDADD = \
85 $(top_builddir)/src/core/libgnunetcore.la \
86 $(top_builddir)/src/transport/libgnunettransport.la \
87 $(top_builddir)/src/util/libgnunetutil.la
89 test_core_api_reliability_SOURCES = \
90 test_core_api_reliability.c
91 test_core_api_reliability_LDADD = \
92 $(top_builddir)/src/core/libgnunetcore.la \
93 $(top_builddir)/src/transport/libgnunettransport.la \
94 $(top_builddir)/src/util/libgnunetutil.la
96 test_core_api_preferences_SOURCES = \
97 test_core_api_preferences.c
98 test_core_api_preferences_LDADD = \
99 $(top_builddir)/src/core/libgnunetcore.la \
100 $(top_builddir)/src/transport/libgnunettransport.la \
101 $(top_builddir)/src/util/libgnunetutil.la
103 test_core_api_send_to_self_SOURCES = \
104 test_core_api_send_to_self.c
105 test_core_api_send_to_self_LDADD = \
106 $(top_builddir)/src/core/libgnunetcore.la \
107 $(top_builddir)/src/transport/libgnunettransport.la \
108 $(top_builddir)/src/util/libgnunetutil.la
110 test_core_api_start_only_SOURCES = \
111 test_core_api_start_only.c
112 test_core_api_start_only_LDADD = \
113 $(top_builddir)/src/core/libgnunetcore.la \
114 $(top_builddir)/src/util/libgnunetutil.la
116 test_core_quota_compliance_symmetric_SOURCES = \
117 test_core_quota_compliance.c
118 test_core_quota_compliance_symmetric_LDADD = \
119 $(top_builddir)/src/core/libgnunetcore.la \
120 $(top_builddir)/src/transport/libgnunettransport.la \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/statistics/libgnunetstatistics.la
124 test_core_quota_compliance_asymmetric_send_limited_SOURCES = \
125 test_core_quota_compliance.c
126 test_core_quota_compliance_asymmetric_send_limited_LDADD = \
127 $(top_builddir)/src/core/libgnunetcore.la \
128 $(top_builddir)/src/transport/libgnunettransport.la \
129 $(top_builddir)/src/util/libgnunetutil.la \
130 $(top_builddir)/src/statistics/libgnunetstatistics.la
132 test_core_quota_compliance_asymmetric_recv_limited_SOURCES = \
133 test_core_quota_compliance.c
134 test_core_quota_compliance_asymmetric_recv_limited_LDADD = \
135 $(top_builddir)/src/core/libgnunetcore.la \
136 $(top_builddir)/src/transport/libgnunettransport.la \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/statistics/libgnunetstatistics.la
141 test_core_defaults.conf \
142 test_core_api_data.conf \
143 test_core_api_peer1.conf \
144 test_core_api_peer2.conf \
145 test_core_api_send_to_self.conf \
146 test_core_quota_asymmetric_recv_limited_peer1.conf \
147 test_core_quota_asymmetric_recv_limited_peer2.conf \
148 test_core_quota_asymmetric_send_limited_peer1.conf \
149 test_core_quota_asymmetric_send_limited_peer2.conf \
150 test_core_quota_asymmetric_send_limit_peer1.conf \
151 test_core_quota_asymmetric_send_limit_peer2.conf \
152 test_core_quota_peer1.conf \
153 test_core_quota_peer2.conf