From: Florian Forster Date: Mon, 10 May 2010 10:23:18 +0000 (+0200) Subject: src/Makefile.am: Build the "sn-evolution" application if libpopulation is available. X-Git-Tag: v1.0.0~57 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d9692753671cf50c7f62e0af601eed79863bdeaa;p=sort-networks.git src/Makefile.am: Build the "sn-evolution" application if libpopulation is available. --- 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