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 \
73 credential_serialization.h \
76 libgnunetcredential_la_LIBADD = \
77 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
78 libgnunetcredential_la_LDFLAGS = \
84 test_credential_issue.sh \
85 test_credential_verify_simple.sh \
86 test_credential_verify.sh \
87 test_credential_verify_and.sh
91 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
92 TESTS = $(check_SCRIPTS)
96 #libgnunet_plugin_rest_credential_la_SOURCES = \
97 # plugin_rest_credential.c
98 #libgnunet_plugin_rest_credential_la_LIBADD = \
99 # $(top_builddir)/src/credential/libgnunetcredential.la \
100 # $(top_builddir)/src/rest/libgnunetrest.la \
101 # $(top_builddir)/src/identity/libgnunetidentity.la \
102 # $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
103 # $(LTLIBINTL) -ljansson $(MHD_LIBS)
104 #libgnunet_plugin_rest_credential_la_LDFLAGS = \
105 # $(GN_PLUGIN_LDFLAGS)
106 #libgnunet_plugin_rest_credential_la_CFLAGS = $(MHD_CFLAGS) $(AM_CFLAGS)