revert to MHD_USE_SSL for now
[oweals/gnunet.git] / src / identity-provider / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4  plugindir = $(libdir)/gnunet
5
6 if MINGW
7  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 endif
9
10 if USE_COVERAGE
11   AM_CFLAGS = --coverage -O0
12   XLIB = -lgcov
13 endif
14
15 pkgcfgdir= $(pkgdatadir)/config.d/
16
17 libexecdir= $(pkglibdir)/libexec/
18
19 pkgcfg_DATA = \
20   identity-provider.conf
21
22 lib_LTLIBRARIES = \
23   libgnunetidentityprovider.la
24 plugin_LTLIBRARIES = \
25         libgnunet_plugin_rest_identity_provider.la
26
27 bin_PROGRAMS = \
28  gnunet-identity-token
29
30 libexec_PROGRAMS = \
31  gnunet-service-identity-provider
32
33 gnunet_service_identity_provider_SOURCES = \
34  gnunet-service-identity-provider.c \
35  identity_token.c
36 gnunet_service_identity_provider_LDADD = \
37  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
38  $(top_builddir)/src/util/libgnunetutil.la \
39  $(top_builddir)/src/namestore/libgnunetnamestore.la \
40  $(top_builddir)/src/identity/libgnunetidentity.la \
41  $(top_builddir)/src/statistics/libgnunetstatistics.la \
42  $(top_builddir)/src/gns/libgnunetgns.la \
43  $(GN_LIBINTL) \
44  -ljansson
45
46 libgnunetidentityprovider_la_SOURCES = \
47  identity_provider_api.c \
48  identity_provider.h
49 libgnunetidentityprovider_la_LIBADD = \
50   $(top_builddir)/src/util/libgnunetutil.la \
51         $(GN_LIBINTL) $(XLIB)
52 libgnunetidentityprovider_la_LDFLAGS = \
53         $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
54         -version-info 0:0:0
55
56 libgnunet_plugin_rest_identity_provider_la_SOURCES = \
57   plugin_rest_identity_provider.c
58 libgnunet_plugin_rest_identity_provider_la_LIBADD = \
59         $(top_builddir)/src/identity/libgnunetidentity.la \
60         libgnunetidentityprovider.la \
61         $(top_builddir)/src/rest/libgnunetrest.la \
62         $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
63         $(top_builddir)/src/namestore/libgnunetnamestore.la \
64   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
65   $(LTLIBINTL) -ljansson -lmicrohttpd
66 libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
67  $(GN_PLUGIN_LDFLAGS)
68
69
70 gnunet_identity_token_SOURCES = \
71  gnunet-identity-token.c
72 gnunet_identity_token_LDADD = \
73   $(top_builddir)/src/util/libgnunetutil.la \
74   -ljansson -lmicrohttpd \
75   $(GN_LIBINTL)