[tracker/configure-for-binaries: 47/80] tracker-steroids: Cleaned up CFLAGS/LIBS for tests



commit 8be769a80ee076275e26de7a86098f617ae7d473
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Oct 25 16:59:33 2010 +0100

    tracker-steroids: Cleaned up CFLAGS/LIBS for tests

 tests/tracker-steroids/Makefile.am    |   21 ++++++++-------------
 tests/tracker-steroids/tracker-test.c |    3 ++-
 2 files changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/tests/tracker-steroids/Makefile.am b/tests/tracker-steroids/Makefile.am
index fd9291b..f9a4d24 100644
--- a/tests/tracker-steroids/Makefile.am
+++ b/tests/tracker-steroids/Makefile.am
@@ -8,21 +8,16 @@ TEST_PROGS += 								\
 INCLUDES = 								\
 	$(BUILD_CFLAGS)							\
 	-I$(top_srcdir)/src						\
+	-I$(top_builddir)/src						\
 	-I$(top_srcdir)/tests/common					\
-	$(GLIB2_CFLAGS)							\
-	$(GMODULE_CFLAGS)						\
-	$(GTHREAD_CFLAGS)						\
-	$(DBUS_CFLAGS)
+	$(LIBTRACKER_SPARQL_CFLAGS)
+
+LDADD = 								\
+	$(top_builddir)/src/libtracker-sparql/libtracker-sparql- TRACKER_API_VERSION@.la \
+	$(top_builddir)/src/libtracker-common/libtracker-common.la 	\
+	$(BUILD_LIBS)							\
+	$(LIBTRACKER_SPARQL_LIBS)
 
 tracker_test_SOURCES = 							\
 	tracker-test.c
 
-tracker_test_LDADD = 							\
-	$(top_builddir)/src/libtracker-sparql/libtracker-sparql- TRACKER_API_VERSION@.la \
-	$(top_builddir)/src/libtracker-common/libtracker-common.la \
-	$(BUILD_LIBS)							\
-	$(DBUS_LIBS)							\
-	$(GMODULE_LIBS)							\
-	$(GTHREAD_LIBS)							\
-	$(GIO_LIBS)							\
-	$(GLIB2_LIBS)
diff --git a/tests/tracker-steroids/tracker-test.c b/tests/tracker-steroids/tracker-test.c
index 2285d8a..2870cc2 100644
--- a/tests/tracker-steroids/tracker-test.c
+++ b/tests/tracker-steroids/tracker-test.c
@@ -17,11 +17,12 @@
  * Boston, MA  02110-1301, USA.
  */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <string.h>
 
 #include <libtracker-sparql/tracker-sparql.h>
-#include <libtracker-common/tracker-common.h>
 
 /* This MUST be larger than TRACKER_STEROIDS_BUFFER_SIZE */
 #define LONG_NAME_SIZE 128 * 1024 * sizeof(char)



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