|
[gst-cvs] gnonlin: gnl: Adding signal marshaller
From: <bilboed@ke...> - 2009-07-29 13:59
|
Module: gnonlin Branch: master Commit: ee021116a458d43036b7fb2d619209a5adac2748 URL: http://cgit.freedesktop.org/gstreamer/gnonlin/commit/?id=ee021116a458d43036b7fb2d619209a5adac2748 Author: Edward Hervey <bilboed@...> Date: Wed Jul 1 16:56:27 2009 +0200 gnl: Adding signal marshaller --- gnl/Makefile.am | 23 +++++++++++++++++++++++ gnl/gnlmarshal.list | 2 ++ gnl/gnloperation.c | 1 + 3 files changed, 26 insertions(+), 0 deletions(-) diff --git a/gnl/Makefile.am b/gnl/Makefile.am index 4472e0d..a5f5275 100644 --- a/gnl/Makefile.am +++ b/gnl/Makefile.am @@ -1,10 +1,15 @@ +built_header_make = gnlmarshal.h +build_source_make = gnlmarshal.c plugin_LTLIBRARIES = libgnl.la +EXTRA_libgnl_la_SOURCES = gnlmarshal.list + libgnl_la_SOURCES = \ gnl.c \ gnlobject.c \ gnlcomposition.c \ gnlghostpad.c \ + gnlmarshal.c \ gnloperation.c \ gnlsource.c \ gnlfilesource.c @@ -27,4 +32,22 @@ gnl_headers = \ DISTCLEANFILE = $(CLEANFILES) noinst_HEADERS = $(gnl_headers) +#files built on make all/check/instal +BUILT_SOURCES = \ + $(built_header_configure) \ + $(built_header_make) \ + $(built_source_make) + +CLEANFILES = $(built_header_make) $(built_source_make) + +noinst_HEADERS = $(gnl_headers) $(built_header_make) $(built_header_configure) + +gnlmarshal.h: gnlmarshal.list + glib-genmarshal --header --prefix=gnl_marshal $^ > gnlmarshal.h.tmp + mv gnlmarshal.h.tmp gnlmarshal.h +gnlmarshal.c: gnlmarshal.list + echo "#include \"glib-object.h\"" >gnlmarshal.c.tmp + echo "#include \"gnlmarshal.h\"" >> gnlmarshal.c.tmp + glib-genmarshal --body --prefix=gnl_marshal $^ >> gnlmarshal.c.tmp + mv gnlmarshal.c.tmp gnlmarshal.c diff --git a/gnl/gnlmarshal.list b/gnl/gnlmarshal.list new file mode 100644 index 0000000..67c6394 --- /dev/null +++ b/gnl/gnlmarshal.list @@ -0,0 +1,2 @@ +VOID:OBJECT,UINT + diff --git a/gnl/gnloperation.c b/gnl/gnloperation.c index 8b6eb8b..d83d214 100644 --- a/gnl/gnloperation.c +++ b/gnl/gnloperation.c @@ -24,6 +24,7 @@ #endif #include "gnl.h" +#include "gnlmarshal.h" /** * SECTION:element-gnloperation |
| Thread | Author | Date |
|---|---|---|
| [gst-cvs] gnonlin: gnl: Adding signal marshaller | <bilboed@ke...> |