--- gstreamer-1.16.2/common/glib-gen.mak +++ gstreamer-1.16.2/common/glib-gen.mak @@ -1,11 +1,13 @@ # these are the variables your Makefile.am should set # the example is based on the colorbalance interface +H := \# + #glib_enum_headers=$(colorbalance_headers) #glib_enum_define=GST_COLOR_BALANCE #glib_enum_prefix=gst_color_balance -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\") # these are all the rules generating the relevant files %-marshal.h: %-marshal.list --- gstreamer-1.16.2/common/gst-glib-gen.mak +++ gstreamer-1.16.2/common/gst-glib-gen.mak @@ -1,14 +1,16 @@ # these are the variables your Makefile.am should set # the example is based on the colorbalance interface +H := \# + #glib_enum_headers=$(colorbalance_headers) #glib_enum_define=GST_COLOR_BALANCE #glib_gen_prefix=gst_color_balance #glib_gen_basename=colorbalance #glib_gen_decl_banner=GST_EXPORT -#glib_gen_decl_include=\#include +#glib_gen_decl_include=$(H)include -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\") # these are all the rules generating the relevant files $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list --- gstreamer-1.16.2/libs/gst/controller/Makefile.am +++ gstreamer-1.16.2/libs/gst/controller/Makefile.am @@ -4,11 +4,13 @@ gstinterpolationcontrolsource.h \ gstlfocontrolsource.h +H := \# + glib_enum_define = GST_CONTROLLER glib_gen_prefix = gst glib_gen_basename = controller glib_gen_decl_banner=GST_CONTROLLER_API -glib_gen_decl_include=\#include +glib_gen_decl_include=$(H)include built_sources = controller-enumtypes.c built_headers = controller-enumtypes.h