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
38 gnunet_credential_SOURCES = \
40 gnunet_credential_LDADD = \
41 libgnunetcredential.la \
42 $(top_builddir)/src/util/libgnunetutil.la \
43 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
44 $(top_builddir)/src/identity/libgnunetidentity.la \
48 libgnunet_plugin_gnsrecord_credential_la_SOURCES = \
49 plugin_gnsrecord_credential.c
50 libgnunet_plugin_gnsrecord_credential_la_LIBADD = \
51 libgnunetcredential.la \
52 $(top_builddir)/src/util/libgnunetutil.la \
54 libgnunet_plugin_gnsrecord_credential_la_LDFLAGS = \
59 gnunet_service_credential_SOURCES = \
60 gnunet-service-credential.c
61 gnunet_service_credential_LDADD = \
62 libgnunetcredential.la \
63 $(top_builddir)/src/util/libgnunetutil.la \
64 $(top_builddir)/src/gns/libgnunetgns.la \
65 $(top_builddir)/src/namestore/libgnunetnamestore.la \
66 $(top_builddir)/src/statistics/libgnunetstatistics.la \
70 libgnunetcredential_la_SOURCES = \
71 credential_api.c credential.h \
72 credential_serialization.c \
74 libgnunetcredential_la_LIBADD = \
75 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
76 libgnunetcredential_la_LDFLAGS = \
82 test_credential_issue.sh \
83 test_credential_verify_simple.sh \
84 test_credential_verify.sh \
85 test_credential_verify_and.sh
89 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
90 TESTS = $(check_SCRIPTS)
94 #libgnunet_plugin_rest_credential_la_SOURCES = \
95 # plugin_rest_credential.c
96 #libgnunet_plugin_rest_credential_la_LIBADD = \
97 # $(top_builddir)/src/credential/libgnunetcredential.la \
98 # $(top_builddir)/src/rest/libgnunetrest.la \
99 # $(top_builddir)/src/identity/libgnunetidentity.la \
100 # $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
101 # $(LTLIBINTL) -ljansson -lmicrohttpd
102 #libgnunet_plugin_rest_credential_la_LDFLAGS = \
103 # $(GN_PLUGIN_LDFLAGS)