From 92202ac6ebb0229aa5d8899fafe7ab8b22bc7cff Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 25 Jan 2010 09:43:53 +0200 Subject: [PATCH] * split mu bulding in libmu noinst lib and mu.c. --- src/Makefile.am | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7e0aa225..e87af3e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,10 +16,19 @@ INCLUDES=$(XAPIAN_CXXFLAGS) $(GMIME_CFLAGS) $(GLIB_CFLAGS) -bin_PROGRAMS= \ +bin_PROGRAMS= \ mu +noinst_LTLIBRARIES= \ + libmu.la + mu_SOURCES= \ + mu.c + +mu_LDADD= \ + libmu.la + +libmu_la_SOURCES= \ mu-cmd.c \ mu-cmd.h \ mu-config.c \ @@ -50,10 +59,9 @@ mu_SOURCES= \ mu-util-xapian.cc \ mu-util-xapian.h \ mu-util.c \ - mu-util.h \ - mu.c + mu-util.h -mu_LDADD= \ - $(XAPIAN_LIBS) \ - $(GMIME_LIBS) \ +libmu_la_LIBADD= \ + $(XAPIAN_LIBS) \ + $(GMIME_LIBS) \ $(GLIB_LIBS)