aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-02-15 17:32:28 +0000
committerRoss Burton <ross.burton@intel.com>2013-04-26 11:06:43 +0100
commit35f4733425e51541aad915512de78798d58e5f53 (patch)
tree60d555ef9ed12aaa6738aee1dae7b186fe3a7189
parentf1f5c9c35262346326b8c883248a60daecc98967 (diff)
downloadmatchbox-panel-2-35f4733425e51541aad915512de78798d58e5f53.tar.gz
matchbox-panel-2-35f4733425e51541aad915512de78798d58e5f53.tar.bz2
matchbox-panel-2-35f4733425e51541aad915512de78798d58e5f53.zip
build: include the marsheller header to silence compile warnings
-rw-r--r--applets/notify/Makefile.am5
-rw-r--r--applets/startup-notify/Makefile.am3
-rw-r--r--applets/systray/Makefile.am3
3 files changed, 7 insertions, 4 deletions
diff --git a/applets/notify/Makefile.am b/applets/notify/Makefile.am
index 53e7946..3ae8b94 100644
--- a/applets/notify/Makefile.am
+++ b/applets/notify/Makefile.am
@@ -22,9 +22,10 @@ DBUS_GLUE=notification-manager-glue.h
MARSHALS = marshal.c marshal.h
%.c: %.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=mb_marshal $^ --body > $@
+ $(AM_V_GEN) (echo "#include \"marshal.h\""; \
+ $(GLIB_GENMARSHAL) --internal --prefix=mb_marshal $^ --body) > $@
%.h: %.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=mb_marshal $^ --header > $@
+ $(AM_V_GEN) $(GLIB_GENMARSHAL) --internal --prefix=mb_marshal $^ --header > $@
BUILT_SOURCES = $(DBUS_GLUE) $(MARSHALS)
CLEANFILES = $(BUILT_SOURCES)
diff --git a/applets/startup-notify/Makefile.am b/applets/startup-notify/Makefile.am
index 8dae466..eac59fd 100644
--- a/applets/startup-notify/Makefile.am
+++ b/applets/startup-notify/Makefile.am
@@ -14,7 +14,8 @@ libstartup_notify_la_LDFLAGS = -avoid-version
MARSHALS = marshal.c marshal.h
%.c: %.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=mb_marshal $^ --body > $@
+ $(AM_V_GEN) (echo "#include \"marshal.h\""; \
+ $(GLIB_GENMARSHAL) --internal --prefix=mb_marshal $^ --body) > $@
%.h: %.list
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=mb_marshal $^ --header > $@
diff --git a/applets/systray/Makefile.am b/applets/systray/Makefile.am
index f49068d..b42dfef 100644
--- a/applets/systray/Makefile.am
+++ b/applets/systray/Makefile.am
@@ -8,7 +8,8 @@ appletdir = $(pkglibdir)
applet_LTLIBRARIES = libsystray.la
%.c: %.list
- $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_na_marshal $^ --body > $@
+ $(AM_V_GEN) (echo "#include \"na-marshal.h\""; \
+ $(GLIB_GENMARSHAL) --internal --prefix=_na_marshal $^ --body) > $@
%.h: %.list
$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_na_marshal $^ --header > $@