diff options
Diffstat (limited to 'src/abd/Makefile.am')
-rw-r--r-- | src/abd/Makefile.am | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/src/abd/Makefile.am b/src/abd/Makefile.am new file mode 100644 index 000000000..321fb0350 --- /dev/null +++ b/src/abd/Makefile.am | |||
@@ -0,0 +1,111 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | EXTRA_DIST = \ | ||
5 | test_abd_defaults.conf \ | ||
6 | test_abd_lookup.conf | ||
7 | |||
8 | |||
9 | if USE_COVERAGE | ||
10 | AM_CFLAGS = --coverage -O0 | ||
11 | endif | ||
12 | |||
13 | pkgcfgdir = $(pkgdatadir)/config.d/ | ||
14 | |||
15 | libexecdir= $(pkglibdir)/libexec/ | ||
16 | |||
17 | plugindir = $(libdir)/gnunet | ||
18 | |||
19 | pkgcfg_DATA = \ | ||
20 | abd.conf | ||
21 | |||
22 | |||
23 | # /usr/lib - compiles a layer which can be used to be communicagte with the service | ||
24 | lib_LTLIBRARIES = \ | ||
25 | libgnunetabd.la | ||
26 | |||
27 | # /usr/lib/gnunet/libexec - Business logic . Separate process | ||
28 | libexec_PROGRAMS = \ | ||
29 | gnunet-service-abd | ||
30 | |||
31 | bin_PROGRAMS = \ | ||
32 | gnunet-abd | ||
33 | |||
34 | plugin_LTLIBRARIES = \ | ||
35 | libgnunet_plugin_gnsrecord_abd.la | ||
36 | |||
37 | |||
38 | gnunet_abd_SOURCES = \ | ||
39 | gnunet-abd.c | ||
40 | gnunet_abd_LDADD = \ | ||
41 | libgnunetabd.la \ | ||
42 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
43 | $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \ | ||
44 | $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
45 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
46 | $(GN_LIBINTL) | ||
47 | |||
48 | |||
49 | libgnunet_plugin_gnsrecord_abd_la_SOURCES = \ | ||
50 | plugin_gnsrecord_abd.c | ||
51 | libgnunet_plugin_gnsrecord_abd_la_LIBADD = \ | ||
52 | libgnunetabd.la \ | ||
53 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
54 | $(LTLIBINTL) | ||
55 | libgnunet_plugin_gnsrecord_abd_la_LDFLAGS = \ | ||
56 | $(GN_PLUGIN_LDFLAGS) | ||
57 | |||
58 | |||
59 | |||
60 | gnunet_service_abd_SOURCES = \ | ||
61 | gnunet-service-abd.c | ||
62 | gnunet_service_abd_LDADD = \ | ||
63 | libgnunetabd.la \ | ||
64 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
65 | $(top_builddir)/src/gns/libgnunetgns.la \ | ||
66 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | ||
67 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
68 | $(GN_LIBINTL) | ||
69 | |||
70 | |||
71 | libgnunetabd_la_SOURCES = \ | ||
72 | abd_api.c abd.h\ | ||
73 | abd_serialization.c \ | ||
74 | abd_serialization.h \ | ||
75 | delegate_misc.c \ | ||
76 | delegate_misc.h | ||
77 | libgnunetabd_la_LIBADD = \ | ||
78 | $(top_builddir)/src/util/libgnunetutil.la $(XLIB) | ||
79 | libgnunetabd_la_LDFLAGS = \ | ||
80 | $(GN_LIB_LDFLAGS) | ||
81 | |||
82 | |||
83 | |||
84 | check_SCRIPTS = \ | ||
85 | test_abd_issue.sh \ | ||
86 | test_abd_verify_simple.sh \ | ||
87 | test_abd_verify.sh \ | ||
88 | test_abd_verify_and.sh | ||
89 | |||
90 | if ENABLE_TEST_RUN | ||
91 | if HAVE_SQLITE | ||
92 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; | ||
93 | TESTS = $(check_SCRIPTS) | ||
94 | endif | ||
95 | endif | ||
96 | |||
97 | #libgnunet_plugin_rest_abd_la_SOURCES = \ | ||
98 | # plugin_rest_abd.c | ||
99 | #libgnunet_plugin_rest_abd_la_LIBADD = \ | ||
100 | # $(top_builddir)/src/abd/libgnunetabd.la \ | ||
101 | # $(top_builddir)/src/rest/libgnunetrest.la \ | ||
102 | # $(top_builddir)/src/identity/libgnunetidentity.la \ | ||
103 | # $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ | ||
104 | # $(LTLIBINTL) -ljansson -lmicrohttpd | ||
105 | #libgnunet_plugin_rest_abd_la_LDFLAGS = \ | ||
106 | # $(GN_PLUGIN_LDFLAGS) | ||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||