mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gst/Makefile.am: Replace some non portable makefile constructs.
Original commit message from CVS: patch by: David Nečas <yeti@physics.muni.cz> * gst/Makefile.am: Replace some non portable makefile constructs.
This commit is contained in:
parent
39d1a868a0
commit
0cffe1561c
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-08-23 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
patch by: David Nečas <yeti@physics.muni.cz>
|
||||
|
||||
* gst/Makefile.am:
|
||||
Replace some non portable makefile constructs.
|
||||
|
||||
2007-08-21 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* common/gtk-doc-plugins.mak:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177cf
|
||||
Subproject commit cd25ca736bc2446800de2180ad71fc1da858d324
|
|
@ -230,7 +230,7 @@ gstenumtypes.h: $(gst_headers)
|
|||
--fprod "\n/* enumerations from \"@filename@\" */\n" \
|
||||
--vhead "GType @enum_name@_get_type (void);\n#define GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
||||
--ftail "G_END_DECLS\n\n#endif /* __GST_ENUM_TYPES_H__ */" \
|
||||
$^ > gstenumtypes.h
|
||||
$(gst_headers) > gstenumtypes.h
|
||||
|
||||
gstenumtypes.c: $(gst_headers)
|
||||
glib-mkenums \
|
||||
|
@ -239,7 +239,7 @@ gstenumtypes.c: $(gst_headers)
|
|||
--vhead "static void\nregister_@enum_name@ (GType* id)\n{\n static const G@Type@Value values[] = {" \
|
||||
--vprod " { C_@TYPE@(@VALUENAME@), \"@VALUENAME@\", \"@valuenick@\" }," \
|
||||
--vtail " { 0, NULL, NULL }\n };\n *id = g_@type@_register_static (\"@EnumName@\", values);\n}\nGType\n@enum_name@_get_type (void)\n{\n static GType id;\n static GOnce once = G_ONCE_INIT;\n\n g_once (&once, (GThreadFunc)register_@enum_name@, &id);\n return id;\n}\n" \
|
||||
$^ > gstenumtypes.c
|
||||
$(gst_headers) > gstenumtypes.c
|
||||
|
||||
%.c.gcov: .libs/libgstreamer_@GST_MAJORMINOR@_la-%.gcda %.c
|
||||
$(GCOV) -b -f -o $^ > $@.out
|
||||
|
|
Loading…
Reference in a new issue