From a424ca9670fcd6d5bf9c67c24142f3615a283706 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 18 Feb 2013 16:24:52 +0000 Subject: [PATCH] - rename and install to bin --- src/testbed/Makefile.am | 24 +++++++++---------- ...ll_master.c => gnunet_testbed_ll_master.c} | 2 ++ ..._monitor.c => gnunet_testbed_ll_monitor.c} | 0 3 files changed, 13 insertions(+), 13 deletions(-) rename src/testbed/{ll_master.c => gnunet_testbed_ll_master.c} (95%) rename src/testbed/{ll_monitor.c => gnunet_testbed_ll_monitor.c} (100%) diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am index 26b576deb..53a90c325 100644 --- a/src/testbed/Makefile.am +++ b/src/testbed/Makefile.am @@ -10,12 +10,11 @@ if USE_COVERAGE endif if WITH_LL - CC = mpcc - ll_noinst_binaries = \ - ll-master \ - ll-monitor + CC = mpicc ll_binaries = \ - gnunet-mpi-test + gnunet-mpi-test \ + gnunet-testbed-ll-master \ + gnunet-testbed-ll-monitor endif libexecdir= $(pkglibdir)/libexec/ @@ -33,8 +32,7 @@ bin_PROGRAMS = \ $(ll_binaries) noinst_PROGRAMS = \ - gnunet-testbed-profiler \ - $(ll_noinst_binaries) + gnunet-testbed-profiler gnunet_service_testbed_SOURCES = \ gnunet-service-testbed.c \ @@ -69,15 +67,15 @@ gnunet_helper_testbed_DEPENDENCIES = \ gnunet-service-testbed.$(OBJEXT) \ libgnunettestbed.la -ll_master_SOURCES = \ - ll_master.c -ll_master_LDADD = $(XLIB) \ +gnunet_testbed_ll_master_SOURCES = \ + gnunet_testbed_ll_master.c +gnunet_testbed_ll_master_LDADD = $(XLIB) \ $(top_builddir)/src/util/libgnunetutil.la \ $(LTLIBINTL) -lz -lllapi -ll_monitor_SOURCES = \ - ll_monitor.c -ll_monitor_LDADD = $(XLIB) \ +gnunet_testbed_ll_monitor_SOURCES = \ + gnunet_testbed_ll_monitor.c +gnunet_testbed_ll_monitor_LDADD = $(XLIB) \ $(LTLIBINTL) -lz -lllapi gnunet_mpi_test_SOURCES = gnunet_mpi_test.c diff --git a/src/testbed/ll_master.c b/src/testbed/gnunet_testbed_ll_master.c similarity index 95% rename from src/testbed/ll_master.c rename to src/testbed/gnunet_testbed_ll_master.c index 98cef42fa..68a815545 100644 --- a/src/testbed/ll_master.c +++ b/src/testbed/gnunet_testbed_ll_master.c @@ -63,6 +63,8 @@ run (void *cls, char *const *args, const char *cfgfile, if (0 != ret) return; status = GNUNET_OK; + printf ("Job name: %s\n Submitted to host: %s\n", job_info.job_name, + job_info.submit_host); } diff --git a/src/testbed/ll_monitor.c b/src/testbed/gnunet_testbed_ll_monitor.c similarity index 100% rename from src/testbed/ll_monitor.c rename to src/testbed/gnunet_testbed_ll_monitor.c -- 2.25.1