diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2008-10-27 17:36:18 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2008-10-27 20:06:53 -0400 |
commit | c7b6da0d52b0f8ee8f15a768c34b23e5cb4fd853 (patch) | |
tree | 16c36b45a986ef8f831bde34af607880155123a1 /common | |
parent | 58b4225bd100dbc0f66775845198235877470e4c (diff) | |
download | farstream-c7b6da0d52b0f8ee8f15a768c34b23e5cb4fd853.tar.gz |
Rename -enumtypes* files to -enum-types* in glib-gen.mk
Diffstat (limited to 'common')
-rw-r--r-- | common/glib-gen.mak | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/glib-gen.mak b/common/glib-gen.mak index f9027da9..1a8c9213 100644 --- a/common/glib-gen.mak +++ b/common/glib-gen.mak @@ -17,7 +17,7 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") glib-genmarshal --body --prefix=$(glib_enum_prefix)_marshal $^ >> $*-marshal.c.tmp mv $*-marshal.c.tmp $*-marshal.c -%-enumtypes.h: $(glib_enum_headers) +%-enum-types.h: $(glib_enum_headers) glib-mkenums \ --fhead "#ifndef __$(glib_enum_define)_ENUM_TYPES_H__\n#define __$(glib_enum_define)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ --fprod "\n/* enumerations from \"@filename@\" */\n" \ @@ -25,10 +25,10 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") --ftail "G_END_DECLS\n\n#endif /* __$(glib_enum_define)_ENUM_TYPES_H__ */" \ $^ > $@ -%-enumtypes.c: $(glib_enum_headers) +%-enum-types.c: $(glib_enum_headers) @if test "x$(glib_enum_headers)" == "x"; then echo "ERROR: glib_enum_headers is empty, please fix Makefile"; exit 1; fi glib-mkenums \ - --fhead "#include \"$*-enumtypes.h\"\n$(enum_headers)" \ + --fhead "#include \"$*-enum-types.h\"\n$(enum_headers)" \ --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@\", \"@valuenick@\" }," \ @@ -40,5 +40,5 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") .deps/%-marshal.Plo: touch $@ -.deps/%-enumtypes.Plo: +.deps/%-enum-types.Plo: touch $@ |