1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 plugindir = $(libdir)/gnunet
7 AM_CFLAGS = --coverage -O0
15 libgnunet_plugin_rest_openid_connect.la \
16 libgnunet_plugin_rest_reclaim.la
22 test_reclaim_defaults.conf \
26 pkgcfgdir= $(pkgdatadir)/config.d/
28 libexecdir= $(pkglibdir)/libexec/
35 plugin_LTLIBRARIES = \
36 libgnunet_plugin_gnsrecord_reclaim.la \
43 gnunet-service-reclaim
45 libgnunet_plugin_rest_reclaim_la_SOURCES = \
46 plugin_rest_reclaim.c \
49 libgnunet_plugin_rest_reclaim_la_LIBADD = \
50 $(top_builddir)/src/identity/libgnunetidentity.la \
52 $(top_builddir)/src/json/libgnunetjson.la \
53 $(top_builddir)/src/rest/libgnunetrest.la \
54 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
55 $(top_builddir)/src/namestore/libgnunetnamestore.la \
56 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
57 $(LTLIBINTL) -ljansson $(MHD_LIBS)
58 libgnunet_plugin_rest_reclaim_la_LDFLAGS = \
60 libgnunet_plugin_rest_reclaim_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)
63 libgnunet_plugin_rest_openid_connect_la_SOURCES = \
64 plugin_rest_openid_connect.c \
67 libgnunet_plugin_rest_openid_connect_la_LIBADD = \
68 $(top_builddir)/src/identity/libgnunetidentity.la \
70 $(top_builddir)/src/rest/libgnunetrest.la \
71 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
72 $(top_builddir)/src/namestore/libgnunetnamestore.la \
73 $(top_builddir)/src/gns/libgnunetgns.la \
74 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
75 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
76 $(LTLIBINTL) -ljansson $(MHD_LIBS) \
78 libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \
80 libgnunet_plugin_rest_openid_connect_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)
83 libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \
84 plugin_gnsrecord_reclaim.c
85 libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \
86 $(top_builddir)/src/util/libgnunetutil.la \
88 libgnunet_plugin_gnsrecord_reclaim_la_LDFLAGS = \
92 gnunet_service_reclaim_SOURCES = \
93 gnunet-service-reclaim.c \
94 gnunet-service-reclaim_tickets.c \
95 gnunet-service-reclaim_tickets.h
96 gnunet_service_reclaim_LDADD = \
97 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/namestore/libgnunetnamestore.la \
100 $(top_builddir)/src/statistics/libgnunetstatistics.la \
101 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
102 libgnunetreclaim.la \
103 $(top_builddir)/src/gns/libgnunetgns.la \
106 libgnunetreclaim_la_SOURCES = \
109 libgnunetreclaim_la_LIBADD = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
112 $(GN_LIBINTL) $(XLIB)
113 libgnunetreclaim_la_LDFLAGS = \
114 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
117 gnunet_reclaim_SOURCES = \
119 gnunet_reclaim_LDADD = \
120 $(top_builddir)/src/util/libgnunetutil.la \
121 $(top_builddir)/src/namestore/libgnunetnamestore.la \
122 libgnunetreclaim.la \
123 $(top_builddir)/src/identity/libgnunetidentity.la \
124 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
128 test_reclaim_attribute.sh \
129 test_reclaim_issue.sh \
130 test_reclaim_consume.sh
131 # test_reclaim_revoke.sh
134 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
135 TESTS = $(check_SCRIPTS)