1 INCLUDES = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
9 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
13 AM_CFLAGS = --coverage -O0
21 libgnunetcore_la_SOURCES = \
23 core_api_iterate_peers.c
24 libgnunetcore_la_LIBADD = \
25 $(top_builddir)/src/util/libgnunetutil.la \
27 libgnunetcore_la_LDFLAGS = \
28 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
36 gnunet_service_core_SOURCES = \
37 gnunet-service-core.c gnunet-service-core.h \
38 gnunet-service-core_clients.c gnunet-service-core_clients.h \
39 gnunet-service-core_neighbours.c gnunet-service-core_neighbours.h \
40 gnunet-service-core_kx.c gnunet-service-core_kx.h \
41 gnunet-service-core_sessions.c gnunet-service-core_sessions.h \
42 gnunet-service-core_typemap.c gnunet-service-core_typemap.h
43 gnunet_service_core_LDADD = \
44 $(top_builddir)/src/hello/libgnunethello.la \
45 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
46 $(top_builddir)/src/statistics/libgnunetstatistics.la \
47 $(top_builddir)/src/transport/libgnunettransport.la \
48 $(top_builddir)/src/util/libgnunetutil.la \
52 gnunet_core_SOURCES = \
55 $(top_builddir)/src/core/libgnunetcore.la \
56 $(top_builddir)/src/util/libgnunetutil.la
57 gnunet_core_DEPENDENCIES = \
61 test_core_api_start_only \
63 test_core_api_reliability \
64 test_core_quota_compliance_symmetric \
65 test_core_quota_compliance_asymmetric_send_limited \
66 test_core_quota_compliance_asymmetric_recv_limited \
67 test_core_api_send_to_self
70 TESTS = $(check_PROGRAMS)
73 test_core_api_SOURCES = \
75 test_core_api_LDADD = \
76 $(top_builddir)/src/core/libgnunetcore.la \
77 $(top_builddir)/src/transport/libgnunettransport.la \
78 $(top_builddir)/src/util/libgnunetutil.la
80 test_core_api_reliability_SOURCES = \
81 test_core_api_reliability.c
82 test_core_api_reliability_LDADD = \
83 $(top_builddir)/src/core/libgnunetcore.la \
84 $(top_builddir)/src/transport/libgnunettransport.la \
85 $(top_builddir)/src/util/libgnunetutil.la
87 test_core_api_send_to_self_SOURCES = \
88 test_core_api_send_to_self.c
89 test_core_api_send_to_self_LDADD = \
90 $(top_builddir)/src/core/libgnunetcore.la \
91 $(top_builddir)/src/transport/libgnunettransport.la \
92 $(top_builddir)/src/util/libgnunetutil.la
94 test_core_api_start_only_SOURCES = \
95 test_core_api_start_only.c
96 test_core_api_start_only_LDADD = \
97 $(top_builddir)/src/core/libgnunetcore.la \
98 $(top_builddir)/src/util/libgnunetutil.la
100 test_core_quota_compliance_symmetric_SOURCES = \
101 test_core_quota_compliance.c
102 test_core_quota_compliance_symmetric_LDADD = \
103 $(top_builddir)/src/core/libgnunetcore.la \
104 $(top_builddir)/src/transport/libgnunettransport.la \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/statistics/libgnunetstatistics.la
108 test_core_quota_compliance_asymmetric_send_limited_SOURCES = \
109 test_core_quota_compliance.c
110 test_core_quota_compliance_asymmetric_send_limited_LDADD = \
111 $(top_builddir)/src/core/libgnunetcore.la \
112 $(top_builddir)/src/transport/libgnunettransport.la \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/statistics/libgnunetstatistics.la
116 test_core_quota_compliance_asymmetric_recv_limited_SOURCES = \
117 test_core_quota_compliance.c
118 test_core_quota_compliance_asymmetric_recv_limited_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
125 test_core_defaults.conf \
126 test_core_api_data.conf \
127 test_core_api_peer1.conf \
128 test_core_api_peer2.conf \
129 test_core_api_send_to_self.conf \
130 test_core_quota_asymmetric_recv_limited_peer1.conf \
131 test_core_quota_asymmetric_recv_limited_peer2.conf \
132 test_core_quota_asymmetric_send_limit_peer1.conf \
133 test_core_quota_asymmetric_send_limit_peer2.conf \
134 test_core_quota_peer1.conf \
135 test_core_quota_peer2.conf