diff options
Diffstat (limited to 'gst-libs/gst/tuner/Makefile.am')
-rw-r--r-- | gst-libs/gst/tuner/Makefile.am | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gst-libs/gst/tuner/Makefile.am b/gst-libs/gst/tuner/Makefile.am index 6d14130d..717c49db 100644 --- a/gst-libs/gst/tuner/Makefile.am +++ b/gst-libs/gst/tuner/Makefile.am @@ -11,6 +11,23 @@ noinst_LTLIBRARIES = libgsttuner.la libgsttuner_la_SOURCES = \ tuner.c \ tunernorm.c \ - tunerchannel.c + tunerchannel.c \ + tunermarshal.c libgsttuner_la_CFLAGS = $(GST_CFLAGS) +BUILT_SOURCES = \ + tunermarshal.c \ + tunermarshal.h +built_headers = \ + tunermarshal.h + +EXTRA_DIST = tunermarshal.list + +tunermarshal.h: tunermarshal.list + glib-genmarshal --header --prefix=gst_tuner_marshal $^ > tunermarshal.h.tmp + mv tunermarshal.h.tmp tunermarshal.h + +tunermarshal.c: tunermarshal.list + echo "#include \"tunermarshal.h\"" >> tunermarshal.c.tmp + glib-genmarshal --body --prefix=gst_tuner_marshal $^ >> tunermarshal.c.tmp + mv tunermarshal.c.tmp tunermarshal.c |