diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-18 14:31:24 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-18 14:31:24 +0200 |
commit | 2f93ff3b6d3524e1e6dc23f70966fbae3ca9d3af (patch) | |
tree | 8c9d286043722488bc12dd3881641d45ac782796 /src/core/Makefile.am | |
parent | 1867346fd2615492fd1392849039f7cc621299f4 (diff) | |
download | gnunet-2f93ff3b6d3524e1e6dc23f70966fbae3ca9d3af.tar.gz gnunet-2f93ff3b6d3524e1e6dc23f70966fbae3ca9d3af.zip |
BUILD: Move core to service/cli
Diffstat (limited to 'src/core/Makefile.am')
-rw-r--r-- | src/core/Makefile.am | 138 |
1 files changed, 0 insertions, 138 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am deleted file mode 100644 index b1d932ace..000000000 --- a/src/core/Makefile.am +++ /dev/null | |||
@@ -1,138 +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 | plugindir = $(libdir)/gnunet | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | pkgcfg_DATA = \ | ||
11 | core.conf | ||
12 | |||
13 | if USE_COVERAGE | ||
14 | AM_CFLAGS = --coverage -O0 | ||
15 | XLIB = -lgcov | ||
16 | endif | ||
17 | |||
18 | plugin_LTLIBRARIES = \ | ||
19 | libgnunet_test_core_plugin_cmd_just_run.la | ||
20 | |||
21 | TESTING_LIBS = \ | ||
22 | libgnunetcoretesting.la | ||
23 | |||
24 | lib_LTLIBRARIES = \ | ||
25 | libgnunetcore.la \ | ||
26 | $(TESTING_LIBS) | ||
27 | |||
28 | libgnunetcore_la_SOURCES = \ | ||
29 | core_api.c core.h \ | ||
30 | core_api_monitor_peers.c | ||
31 | libgnunetcore_la_LIBADD = \ | ||
32 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
33 | $(GN_LIBINTL) $(XLIB) | ||
34 | libgnunetcore_la_LDFLAGS = \ | ||
35 | $(GN_LIB_LDFLAGS) \ | ||
36 | -version-info 0:1:0 | ||
37 | |||
38 | libgnunet_test_core_plugin_cmd_just_run_la_SOURCES = \ | ||
39 | test_core_plugin_cmd_just_run.c | ||
40 | libgnunet_test_core_plugin_cmd_just_run_la_LIBADD = \ | ||
41 | libgnunetcoretesting.la \ | ||
42 | $(top_builddir)/src/transport/libgnunettransportapplication.la \ | ||
43 | $(top_builddir)/src/transport/libgnunettransportcore.la \ | ||
44 | $(top_builddir)/src/lib/testing/libgnunettesting.la \ | ||
45 | $(top_builddir)/src/peerstore/libgnunetpeerstore.la \ | ||
46 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
47 | $(top_builddir)/src/lib/hello/libgnunethello.la \ | ||
48 | $(top_builddir)/src/service/arm/libgnunetarm.la \ | ||
49 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
50 | $(LTLIBINTL) | ||
51 | libgnunet_test_core_plugin_cmd_just_run_la_LDFLAGS = \ | ||
52 | $(GN_PLUGIN_LDFLAGS) | ||
53 | |||
54 | libgnunetcoretesting_la_SOURCES = \ | ||
55 | core_api_cmd_connecting_peers.c | ||
56 | libgnunetcoretesting_la_LIBADD = \ | ||
57 | $(top_builddir)/src/lib/testing/libgnunettesting.la \ | ||
58 | $(top_builddir)/src/service/arm/libgnunetarm.la \ | ||
59 | $(top_builddir)/src/transport/libgnunettransportapplication.la \ | ||
60 | $(top_builddir)/src/transport/libgnunettransportcore.la \ | ||
61 | $(top_builddir)/src/lib/util/libgnunetutil.la | ||
62 | libgnunetcoretesting_la_LDFLAGS = \ | ||
63 | $(GN_LIBINTL) \ | ||
64 | $(GN_LIB_LDFLAGS) \ | ||
65 | -version-info 0:0:0 | ||
66 | |||
67 | |||
68 | libexec_PROGRAMS = \ | ||
69 | gnunet-service-core | ||
70 | |||
71 | bin_PROGRAMS = \ | ||
72 | gnunet-core | ||
73 | |||
74 | gnunet_service_core_SOURCES = \ | ||
75 | gnunet-service-core.c gnunet-service-core.h \ | ||
76 | gnunet-service-core_kx.c gnunet-service-core_kx.h \ | ||
77 | gnunet-service-core_sessions.c gnunet-service-core_sessions.h \ | ||
78 | gnunet-service-core_typemap.c gnunet-service-core_typemap.h | ||
79 | gnunet_service_core_LDADD = \ | ||
80 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
81 | $(top_builddir)/src/transport/libgnunettransportapplication.la \ | ||
82 | $(top_builddir)/src/transport/libgnunettransportcore.la \ | ||
83 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
84 | $(GN_LIBINTL) $(Z_LIBS) | ||
85 | |||
86 | |||
87 | gnunet_core_SOURCES = \ | ||
88 | gnunet-core.c | ||
89 | gnunet_core_LDADD = \ | ||
90 | libgnunetcore.la \ | ||
91 | $(top_builddir)/src/lib/util/libgnunetutil.la | ||
92 | gnunet_core_LDFLAGS = \ | ||
93 | $(GN_LIBINTL) | ||
94 | |||
95 | TESTING_TESTS = \ | ||
96 | test_core_api_send_to_self | ||
97 | |||
98 | check_PROGRAMS = \ | ||
99 | test_core_api_start_only \ | ||
100 | $(TESTING_TESTS) | ||
101 | |||
102 | # Only test TNG if we run experimental | ||
103 | check_SCRIPTS= \ | ||
104 | test_core_start_testcase.sh | ||
105 | |||
106 | if ENABLE_TEST_RUN | ||
107 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
108 | TESTS = $(check_PROGRAMS) \ | ||
109 | $(check_SCRIPTS) | ||
110 | endif | ||
111 | |||
112 | test_core_api_send_to_self_SOURCES = \ | ||
113 | test_core_api_send_to_self.c | ||
114 | test_core_api_send_to_self_LDADD = \ | ||
115 | libgnunetcore.la \ | ||
116 | $(top_builddir)/src/lib/testing/libgnunettesting.la \ | ||
117 | $(top_builddir)/src/lib/util/libgnunetutil.la | ||
118 | |||
119 | test_core_api_start_only_SOURCES = \ | ||
120 | test_core_api_start_only.c | ||
121 | test_core_api_start_only_LDADD = \ | ||
122 | $(top_builddir)/src/lib/testing/libgnunettesting.la \ | ||
123 | libgnunetcore.la \ | ||
124 | $(top_builddir)/src/lib/util/libgnunetutil.la | ||
125 | |||
126 | EXTRA_DIST = \ | ||
127 | test_core_start_testcase.sh \ | ||
128 | test_core_defaults.conf \ | ||
129 | test_core_api_data.conf \ | ||
130 | test_core_api_peer1.conf \ | ||
131 | test_core_api_peer2.conf \ | ||
132 | test_core_api_send_to_self.conf \ | ||
133 | test_core_quota_asymmetric_recv_limited_peer1.conf \ | ||
134 | test_core_quota_asymmetric_recv_limited_peer2.conf \ | ||
135 | test_core_quota_asymmetric_send_limit_peer1.conf \ | ||
136 | test_core_quota_asymmetric_send_limit_peer2.conf \ | ||
137 | test_core_quota_peer1.conf \ | ||
138 | test_core_quota_peer2.conf | ||