diff options
Diffstat (limited to 'src/plugin/gns/Makefile.am')
-rw-r--r-- | src/plugin/gns/Makefile.am | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/plugin/gns/Makefile.am b/src/plugin/gns/Makefile.am new file mode 100644 index 000000000..8dc9ef2b2 --- /dev/null +++ b/src/plugin/gns/Makefile.am | |||
@@ -0,0 +1,59 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | if HAVE_LIBIDN | ||
5 | LIBIDN= -lidn | ||
6 | else | ||
7 | LIBIDN= | ||
8 | endif | ||
9 | |||
10 | if HAVE_LIBIDN2 | ||
11 | LIBIDN2= -lidn2 | ||
12 | else | ||
13 | LIBIDN2= | ||
14 | endif | ||
15 | |||
16 | USE_VPN = $(top_builddir)/src/service/vpn/libgnunetvpn.la | ||
17 | |||
18 | if USE_COVERAGE | ||
19 | AM_CFLAGS = --coverage -O0 | ||
20 | endif | ||
21 | |||
22 | pkgcfgdir = $(pkgdatadir)/config.d/ | ||
23 | |||
24 | libexecdir= $(pkglibdir)/libexec/ | ||
25 | |||
26 | plugindir = $(libdir)/gnunet | ||
27 | |||
28 | plugin_LTLIBRARIES = \ | ||
29 | libgnunet_plugin_block_gns.la \ | ||
30 | libgnunet_plugin_gnsrecord_gns.la | ||
31 | |||
32 | |||
33 | libgnunet_plugin_gnsrecord_gns_la_SOURCES = \ | ||
34 | plugin_gnsrecord_gns.c | ||
35 | libgnunet_plugin_gnsrecord_gns_la_LIBADD = \ | ||
36 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la \ | ||
37 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
38 | $(LTLIBINTL) | ||
39 | libgnunet_plugin_gnsrecord_gns_la_LDFLAGS = \ | ||
40 | $(GN_PLUGIN_LDFLAGS) | ||
41 | |||
42 | |||
43 | libgnunet_plugin_block_gns_la_SOURCES = \ | ||
44 | plugin_block_gns.c | ||
45 | libgnunet_plugin_block_gns_la_LIBADD = \ | ||
46 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
47 | $(top_builddir)/src/lib/block/libgnunetblock.la \ | ||
48 | $(top_builddir)/src/lib/block/libgnunetblockgroup.la \ | ||
49 | $(top_builddir)/src/lib/gnsrecord/libgnunetgnsrecord.la | ||
50 | libgnunet_plugin_block_gns_la_LDFLAGS = \ | ||
51 | $(GN_LIBINTL) \ | ||
52 | $(GN_PLUGIN_LDFLAGS) | ||
53 | |||
54 | if ENABLE_TEST_RUN | ||
55 | if HAVE_SQLITE | ||
56 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
57 | TESTS = $(check_SCRIPTS) | ||
58 | endif | ||
59 | endif | ||