Makefile_insert revision bee5788b7ce5257b5feb362de06101de1f651cb5
16278N/A## Makefile.am fragment sourced by src/Makefile.am.
16278N/A
16278N/A#############################
16278N/A# Sources for DBus interface
16278N/A#############################
16278N/A
16278N/Aink_common_sources += \
extension/dbus/dbus-init.cpp \
extension/dbus/dbus-init.h \
extension/dbus/application-interface.cpp \
extension/dbus/application-interface.h \
extension/dbus/document-interface.cpp \
extension/dbus/document-interface.h
###########################
# Build DBus wrapper files
###########################
extension/dbus/application-server-glue.h: extension/dbus/application-interface.xml
dbus-binding-tool --mode=glib-server --output=$@ --prefix=application_interface $^
extension/dbus/document-server-glue.h: extension/dbus/document-interface.xml
dbus-binding-tool --mode=glib-server --output=$@ --prefix=document_interface $^
extension/dbus/document-client-glue.h: extension/dbus/document-interface.xml
dbus-binding-tool --mode=glib-client --output=$@ --prefix=document_interface $^
BUILT_SOURCES += \
extension/dbus/application-server-glue.h \
extension/dbus/document-server-glue.h \
extension/dbus/document-client-glue.h
###########################
# Distribut DBus interface
###########################
EXTRA_DIST += \
extension/dbus/application-interface.xml \
extension/dbus/document-interface.xml
###########################
# DBus Activation Service
###########################
# Dbus service file
servicedir = $(DBUSSERVICEDIR)
service_in_files = extension/dbus/org.inkscape.service.in
service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|bindir|$(prefix)|" $<> $@