summaryrefslogtreecommitdiffstats
path: root/avahi-gobject
diff options
context:
space:
mode:
authorOlivier CrĂȘte <thetester@gmail.com>2010-06-25 02:17:20 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-25 02:17:20 +0200
commitbdec379e33d153413d7559f393ef7f9d35a1e3bb (patch)
treea24c12d5086f627ace4edbccc82c7a97f1e12306 /avahi-gobject
parent35fb9ebe352a141ee9fe72b1e2a160e8c198bd16 (diff)
gobject: clean up compiler output
Diffstat (limited to 'avahi-gobject')
-rw-r--r--avahi-gobject/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-gobject/Makefile.am b/avahi-gobject/Makefile.am
index b2a09c7..93ca2f3 100644
--- a/avahi-gobject/Makefile.am
+++ b/avahi-gobject/Makefile.am
@@ -88,7 +88,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 +102,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@\" }," \