diff options
-rw-r--r-- | common/glib-gen.mak | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/glib-gen.mak b/common/glib-gen.mak index 182902ee..068b945f 100644 --- a/common/glib-gen.mak +++ b/common/glib-gen.mak @@ -8,16 +8,16 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") # these are all the rules generating the relevant files -%-marshal.h: %-marshal.list - glib-genmarshal --header --prefix=$(glib_enum_prefix)_marshal $^ > $*-marshal.h.tmp +%-marshal.h: %-marshal.list Makefile + glib-genmarshal --header --prefix=$(glib_enum_prefix)_marshal $< > $*-marshal.h.tmp mv $*-marshal.h.tmp $*-marshal.h -%-marshal.c: %-marshal.list +%-marshal.c: %-marshal.list Makefile echo "#include \"$*-marshal.h\"" >> $*-marshal.c.tmp - glib-genmarshal --body --prefix=$(glib_enum_prefix)_marshal $^ >> $*-marshal.c.tmp + glib-genmarshal --body --prefix=$(glib_enum_prefix)_marshal $< >> $*-marshal.c.tmp mv $*-marshal.c.tmp $*-marshal.c -%-enum-types.h: $(glib_enum_headers) +%-enum-types.h: $(glib_enum_headers) Makefile 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,7 +25,7 @@ enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\") --ftail "G_END_DECLS\n\n#endif /* __$(glib_enum_define)_ENUM_TYPES_H__ */" \ $^ > $@ -%-enum-types.c: $(glib_enum_headers) +%-enum-types.c: $(glib_enum_headers) Makefile @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 \"$*-enum-types.h\"\n$(enum_headers)" \ |