X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=avahi-gobject%2FMakefile.am;h=bfb339356a0bb0edbf6cc5c5ab76c56621189cc4;hb=2ff4904f525f4237011badeb3dbcf6aaf7f97db2;hp=b2a09c753ed66559a76d9198d8b43b329f46d0fe;hpb=c8eacc0f13f6df529f2f40961e2ddb3a45dc9f93;p=catta diff --git a/avahi-gobject/Makefile.am b/avahi-gobject/Makefile.am index b2a09c7..bfb3393 100644 --- a/avahi-gobject/Makefile.am +++ b/avahi-gobject/Makefile.am @@ -1,5 +1,3 @@ -# $Id$ -# # This file is part of avahi. # # avahi is free software; you can redistribute it and/or modify it @@ -88,7 +86,7 @@ signals-marshal.h: signals-marshal.list $(AM_V_GEN)glib-genmarshal --header --prefix=_ga_signals_marshal $< > $@ signals-marshal.c: signals-marshal.list - $(AM_V_GEN)glib-genmarshal --body --prefix=_ga_signals_marshal $< > $@ + $(AM_V_GEN)(echo "#include \"signals-marshal.h\"" ; glib-genmarshal --body --prefix=_ga_signals_marshal $< ) > $@ # rules for making the glib enum objects @@ -102,7 +100,7 @@ signals-marshal.c: signals-marshal.list %-enumtypes.c: %.h Makefile.in $(AM_V_GEN)glib-mkenums \ - --fhead "#include <$*.h>" \ + --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@\" }," \