1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 plugindir = $(libdir)/gnunet
7 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
11 AM_CFLAGS = --coverage -O0
19 libgnunet_plugin_rest_openid_connect.la \
20 libgnunet_plugin_rest_reclaim.la
26 test_reclaim_defaults.conf \
30 pkgcfgdir= $(pkgdatadir)/config.d/
32 libexecdir= $(pkglibdir)/libexec/
39 plugin_LTLIBRARIES = \
40 libgnunet_plugin_gnsrecord_reclaim.la \
47 gnunet-service-reclaim
49 libgnunet_plugin_rest_reclaim_la_SOURCES = \
50 plugin_rest_reclaim.c \
53 libgnunet_plugin_rest_reclaim_la_LIBADD = \
54 $(top_builddir)/src/identity/libgnunetidentity.la \
56 $(top_builddir)/src/json/libgnunetjson.la \
57 $(top_builddir)/src/rest/libgnunetrest.la \
58 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
59 $(top_builddir)/src/namestore/libgnunetnamestore.la \
60 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
61 $(LTLIBINTL) -ljansson -lmicrohttpd
62 libgnunet_plugin_rest_reclaim_la_LDFLAGS = \
66 libgnunet_plugin_rest_openid_connect_la_SOURCES = \
67 plugin_rest_openid_connect.c \
70 libgnunet_plugin_rest_openid_connect_la_LIBADD = \
71 $(top_builddir)/src/identity/libgnunetidentity.la \
73 $(top_builddir)/src/rest/libgnunetrest.la \
74 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
75 $(top_builddir)/src/namestore/libgnunetnamestore.la \
76 $(top_builddir)/src/gns/libgnunetgns.la \
77 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
78 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
79 $(LTLIBINTL) -ljansson -lmicrohttpd
80 libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \
84 libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \
85 plugin_gnsrecord_reclaim.c
86 libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \
87 $(top_builddir)/src/util/libgnunetutil.la \
89 libgnunet_plugin_gnsrecord_reclaim_la_LDFLAGS = \
93 gnunet_service_reclaim_SOURCES = \
94 gnunet-service-reclaim.c \
95 gnunet-service-reclaim_tickets.c \
96 gnunet-service-reclaim_tickets.h
97 gnunet_service_reclaim_LDADD = \
98 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la \
101 $(top_builddir)/src/identity/libgnunetidentity.la \
102 $(top_builddir)/src/statistics/libgnunetstatistics.la \
103 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
104 libgnunetreclaim.la \
105 $(top_builddir)/src/gns/libgnunetgns.la \
108 libgnunetreclaim_la_SOURCES = \
111 libgnunetreclaim_la_LIBADD = \
112 $(top_builddir)/src/util/libgnunetutil.la \
113 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
114 $(GN_LIBINTL) $(XLIB)
115 libgnunetreclaim_la_LDFLAGS = \
116 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
119 gnunet_reclaim_SOURCES = \
121 gnunet_reclaim_LDADD = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/namestore/libgnunetnamestore.la \
124 libgnunetreclaim.la \
125 $(top_builddir)/src/identity/libgnunetidentity.la \
126 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
130 test_reclaim_attribute.sh \
131 test_reclaim_issue.sh \
132 test_reclaim_consume.sh \
133 test_reclaim_revoke.sh
136 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
137 TESTS = $(check_SCRIPTS)