Makefile_insert revision 6428b8d4201a5717bd155bf02e6dafeedf3e8aa9
## Makefile.am fragment sourced by src/Makefile.am.
#############################
# Sources for DBus interface
#############################
ink_common_sources += \
###########################
# Build DBus wrapper files
###########################
dbus-binding-tool --mode=glib-server --output=$@ --prefix=application_interface $^
dbus-binding-tool --mode=glib-server --output=$@ --prefix=document_interface $^
dbus-binding-tool --mode=glib-client --output=$@ --prefix=document_interface $^
BUILT_SOURCES += \
###########################
# Distribut DBus interface
###########################
EXTRA_DIST += \
###########################
# 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)|" $<> $@
############################
# DBus Interface Helper Lib
############################
lib_LTLIBRARIES = \
libinkdbusincludedir = $(includedir)/libinkdbus-0.48/libinkdbus
libinkdbusinclude_HEADERS = \
libinkdbus_la_SOURCES = \
libinkdbus_la_LDFLAGS = \
-version-info 0:0:0 \
-no-undefined \
-export-symbols-regex "^[^_d].*"
libinkdbus_la_CFLAGS = \
$(DBUS_CFLAGS) \
$(INKSCAPE_CFLAGS) \
-I$(builddir)/extension/dbus \
-Wall -Werror
libinkdbus_la_LIBADD = \
$(DBUS_LIBS) \
$(INKSCAPE_LIBS)
############################
# DBus Pkgconfig file
############################
pkgconfig_DATA = extension/dbus/wrapper/inkdbus.pc
pkgconfigdir = $(libdir)/pkgconfig