From b65a4a7dcbc457e19d070d3e88a46176fdf8d06d Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 27 May 1999 23:23:30 +0000 Subject: [PATCH] **** Merged from HEAD **** --- configure.in | 2 +- examples/Makefile.am | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 31921e6d..693a3c1b 100644 --- a/configure.in +++ b/configure.in @@ -153,7 +153,7 @@ else fi if test "x$enable_static" != xno; then - static_targets="first_static second_static mountlist_static procmap_static netload_static sysdeps_static $guile_static_examples $smp_static_examples" + static_targets="first_static second_static mountlist_static procmap_static netload_static sysdeps_static timings_static $guile_static_examples $smp_static_examples" else static_targets="" fi diff --git a/examples/Makefile.am b/examples/Makefile.am index 4f1d0581..cfd00fec 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -12,13 +12,14 @@ DEFS = @DEFS@ libgtopdir = $(libexecdir)/libgtop libgtop_PROGRAMS = first second\ - mountlist procmap netload sysdeps\ + mountlist procmap netload sysdeps timings \ @static_targets@ @guile_examples@ @smp_examples@ EXTRA_PROGRAMS = first_static second_static \ mountlist_static procmap_static \ third third_static smp smp_static \ - netload_static sysdeps_static + netload_static sysdeps_static \ + timings_static first_SOURCES = first.c first_LDADD = $(top_builddir)/lib/libgtop.la \ @@ -108,3 +109,13 @@ smp_static_SOURCES = $(smp_SOURCES) smp_static_LDADD = $(smp_LDADD) smp_static_LDFLAGS = -static +timings_SOURCES = timings.c +timings_LDADD = $(top_builddir)/lib/libgtop.la \ + $(top_builddir)/sysdeps/common/libgtop_common.la \ + $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ + @LIBSUPPORT@ @INTLLIBS@ + +timings_static_SOURCES = $(timings_SOURCES) +timings_static_LDADD = $(timings_LDADD) +timings_static_LDFLAGS = -static +