From d9692753671cf50c7f62e0af601eed79863bdeaa Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 10 May 2010 12:23:18 +0200 Subject: [PATCH] src/Makefile.am: Build the "sn-evolution" application if libpopulation is available. --- src/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index e65490d..773573a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -41,4 +41,11 @@ sn_show_LDADD = libsortnetwork.la sn_tex_SOURCES = sn-tex.c sn_tex_LDADD = libsortnetwork.la - +if BUILD_WITH_LIBPOPULATION +bin_PROGRAMS += sn-evolution + +sn_evolution_SOURCES = sn-evolution.c +sn_evolution_CPPFLAGS = $(AM_CPPFLAGS) $(LIBPOPULATION_CPPFLAGS) +sn_evolution_LDFLAGS = $(AM_LDFLAGS) $(LIBPOPULATION_LDFLAGS) +sn_evolution_LDADD = libsortnetwork.la $(LIBPOPULATION_LIBS) +endif -- 2.11.0