c596be6d145df956e779f427dde5aabc8559dd6cglimmer## Makefile.am fragment sourced by src/Makefile.am.
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosińskiif WITH_DBUS
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould#############################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Sources for DBus interface
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould#############################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould
c596be6d145df956e779f427dde5aabc8559dd6cglimmerink_common_sources += \
c596be6d145df956e779f427dde5aabc8559dd6cglimmer extension/dbus/dbus-init.cpp \
c596be6d145df956e779f427dde5aabc8559dd6cglimmer extension/dbus/dbus-init.h \
c596be6d145df956e779f427dde5aabc8559dd6cglimmer extension/dbus/application-interface.cpp \
c596be6d145df956e779f427dde5aabc8559dd6cglimmer extension/dbus/application-interface.h \
c596be6d145df956e779f427dde5aabc8559dd6cglimmer extension/dbus/document-interface.cpp \
a5f35005f89e757ae9da4637d24b38a540cc82edJazzyNico extension/dbus/document-interface.h \
a5f35005f89e757ae9da4637d24b38a540cc82edJazzyNico extension/dbus/org.inkscape.service.in
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Build DBus wrapper files
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
c596be6d145df956e779f427dde5aabc8559dd6cglimmerextension/dbus/application-server-glue.h: extension/dbus/application-interface.xml
c596be6d145df956e779f427dde5aabc8559dd6cglimmer dbus-binding-tool --mode=glib-server --output=$@ --prefix=application_interface $^
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
c596be6d145df956e779f427dde5aabc8559dd6cglimmerextension/dbus/document-server-glue.h: extension/dbus/document-interface.xml
c596be6d145df956e779f427dde5aabc8559dd6cglimmer dbus-binding-tool --mode=glib-server --output=$@ --prefix=document_interface $^
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmerextension/dbus/document-client-glue.h: extension/dbus/document-interface.xml
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmer dbus-binding-tool --mode=glib-client --output=$@ --prefix=document_interface $^
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmer
bee5788b7ce5257b5feb362de06101de1f651cb5Ted GouldBUILT_SOURCES += \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould extension/dbus/application-server-glue.h \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould extension/dbus/document-server-glue.h \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould extension/dbus/document-client-glue.h
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Distribut DBus interface
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould
989fc06869090cc6b38cb54c4f3194009addd260Ted GouldEXTRA_DIST += \
989fc06869090cc6b38cb54c4f3194009addd260Ted Gould extension/dbus/application-interface.xml \
989fc06869090cc6b38cb54c4f3194009addd260Ted Gould extension/dbus/document-interface.xml
989fc06869090cc6b38cb54c4f3194009addd260Ted Gould
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# DBus Activation Service
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmer
c596be6d145df956e779f427dde5aabc8559dd6cglimmer# Dbus service file
112d3fe2834a2b62ced790c23db2b0e2e0c4cd27Ted Gouldservicedir = $(DBUSSERVICEDIR)
c596be6d145df956e779f427dde5aabc8559dd6cglimmerservice_in_files = extension/dbus/org.inkscape.service.in
c596be6d145df956e779f427dde5aabc8559dd6cglimmerservice_DATA = $(service_in_files:.service.in=.service)
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
c596be6d145df956e779f427dde5aabc8559dd6cglimmer# Rule to make the service file with bindir expanded
c596be6d145df956e779f427dde5aabc8559dd6cglimmer$(service_DATA): $(service_in_files) Makefile
6ef14212afe96cfd4b72906aed44880b157f9ab1glimmer @sed -e "s|bindir|$(prefix)|" $<> $@
c596be6d145df956e779f427dde5aabc8559dd6cglimmer
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould############################
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould# DBus Interface Helper Lib
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould############################
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlib_LTLIBRARIES = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould libinkdbus.la
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbusincludedir = $(includedir)/libinkdbus-0.48/libinkdbus
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbusinclude_HEADERS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould extension/dbus/wrapper/inkscape-dbus-wrapper.h
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_SOURCES = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould extension/dbus/wrapper/inkscape-dbus-wrapper.h \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould extension/dbus/wrapper/inkscape-dbus-wrapper.c
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_LDFLAGS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -version-info 0:0:0 \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -no-undefined \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -export-symbols-regex "^[^_d].*"
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_CFLAGS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(DBUS_CFLAGS) \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(INKSCAPE_CFLAGS) \
313b0a96c2422eb6ec4ca3826a002bc1192c2ca2Ted Gould -I$(builddir)/extension/dbus \
b63ce90c8a92cc0e26845803ada76635820e22b6Alex Valavanis -Wall
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_LIBADD = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(DBUS_LIBS) \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(INKSCAPE_LIBS)
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould############################
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould# DBus Pkgconfig file
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould############################
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gouldpkgconfig_DATA = extension/dbus/wrapper/inkdbus.pc
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gouldpkgconfigdir = $(libdir)/pkgconfig
6428b8d4201a5717bd155bf02e6dafeedf3e8aa9Ted Gould
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosińskielse # WITH_DBUS
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof KosińskiEXTRA_DIST += \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/dbus-init.cpp \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/dbus-init.h \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/application-interface.cpp \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/application-interface.h \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/document-interface.cpp \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/document-interface.h \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/wrapper/inkscape-dbus-wrapper.h \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/wrapper/inkscape-dbus-wrapper.c \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/wrapper/inkdbus.pc \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/org.inkscape.service.in \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/application-interface.xml \
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński extension/dbus/document-interface.xml
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosińskiendif
01db00ef935f12ee1eece810a1ee86c2c42d5105Krzysztof Kosiński