diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-30 15:41:01 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-30 15:41:01 +0100 |
commit | 0f320c5224fe39df44648ac75ecce9e0a01079d0 (patch) | |
tree | 28cb06af77b377fade1fdc15d5436a9157518167 /dbus/examples | |
parent | f91828abb160e44b53a32823516d55d8a5d634bc (diff) |
Include config.h in generated C files, and regenerate dbus-gmarshal.c
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37060
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'dbus/examples')
-rw-r--r-- | dbus/examples/statemachine/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/examples/statemachine/Makefile.am b/dbus/examples/statemachine/Makefile.am index 2377621..a9b6237 100644 --- a/dbus/examples/statemachine/Makefile.am +++ b/dbus/examples/statemachine/Makefile.am @@ -34,7 +34,9 @@ statemachine-glue.h: statemachine.xml $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $< sm-marshal.c: Makefile sm-marshal.list - @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@ + echo "#include <config.h>" > $@.tmp + @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body >> $@.tmp + mv $@.tmp $@ sm-marshal.h: Makefile sm-marshal.list @GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header > $@.tmp && mv $@.tmp $@ |