[tracker/vala-makefiles: 11/13] build: Use BUILT_SOURCES for stamp files to avoid build errors



commit 2a35684935ea020966be22505019c02c3066a772
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Nov 9 09:32:21 2010 +0000

    build: Use BUILT_SOURCES for stamp files to avoid build errors

 src/libtracker-bus/Makefile.am    |    3 +++
 src/libtracker-client/Makefile.am |    6 ++++++
 src/libtracker-direct/Makefile.am |    3 +++
 src/libtracker-sparql/Makefile.am |    3 +++
 4 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/Makefile.am b/src/libtracker-bus/Makefile.am
index f0c4844..bd20eb1 100644
--- a/src/libtracker-bus/Makefile.am
+++ b/src/libtracker-bus/Makefile.am
@@ -45,6 +45,9 @@ noinst_HEADERS =                                       \
 	tracker-bus-fd-update.h                        \
 	tracker-bus-shared.h
 
+BUILT_SOURCES =                                        \
+	libtracker_bus_la_vala.stamp
+
 EXTRA_DIST =                                           \
 	tracker-bus-fd-cursor.vapi                     \
 	tracker-bus-fd-update.vapi
diff --git a/src/libtracker-client/Makefile.am b/src/libtracker-client/Makefile.am
index 9d7c166..e2e9c8f 100644
--- a/src/libtracker-client/Makefile.am
+++ b/src/libtracker-client/Makefile.am
@@ -34,6 +34,8 @@ libtracker_client_ TRACKER_API_VERSION@_la_LDFLAGS =   \
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
 	-export-symbols-regex '^tracker_.*'
 
+tracker-sparql-builder.h: libtracker-client- TRACKER_API_VERSION@.la
+
 libtracker_clientinclude_HEADERS =                     \
 	tracker.h                                      \
 	tracker-client.h                               \
@@ -55,8 +57,12 @@ dbus_sources =                                         \
 	$(AM_V_GEN)$(DBUSBINDINGTOOL) --mode=glib-client --output=$@ --prefix=$(subst -,_,$*) $^
 
 BUILT_SOURCES =                                        \
+	libtracker_client_$(TRACKER_API_VERSION)_la_vala.stamp \
 	$(dbus_sources)
 
 CLEANFILES =                                           \
 	$(dbus_sources)
 
+MAINTAINERCLEANFILES =                                 \
+	tracker-client-$(TRACKER_API_VERSION).vapi     \
+	tracker-sparql-builder.h
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
index 3b14e30..7c247e6 100644
--- a/src/libtracker-direct/Makefile.am
+++ b/src/libtracker-direct/Makefile.am
@@ -36,3 +36,6 @@ libtracker_direct_la_LDFLAGS =                         \
 
 noinst_HEADERS =                                       \
 	tracker-direct.h
+
+BUILT_SOURCES =                                        \
+	libtracker_direct_la_vala.stamp
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index e065f98..39c4cd2 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -50,6 +50,9 @@ vapi_DATA =                                            \
 	tracker-sparql-$(TRACKER_API_VERSION).vapi     \
 	tracker-sparql-$(TRACKER_API_VERSION).deps
 
+BUILT_SOURCES =                                        \
+	libtracker_sparql_$(TRACKER_API_VERSION)_la_vala.stamp
+
 MAINTAINERCLEANFILES =                                 \
 	tracker-sparql-$(TRACKER_API_VERSION).vapi     \
 	tracker-sparql-$(TRACKER_API_VERSION).deps     \



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