diff options
Diffstat (limited to 'src/rest-plugins/Makefile.am')
-rw-r--r-- | src/rest-plugins/Makefile.am | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/src/rest-plugins/Makefile.am b/src/rest-plugins/Makefile.am new file mode 100644 index 000000000..486692b72 --- /dev/null +++ b/src/rest-plugins/Makefile.am | |||
@@ -0,0 +1,105 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | plugindir = $(libdir)/gnunet | ||
5 | |||
6 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
7 | |||
8 | libexecdir= $(pkglibdir)/libexec/ | ||
9 | |||
10 | |||
11 | if MINGW | ||
12 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
13 | endif | ||
14 | |||
15 | if USE_COVERAGE | ||
16 | AM_CFLAGS = --coverage -O0 | ||
17 | XLIBS = -lgcov | ||
18 | endif | ||
19 | |||
20 | plugin_LTLIBRARIES = \ | ||
21 | libgnunet_plugin_rest_copying.la \ | ||
22 | libgnunet_plugin_rest_peerinfo.la \ | ||
23 | libgnunet_plugin_rest_identity.la \ | ||
24 | libgnunet_plugin_rest_namestore.la \ | ||
25 | libgnunet_plugin_rest_gns.la | ||
26 | if HAVE_ABE | ||
27 | plugin_LTLIBRARIES += libgnunet_plugin_rest_openid_connect.la | ||
28 | endif | ||
29 | |||
30 | |||
31 | libgnunet_plugin_rest_copying_la_SOURCES = \ | ||
32 | plugin_rest_copying.c | ||
33 | libgnunet_plugin_rest_copying_la_LIBADD = \ | ||
34 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
35 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
36 | $(LTLIBINTL) -lmicrohttpd | ||
37 | libgnunet_plugin_rest_copying_la_LDFLAGS = \ | ||
38 | $(GN_PLUGIN_LDFLAGS) | ||
39 | |||
40 | libgnunet_plugin_rest_peerinfo_la_SOURCES = \ | ||
41 | plugin_rest_peerinfo.c | ||
42 | libgnunet_plugin_rest_peerinfo_la_LIBADD = \ | ||
43 | $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ | ||
44 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
45 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
46 | $(top_builddir)/src/transport/libgnunettransport.la \ | ||
47 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
48 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
49 | libgnunet_plugin_rest_peerinfo_la_LDFLAGS = \ | ||
50 | $(GN_PLUGIN_LDFLAGS) | ||
51 | |||
52 | libgnunet_plugin_rest_identity_la_SOURCES = \ | ||
53 | plugin_rest_identity.c | ||
54 | libgnunet_plugin_rest_identity_la_LIBADD = \ | ||
55 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
56 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
57 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
58 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
59 | libgnunet_plugin_rest_identity_la_LDFLAGS = \ | ||
60 | $(GN_PLUGIN_LDFLAGS) | ||
61 | |||
62 | |||
63 | |||
64 | libgnunet_plugin_rest_namestore_la_SOURCES = \ | ||
65 | plugin_rest_namestore.c | ||
66 | libgnunet_plugin_rest_namestore_la_LIBADD = \ | ||
67 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
68 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
69 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
70 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
71 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
72 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
73 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
74 | libgnunet_plugin_rest_namestore_la_LDFLAGS = \ | ||
75 | $(GN_PLUGIN_LDFLAGS) | ||
76 | |||
77 | libgnunet_plugin_rest_gns_la_SOURCES = \ | ||
78 | plugin_rest_gns.c | ||
79 | libgnunet_plugin_rest_gns_la_LIBADD = \ | ||
80 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
81 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
82 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
83 | $(top_builddir)/src/json/libgnunetjson.la \ | ||
84 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
85 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
86 | libgnunet_plugin_rest_gns_la_LDFLAGS = \ | ||
87 | $(GN_PLUGIN_LDFLAGS) | ||
88 | |||
89 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
90 | plugin_rest_openid_connect.c \ | ||
91 | oidc_helper.c | ||
92 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
93 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
94 | $(top_builddir)/src/reclaim/libgnunetreclaim.la \ | ||
95 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
96 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
97 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
98 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
99 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
100 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
101 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
102 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
103 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
104 | $(GN_PLUGIN_LDFLAGS) | ||
105 | |||