mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
do the genmarshalling to temp files, then move the temp files over
Original commit message from CVS: do the genmarshalling to temp files, then move the temp files over
This commit is contained in:
parent
d6b07866ca
commit
25184d6017
1 changed files with 7 additions and 8 deletions
|
@ -86,17 +86,16 @@ libgstreamer_la_SOURCES = \
|
|||
|
||||
BUILT_SOURCES = gstmarshal.h gstmarshal.c
|
||||
|
||||
# Generate both marshal files together. Makes dependency work easier.
|
||||
gstmarshal.h: gstmarshal.list
|
||||
glib-genmarshal --header --prefix=gst_marshal $(srcdir)/gstmarshal.list > gstmarshal.h
|
||||
glib-genmarshal --header --prefix=gst_marshal $(srcdir)/gstmarshal.list > gstmarshal.h.tmp
|
||||
mv gstmarshal.h.tmp gstmarshal.h
|
||||
|
||||
gstmarshal.c: gstmarshal.list
|
||||
echo "#include \"glib-object.h\"" >gstmarshal.c
|
||||
echo "#include \"gstlog.h\"" >> gstmarshal.c
|
||||
echo "#include \"gstmarshal.h\"" >> gstmarshal.c
|
||||
glib-genmarshal --body --prefix=gst_marshal $(srcdir)/gstmarshal.list >> gstmarshal.c
|
||||
|
||||
##### end built sources #####
|
||||
echo "#include \"glib-object.h\"" >gstmarshal.c.tmp
|
||||
echo "#include \"gstlog.h\"" >> gstmarshal.c.tmp
|
||||
echo "#include \"gstmarshal.h\"" >> gstmarshal.c.tmp
|
||||
glib-genmarshal --body --prefix=gst_marshal $(srcdir)/gstmarshal.list >> gstmarshal.c.tmp
|
||||
mv gstmarshal.c.tmp gstmarshal.c
|
||||
|
||||
# Don't want the generated marshal files in the dist
|
||||
dist-hook:
|
||||
|
|
Loading…
Reference in a new issue