[folks] Simplify the tests Makefile.



commit 274f41acfb922ab564220f2bf072e09084a3c7fa
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Oct 6 09:12:07 2010 -0700

    Simplify the tests Makefile.

 tests/telepathy/Makefile.am |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/tests/telepathy/Makefile.am b/tests/telepathy/Makefile.am
index 60f2750..3b6fd15 100644
--- a/tests/telepathy/Makefile.am
+++ b/tests/telepathy/Makefile.am
@@ -10,6 +10,9 @@ AM_CPPFLAGS = \
 	$(NULL)
 
 LDADD = \
+	$(top_builddir)/tests/lib/telepathy/contactlist/libtp-test-contactlist.la \
+	$(top_builddir)/backends/telepathy/lib/libfolks-telepathy.la \
+	$(top_builddir)/folks/libfolks.la
 	$(GLIB_LIBS) \
 	$(GEE_LIBS) \
 	$(TP_GLIB_LIBS) \
@@ -45,12 +48,6 @@ noinst_PROGRAMS = \
 	contact-properties \
 	$(NULL)
 
-# FIXME: make this the general LDADD if possible
-common_ldadd = \
-	$(top_builddir)/tests/lib/telepathy/contactlist/libtp-test-contactlist.la \
-	$(top_builddir)/backends/telepathy/lib/libfolks-telepathy.la \
-	$(top_builddir)/folks/libfolks.la
-
 # FIXME: turn test-case into a library that the tests use or push it into the
 # existing library
 contact_retrieval_SOURCES = \
@@ -58,15 +55,11 @@ contact_retrieval_SOURCES = \
 	contact-retrieval.vala \
 	$(NULL)
 
-contact_retrieval_LDADD = $(common_ldadd)
-
 contact_properties_SOURCES = \
 	test-case.vala \
 	contact-properties.vala \
 	$(NULL)
 
-contact_properties_LDADD = $(common_ldadd)
-
 CLEANFILES = \
 	$(TESTS) \
 	$(NULL)



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