aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2011-08-30 18:54:10 +0800
committerFrédéric Péters <fpeters@0d.be>2011-08-30 18:54:10 +0800
commit2d1cf80cf8ae0412eaf176c557f78f29ab8d4064 (patch)
tree160b75bb834231b1c38f6c7137a9893443456529
parentf1d4849c8003841b7d6aa6b2ed39faf029ac783a (diff)
downloadgsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar.gz
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar.bz2
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar.lz
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar.xz
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.tar.zst
gsoc2013-empathy-2d1cf80cf8ae0412eaf176c557f78f29ab8d4064.zip
build: remove -enumtypes rules
-rw-r--r--src/Makefile.am18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 16ff649b5..6be4b9e29 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -296,23 +296,5 @@ src-marshal.list: $(empathy_SOURCES) $(empathy_call_SOURCES) Makefile.am
$(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" \
- $< > $@
-
CLEANFILES = $(BUILT_SOURCES)