[tracker/direct-access: 9/40] libtracker-direct: Fix build
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 9/40] libtracker-direct: Fix build
- Date: Fri, 13 Aug 2010 11:46:05 +0000 (UTC)
commit db0cb45f658bcfb56e3a42de0c68f472951b7957
Author: Jürg Billeter <j bitron ch>
Date: Tue Jul 6 14:20:11 2010 +0200
libtracker-direct: Fix build
src/libtracker-direct/Makefile.am | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
index edecc7a..e3b7e15 100644
--- a/src/libtracker-direct/Makefile.am
+++ b/src/libtracker-direct/Makefile.am
@@ -1,15 +1,26 @@
include $(top_srcdir)/Makefile.decl
+INCLUDES = \
+ -DG_LOG_DOMAIN=\"Tracker\" \
+ -DTRACKER_COMPILATION \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/libtracker-sparql \
+ -I$(top_srcdir)/src/libtracker-data \
+ -I$(top_builddir)/src \
+ $(WARN_CFLAGS) \
+ $(GLIB2_CFLAGS) \
+ $(GCOV_CFLAGS)
+
lib_LTLIBRARIES = libtracker-direct- TRACKER_API_VERSION@.la
libtracker_directincludedir = $(includedir)/tracker-$(TRACKER_API_VERSION)/libtracker-direct
-libtracker_direct_ TRACKER_API_VERSION@_la_VALASOURCES = \
+libtracker_direct_la_VALASOURCES = \
tracker-connection.vala
libtracker_direct_ TRACKER_API_VERSION@_la_SOURCES = \
libtracker-connection.vala.stamp \
- $(libtracker_direct_ TRACKER_API_VERSION@_la_VALASOURCES:.vala=.c)
+ $(libtracker_direct_la_VALASOURCES:.vala=.c)
libtracker_direct_ TRACKER_API_VERSION@_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
@@ -27,7 +38,7 @@ vapi_sources = \
$(top_srcdir)/src/libtracker-data/libtracker-data.vapi \
$(top_srcdir)/src/libtracker-data/tracker-sparql-query.vapi
-libtracker-direct.vala.stamp: $(libtracker_direct_ TRACKER_API_VERSION@_la_VALASOURCES) $(vapi_sources)
+libtracker-direct.vala.stamp: $(libtracker_direct_la_VALASOURCES) $(vapi_sources)
$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-connection.h $^
$(AM_V_GEN)touch $@
@@ -38,10 +49,10 @@ CLEANFILES = \
$(BUILT_SOURCES)
MAINTAINERCLEANFILES = \
- $(libtracker_direct_ TRACKER_API_VERSION@_la_VALASOURCES:.vala=.c) \
+ $(libtracker_direct_la_VALASOURCES:.vala=.c) \
libtracker-direct.vala.stamp \
tracker-connection.h
EXTRA_DIST = \
- $(libtracker_direct_ TRACKER_API_VERSION@_la_VALASOURCES) \
+ $(libtracker_direct_la_VALASOURCES) \
libtracker-direct.vala.stamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]