aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-30 17:17:49 +0000
committerharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-30 17:17:49 +0000
commit1606db21c7e7e789814757dec485d7879cbbf4c5 (patch)
tree465797bdd7f168e57b721c8f863507889127864b
parentd4825fcf5b65ef0aee5b0e31e901c3c93056b7e3 (diff)
- testing build system - WITH_LL
git-svn-id: https://gnunet.org/svn/gnunet@25174 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/testbed/Makefile.am14
-rw-r--r--src/testbed/ll_master.c6
2 files changed, 18 insertions, 2 deletions
diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am
index 1fdbc616ff..a4adb026dc 100644
--- a/src/testbed/Makefile.am
+++ b/src/testbed/Makefile.am
@@ -9,6 +9,10 @@ if USE_COVERAGE
XLIB = -lgcov
endif
+if WITH_LL
+ ll_binaries = ll-master
+endif
+
libexecdir= $(pkglibdir)/libexec/
pkgcfgdir= $(pkgdatadir)/config.d/
@@ -21,7 +25,8 @@ libexec_PROGRAMS = \
gnunet-helper-testbed
noinst_PROGRAMS = \
- gnunet-testbed-profiler
+ gnunet-testbed-profiler \
+ $(ll_binaries)
gnunet_service_testbed_SOURCES = \
gnunet-service-testbed.c
@@ -53,6 +58,11 @@ gnunet_helper_testbed_DEPENDENCIES = \
gnunet-service-testbed.$(OBJEXT) \
libgnunettestbed.la
+ll_master_SOURCES = \
+ ll_master.c
+ll_master_LDADD = $(XLIB) \
+ $(LTLIBINTL) -lz
+
lib_LTLIBRARIES = \
libgnunettestbed.la
@@ -262,4 +272,4 @@ EXTRA_DIST = \
test_testbed_api_testbed_run_topologyfromfile.conf \
test_testbed_api_testbed_run_topologyscalefree.conf \
overlay_topology.txt \
- sample_hosts.txt \ No newline at end of file
+ sample_hosts.txt
diff --git a/src/testbed/ll_master.c b/src/testbed/ll_master.c
new file mode 100644
index 0000000000..4eca0e8655
--- /dev/null
+++ b/src/testbed/ll_master.c
@@ -0,0 +1,6 @@
+#include <llapi.h>
+
+int main()
+{
+ return 0;
+}