diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2008-10-27 17:39:43 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2008-10-27 20:06:53 -0400 |
commit | cb225613fb9e7f7ac8dd85a98dc90e35598f449c (patch) | |
tree | 127b374403ae0ae4557d1305db08f511518704a8 /common | |
parent | e1b8eeed8597c29ea049ed4e4ea50a60039912c2 (diff) | |
download | farstream-cb225613fb9e7f7ac8dd85a98dc90e35598f449c.tar.gz |
Add dep on makefiles ot glib-gen.mak
Diffstat (limited to 'common')
-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)" \ |