Makefile_insert revision 313b0a96c2422eb6ec4ca3826a002bc1192c2ca2
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould#############################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Sources for DBus interface
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould#############################
c596be6d145df956e779f427dde5aabc8559dd6cglimmerink_common_sources += \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Build DBus wrapper files
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
c596be6d145df956e779f427dde5aabc8559dd6cglimmerextension/dbus/application-server-glue.h: extension/dbus/application-interface.xml
c596be6d145df956e779f427dde5aabc8559dd6cglimmer dbus-binding-tool --mode=glib-server --output=$@ --prefix=application_interface $^
c596be6d145df956e779f427dde5aabc8559dd6cglimmerextension/dbus/document-server-glue.h: extension/dbus/document-interface.xml
c596be6d145df956e779f427dde5aabc8559dd6cglimmer dbus-binding-tool --mode=glib-server --output=$@ --prefix=document_interface $^
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmerextension/dbus/document-client-glue.h: extension/dbus/document-interface.xml
b90b32f28f16528d780c21a8c59f8f44dca159fdglimmer dbus-binding-tool --mode=glib-client --output=$@ --prefix=document_interface $^
bee5788b7ce5257b5feb362de06101de1f651cb5Ted GouldBUILT_SOURCES += \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# Distribut DBus interface
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
989fc06869090cc6b38cb54c4f3194009addd260Ted GouldEXTRA_DIST += \
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould# DBus Activation Service
bee5788b7ce5257b5feb362de06101de1f651cb5Ted Gould###########################
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# Rule to make the service file with bindir expanded
c596be6d145df956e779f427dde5aabc8559dd6cglimmer$(service_DATA): $(service_in_files) Makefile
6ef14212afe96cfd4b72906aed44880b157f9ab1glimmer @sed -e "s|bindir|$(prefix)|" $<> $@
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould############################
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould# DBus Interface Helper Lib
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould############################
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlib_LTLIBRARIES = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbusincludedir = $(includedir)/libinkdbus-0.48/libinkdbus
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbusinclude_HEADERS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_SOURCES = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_LDFLAGS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -version-info 0:0:0 \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -no-undefined \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -export-symbols-regex "^[^_d].*"
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_CFLAGS = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(DBUS_CFLAGS) \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(INKSCAPE_CFLAGS) \
313b0a96c2422eb6ec4ca3826a002bc1192c2ca2Ted Gould -I$(builddir)/extension/dbus \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould -Wall -Werror
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gouldlibinkdbus_la_LIBADD = \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(DBUS_LIBS) \
7b25ab2134ccd1bdea33782cddbc70ba87570ca4Ted Gould $(INKSCAPE_LIBS)