[gnome-keyring] Fix Makefiles so testable libraries are rebuilt when source changes.



commit d914606f8dc4cefd5d128af6f9a566a42f102e87
Author: Stef Walter <stefw collabora co uk>
Date:   Wed Apr 27 09:47:51 2011 +0200

    Fix Makefiles so testable libraries are rebuilt when source changes.

 gck/Makefile.am |    4 ++--
 gcr/Makefile.am |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gck/Makefile.am b/gck/Makefile.am
index fc92886..11e6831 100644
--- a/gck/Makefile.am
+++ b/gck/Makefile.am
@@ -61,8 +61,8 @@ libgck_testable_la_SOURCES = \
 	gck-mock.h \
 	gck-test.c \
 	gck-test.h
-libgck_testable_la_LIBADD = \
-	$(libgck_la_OBJECTS)
+libgck_testable_la_LIBADD = $(libgck_la_OBJECTS)
+libgck_testable_la_DEPENDENCIES = $(libgck_la_OBJECTS)
 
 gck-marshal.h: gck-marshal.list $(GLIB_GENMARSHAL)
 	$(GLIB_GENMARSHAL) $< --header --prefix=_gck_marshal > $@
diff --git a/gcr/Makefile.am b/gcr/Makefile.am
index 9902dab..ca6b8ff 100644
--- a/gcr/Makefile.am
+++ b/gcr/Makefile.am
@@ -128,6 +128,7 @@ libgcr GCR_VERSION_SUFFIX@_la_LIBADD = \
 noinst_LTLIBRARIES = $(TESTABLE_LIB)
 libgcr_testable_la_SOURCES =
 libgcr_testable_la_LIBADD = $(libgcr GCR_VERSION_SUFFIX@_la_OBJECTS)
+libgcr_testable_la_DEPENDENCIES = $(libgcr GCR_VERSION_SUFFIX@_la_OBJECTS)
 
 gcr-marshal.h: gcr-marshal.list $(GLIB_GENMARSHAL)
 	$(GLIB_GENMARSHAL) $< --header --prefix=_gcr_marshal > $@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]