From 47be812c27b5d8ecc37a1a89eec18a1e33dc9320 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 3 Feb 2004 20:20:07 +0000 Subject: remove glib_root add hack rule for .Plo files Original commit message from CVS: remove glib_root add hack rule for .Plo files --- gst-libs/gst/colorbalance/Makefile.am | 18 ++++++++++-------- gst-libs/gst/mixer/Makefile.am | 15 ++++++++------- gst-libs/gst/play/Makefile.am | 5 ++--- gst-libs/gst/tuner/Makefile.am | 16 +++++++++------- 4 files changed, 29 insertions(+), 25 deletions(-) (limited to 'gst-libs/gst') diff --git a/gst-libs/gst/colorbalance/Makefile.am b/gst-libs/gst/colorbalance/Makefile.am index 2571f44b..fbd050d0 100644 --- a/gst-libs/gst/colorbalance/Makefile.am +++ b/gst-libs/gst/colorbalance/Makefile.am @@ -1,7 +1,6 @@ # variables used for enum/marshal generation glib_enum_headers=$(colorbalance_headers) glib_enum_define=GST_COLOR_BALANCE -glib_root=colorbalance glib_enum_prefix=gst_color_balance libgstcolorbalanceincludedir = \ @@ -11,9 +10,13 @@ colorbalance_headers = \ colorbalance.h \ colorbalancechannel.h +built_sources = \ + colorbalance-marshal.c \ + colorbalance-enumtypes.c + built_headers = \ - $(glib_root)-marshal.h \ - $(glib_root)-enumtypes.h + colorbalance-marshal.h \ + colorbalance-enumtypes.h libgstcolorbalanceinclude_HEADERS = $(colorbalance_headers) $(built_headers) @@ -22,16 +25,15 @@ noinst_LTLIBRARIES = libgstcolorbalance.la libgstcolorbalance_la_SOURCES = \ colorbalance.c \ colorbalancechannel.c \ - $(glib_root)-marshal.c \ - $(glib_root)-enumtypes.c + $(built_sources) + libgstcolorbalance_la_CFLAGS = $(GST_CFLAGS) $(GST_OPT_CFLAGS) BUILT_SOURCES = \ - $(glib_root)-marshal.c \ - $(glib_root)-enumtypes.c \ + $(built_sources) \ $(built_headers) -EXTRA_DIST = $(glib_root)-marshal.list +EXTRA_DIST = colorbalance-marshal.list CLEANFILES = $(BUILT_SOURCES) diff --git a/gst-libs/gst/mixer/Makefile.am b/gst-libs/gst/mixer/Makefile.am index 7c52dda6..79d40f9c 100644 --- a/gst-libs/gst/mixer/Makefile.am +++ b/gst-libs/gst/mixer/Makefile.am @@ -1,7 +1,6 @@ # variables used for enum/marshal generation glib_enum_headers=$(mixer_headers) glib_enum_define=GST_MIXER -glib_root=mixer glib_enum_prefix=gst_mixer @@ -12,9 +11,13 @@ mixer_headers = \ mixer.h \ mixertrack.h +built_sources = \ + mixer-marshal.c \ + mixer-enumtypes.c + built_headers = \ - $(glib_root)-marshal.h \ - $(glib_root)-enumtypes.h + mixer-marshal.h \ + mixer-enumtypes.h libgstmixerinclude_HEADERS = $(mixer_headers) $(built_headers) @@ -23,14 +26,12 @@ noinst_LTLIBRARIES = libgstmixer.la libgstmixer_la_SOURCES = \ mixer.c \ mixertrack.c \ - $(glib_root)-marshal.c \ - $(glib_root)-enumtypes.c + $(built_sources) libgstmixer_la_CFLAGS = $(GST_CFLAGS) BUILT_SOURCES = \ - $(glib_root)-marshal.c \ - $(glib_root)-enumtypes.c \ + $(built_sources) \ $(built_headers) EXTRA_DIST = mixer-marshal.list diff --git a/gst-libs/gst/play/Makefile.am b/gst-libs/gst/play/Makefile.am index 17460384..810ad9b8 100644 --- a/gst-libs/gst/play/Makefile.am +++ b/gst-libs/gst/play/Makefile.am @@ -1,7 +1,6 @@ # variables used for enum generation glib_enum_headers=$(play_headers) glib_enum_define=GST_PLAY -glib_root=play glib_enum_prefix=gst_play librarydir = $(libdir) @@ -10,7 +9,7 @@ play_headers = \ play.h built_headers = \ - $(glib_root)-enumtypes.h + play-enumtypes.h library_LTLIBRARIES = libgstplay-@GST_MAJORMINOR@.la @@ -28,7 +27,7 @@ libgstplay_@GST_MAJORMINOR@_la_LDFLAGS = \ -version-info @GST_PLUGINS_LIBVERSION@ BUILT_SOURCES = \ - $(glib_root)-enumtypes.c \ + play-enumtypes.c \ $(built_headers) CLEANFILES = $(BUILT_SOURCES) diff --git a/gst-libs/gst/tuner/Makefile.am b/gst-libs/gst/tuner/Makefile.am index af1020fa..ebfca95e 100644 --- a/gst-libs/gst/tuner/Makefile.am +++ b/gst-libs/gst/tuner/Makefile.am @@ -1,7 +1,6 @@ # variables used for enum/marshal generation glib_enum_headers=$(tuner_headers) glib_enum_define=GST_TUNER -glib_root=tuner glib_enum_prefix=gst_tuner libgsttunerincludedir = \ @@ -12,9 +11,13 @@ tuner_headers = \ tunernorm.h \ tunerchannel.h +built_sources = \ + tuner-marshal.c \ + tuner-enumtypes.c + built_headers = \ - $(glib_root)-marshal.h \ - $(glib_root)-enumtypes.h + tuner-marshal.h \ + tuner-enumtypes.h libgsttunerinclude_HEADERS = $(tuner_headers) $(built_headers) @@ -24,16 +27,15 @@ libgsttuner_la_SOURCES = \ tuner.c \ tunernorm.c \ tunerchannel.c \ - $(glib_root)-marshal.c + $(built_sources) libgsttuner_la_CFLAGS = $(GST_CFLAGS) BUILT_SOURCES = \ - $(glib_root)-marshal.c \ - $(glib_root)-enumtypes.c \ + $(built_sources) \ $(built_headers) -EXTRA_DIST = $(glib_root)-marshal.list +EXTRA_DIST = tuner-marshal.list CLEANFILES = $(BUILT_SOURCES) -- cgit v1.2.1