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 \
68 gnunet_service_identity_provider_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/credential/libgnunetcredential.la \
75 libgnunetidentityprovider.la \
76 $(top_builddir)/src/gns/libgnunetgns.la \
79 libgnunetidentityprovider_la_SOURCES = \
80 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/namestore/libgnunetnamestore.la \
99 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
100 $(LTLIBINTL) -ljansson -lmicrohttpd
101 libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
104 gnunet_idp_SOURCES = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/namestore/libgnunetnamestore.la \
109 libgnunetidentityprovider.la \
110 $(top_builddir)/src/identity/libgnunetidentity.la \
114 test_idp_attribute.sh \
116 test_idp_consume.sh \
120 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
121 TESTS = $(check_SCRIPTS)