1 ## Makefile.am fragment sourced by src/Makefile.am.
3 ink_common_sources += \
4 extension/dbus/dbus-init.cpp \
5 extension/dbus/dbus-init.h \
6 extension/dbus/application-interface.cpp \
7 extension/dbus/application-interface.h \
8 extension/dbus/document-interface.cpp \
9 extension/dbus/document-interface.h
11 ## Slightly concerned about this.
12 ## Would use += but it has to be set first.
13 BUILT_SOURCES = \
14 extension/dbus/application-server-glue.h \
15 extension/dbus/document-server-glue.h
17 extension/dbus/application-server-glue.h: extension/dbus/application-interface.xml
18 dbus-binding-tool --mode=glib-server --output=$@ --prefix=application_interface $^
20 extension/dbus/document-server-glue.h: extension/dbus/document-interface.xml
21 dbus-binding-tool --mode=glib-server --output=$@ --prefix=document_interface $^
23 # Dbus service file
24 servicedir = "/usr/share/dbus-1/services"
25 service_in_files = extension/dbus/org.inkscape.service.in
26 service_DATA = $(service_in_files:.service.in=.service)
28 # Rule to make the service file with bindir expanded
29 $(service_DATA): $(service_in_files) Makefile
30 @sed -e "s|@bindir@|$(bindir)|" $<> $@