[tracker/tracker-0.10] libtracker-miner: Simplify provider inclusion in Makefile.am



commit 426576ad7882fa38af39a953c4188305651a1b19
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Mar 3 10:21:07 2011 +0000

    libtracker-miner: Simplify provider inclusion in Makefile.am

 src/libtracker-miner/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index f11d17d..a9667bf 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -30,6 +30,8 @@ libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES =    \
 	$(libtracker_miner_marshal_headers)            \
 	$(libtracker_miner_monitor_sources)            \
 	$(libtracker_miner_monitor_headers)            \
+	$(network_provider_sources)                    \
+	$(password_provider_sources)                   \
 	tracker-crawler.c                              \
 	tracker-miner-dbus.h                           \
 	tracker-miner-object.c                         \
@@ -70,15 +72,15 @@ libtracker_miner_ TRACKER_API_VERSION@_la_LIBADD =     \
 	$(LIBTRACKER_MINER_LIBS)
 
 if HAVE_GNOME_KEYRING
-libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES += tracker-password-provider-gnome.c
+password_provider_sources = tracker-password-provider-gnome.c
 else
-libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES += tracker-password-provider-keyfile.c
+password_provider_sources = tracker-password-provider-keyfile.c
 endif
 
 if HAVE_NETWORK_MANAGER
-libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES += tracker-network-provider-network-manager.c
+network_provider_sources = tracker-network-provider-network-manager.c
 else
-libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES += tracker-network-provider-dummy.c
+network_provider_sources = tracker-network-provider-dummy.c
 endif
 
 $(top_builddir)/src/libtracker-miner/tracker-marshal.h: tracker-marshal.list



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