[rygel] Distribute built sources as well
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] Distribute built sources as well
- Date: Wed, 27 May 2009 07:42:44 -0400 (EDT)
commit 73f2f6671ecf562370ff254fb0517ae50c940f5a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue May 26 15:21:13 2009 +0300
Distribute built sources as well
---
src/plugins/dvb/Makefile.am | 8 +++++---
src/plugins/external/Makefile.am | 8 +++++---
src/plugins/folder/Makefile.am | 16 +++++++++-------
src/plugins/mediathek/Makefile.am | 20 +++++++++++---------
src/plugins/test/Makefile.am | 9 +++++----
src/plugins/tracker/Makefile.am | 8 +++++---
src/rygel/Makefile.am | 14 ++++++++++----
src/ui/Makefile.am | 8 +++++---
8 files changed, 55 insertions(+), 36 deletions(-)
diff --git a/src/plugins/dvb/Makefile.am b/src/plugins/dvb/Makefile.am
index 4d06510..955be2f 100644
--- a/src/plugins/dvb/Makefile.am
+++ b/src/plugins/dvb/Makefile.am
@@ -10,14 +10,15 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(LIBGCONF_CFLAGS) \
-I$(top_srcdir)/src/rygel -DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-dvb.stamp \
- rygel-dvb-content-dir.c \
+BUILT_SOURCES = rygel-dvb-content-dir.c \
rygel-dvb-root-container.c \
rygel-dvb-channel-group.c \
rygel-dvb-channel.c \
rygel-dvb-plugin.c \
rygel-dvb-plugin-factory.c
+$(BUILT_SOURCES) : rygel-dvb.stamp
+
librygel_dvb_la_SOURCES = rygel-dvb-content-dir.c \
rygel-dvb-content-dir.vala \
rygel-dvb-root-container.c \
@@ -46,5 +47,6 @@ librygel_dvb_la_LIBADD = $(LIBGUPNP_LIBS) \
$(LIBGCONF_LIBS)
librygel_dvb_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-dvb.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel-dvb.stamp
diff --git a/src/plugins/external/Makefile.am b/src/plugins/external/Makefile.am
index 4316946..b0cfa95 100644
--- a/src/plugins/external/Makefile.am
+++ b/src/plugins/external/Makefile.am
@@ -10,13 +10,14 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(LIBGCONF_CFLAGS) \
-I$(top_srcdir)/src/rygel -DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-external.stamp \
- rygel-external-content-dir.c \
+BUILT_SOURCES = rygel-external-content-dir.c \
rygel-external-container.c \
rygel-external-item.c \
rygel-external-plugin.c \
rygel-external-plugin-factory.c
+$(BUILT_SOURCES) : rygel-external.stamp
+
librygel_external_la_SOURCES = rygel-external-content-dir.c \
rygel-external-content-dir.vala \
rygel-external-container.c \
@@ -43,5 +44,6 @@ librygel_external_la_LIBADD = $(LIBGUPNP_LIBS) \
$(LIBGCONF_LIBS)
librygel_external_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-external.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel-external.stamp
diff --git a/src/plugins/folder/Makefile.am b/src/plugins/folder/Makefile.am
index 71763b8..61eab36 100644
--- a/src/plugins/folder/Makefile.am
+++ b/src/plugins/folder/Makefile.am
@@ -10,12 +10,13 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(GEE_CFLAGS) \
-I$(top_srcdir)/src/rygel -DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-media-folder.stamp \
- rygel-folder-root-container.c \
- rygel-folder-container.c \
- rygel-folder-directory-search-result.c \
- rygel-folder-gio-media-item.c \
- rygel-folder-plugin.c
+BUILT_SOURCES = rygel-folder-root-container.c \
+ rygel-folder-container.c \
+ rygel-folder-directory-search-result.c \
+ rygel-folder-gio-media-item.c \
+ rygel-folder-plugin.c
+
+$(BUILT_SOURCES) : rygel-media-folder.stamp
librygel_media_folder_la_SOURCES = \
rygel-folder-plugin.c \
@@ -51,5 +52,6 @@ librygel_media_folder_la_LIBADD = \
$(GEE_LIBS)
librygel_media_folder_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-media-folder.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel-media-folder.stamp
diff --git a/src/plugins/mediathek/Makefile.am b/src/plugins/mediathek/Makefile.am
index 430b274..dc6540b 100644
--- a/src/plugins/mediathek/Makefile.am
+++ b/src/plugins/mediathek/Makefile.am
@@ -12,14 +12,15 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/rygel \
-DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-mediathek.stamp \
- rygel-mediathek-asx-playlist.c \
- rygel-mediathek-plugin.c \
- rygel-mediathek-video-item.c \
- rygel-mediathek-root-container.c \
- rygel-mediathek-rss-container.c
-
-librygel_media_mediathek_la_SOURCES = \
+BUILT_SOURCES = rygel-mediathek-asx-playlist.c \
+ rygel-mediathek-plugin.c \
+ rygel-mediathek-video-item.c \
+ rygel-mediathek-root-container.c \
+ rygel-mediathek-rss-container.c
+
+$(BUILT_SOURCES) : rygel-mediathek.stamp
+
+librygel_mediathek_la_SOURCES = \
rygel-mediathek-asx-playlist.c \
rygel-mediathek-asx-playlist.vala \
rygel-mediathek-plugin.c \
@@ -55,5 +56,6 @@ librygel_mediathek_la_LIBADD = \
librygel_mediathek_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-mediathek.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel-mediathek.stamp
diff --git a/src/plugins/test/Makefile.am b/src/plugins/test/Makefile.am
index 81f8f62..585f69d 100644
--- a/src/plugins/test/Makefile.am
+++ b/src/plugins/test/Makefile.am
@@ -10,14 +10,15 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(LIBGCONF_CFLAGS) \
-I$(top_srcdir)/src/rygel -DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-test.stamp \
- rygel-test-content-dir.c \
+BUILT_SOURCES = rygel-test-content-dir.c \
rygel-test-root-container.c \
rygel-test-item.c \
rygel-test-audio-item.c \
rygel-test-video-item.c \
rygel-test-plugin.c
+$(BUILT_SOURCES) : rygel-test.stamp
+
librygel_test_la_SOURCES = rygel-test-content-dir.c \
rygel-test-content-dir.vala \
rygel-test-root-container.c \
@@ -46,6 +47,6 @@ librygel_test_la_LIBADD = $(LIBGUPNP_LIBS) \
$(LIBGCONF_LIBS)
librygel_test_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-test.stamp
MAINTAINERCLEANFILES = Makefile.in
-
+EXTRA_DIST = $(BUILT_SOURCES) rygel-test.stamp
diff --git a/src/plugins/tracker/Makefile.am b/src/plugins/tracker/Makefile.am
index 106a5ab..d1f8a85 100644
--- a/src/plugins/tracker/Makefile.am
+++ b/src/plugins/tracker/Makefile.am
@@ -10,8 +10,7 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(LIBGCONF_CFLAGS) \
-I$(top_srcdir)/src/rygel -DDATA_DIR='"$(datadir)"'
-BUILT_SOURCES = rygel-media-tracker.stamp \
- rygel-media-tracker.c \
+BUILT_SOURCES = rygel-media-tracker.c \
rygel-tracker-root-container.c \
rygel-tracker-category.c \
rygel-tracker-video-category.c \
@@ -26,6 +25,8 @@ BUILT_SOURCES = rygel-media-tracker.stamp \
rygel-tracker-plugin.c \
rygel-tracker-plugin-factory.c
+$(BUILT_SOURCES) : rygel-media-tracker.stamp
+
librygel_media_tracker_la_SOURCES = rygel-media-tracker.c \
rygel-media-tracker.vala \
rygel-tracker-root-container.c \
@@ -70,5 +71,6 @@ librygel_media_tracker_la_LIBADD = $(LIBGUPNP_LIBS) \
$(LIBGCONF_LIBS)
librygel_media_tracker_la_LDFLAGS = -shared -fPIC -module -avoid-version
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel-media-tracker.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel-media-tracker.stamp
diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index 07e4ac8..2e0154a 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -28,7 +28,6 @@ librygelinc_HEADERS = rygel.h
bin_PROGRAMS = rygel
BUILT_SOURCES = rygel-1.0.vapi \
- rygel.stamp \
rygel.h \
rygel-media-server.c \
rygel-media-server-factory.c \
@@ -54,6 +53,8 @@ BUILT_SOURCES = rygel-1.0.vapi \
rygel-simple-async-result.c \
rygel-media-item.c
+$(BUILT_SOURCES) : rygel.stamp
+
rygel_SOURCES = $(VAPI_SOURCE_FILES) \
rygel-media-server.c \
rygel-media-server.vala \
@@ -142,7 +143,7 @@ rygel-1.0.vapi: $(VAPI_SOURCE_FILES)
$(VALAC) -H rygel.h -C --library=rygel-1.0 --vapidir=$(srcdir) \
--pkg cstuff --pkg gupnp-1.0 --pkg gupnp-av-1.0 --pkg gconf-2.0 \
--pkg gee-1.0 --pkg gstreamer-0.10 \
- $^
+ $(VAPI_SOURCE_FILES)
noinst_LIBRARIES = librygel-configuration.a
@@ -153,6 +154,11 @@ librygel_configuration_a_SOURCES = rygel-configuration.c \
vapidir = $(VAPIDIR)
vapi_DATA = $(VAPI_FILES) $(DEPS_FILES)
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel.stamp
MAINTAINERCLEANFILES = Makefile.in
-EXTRA_DIST = cstuff.vapi $(VAPI_FILES) $(DEPS_FILES) $(VAPI_SOURCE_FILES)
+EXTRA_DIST = cstuff.vapi \
+ $(VAPI_FILES) \
+ $(DEPS_FILES) \
+ $(VAPI_SOURCE_FILES) \
+ $(BUILT_SOURCES) \
+ rygel.stamp
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 277a533..e83f544 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -20,12 +20,13 @@ AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
bin_PROGRAMS = rygel-preferences
-BUILT_SOURCES = rygel.stamp \
- rygel-preferences-dialog.c \
+BUILT_SOURCES = rygel-preferences-dialog.c \
rygel-preferences-section.c \
rygel-general-pref-section.c \
rygel-plugin-pref-section.c
+$(BUILT_SOURCES) : rygel.stamp
+
rygel_preferences_SOURCES = rygel-preferences-dialog.c \
rygel-preferences-dialog.vala \
rygel-preferences-section.c \
@@ -54,5 +55,6 @@ rygel_preferences_LDADD = $(LIBGUPNP_LIBS) \
-L$(rygeldir) \
-lrygel-configuration
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES) rygel.stamp
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = $(BUILT_SOURCES) rygel.stamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]