From 134fbd203d9e16802b22048957b9188d51c5de38 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 7 Sep 2012 11:39:17 +0200 Subject: [PATCH] * src/bin/Makefile.am: Use a static library for all common functions. --- src/bin/Makefile.am | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index ee1c873b2..686d4f629 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -24,12 +24,18 @@ SUBDIRS = . man AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(BUDDY_CPPFLAGS) \ -I$(top_builddir)/lib -I$(top_srcdir)/lib AM_CXXFLAGS = $(WARNING_CXXFLAGS) -LDADD = $(top_builddir)/src/libspot.la $(top_builddir)/lib/libgnu.a +LDADD = libcommon.a $(top_builddir)/lib/libgnu.a ../libspot.la + +noinst_LIBRARIES = libcommon.a +libcommon_a_SOURCES = \ + common_output.cc \ + common_output.hh \ + common_range.cc \ + common_range.hh \ + common_r.cc \ + common_r.hh bin_PROGRAMS = ltlfilt genltl randltl - -noinst_HEADERS = common_output.hh common_range.hh common_r.hh - -ltlfilt_SOURCES = ltlfilt.cc common_output.cc common_r.cc -genltl_SOURCES = genltl.cc common_output.cc common_range.cc -randltl_SOURCES = randltl.cc common_output.cc common_range.cc common_r.cc +ltlfilt_SOURCES = ltlfilt.cc +genltl_SOURCES = genltl.cc +randltl_SOURCES = randltl.cc