diff options
Diffstat (limited to 'src/core/Makefile.am')
-rw-r--r-- | src/core/Makefile.am | 143 |
1 files changed, 0 insertions, 143 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am deleted file mode 100644 index e51247e18..000000000 --- a/src/core/Makefile.am +++ /dev/null | |||
@@ -1,143 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
5 | |||
6 | libexecdir= $(pkglibdir)/libexec/ | ||
7 | |||
8 | pkgcfg_DATA = \ | ||
9 | core.conf | ||
10 | |||
11 | if USE_COVERAGE | ||
12 | AM_CFLAGS = --coverage -O0 | ||
13 | XLIB = -lgcov | ||
14 | endif | ||
15 | |||
16 | |||
17 | lib_LTLIBRARIES = \ | ||
18 | libgnunetcore.la | ||
19 | |||
20 | libgnunetcore_la_SOURCES = \ | ||
21 | core_api.c core.h \ | ||
22 | core_api_monitor_peers.c | ||
23 | libgnunetcore_la_LIBADD = \ | ||
24 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
25 | $(GN_LIBINTL) $(XLIB) | ||
26 | libgnunetcore_la_LDFLAGS = \ | ||
27 | $(GN_LIB_LDFLAGS) \ | ||
28 | -version-info 0:1:0 | ||
29 | |||
30 | |||
31 | libexec_PROGRAMS = \ | ||
32 | gnunet-service-core | ||
33 | |||
34 | bin_PROGRAMS = \ | ||
35 | gnunet-core | ||
36 | |||
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) | ||
47 | |||
48 | |||
49 | gnunet_core_SOURCES = \ | ||
50 | gnunet-core.c | ||
51 | gnunet_core_LDADD = \ | ||
52 | libgnunetcore.la \ | ||
53 | $(top_builddir)/src/util/libgnunetutil.la | ||
54 | gnunet_core_LDFLAGS = \ | ||
55 | $(GN_LIBINTL) | ||
56 | |||
57 | TESTING_TESTS = \ | ||
58 | test_core_api_send_to_self | ||
59 | |||
60 | check_PROGRAMS = \ | ||
61 | test_core_api_start_only \ | ||
62 | test_core_api \ | ||
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 | $(TESTING_TESTS) | ||
68 | |||
69 | if ENABLE_TEST_RUN | ||
70 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
71 | TESTS = $(check_PROGRAMS) | ||
72 | endif | ||
73 | |||
74 | test_core_api_SOURCES = \ | ||
75 | test_core_api.c | ||
76 | test_core_api_LDADD = \ | ||
77 | libgnunetcore.la \ | ||
78 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
79 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
80 | $(top_builddir)/src/util/libgnunetutil.la | ||
81 | |||
82 | test_core_api_reliability_SOURCES = \ | ||
83 | test_core_api_reliability.c | ||
84 | test_core_api_reliability_LDADD = \ | ||
85 | libgnunetcore.la \ | ||
86 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
87 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
88 | $(top_builddir)/src/util/libgnunetutil.la | ||
89 | |||
90 | test_core_api_send_to_self_SOURCES = \ | ||
91 | test_core_api_send_to_self.c | ||
92 | test_core_api_send_to_self_LDADD = \ | ||
93 | libgnunetcore.la \ | ||
94 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
95 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
96 | $(top_builddir)/src/util/libgnunetutil.la | ||
97 | |||
98 | test_core_api_start_only_SOURCES = \ | ||
99 | test_core_api_start_only.c | ||
100 | test_core_api_start_only_LDADD = \ | ||
101 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
102 | libgnunetcore.la \ | ||
103 | $(top_builddir)/src/util/libgnunetutil.la | ||
104 | |||
105 | test_core_quota_compliance_symmetric_SOURCES = \ | ||
106 | test_core_quota_compliance.c | ||
107 | test_core_quota_compliance_symmetric_LDADD = \ | ||
108 | libgnunetcore.la \ | ||
109 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
110 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
111 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
112 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
113 | |||
114 | test_core_quota_compliance_asymmetric_send_limited_SOURCES = \ | ||
115 | test_core_quota_compliance.c | ||
116 | test_core_quota_compliance_asymmetric_send_limited_LDADD = \ | ||
117 | libgnunetcore.la \ | ||
118 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
119 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
120 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
121 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
122 | |||
123 | test_core_quota_compliance_asymmetric_recv_limited_SOURCES = \ | ||
124 | test_core_quota_compliance.c | ||
125 | test_core_quota_compliance_asymmetric_recv_limited_LDADD = \ | ||
126 | libgnunetcore.la \ | ||
127 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
128 | $(top_builddir)/src/ats/libgnunetats.la \ | ||
129 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
130 | $(top_builddir)/src/statistics/libgnunetstatistics.la | ||
131 | |||
132 | EXTRA_DIST = \ | ||
133 | test_core_defaults.conf \ | ||
134 | test_core_api_data.conf \ | ||
135 | test_core_api_peer1.conf \ | ||
136 | test_core_api_peer2.conf \ | ||
137 | test_core_api_send_to_self.conf \ | ||
138 | test_core_quota_asymmetric_recv_limited_peer1.conf \ | ||
139 | test_core_quota_asymmetric_recv_limited_peer2.conf \ | ||
140 | test_core_quota_asymmetric_send_limit_peer1.conf \ | ||
141 | test_core_quota_asymmetric_send_limit_peer2.conf \ | ||
142 | test_core_quota_peer1.conf \ | ||
143 | test_core_quota_peer2.conf | ||