mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
Add signal marshalling code
This commit is contained in:
parent
f3131a2f6a
commit
b6fccd5771
2 changed files with 22 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
built_header_make = gesmarshal.h
|
||||
build_source_make = gesmarshal.c
|
||||
|
||||
lib_LTLIBRARIES = libges-@GST_MAJORMINOR@.la
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
EXTRA_libges_@GST_MAJORMINOR@_la_SOURCES = gesmarshal.list
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES) $(built_header_make) $(built_source_make)
|
||||
|
||||
libges_@GST_MAJORMINOR@_la_SOURCES = \
|
||||
ges.c \
|
||||
|
@ -34,3 +38,19 @@ libges_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|||
libges_@GST_MAJORMINOR@_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libges_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
||||
DISTCLEANFILE = $(CLEANFILES)
|
||||
|
||||
#files built on make all/check/instal
|
||||
BUILT_SOURCES = \
|
||||
$(built_header_make) \
|
||||
$(built_source_make)
|
||||
|
||||
gesmarshal.h: gesmarshal.list
|
||||
glib-genmarshal --header --prefix=ges_marshal $^ > gesmarshal.h.tmp
|
||||
mv gesmarshal.h.tmp gesmarshal.h
|
||||
|
||||
gesmarshal.c: gesmarshal.list
|
||||
echo "#include \"glib-object.h\"" >gesmarshal.c.tmp
|
||||
echo "#include \"gesmarshal.h\"" >> gesmarshal.c.tmp
|
||||
glib-genmarshal --body --prefix=ges_marshal $^ >> gesmarshal.c.tmp
|
||||
mv gesmarshal.c.tmp gesmarshal.c
|
||||
|
|
1
ges/gesmarshal.list
Normal file
1
ges/gesmarshal.list
Normal file
|
@ -0,0 +1 @@
|
|||
VOID:OBJECT
|
Loading…
Reference in a new issue