summaryrefslogtreecommitdiff
path: root/lib/Makefile.am.inc
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-11-26 22:05:38 +0100
committerAlexander Larsson <alexl@redhat.com>2015-11-26 22:05:38 +0100
commit106a5b06ecb28f4eb0eda9310b28903effe9d381 (patch)
tree3a30d6cb3a7983f20ee12352c5a5a6e0a7ba684a /lib/Makefile.am.inc
parent49af28893711fbf8eda6bf34651c8b659702e4bf (diff)
downloadxdg-app-106a5b06ecb28f4eb0eda9310b28903effe9d381.tar.gz
Rename lib/ to common/ in preparation for public xdg-app library
Diffstat (limited to 'lib/Makefile.am.inc')
-rw-r--r--lib/Makefile.am.inc66
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/Makefile.am.inc b/lib/Makefile.am.inc
deleted file mode 100644
index 01e4ba3..0000000
--- a/lib/Makefile.am.inc
+++ /dev/null
@@ -1,66 +0,0 @@
-noinst_LTLIBRARIES += libxdgapp.la
-
-dbus_built_sources = lib/xdg-app-dbus.c lib/xdg-app-dbus.h
-systemd_dbus_built_sources = lib/xdg-app-systemd-dbus.c lib/xdg-app-systemd-dbus.h
-BUILT_SOURCES += $(dbus_built_sources) $(systemd_dbus_built_sources)
-
-$(dbus_built_sources) : data/org.freedesktop.XdgApp.xml
- $(AM_V_GEN) $(GDBUS_CODEGEN) \
- --interface-prefix org.freedesktop.XdgApp. \
- --c-namespace XdgApp \
- --generate-c-code $(builddir)/lib/xdg-app-dbus \
- $(srcdir)/data/org.freedesktop.XdgApp.xml \
- $(NULL)
-
-$(systemd_dbus_built_sources) : data/org.freedesktop.systemd1.xml
- $(AM_V_GEN) $(GDBUS_CODEGEN) \
- --interface-prefix org.freedesktop.systemd1. \
- --c-namespace Systemd \
- --generate-c-code $(builddir)/lib/xdg-app-systemd-dbus \
- $(srcdir)/data/org.freedesktop.systemd1.xml \
- $(NULL)
-
-libxdgapp_la_SOURCES = \
- lib/xdg-app-dir.c \
- lib/xdg-app-dir.h \
- lib/xdg-app-run.c \
- lib/xdg-app-run.h \
- lib/xdg-app-error.c \
- lib/xdg-app-error.h \
- lib/xdg-app-utils.c \
- lib/xdg-app-utils.h \
- lib/xdg-app-chain-input-stream.c \
- lib/xdg-app-chain-input-stream.h \
- lib/gvdb/gvdb-reader.h \
- lib/gvdb/gvdb-format.h \
- lib/gvdb/gvdb-reader.c \
- lib/gvdb/gvdb-builder.h \
- lib/gvdb/gvdb-builder.c \
- lib/xdg-app-db.c \
- lib/xdg-app-db.h \
- $(dbus_built_sources) \
- $(systemd_dbus_built_sources) \
- $(NULL)
-
-libxdgapp_la_CFLAGS = $(AM_CFLAGS) $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(XAUTH_CFLAGS) -I$(srcdir)/dbus-proxy
-libxdgapp_la_LIBADD = libglnx.la $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(XAUTH_LIBS)
-
-bin_PROGRAMS += \
- xdg-app-helper \
- $(NULL)
-
-xdg_app_helper_SOURCES = lib/xdg-app-helper.c
-xdg_app_helper_LDADD = $(LIBSECCOMP_LIBS)
-xdg_app_helper_CFLAGS = $(LIBSECCOMP_CFLAGS)
-
-install-exec-hook:
-if DISABLE_USERNS
-if PRIV_MODE_SETUID
- $(SUDO_BIN) chown root $(DESTDIR)$(bindir)/xdg-app-helper
- $(SUDO_BIN) chmod u+s $(DESTDIR)$(bindir)/xdg-app-helper
-else
-if PRIV_MODE_FILECAPS
- $(SUDO_BIN) setcap cap_sys_admin+ep $(DESTDIR)$(bindir)/xdg-app-helper
-endif
-endif
-endif