diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-19 23:28:53 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-19 23:28:53 +0200 |
commit | 4fd677cec39e5621d16bc2c63926b803b31582e3 (patch) | |
tree | b1ed7c7544c1a8a721308d67c908e0f3cd758486 /src/reclaim/Makefile.am | |
parent | 0f75e5c54c6e6c9087cf565539266514abd67e98 (diff) | |
download | gnunet-4fd677cec39e5621d16bc2c63926b803b31582e3.tar.gz gnunet-4fd677cec39e5621d16bc2c63926b803b31582e3.zip |
renamed identity-provider subsystem to reclaim
Diffstat (limited to 'src/reclaim/Makefile.am')
-rw-r--r-- | src/reclaim/Makefile.am | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am new file mode 100644 index 000000000..c13c68763 --- /dev/null +++ b/src/reclaim/Makefile.am | |||
@@ -0,0 +1,140 @@ | |||
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 MINGW | ||
7 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
8 | endif | ||
9 | |||
10 | if USE_COVERAGE | ||
11 | AM_CFLAGS = --coverage -O0 | ||
12 | XLIB = -lgcov | ||
13 | endif | ||
14 | |||
15 | if HAVE_SQLITE | ||
16 | SQLITE_PLUGIN = libgnunet_plugin_reclaim_sqlite.la | ||
17 | endif | ||
18 | |||
19 | EXTRA_DIST = \ | ||
20 | test_reclaim_defaults.conf \ | ||
21 | test_reclaim.conf \ | ||
22 | $(check_SCRIPTS) | ||
23 | |||
24 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
25 | |||
26 | libexecdir= $(pkglibdir)/libexec/ | ||
27 | |||
28 | pkgcfg_DATA = \ | ||
29 | reclaim.conf | ||
30 | |||
31 | lib_LTLIBRARIES = \ | ||
32 | libgnunetidentityprovider.la | ||
33 | plugin_LTLIBRARIES = \ | ||
34 | libgnunet_plugin_rest_reclaim.la \ | ||
35 | libgnunet_plugin_rest_openid_connect.la \ | ||
36 | libgnunet_plugin_gnsrecord_reclaim.la \ | ||
37 | $(SQLITE_PLUGIN) | ||
38 | |||
39 | bin_PROGRAMS = \ | ||
40 | gnunet-reclaim | ||
41 | |||
42 | libexec_PROGRAMS = \ | ||
43 | gnunet-service-reclaim | ||
44 | |||
45 | libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \ | ||
46 | plugin_gnsrecord_reclaim.c | ||
47 | libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \ | ||
48 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
49 | $(LTLIBINTL) | ||
50 | libgnunet_plugin_gnsrecord_reclaim_la_LDFLAGS = \ | ||
51 | $(GN_PLUGIN_LDFLAGS) | ||
52 | |||
53 | libgnunet_plugin_reclaim_sqlite_la_SOURCES = \ | ||
54 | plugin_reclaim_sqlite.c | ||
55 | libgnunet_plugin_reclaim_sqlite_la_LIBADD = \ | ||
56 | libgnunetidentityprovider.la \ | ||
57 | $(top_builddir)/src/sq/libgnunetsq.la \ | ||
58 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
59 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \ | ||
60 | $(LTLIBINTL) | ||
61 | libgnunet_plugin_reclaim_sqlite_la_LDFLAGS = \ | ||
62 | $(GN_PLUGIN_LDFLAGS) | ||
63 | |||
64 | |||
65 | |||
66 | gnunet_service_reclaim_SOURCES = \ | ||
67 | gnunet-service-reclaim.c | ||
68 | gnunet_service_reclaim_LDADD = \ | ||
69 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
70 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
71 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
72 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
73 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
74 | $(top_builddir)/src/abe/libgnunetabe.la \ | ||
75 | $(top_builddir)/src/credential/libgnunetcredential.la \ | ||
76 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
77 | libgnunetidentityprovider.la \ | ||
78 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
79 | $(GN_LIBINTL) | ||
80 | |||
81 | libgnunetidentityprovider_la_SOURCES = \ | ||
82 | reclaim_api.c \ | ||
83 | reclaim.h | ||
84 | libgnunetidentityprovider_la_LIBADD = \ | ||
85 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
86 | $(GN_LIBINTL) $(XLIB) | ||
87 | libgnunetidentityprovider_la_LDFLAGS = \ | ||
88 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
89 | -version-info 0:0:0 | ||
90 | |||
91 | libgnunet_plugin_rest_reclaim_la_SOURCES = \ | ||
92 | plugin_rest_reclaim.c \ | ||
93 | jwt.c | ||
94 | libgnunet_plugin_rest_reclaim_la_LIBADD = \ | ||
95 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
96 | libgnunetidentityprovider.la \ | ||
97 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
98 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
99 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
100 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
101 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
102 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
103 | libgnunet_plugin_rest_reclaim_la_LDFLAGS = \ | ||
104 | $(GN_PLUGIN_LDFLAGS) | ||
105 | |||
106 | libgnunet_plugin_rest_openid_connect_la_SOURCES = \ | ||
107 | plugin_rest_openid_connect.c \ | ||
108 | jwt.c | ||
109 | libgnunet_plugin_rest_openid_connect_la_LIBADD = \ | ||
110 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
111 | libgnunetidentityprovider.la \ | ||
112 | $(top_builddir)/src/rest/libgnunetrest.la \ | ||
113 | $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ | ||
114 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
115 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
116 | $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
117 | $(LTLIBINTL) -ljansson -lmicrohttpd | ||
118 | libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \ | ||
119 | $(GN_PLUGIN_LDFLAGS) | ||
120 | |||
121 | gnunet_reclaim_SOURCES = \ | ||
122 | gnunet-reclaim.c | ||
123 | gnunet_reclaim_LDADD = \ | ||
124 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
125 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
126 | libgnunetidentityprovider.la \ | ||
127 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
128 | $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \ | ||
129 | $(GN_LIBINTL) | ||
130 | |||
131 | check_SCRIPTS = \ | ||
132 | test_reclaim_attribute.sh \ | ||
133 | test_reclaim_issue.sh \ | ||
134 | test_reclaim_consume.sh \ | ||
135 | test_reclaim_revoke.sh | ||
136 | |||
137 | if ENABLE_TEST_RUN | ||
138 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
139 | TESTS = $(check_SCRIPTS) | ||
140 | endif | ||