[tracker/vala-makefiles: 1/13] tracker-explorer: Use Automake 1.11 Vala features
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/vala-makefiles: 1/13] tracker-explorer: Use Automake 1.11 Vala features
- Date: Wed, 10 Nov 2010 11:18:52 +0000 (UTC)
commit 9da744cbf018ceaa6b500cae2b5052c5457f1ea4
Author: Martyn Russell <martyn lanedo com>
Date: Tue Nov 2 10:07:27 2010 +0200
tracker-explorer: Use Automake 1.11 Vala features
src/tracker-explorer/Makefile.am | 30 +++++++++++-------------------
1 files changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/src/tracker-explorer/Makefile.am b/src/tracker-explorer/Makefile.am
index 82c08d2..4668af2 100644
--- a/src/tracker-explorer/Makefile.am
+++ b/src/tracker-explorer/Makefile.am
@@ -2,38 +2,30 @@ include $(top_srcdir)/Makefile.decl
bin_PROGRAMS = tracker-explorer
-tracker_explorer_VALASOURCES = \
- tracker-explorer.vala
-
-tracker_explorer_SOURCES = \
- $(tracker_explorer_VALASOURCES:.vala=.c)
-
-tracker_explorer.vala.stamp: $(tracker_explorer_VALASOURCES)
- $(VALAC) -C -g --pkg dbus-glib-1 --pkg gee-1.0 --pkg gtk+-2.0 $^
- touch tracker_explorer.vala.stamp
+AM_VALAFLAGS = \
+ -C -g \
+ --pkg dbus-glib-1 --pkg gee-1.0 --pkg gtk+-2.0
-tracker_explorer_CFLAGS = \
+AM_CPPFLAGS = \
$(BUILD_CFLAGS) \
-DTRACKER_UI_DIR=\"$(datadir)/tracker/\" \
-DSRCDIR=\"$(abs_srcdir)/\" \
$(TRACKER_EXPLORER_CFLAGS)
-tracker_explorer_LDADD = \
+LDADD = \
$(BUILD_LIBS) \
$(TRACKER_EXPLORER_LIBS)
+tracker_explorer_SOURCES = \
+ tracker-explorer.vala
+
uidir = $(datadir)/tracker
ui_DATA = tracker-explorer.ui
EXTRA_DIST = \
- $(tracker_explorer_VALASOURCES) \
- $(ui_DATA) \
- tracker_explorer.vala.stamp
+ $(tracker_explorer_SOURCES) \
+ $(ui_DATA)
MAINTAINERCLEANFILES = \
- tracker_explorer.vala.stamp \
- $(tracker_explorer_VALASOURCES:.vala=.c)
-
-BUILT_SOURCES = \
- tracker_explorer.vala.stamp
+ $(tracker_explorer_SOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]