libexecdir= $(pkglibdir)/libexec/
pkgcfg_DATA = \
- identity-token.conf
+ identity-provider.conf
plugin_LTLIBRARIES = \
- libgnunet_plugin_rest_identity_token.la
-lib_LTLIBRARIES = \
+ libgnunet_plugin_rest_identity_provider.la \
libgnunetidentityprovider.la
bin_PROGRAMS = \
gnunet-identity-token
libexec_PROGRAMS = \
- gnunet-service-identity-token
+ gnunet-service-identity-provider
-gnunet_service_identity_token_SOURCES = \
- gnunet-service-identity-token.c
-gnunet_service_identity_token_LDADD = \
- libgnunetidentityprovider.la \
+gnunet_service_identity_provider_SOURCES = \
+ gnunet-service-identity-provider.c \
+ identity_token.c
+gnunet_service_identity_provider_LDADD = \
$(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/namestore/libgnunetnamestore.la \
$(top_builddir)/src/identity/libgnunetidentity.la \
+ $(top_builddir)/src/gns/libgnunetgns.la \
$(GN_LIBINTL) \
-ljansson
libgnunetidentityprovider_la_SOURCES = \
- identity-token.c
+ identity_provider_api.c \
+ identity_provider.h
libgnunetidentityprovider_la_LIBADD = \
- $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
- $(LTLIBINTL) -ljansson
-
-libgnunet_plugin_rest_identity_token_la_SOURCES = \
- plugin_rest_identity_token.c
-libgnunet_plugin_rest_identity_token_la_LIBADD = \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(GN_LIBINTL) $(XLIB)
+libgnunetidentityprovider_la_LDFLAGS = \
+ $(GN_LIB_LDFLAGS) $(WINFLAGS) \
+ -version-info 0:0:0
+
+libgnunet_plugin_rest_identity_provider_la_SOURCES = \
+ plugin_rest_identity_provider.c
+libgnunet_plugin_rest_identity_provider_la_LIBADD = \
$(top_builddir)/src/identity/libgnunetidentity.la \
+ libgnunetidentityprovider.la \
$(top_builddir)/src/rest/libgnunetrest.la \
$(top_builddir)/src/namestore/libgnunetnamestore.la \
- $(top_builddir)/src/gns/libgnunetgns.la \
$(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
$(LTLIBINTL) -ljansson -lmicrohttpd
-libgnunet_plugin_rest_identity_token_la_LDFLAGS = \
+libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS)