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 $(MHD_LIBS)
62 libgnunet_plugin_rest_reclaim_la_LDFLAGS = \
64 libgnunet_plugin_rest_reclaim_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)
67 libgnunet_plugin_rest_openid_connect_la_SOURCES = \
68 plugin_rest_openid_connect.c \
71 libgnunet_plugin_rest_openid_connect_la_LIBADD = \
72 $(top_builddir)/src/identity/libgnunetidentity.la \
74 $(top_builddir)/src/rest/libgnunetrest.la \
75 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
76 $(top_builddir)/src/namestore/libgnunetnamestore.la \
77 $(top_builddir)/src/gns/libgnunetgns.la \
78 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
79 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
80 $(LTLIBINTL) -ljansson $(MHD_LIBS)
81 libgnunet_plugin_rest_openid_connect_la_LDFLAGS = \
83 libgnunet_plugin_rest_openid_connect_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)
86 libgnunet_plugin_gnsrecord_reclaim_la_SOURCES = \
87 plugin_gnsrecord_reclaim.c
88 libgnunet_plugin_gnsrecord_reclaim_la_LIBADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
91 libgnunet_plugin_gnsrecord_reclaim_la_LDFLAGS = \
95 gnunet_service_reclaim_SOURCES = \
96 gnunet-service-reclaim.c \
97 gnunet-service-reclaim_tickets.c \
98 gnunet-service-reclaim_tickets.h
99 gnunet_service_reclaim_LDADD = \
100 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/namestore/libgnunetnamestore.la \
103 $(top_builddir)/src/statistics/libgnunetstatistics.la \
104 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
105 libgnunetreclaim.la \
106 $(top_builddir)/src/gns/libgnunetgns.la \
109 libgnunetreclaim_la_SOURCES = \
112 libgnunetreclaim_la_LIBADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
115 $(GN_LIBINTL) $(XLIB)
116 libgnunetreclaim_la_LDFLAGS = \
117 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
120 gnunet_reclaim_SOURCES = \
122 gnunet_reclaim_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/namestore/libgnunetnamestore.la \
125 libgnunetreclaim.la \
126 $(top_builddir)/src/identity/libgnunetidentity.la \
127 $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
131 test_reclaim_attribute.sh \
132 test_reclaim_issue.sh \
133 test_reclaim_consume.sh
134 # test_reclaim_revoke.sh
137 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
138 TESTS = $(check_SCRIPTS)