2015-07-10 14:46:27 +00:00
|
|
|
libexec_PROGRAMS += \
|
|
|
|
xdg-document-portal \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
xdp_dbus_built_sources = document-portal/xdp-dbus.c document-portal/xdp-dbus.h
|
|
|
|
BUILT_SOURCES += $(xdp_dbus_built_sources)
|
|
|
|
|
2015-10-21 07:48:53 +00:00
|
|
|
$(xdp_dbus_built_sources) : data/org.freedesktop.portal.Documents.xml
|
2015-07-10 14:46:27 +00:00
|
|
|
$(AM_V_GEN) $(GDBUS_CODEGEN) \
|
|
|
|
--interface-prefix org.freedesktop.portal. \
|
|
|
|
--c-namespace XdpDbus \
|
|
|
|
--generate-c-code $(builddir)/document-portal/xdp-dbus \
|
2015-10-21 07:48:53 +00:00
|
|
|
$(srcdir)/data/org.freedesktop.portal.Documents.xml \
|
2015-07-10 14:46:27 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2016-01-28 14:22:18 +00:00
|
|
|
service_in_files += document-portal/xdg-document-portal.service.in
|
|
|
|
systemduserunit_DATA += document-portal/xdg-document-portal.service
|
|
|
|
|
2015-07-10 14:46:27 +00:00
|
|
|
service_in_files += document-portal/org.freedesktop.portal.Documents.service.in
|
2016-01-28 14:22:18 +00:00
|
|
|
dbus_service_DATA += document-portal/org.freedesktop.portal.Documents.service
|
2015-07-10 14:46:27 +00:00
|
|
|
|
|
|
|
xdg_document_portal_SOURCES = \
|
|
|
|
document-portal/xdp-main.c \
|
|
|
|
document-portal/xdp-enums.h \
|
|
|
|
$(xdp_dbus_built_sources) \
|
|
|
|
document-portal/xdp-util.h \
|
|
|
|
document-portal/xdp-util.c \
|
|
|
|
document-portal/xdp-fuse.h \
|
|
|
|
document-portal/xdp-fuse.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-11-26 21:05:38 +00:00
|
|
|
xdg_document_portal_LDADD = $(BASE_LIBS) $(FUSE_LIBS) libxdgapp-common.la
|
2015-10-01 19:23:23 +00:00
|
|
|
xdg_document_portal_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(XAUTH_LIBS) $(FUSE_CFLAGS) -I$(srcdir)/document-portal -I$(builddir)/document-portal
|