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
16 SQLITE_PLUGIN = libgnunet_plugin_identity_provider_sqlite.la
20 test_idp_defaults.conf \
24 pkgcfgdir= $(pkgdatadir)/config.d/
26 libexecdir= $(pkglibdir)/libexec/
29 identity-provider.conf
32 libgnunetidentityprovider.la
33 plugin_LTLIBRARIES = \
34 libgnunet_plugin_rest_identity_provider.la \
35 libgnunet_plugin_gnsrecord_identity_provider.la \
42 gnunet-service-identity-provider
44 libgnunet_plugin_gnsrecord_identity_provider_la_SOURCES = \
45 plugin_gnsrecord_identity_provider.c
46 libgnunet_plugin_gnsrecord_identity_provider_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
49 libgnunet_plugin_gnsrecord_identity_provider_la_LDFLAGS = \
52 libgnunet_plugin_identity_provider_sqlite_la_SOURCES = \
53 plugin_identity_provider_sqlite.c
54 libgnunet_plugin_identity_provider_sqlite_la_LIBADD = \
55 libgnunetidentityprovider.la \
56 $(top_builddir)/src/sq/libgnunetsq.la \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
58 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
60 libgnunet_plugin_identity_provider_sqlite_la_LDFLAGS = \
65 gnunet_service_identity_provider_SOURCES = \
66 gnunet-service-identity-provider.c
67 gnunet_service_identity_provider_LDADD = \
68 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
69 $(top_builddir)/src/util/libgnunetutil.la \
70 $(top_builddir)/src/namestore/libgnunetnamestore.la \
71 $(top_builddir)/src/identity/libgnunetidentity.la \
72 $(top_builddir)/src/statistics/libgnunetstatistics.la \
73 $(top_builddir)/src/abe/libgnunetabe.la \
74 $(top_builddir)/src/credential/libgnunetcredential.la \
75 $(top_builddir)/src/identity-attribute/libgnunetidentityattribute.la \
76 libgnunetidentityprovider.la \
77 $(top_builddir)/src/gns/libgnunetgns.la \
80 libgnunetidentityprovider_la_SOURCES = \
81 identity_provider_api.c \
83 libgnunetidentityprovider_la_LIBADD = \
84 $(top_builddir)/src/util/libgnunetutil.la \
86 libgnunetidentityprovider_la_LDFLAGS = \
87 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
90 libgnunet_plugin_rest_identity_provider_la_SOURCES = \
91 plugin_rest_identity_provider.c \
93 libgnunet_plugin_rest_identity_provider_la_LIBADD = \
94 $(top_builddir)/src/identity/libgnunetidentity.la \
95 libgnunetidentityprovider.la \
96 $(top_builddir)/src/rest/libgnunetrest.la \
97 $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
98 $(top_builddir)/src/identity-attribute/libgnunetidentityattribute.la \
99 $(top_builddir)/src/namestore/libgnunetnamestore.la \
100 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
101 $(LTLIBINTL) -ljansson -lmicrohttpd
102 libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
105 gnunet_idp_SOURCES = \
108 $(top_builddir)/src/util/libgnunetutil.la \
109 $(top_builddir)/src/namestore/libgnunetnamestore.la \
110 libgnunetidentityprovider.la \
111 $(top_builddir)/src/identity/libgnunetidentity.la \
112 $(top_builddir)/src/identity-attribute/libgnunetidentityattribute.la \
116 test_idp_attribute.sh \
118 test_idp_consume.sh \
122 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
123 TESTS = $(check_SCRIPTS)