diff options
author | Christian Persch <[email protected]> | 2012-06-11 22:00:31 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-21 06:56:34 +0100 |
commit | 131b29ed88185f63421a9e5dae1e0352159232d3 (patch) | |
tree | d1077b09f3649a38232140f24654d6b7828a25dd /shell/Makefile.am | |
parent | f44500b8d0b8113e3fb475e5e9fb1c685ca5653a (diff) | |
download | atril-131b29ed88185f63421a9e5dae1e0352159232d3.tar.bz2 atril-131b29ed88185f63421a9e5dae1e0352159232d3.tar.xz |
daemon: Use gdbus-codegen for the org.mate.atril.Daemon interface
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=1aac15e
Diffstat (limited to 'shell/Makefile.am')
-rw-r--r-- | shell/Makefile.am | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am index 7f044db4..a8d40f10 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -120,12 +120,21 @@ atril_LDADD= \ BUILT_SOURCES = ev-marshal.h ev-marshal.c if ENABLE_DBUS -BUILT_SOURCES += ev-gdbus-generated.c ev-gdbus-generated.h +BUILT_SOURCES += \ + ev-gdbus-generated.c \ + ev-gdbus-generated.h \ + ev-daemon-gdbus-generated.c \ + ev-daemon-gdbus-generated.h endif if ENABLE_DBUS atrild_SOURCES= \ - ev-daemon.c + ev-daemon.c \ + $(NULL) +nodist_atrild_SOURCES = \ + ev-daemon-gdbus-generated.c \ + ev-daemon-gdbus-generated.h + $(NULL) atrild_CFLAGS= \ -DATRILDATADIR=\"$(pkgdatadir)\" \ @@ -144,7 +153,8 @@ endif EXTRA_DIST = \ ev-marshal.list \ - ev-gdbus.xml + ev-gdbus.xml \ + ev-daemon-gdbus.xml ev-marshal.h: $(srcdir)/ev-marshal.list $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h @@ -161,6 +171,14 @@ ev-gdbus-generated.c ev-gdbus-generated.h: ev-gdbus.xml Makefile --generate-c-code ev-gdbus-generated \ $< -DISTCLEANFILES = +ev-daemon-gdbus-generated.c ev-daemon-gdbus-generated.h: ev-daemon-gdbus.xml Makefile + $(AM_V_GEN) $(GDBUS_CODEGEN) \ + --interface-prefix=org.mate.atril \ + --c-namespace=Ev \ + --c-generate-object-manager \ + --generate-c-code ev-daemon-gdbus-generated \ + $< + +DISTCLEANFILES = $(BUILT_SOURCES) -include $(top_srcdir)/git.mk |