5968cd2a27
It may break installed header files from gst-plugins0.10-base as PR 46229.
31 lines
1.7 KiB
Text
31 lines
1.7 KiB
Text
$NetBSD: patch-src_Makefile.in,v 1.1 2012/03/20 11:17:49 obache Exp $
|
|
|
|
* refrect changes from Makefile.am
|
|
|
|
--- src/Makefile.in.orig 2011-03-24 15:18:54.000000000 +0000
|
|
+++ src/Makefile.in
|
|
@@ -1688,24 +1688,6 @@ src-marshal.list: $(empathy_SOURCES) Mak
|
|
$(AM_V_GEN)echo "#include \"src-marshal.h\"" > $@ && \
|
|
$(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c
|
|
|
|
-# rules for making the glib enum objects
|
|
-%-enumtypes.h: %.h Makefile.in
|
|
- $(AM_V_GEN)glib-mkenums \
|
|
- --fhead "#ifndef __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n#define __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
|
|
- --fprod "/* enumerations from \"@filename@\" */\n" \
|
|
- --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
|
- --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
|
|
- $< > $@
|
|
-
|
|
-%-enumtypes.c: %.h Makefile.in
|
|
- $(AM_V_GEN)glib-mkenums \
|
|
- --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
|
|
- --fprod "\n/* enumerations from \"@filename@\" */" \
|
|
- --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
|
|
- --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
|
|
- --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
|
- $< > $@
|
|
-
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|