Simplify the tests Makefile.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 6 Oct 2010 16:12:07 +0000 (09:12 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 6 Oct 2010 17:47:54 +0000 (10:47 -0700)
tests/telepathy/Makefile.am

index 60f2750..3b6fd15 100644 (file)
@@ -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)