aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-23 19:31:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-23 19:31:55 +0000
commit5d363f7f824eb038571681017a35794e4e07e378 (patch)
treecd91c570d01dcdd7d67696065b817e27ff58925e /src
parentcbe126c37f2e6fdccdbe20e723c06b8b0b12d1c6 (diff)
downloadgnunet-5d363f7f824eb038571681017a35794e4e07e378.tar.gz
gnunet-5d363f7f824eb038571681017a35794e4e07e378.zip
-fix build system issues
Diffstat (limited to 'src')
-rw-r--r--src/consensus/Makefile.am8
-rw-r--r--src/experimentation/Makefile.am14
-rw-r--r--src/include/Makefile.am4
-rw-r--r--src/multicast/Makefile.am14
-rw-r--r--src/scalarproduct/Makefile.am11
-rw-r--r--src/secretsharing/Makefile.am8
6 files changed, 33 insertions, 26 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am
index 1387f6755..ac57ce2dc 100644
--- a/src/consensus/Makefile.am
+++ b/src/consensus/Makefile.am
@@ -8,7 +8,7 @@ pkgcfg_DATA = \
8 consensus.conf 8 consensus.conf
9 9
10if MINGW 10if MINGW
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12endif 12endif
13 13
14if USE_COVERAGE 14if USE_COVERAGE
@@ -52,7 +52,8 @@ gnunet_service_consensus_DEPENDENCIES = \
52 $(top_builddir)/src/set/libgnunetset.la 52 $(top_builddir)/src/set/libgnunetset.la
53 53
54gnunet_service_evil_consensus_SOURCES = \ 54gnunet_service_evil_consensus_SOURCES = \
55 gnunet-service-consensus.c 55 gnunet-service-consensus.c \
56 consensus_protocol.h
56gnunet_service_evil_consensus_LDADD = \ 57gnunet_service_evil_consensus_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la \ 58 $(top_builddir)/src/util/libgnunetutil.la \
58 $(top_builddir)/src/core/libgnunetcore.la \ 59 $(top_builddir)/src/core/libgnunetcore.la \
@@ -64,7 +65,8 @@ gnunet_service_evil_consensus_DEPENDENCIES = \
64gnunet_service_evil_consensus_CFLAGS = -DEVIL 65gnunet_service_evil_consensus_CFLAGS = -DEVIL
65 66
66libgnunetconsensus_la_SOURCES = \ 67libgnunetconsensus_la_SOURCES = \
67 consensus_api.c 68 consensus_api.c \
69 consensus.h
68libgnunetconsensus_la_LIBADD = \ 70libgnunetconsensus_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la \ 71 $(top_builddir)/src/util/libgnunetutil.la \
70 $(LTLIBINTL) 72 $(LTLIBINTL)
diff --git a/src/experimentation/Makefile.am b/src/experimentation/Makefile.am
index a67f39ea8..5935d9388 100644
--- a/src/experimentation/Makefile.am
+++ b/src/experimentation/Makefile.am
@@ -19,11 +19,11 @@ endif
19 19
20if HAVE_EXPERIMENTAL 20if HAVE_EXPERIMENTAL
21 TEXT_EXP_CLIQUE = test_experimentation_clique_connect test_experimentation_clique_run 21 TEXT_EXP_CLIQUE = test_experimentation_clique_connect test_experimentation_clique_run
22endif 22endif
23 23
24check_PROGRAMS = \ 24check_PROGRAMS = \
25 $(TEXT_EXP_CLIQUE) 25 $(TEXT_EXP_CLIQUE)
26 26
27if ENABLE_TEST_RUN 27if ENABLE_TEST_RUN
28 TESTS = \ 28 TESTS = \
29 $(TEXT_EXP_CLIQUE) 29 $(TEXT_EXP_CLIQUE)
@@ -33,7 +33,7 @@ libexec_PROGRAMS = \
33 gnunet-daemon-experimentation 33 gnunet-daemon-experimentation
34 34
35gnunet_daemon_experimentation_SOURCES = \ 35gnunet_daemon_experimentation_SOURCES = \
36 gnunet-daemon-experimentation.c \ 36 gnunet-daemon-experimentation.c gnunet-daemon-experimentation.h \
37 gnunet-daemon-experimentation_capabilities.c \ 37 gnunet-daemon-experimentation_capabilities.c \
38 gnunet-daemon-experimentation_nodes.c \ 38 gnunet-daemon-experimentation_nodes.c \
39 gnunet-daemon-experimentation_scheduler.c \ 39 gnunet-daemon-experimentation_scheduler.c \
@@ -42,7 +42,7 @@ gnunet_daemon_experimentation_SOURCES = \
42gnunet_daemon_experimentation_LDADD = \ 42gnunet_daemon_experimentation_LDADD = \
43 $(top_builddir)/src/core/libgnunetcore.la \ 43 $(top_builddir)/src/core/libgnunetcore.la \
44 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 44 $(top_builddir)/src/statistics/libgnunetstatistics.la \
45 $(top_builddir)/src/util/libgnunetutil.la 45 $(top_builddir)/src/util/libgnunetutil.la
46 46
47test_experimentation_clique_connect_SOURCES = \ 47test_experimentation_clique_connect_SOURCES = \
48 test_experimentation_clique_connect.c 48 test_experimentation_clique_connect.c
@@ -57,14 +57,14 @@ test_experimentation_clique_run_LDADD = \
57 $(top_builddir)/src/util/libgnunetutil.la \ 57 $(top_builddir)/src/util/libgnunetutil.la \
58 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 58 $(top_builddir)/src/statistics/libgnunetstatistics.la \
59 $(top_builddir)/src/testbed/libgnunettestbed.la 59 $(top_builddir)/src/testbed/libgnunettestbed.la
60 60
61#test_experimentation_clique_run_SOURCES = \ 61#test_experimentation_clique_run_SOURCES = \
62# test_experimentation_clique_run.c 62# test_experimentation_clique_run.c
63#test_experimentation_clique_run_LDADD = \ 63#test_experimentation_clique_run_LDADD = \
64# $(top_builddir)/src/util/libgnunetutil.la \ 64# $(top_builddir)/src/util/libgnunetutil.la \
65# $(top_builddir)/src/statistics/libgnunetstatistics.la \ 65# $(top_builddir)/src/statistics/libgnunetstatistics.la \
66# $(top_builddir)/src/testbed/libgnunettestbed.la 66# $(top_builddir)/src/testbed/libgnunettestbed.la
67 67
68 68
69EXTRA_DIST = \ 69EXTRA_DIST = \
70 test_experimentation_clique.conf \ 70 test_experimentation_clique.conf \
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index e55f0aca6..3d65fe2cf 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -27,8 +27,9 @@ gnunetinclude_HEADERS = \
27 gnunet_common.h \ 27 gnunet_common.h \
28 gnunet_constants.h \ 28 gnunet_constants.h \
29 gnunet_configuration_lib.h \ 29 gnunet_configuration_lib.h \
30 gnunet_container_lib.h \
31 gnunet_connection_lib.h \ 30 gnunet_connection_lib.h \
31 gnunet_consensus_service.h \
32 gnunet_container_lib.h \
32 gnunet_conversation_service.h \ 33 gnunet_conversation_service.h \
33 gnunet_core_service.h \ 34 gnunet_core_service.h \
34 gnunet_crypto_lib.h \ 35 gnunet_crypto_lib.h \
@@ -81,6 +82,7 @@ gnunetinclude_HEADERS = \
81 gnunet_revocation_service.h \ 82 gnunet_revocation_service.h \
82 gnunet_scalarproduct_service.h \ 83 gnunet_scalarproduct_service.h \
83 gnunet_scheduler_lib.h \ 84 gnunet_scheduler_lib.h \
85 gnunet_secretsharing_service.h \
84 gnunet_server_lib.h \ 86 gnunet_server_lib.h \
85 gnunet_service_lib.h \ 87 gnunet_service_lib.h \
86 gnunet_set_service.h \ 88 gnunet_set_service.h \
diff --git a/src/multicast/Makefile.am b/src/multicast/Makefile.am
index 442dbd75e..5035c3f79 100644
--- a/src/multicast/Makefile.am
+++ b/src/multicast/Makefile.am
@@ -8,7 +8,7 @@ pkgcfg_DATA = \
8 multicast.conf 8 multicast.conf
9 9
10if MINGW 10if MINGW
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12endif 12endif
13 13
14if USE_COVERAGE 14if USE_COVERAGE
@@ -18,8 +18,8 @@ endif
18lib_LTLIBRARIES = libgnunetmulticast.la 18lib_LTLIBRARIES = libgnunetmulticast.la
19 19
20libgnunetmulticast_la_SOURCES = \ 20libgnunetmulticast_la_SOURCES = \
21 multicast_api.c 21 multicast_api.c \
22# multicast.h 22 multicast.h
23libgnunetmulticast_la_LIBADD = \ 23libgnunetmulticast_la_LIBADD = \
24 $(top_builddir)/src/util/libgnunetutil.la \ 24 $(top_builddir)/src/util/libgnunetutil.la \
25 $(GN_LIBINTL) $(XLIB) 25 $(GN_LIBINTL) $(XLIB)
@@ -29,19 +29,19 @@ libgnunetmulticast_la_LDFLAGS = \
29 29
30 30
31bin_PROGRAMS = \ 31bin_PROGRAMS = \
32 gnunet-multicast 32 gnunet-multicast
33 33
34libexec_PROGRAMS = \ 34libexec_PROGRAMS = \
35 gnunet-service-multicast 35 gnunet-service-multicast
36 36
37gnunet_multicast_SOURCES = \ 37gnunet_multicast_SOURCES = \
38 gnunet-multicast.c 38 gnunet-multicast.c
39gnunet_multicast_LDADD = \ 39gnunet_multicast_LDADD = \
40 $(top_builddir)/src/util/libgnunetutil.la \ 40 $(top_builddir)/src/util/libgnunetutil.la \
41 $(GN_LIBINTL) 41 $(GN_LIBINTL)
42 42
43gnunet_service_multicast_SOURCES = \ 43gnunet_service_multicast_SOURCES = \
44 gnunet-service-multicast.c 44 gnunet-service-multicast.c
45gnunet_service_multicast_LDADD = \ 45gnunet_service_multicast_LDADD = \
46 $(top_builddir)/src/util/libgnunetutil.la \ 46 $(top_builddir)/src/util/libgnunetutil.la \
47 $(GN_LIBINTL) 47 $(GN_LIBINTL)
@@ -57,5 +57,5 @@ endif
57test_multicast_api_SOURCES = \ 57test_multicast_api_SOURCES = \
58 test_multicast_api.c 58 test_multicast_api.c
59test_multicast_api_LDADD = \ 59test_multicast_api_LDADD = \
60 $(top_builddir)/src/util/libgnunetutil.la 60 $(top_builddir)/src/util/libgnunetutil.la
61 61
diff --git a/src/scalarproduct/Makefile.am b/src/scalarproduct/Makefile.am
index 4bfdfcd7d..11a937378 100644
--- a/src/scalarproduct/Makefile.am
+++ b/src/scalarproduct/Makefile.am
@@ -5,10 +5,10 @@ pkgcfgdir= $(pkgdatadir)/config.d/
5libexecdir= $(pkglibdir)/libexec/ 5libexecdir= $(pkglibdir)/libexec/
6 6
7pkgcfg_DATA = \ 7pkgcfg_DATA = \
8 scalarproduct.conf 8 scalarproduct.conf
9 9
10if MINGW 10if MINGW
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12endif 12endif
13 13
14if USE_COVERAGE 14if USE_COVERAGE
@@ -30,7 +30,7 @@ gnunet_scalarproduct_LDADD = \
30 $(top_builddir)/src/util/libgnunetutil.la \ 30 $(top_builddir)/src/util/libgnunetutil.la \
31 $(top_builddir)/src/scalarproduct/libgnunetscalarproduct.la \ 31 $(top_builddir)/src/scalarproduct/libgnunetscalarproduct.la \
32 -lgcrypt \ 32 -lgcrypt \
33 $(GN_LIBINTL) 33 $(GN_LIBINTL)
34gnunet_scalarproduct_DEPENDENCIES = \ 34gnunet_scalarproduct_DEPENDENCIES = \
35 libgnunetscalarproduct.la 35 libgnunetscalarproduct.la
36 36
@@ -44,7 +44,8 @@ gnunet_service_scalarproduct_LDADD = \
44 $(GN_LIBINTL) 44 $(GN_LIBINTL)
45 45
46libgnunetscalarproduct_la_SOURCES = \ 46libgnunetscalarproduct_la_SOURCES = \
47 scalarproduct_api.c 47 scalarproduct_api.c \
48 scalarproduct.h
48libgnunetscalarproduct_la_LIBADD = \ 49libgnunetscalarproduct_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \ 50 $(top_builddir)/src/util/libgnunetutil.la \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 51 $(top_builddir)/src/statistics/libgnunetstatistics.la \
@@ -61,7 +62,7 @@ check_SCRIPTS = \
61 test_scalarproduct.sh \ 62 test_scalarproduct.sh \
62 test_scalarproduct_negative.sh \ 63 test_scalarproduct_negative.sh \
63 test_scalarproduct_negativezero.sh 64 test_scalarproduct_negativezero.sh
64 65
65if ENABLE_TEST_RUN 66if ENABLE_TEST_RUN
66 TESTS = $(check_SCRIPTS) 67 TESTS = $(check_SCRIPTS)
67endif 68endif
diff --git a/src/secretsharing/Makefile.am b/src/secretsharing/Makefile.am
index a94bf293c..0473820b2 100644
--- a/src/secretsharing/Makefile.am
+++ b/src/secretsharing/Makefile.am
@@ -8,7 +8,7 @@ pkgcfg_DATA = \
8 secretsharing.conf 8 secretsharing.conf
9 9
10if MINGW 10if MINGW
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12endif 12endif
13 13
14if USE_COVERAGE 14if USE_COVERAGE
@@ -37,7 +37,8 @@ gnunet_secretsharing_profiler_DEPENDENCIES = \
37 libgnunetsecretsharing.la 37 libgnunetsecretsharing.la
38 38
39gnunet_service_secretsharing_SOURCES = \ 39gnunet_service_secretsharing_SOURCES = \
40 gnunet-service-secretsharing.c 40 gnunet-service-secretsharing.c \
41 secretsharing_protocol.h
41gnunet_service_secretsharing_LDADD = \ 42gnunet_service_secretsharing_LDADD = \
42 $(top_builddir)/src/util/libgnunetutil.la \ 43 $(top_builddir)/src/util/libgnunetutil.la \
43 $(top_builddir)/src/consensus/libgnunetconsensus.la \ 44 $(top_builddir)/src/consensus/libgnunetconsensus.la \
@@ -47,7 +48,8 @@ gnunet_service_secretsharing_DEPENDENCIES = \
47 $(top_builddir)/src/set/libgnunetset.la 48 $(top_builddir)/src/set/libgnunetset.la
48 49
49libgnunetsecretsharing_la_SOURCES = \ 50libgnunetsecretsharing_la_SOURCES = \
50 secretsharing_api.c 51 secretsharing_api.c \
52 secretsharing.h
51libgnunetsecretsharing_la_LIBADD = \ 53libgnunetsecretsharing_la_LIBADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \ 54 $(top_builddir)/src/util/libgnunetutil.la \
53 $(LTLIBINTL) 55 $(LTLIBINTL)