-remove debug output
[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 plugin_LTLIBRARIES = \
23         libgnunet_plugin_rest_identity_provider.la \
24         libgnunetidentityprovider.la
25
26 bin_PROGRAMS = \
27  gnunet-identity-token
28
29 libexec_PROGRAMS = \
30  gnunet-service-identity-provider
31
32 gnunet_service_identity_provider_SOURCES = \
33  gnunet-service-identity-provider.c \
34  identity_token.c
35 gnunet_service_identity_provider_LDADD = \
36  $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
37  $(top_builddir)/src/util/libgnunetutil.la \
38  $(top_builddir)/src/namestore/libgnunetnamestore.la \
39  $(top_builddir)/src/identity/libgnunetidentity.la \
40  $(top_builddir)/src/gns/libgnunetgns.la \
41  $(GN_LIBINTL) \
42  -ljansson
43
44 libgnunetidentityprovider_la_SOURCES = \
45  identity_provider_api.c \
46  identity_provider.h
47 libgnunetidentityprovider_la_LIBADD = \
48   $(top_builddir)/src/util/libgnunetutil.la \
49         $(GN_LIBINTL) $(XLIB)
50 libgnunetidentityprovider_la_LDFLAGS = \
51         $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
52         -version-info 0:0:0
53
54 libgnunet_plugin_rest_identity_provider_la_SOURCES = \
55   plugin_rest_identity_provider.c
56 libgnunet_plugin_rest_identity_provider_la_LIBADD = \
57         $(top_builddir)/src/identity/libgnunetidentity.la \
58         libgnunetidentityprovider.la \
59         $(top_builddir)/src/rest/libgnunetrest.la \
60         $(top_builddir)/src/namestore/libgnunetnamestore.la \
61   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
62   $(LTLIBINTL) -ljansson -lmicrohttpd
63 libgnunet_plugin_rest_identity_provider_la_LDFLAGS = \
64  $(GN_PLUGIN_LDFLAGS)
65
66
67 gnunet_identity_token_SOURCES = \
68  gnunet-identity-token.c         
69 gnunet_identity_token_LDADD = \
70   $(top_builddir)/src/util/libgnunetutil.la \
71   -ljansson -lmicrohttpd \
72   $(GN_LIBINTL)
73
74