2016-05-09 07:40:38 +00:00
|
|
|
noinst_LTLIBRARIES += libflatpak-common.la
|
2015-11-26 21:05:38 +00:00
|
|
|
|
2016-05-06 16:03:47 +00:00
|
|
|
dbus_built_sources = common/flatpak-dbus.c common/flatpak-dbus.h
|
|
|
|
systemd_dbus_built_sources = common/flatpak-systemd-dbus.c common/flatpak-systemd-dbus.h
|
2015-11-26 21:05:38 +00:00
|
|
|
|
2017-06-30 12:32:43 +00:00
|
|
|
common/flatpak-dbus.c: data/org.freedesktop.Flatpak.xml Makefile
|
2016-08-26 09:11:39 +00:00
|
|
|
mkdir -p $(builddir)/common
|
2015-11-26 21:05:38 +00:00
|
|
|
$(AM_V_GEN) $(GDBUS_CODEGEN) \
|
2016-05-09 09:07:53 +00:00
|
|
|
--interface-prefix org.freedesktop.Flatpak. \
|
2016-05-06 16:03:47 +00:00
|
|
|
--c-namespace Flatpak \
|
|
|
|
--generate-c-code $(builddir)/common/flatpak-dbus \
|
2016-05-09 09:07:53 +00:00
|
|
|
$(srcdir)/data/org.freedesktop.Flatpak.xml \
|
2015-11-26 21:05:38 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2017-06-30 12:32:43 +00:00
|
|
|
common/flatpak-systemd-dbus.c: data/org.freedesktop.systemd1.xml Makefile
|
2016-08-26 09:11:39 +00:00
|
|
|
mkdir -p $(builddir)/common
|
2015-11-26 21:05:38 +00:00
|
|
|
$(AM_V_GEN) $(GDBUS_CODEGEN) \
|
|
|
|
--interface-prefix org.freedesktop.systemd1. \
|
|
|
|
--c-namespace Systemd \
|
2016-05-06 16:03:47 +00:00
|
|
|
--generate-c-code $(builddir)/common/flatpak-systemd-dbus \
|
2015-11-26 21:05:38 +00:00
|
|
|
$(srcdir)/data/org.freedesktop.systemd1.xml \
|
|
|
|
$(NULL)
|
|
|
|
|
2017-06-30 12:31:35 +00:00
|
|
|
common/%-dbus.h: common/%-dbus.c
|
|
|
|
@true # Built as a side-effect of the rules for the .c
|
|
|
|
|
2016-06-12 08:45:14 +00:00
|
|
|
nodist_libflatpak_common_la_SOURCES = \
|
|
|
|
$(dbus_built_sources) \
|
|
|
|
$(systemd_dbus_built_sources) \
|
2017-06-21 13:29:27 +00:00
|
|
|
$(xdp_dbus_built_sources) \
|
2016-06-12 08:45:14 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(nodist_libflatpak_common_la_SOURCES)
|
|
|
|
CLEANFILES += $(nodist_libflatpak_common_la_SOURCES)
|
|
|
|
|
2016-05-09 07:40:38 +00:00
|
|
|
libflatpak_common_la_SOURCES = \
|
2016-05-06 16:03:47 +00:00
|
|
|
common/flatpak-common-types.h \
|
|
|
|
common/flatpak-dir.c \
|
|
|
|
common/flatpak-dir.h \
|
|
|
|
common/flatpak-run.c \
|
|
|
|
common/flatpak-run.h \
|
|
|
|
common/flatpak-portal-error.c \
|
|
|
|
common/flatpak-portal-error.h \
|
|
|
|
common/flatpak-utils.c \
|
|
|
|
common/flatpak-utils.h \
|
2017-05-01 02:31:29 +00:00
|
|
|
common/flatpak-table-printer.c \
|
|
|
|
common/flatpak-table-printer.h \
|
2016-05-06 16:03:47 +00:00
|
|
|
common/flatpak-chain-input-stream.c \
|
|
|
|
common/flatpak-chain-input-stream.h \
|
2015-11-26 21:05:38 +00:00
|
|
|
common/gvdb/gvdb-reader.h \
|
|
|
|
common/gvdb/gvdb-format.h \
|
|
|
|
common/gvdb/gvdb-reader.c \
|
|
|
|
common/gvdb/gvdb-builder.h \
|
|
|
|
common/gvdb/gvdb-builder.c \
|
2016-05-06 16:03:47 +00:00
|
|
|
common/flatpak-db.c \
|
|
|
|
common/flatpak-db.h \
|
2016-12-08 10:21:56 +00:00
|
|
|
common/flatpak-json.c \
|
|
|
|
common/flatpak-json.h \
|
|
|
|
common/flatpak-json-oci.c \
|
|
|
|
common/flatpak-json-oci.h \
|
|
|
|
common/flatpak-oci-registry.c \
|
|
|
|
common/flatpak-oci-registry.h \
|
2015-11-26 21:05:38 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2016-05-09 07:40:38 +00:00
|
|
|
libflatpak_common_la_CFLAGS = \
|
2016-01-28 14:00:30 +00:00
|
|
|
$(AM_CFLAGS) \
|
|
|
|
$(BASE_CFLAGS) \
|
|
|
|
$(HIDDEN_VISIBILITY_CFLAGS) \
|
|
|
|
$(OSTREE_CFLAGS) \
|
|
|
|
$(SOUP_CFLAGS) \
|
2016-11-29 09:14:33 +00:00
|
|
|
$(JSON_CFLAGS) \
|
2016-01-28 14:00:30 +00:00
|
|
|
$(XAUTH_CFLAGS) \
|
2016-04-29 09:39:39 +00:00
|
|
|
$(LIBSECCOMP_CFLAGS) \
|
2017-03-29 11:47:41 +00:00
|
|
|
$(INTERNAL_GPGME_CFLAGS) \
|
2016-01-28 14:00:30 +00:00
|
|
|
-I$(srcdir)/dbus-proxy \
|
|
|
|
$(NULL)
|
2017-07-06 13:34:13 +00:00
|
|
|
libflatpak_common_la_LIBADD = $(AM_LIBADD) libglnx.la $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(JSON_LIBS) $(XAUTH_LIBS) $(LIBSECCOMP_LIBS) $(INTERNAL_GPGME_LIBS)
|