summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-session/Makefile.am7
-rw-r--r--mate-session/gsm-marshal.list3
2 files changed, 10 insertions, 0 deletions
diff --git a/mate-session/Makefile.am b/mate-session/Makefile.am
index ffd88d1..26c5509 100644
--- a/mate-session/Makefile.am
+++ b/mate-session/Makefile.am
@@ -150,6 +150,13 @@ org.gnome.SessionManager.Presence.h: org.gnome.SessionManager.Presence.xml Makef
org.gnome.SessionManager.Presence.c: org.gnome.SessionManager.Presence.h
@: # generated as a side-effect
+gsm-marshal.c: gsm-marshal.list
+ $(AM_V_GEN)echo "#include \"gsm-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --prefix=gsm_marshal --body >> $@
+
+gsm-marshal.h: gsm-marshal.list
+ $(AM_V_GEN)$(GLIB_GENMARSHAL) $< --prefix=gsm_marshal --header > $@
+
BUILT_SOURCES = \
gsm-marshal.c \
gsm-marshal.h \
diff --git a/mate-session/gsm-marshal.list b/mate-session/gsm-marshal.list
new file mode 100644
index 0000000..f31a8b1
--- /dev/null
+++ b/mate-session/gsm-marshal.list
@@ -0,0 +1,3 @@
+BOOLEAN:POINTER
+VOID:BOOLEAN,BOOLEAN,BOOLEAN,STRING
+VOID:BOOLEAN,BOOLEAN,POINTER