[tracker] tests: libtracker-miner: Fixed build for recent ld versions
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tests: libtracker-miner: Fixed build for recent ld versions
- Date: Fri, 19 Mar 2010 12:18:07 +0000 (UTC)
commit bcd1c8999092ac6588a53d7cb4222d9902af77f2
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Mar 19 13:16:49 2010 +0100
tests: libtracker-miner: Fixed build for recent ld versions
tests/libtracker-miner/Makefile.am | 47 +++++++++++------------------------
1 files changed, 15 insertions(+), 32 deletions(-)
---
diff --git a/tests/libtracker-miner/Makefile.am b/tests/libtracker-miner/Makefile.am
index 4541c5e..3649e62 100644
--- a/tests/libtracker-miner/Makefile.am
+++ b/tests/libtracker-miner/Makefile.am
@@ -8,6 +8,17 @@ TEST_PROGS += \
tracker-password-provider-test \
tracker-thumbnailer-test
+commonlibs = \
+ $(top_builddir)/src/libtracker-client/libtracker-client- TRACKER_API_VERSION@.la \
+ $(top_builddir)/src/libtracker-miner/libtracker-miner-0.7.la \
+ $(top_builddir)/src/libtracker-common/libtracker-common.la \
+ $(DBUS_LIBS) \
+ $(GCOV_LIBS) \
+ $(GMODULE_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(GIO_LIBS) \
+ $(GLIB2_LIBS)
+
INCLUDES = \
-DTEST \
-DG_LOG_DOMAIN=\"Tracker\" \
@@ -33,15 +44,7 @@ BUILT_SOURCES = libtracker-miner-testing.vala.stamp
tracker_crawler_SOURCES = \
tracker-crawler-test.c
-tracker_crawler_LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-0.7.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(DBUS_LIBS) \
- $(GCOV_LIBS) \
- $(GMODULE_LIBS) \
- $(GTHREAD_LIBS) \
- $(GIO_LIBS) \
- $(GLIB2_LIBS)
+tracker_crawler_LDADD = $(commonlibs)
tracker_thumbnailer_test_SOURCES = \
tracker-thumbnailer-test.c \
@@ -50,14 +53,7 @@ tracker_thumbnailer_test_SOURCES = \
empty-gobject.h \
empty-gobject.c
-tracker_thumbnailer_test_LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-0.7.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(DBUS_LIBS) \
- $(GCOV_LIBS) \
- $(GMODULE_LIBS) \
- $(GTHREAD_LIBS) \
- $(GLIB2_LIBS)
+tracker_thumbnailer_test_LDADD = $(commonlibs)
tracker_miner_manager_VALASOURCES = \
tracker-miner-mock.vala
@@ -71,25 +67,12 @@ tracker_miner_manager_SOURCES = \
empty-gobject.h \
empty-gobject.c
-tracker_miner_manager_LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner-0.7.la \
- $(top_builddir)/src/libtracker-common/libtracker-common.la \
- $(DBUS_LIBS) \
- $(GCOV_LIBS) \
- $(GMODULE_LIBS) \
- $(GTHREAD_LIBS) \
- $(GLIB2_LIBS)
+tracker_miner_manager_LDADD = $(commonlibs)
tracker_password_provider_test_SOURCES = \
tracker-password-provider-test.c
-tracker_password_provider_test_LDADD = \
- $(top_builddir)/src/libtracker-miner/libtracker-miner- TRACKER_API_VERSION@.la \
- $(DBUS_LIBS) \
- $(GCOV_LIBS) \
- $(GMODULE_LIBS) \
- $(GTHREAD_LIBS) \
- $(GLIB2_LIBS)
+tracker_password_provider_test_LDADD = $(commonlibs)
libtracker-miner-testing.vala.stamp: $(tracker_miner_manager_VALASOURCES)
$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) --pkg glib-2.0 -C $(VALAFLAGS) -H $(<:.vala=.h) $<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]