diff options
Diffstat (limited to 'src/reclaim/Makefile.am')
-rw-r--r-- | src/reclaim/Makefile.am | 226 |
1 files changed, 0 insertions, 226 deletions
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am deleted file mode 100644 index 2f3df3456..000000000 --- a/src/reclaim/Makefile.am +++ /dev/null | |||
@@ -1,226 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | if USE_COVERAGE | ||
7 | AM_CFLAGS = --coverage -O0 | ||
8 | XLIB = -lgcov | ||
9 | endif | ||
10 | |||
11 | |||
12 | REST_PLUGIN = \ | ||
13 | libgnunet_plugin_rest_reclaim.la | ||
14 | |||
15 | if HAVE_JOSE | ||
16 | REST_PLUGIN += libgnunet_plugin_rest_openid_connect.la | ||
17 | endif | ||
18 | |||
19 | CREDENTIAL_PLUGIN = \ | ||
20 | libgnunet_plugin_reclaim_credential_jwt.la | ||
21 | |||
22 | if HAVE_PABC | ||
23 | CREDENTIAL_PLUGIN += libgnunet_plugin_reclaim_credential_pabc.la | ||
24 | REST_PLUGIN += libgnunet_plugin_rest_pabc.la | ||
25 | endif | ||
26 | |||
27 | EXTRA_DIST = \ | ||
28 | reclaim.conf \ | ||
29 | test_reclaim_defaults.conf \ | ||
30 | test_reclaim.conf \ | ||
31 | $(check_SCRIPTS) | ||
32 | |||
33 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
34 | |||
35 | libexecdir= $(pkglibdir)/libexec/ | ||
36 | |||
37 | pkgcfg_DATA = \ | ||
38 | reclaim.conf | ||
39 | |||
40 | lib_LTLIBRARIES = \ | ||
41 | libgnunetreclaim.la | ||
42 | plugin_LTLIBRARIES = \ | ||
43 | libgnunet_plugin_gnsrecord_reclaim.la \ | ||
44 | libgnunet_plugin_reclaim_attribute_basic.la \ | ||
45 | $(CREDENTIAL_PLUGIN) \ | ||
46 | $(REST_PLUGIN) | ||
47 | |||
48 | bin_PROGRAMS = \ | ||
49 | gnunet-reclaim \ | ||
50 | gnunet-did | ||
51 | |||
52 | libexec_PROGRAMS = \ | ||
53 | gnunet-service-reclaim | ||
54 | |||
55 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
56 | plugin_rest_reclaim.c \ | ||
57 | json_reclaim.h \ | ||
58 | json_reclaim.c | ||
59 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
60 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
61 | libgnunetreclaim.la \ | ||
62 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
63 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
64 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
65 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
66 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
67 | $(LTLIBINTL) -ljansson $(MHD_LIBS) | ||
68 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
69 | $(GN_PLUGIN_LDFLAGS) | ||
70 | libgnunet_plugin_rest_reclaim_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
71 | |||
72 | if HAVE_JOSE | ||
73 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
74 | plugin_rest_openid_connect.c \ | ||
75 | oidc_helper.h \ | ||
76 | oidc_helper.c | ||
77 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
78 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
79 | libgnunetreclaim.la \ | ||
80 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
81 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
82 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
83 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
84 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
85 | $(LTLIBINTL) -ljansson -ljose $(MHD_LIBS) \ | ||
86 | $(LIBGCRYPT_LIBS) | ||
87 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
88 | $(GN_PLUGIN_LDFLAGS) | ||
89 | libgnunet_plugin_rest_openid_connect_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
90 | endif | ||
91 | |||
92 | if HAVE_PABC | ||
93 | libgnunet_plugin_rest_pabc_la_SOURCES = \ | ||
94 | plugin_rest_pabc.c \ | ||
95 | pabc_helper.c | ||
96 | libgnunet_plugin_rest_pabc_la_LIBADD = \ | ||
97 | libgnunetreclaim.la \ | ||
98 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
99 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
100 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
101 | $(LTLIBINTL) -ljansson -lpabc $(MHD_LIBS) | ||
102 | libgnunet_plugin_rest_pabc_la_LDFLAGS = \ | ||
103 | $(GN_PLUGIN_LDFLAGS) | ||
104 | libgnunet_plugin_rest_pabc_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS) | ||
105 | endif | ||
106 | |||
107 | |||
108 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ | ||
109 | plugin_gnsrecord_reclaim.c | ||
110 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ | ||
111 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
112 | $(LTLIBINTL) | ||
113 | libgnunet_plugin_gnsrecord_reclaim_la_LDFLAGS = \ | ||
114 | $(GN_PLUGIN_LDFLAGS) | ||
115 | |||
116 | |||
117 | gnunet_service_reclaim_SOURCES = \ | ||
118 | gnunet-service-reclaim.c \ | ||
119 | gnunet-service-reclaim_tickets.c \ | ||
120 | gnunet-service-reclaim_tickets.h | ||
121 | gnunet_service_reclaim_LDADD = \ | ||
122 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
123 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
124 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
125 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
126 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
127 | libgnunetreclaim.la \ | ||
128 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
129 | $(GN_LIBINTL) | ||
130 | |||
131 | libgnunetreclaim_la_SOURCES = \ | ||
132 | reclaim_api.c \ | ||
133 | reclaim.h \ | ||
134 | reclaim_attribute.c \ | ||
135 | reclaim_attribute.h \ | ||
136 | reclaim_credential.c \ | ||
137 | reclaim_credential.h | ||
138 | libgnunetreclaim_la_LIBADD = \ | ||
139 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
140 | $(GN_LIBINTL) $(XLIB) | ||
141 | libgnunetreclaim_la_LDFLAGS = \ | ||
142 | $(GN_LIB_LDFLAGS) \ | ||
143 | -version-info 0:0:0 | ||
144 | |||
145 | |||
146 | libgnunet_plugin_reclaim_attribute_basic_la_SOURCES = \ | ||
147 | plugin_reclaim_attribute_basic.c | ||
148 | libgnunet_plugin_reclaim_attribute_basic_la_LIBADD = \ | ||
149 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
150 | $(LTLIBINTL) | ||
151 | libgnunet_plugin_reclaim_attribute_basic_la_LDFLAGS = \ | ||
152 | $(GN_PLUGIN_LDFLAGS) | ||
153 | |||
154 | if HAVE_PABC | ||
155 | libgnunet_plugin_reclaim_credential_pabc_la_SOURCES = \ | ||
156 | plugin_reclaim_credential_pabc.c \ | ||
157 | pabc_helper.c \ | ||
158 | pabc_helper.h | ||
159 | libgnunet_plugin_reclaim_credential_pabc_la_LIBADD = \ | ||
160 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
161 | libgnunetreclaim.la \ | ||
162 | -ljansson\ | ||
163 | -lpabc \ | ||
164 | $(LTLIBINTL) | ||
165 | libgnunet_plugin_reclaim_credential_pabc_la_LDFLAGS = \ | ||
166 | $(GN_PLUGIN_LDFLAGS) | ||
167 | endif | ||
168 | |||
169 | |||
170 | libgnunet_plugin_reclaim_credential_jwt_la_SOURCES = \ | ||
171 | plugin_reclaim_credential_jwt.c | ||
172 | libgnunet_plugin_reclaim_credential_jwt_la_LIBADD = \ | ||
173 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
174 | libgnunetreclaim.la \ | ||
175 | -ljansson\ | ||
176 | $(LTLIBINTL) | ||
177 | libgnunet_plugin_reclaim_credential_jwt_la_LDFLAGS = \ | ||
178 | $(GN_PLUGIN_LDFLAGS) | ||
179 | |||
180 | gnunet_reclaim_SOURCES = \ | ||
181 | gnunet-reclaim.c | ||
182 | gnunet_reclaim_LDADD = \ | ||
183 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
184 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
185 | libgnunetreclaim.la \ | ||
186 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
187 | $(GN_LIBINTL) | ||
188 | |||
189 | test_reclaim_attribute_SOURCES = \ | ||
190 | test_reclaim_attribute.c | ||
191 | test_reclaim_attribute_LDADD = \ | ||
192 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
193 | libgnunetreclaim.la \ | ||
194 | $(GN_LIBINTL) | ||
195 | |||
196 | gnunet_did_SOURCES = \ | ||
197 | gnunet-did.c \ | ||
198 | did_misc.c \ | ||
199 | did.h | ||
200 | gnunet_did_LDADD = \ | ||
201 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
202 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
203 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
204 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
205 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
206 | -ljansson | ||
207 | |||
208 | |||
209 | test_w3c_ed25519_2020_SOURCES = \ | ||
210 | test_w3c_ed25519_2020.c | ||
211 | test_w3c_ed25519_2020_LDADD = \ | ||
212 | $(top_builddir)/src/util/libgnunetutil.la | ||
213 | |||
214 | check_SCRIPTS = \ | ||
215 | test_reclaim_attribute.sh \ | ||
216 | test_reclaim_issue.sh \ | ||
217 | test_reclaim_consume.sh | ||
218 | |||
219 | check_PROGRAMS = \ | ||
220 | test_reclaim_attribute \ | ||
221 | test_w3c_ed25519_2020 | ||
222 | |||
223 | if ENABLE_TEST_RUN | ||
224 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
225 | TESTS = $(check_SCRIPTS) | ||
226 | endif | ||