1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 test_credential_defaults.conf \
6 test_credential_lookup.conf
10 AM_CFLAGS = --coverage -O0
13 pkgcfgdir = $(pkgdatadir)/config.d/
15 libexecdir= $(pkglibdir)/libexec/
17 plugindir = $(libdir)/gnunet
23 # /usr/lib - compiles a layer which can be used to be communicagte with the service
25 libgnunetcredential.la
27 # /usr/lib/gnunet/libexec - Business logic . Separate process
29 gnunet-service-credential
34 plugin_LTLIBRARIES = \
35 libgnunet_plugin_gnsrecord_credential.la
40 plugin_LTLIBRARIES += libgnunet_plugin_rest_credential.la
45 gnunet_credential_SOURCES = \
47 gnunet_credential_LDADD = \
48 libgnunetcredential.la \
49 $(top_builddir)/src/util/libgnunetutil.la \
50 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
51 $(top_builddir)/src/identity/libgnunetidentity.la \
55 libgnunet_plugin_gnsrecord_credential_la_SOURCES = \
56 plugin_gnsrecord_credential.c
57 libgnunet_plugin_gnsrecord_credential_la_LIBADD = \
58 libgnunetcredential.la \
59 $(top_builddir)/src/util/libgnunetutil.la \
61 libgnunet_plugin_gnsrecord_credential_la_LDFLAGS = \
66 gnunet_service_credential_SOURCES = \
67 gnunet-service-credential.c
68 gnunet_service_credential_LDADD = \
69 libgnunetcredential.la \
70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(top_builddir)/src/gns/libgnunetgns.la \
72 $(top_builddir)/src/namestore/libgnunetnamestore.la \
73 $(top_builddir)/src/statistics/libgnunetstatistics.la \
77 libgnunetcredential_la_SOURCES = \
79 credential_serialization.c \
81 libgnunetcredential_la_LIBADD = \
82 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
83 libgnunetcredential_la_LDFLAGS = \
87 libgnunet_plugin_rest_credential_la_SOURCES = \
88 plugin_rest_credential.c
89 libgnunet_plugin_rest_credential_la_LIBADD = \
90 libgnunetcredential.la \
91 $(top_builddir)/src/rest/libgnunetrest.la \
92 $(top_builddir)/src/identity/libgnunetidentity.la \
93 $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
94 $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \
95 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
96 $(LTLIBINTL) -ljansson -lmicrohttpd
97 libgnunet_plugin_rest_credential_la_LDFLAGS = \
102 test_credential_issue.sh \
103 test_credential_verify_simple.sh \
104 test_credential_verify.sh \
105 test_credential_verify_and.sh
109 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
110 TESTS = $(check_SCRIPTS)