summaryrefslogtreecommitdiff
path: root/gst-glib-gen.mak
Commit message (Collapse)AuthorAgeFilesLines
* build: Adapt to backwards incompatible change in GNU Make 4.3HEADmasterDebarshi Ray2020-03-121-1/+2
| | | | | | | | | | | | | | | GNU Make 4.3 has a backwards incompatible change affecting the use of number signs or hashes (ie., #) inside function invocations. See: https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html In this case, it would expand the '\#' in the '\n\#include \"$(h)\"' argument to the foreach call to '\#', not '#'. This would lead to spurious backslashes in front of the '#include' directives in the generated fs-enumtypes.c file. Spotted by Ernestas Kulik. https://gitlab.freedesktop.org/gstreamer/common/-/merge_requests/4
* gst-glib-gen.mak: include config.h in generated marshal .c files as wellTim-Philipp Müller2018-09-231-1/+1
| | | | | | | This is needed to get the export define the GST_*_API markers map to when compiling gst libs. https://bugzilla.gnome.org/show_bug.cgi?id=797185
* gst-glib-gen.mak: make sure our generated *-enumtypes.c include config.hTim-Philipp Müller2018-04-281-1/+1
| | | | This will be needed soon by the GST_*_API decorators.
* gst-glib-gen.mak: add foo_gen_decl_include for api decorator defineTim-Philipp Müller2018-03-131-1/+2
|
* gst-glib-gen.mak: add support for function declaration bannerTim-Philipp Müller2017-05-101-2/+3
| | | | So we can e.g. add GST_EXPORT in front of our enum _get_type() functions.
* gst-glib-gen.mak: use GLIB_GENMARSHAL and GLIB_MKENUMS variables to call ↵Lionel Landwerlin2012-08-051-4/+4
| | | | | | | | | glib utils Use the ones we detected. Also makes them overridable, which makes cross-compilation easier. https://bugzilla.gnome.org/show_bug.cgi?id=677617
* glib-gen.mak: Don't use == for comparisons in shell scriptsSebastian Dröge2010-05-251-1/+1
|
* build: Make some generic rules silentSebastian Dröge2010-02-261-7/+7
|
* build: use glib_gen_basename for generated files. Fixes #598114Stefan Kost2009-10-161-0/+45
We used pattern rules before. This breaks if a header is references from a different directory. For marshallers I could trigger useless rebuilds. For enums it caused that the genrated files where overwritten with wrong content as the pattern rule has a static dependecy. So it created enumtypes for dir a in dir b.