summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-17 01:26:29 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-17 01:26:29 +0200
commit490aed584944b684026a3fd01f8d81f2881e38d6 (patch)
tree959f9d1f831752a33ae8ef541fd9e952ce5c2312 /Makefile.am
parent1ebdf5b6847b6a52480a6e9382c1cb70f931a535 (diff)
ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am49
1 files changed, 46 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 7632e553d8..5f11e4fb7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,7 @@ dbusinterfacedir=@dbusinterfacedir@
udevrulesdir=@udevrulesdir@
pamlibdir=@pamlibdir@
pkgconfigdatadir=$(datadir)/pkgconfig
+polkitpolicydir=$(datadir)/polkit-1/actions
# Our own, non-special dirs
pkgsysconfdir=$(sysconfdir)/systemd
@@ -56,14 +57,16 @@ AM_CPPFLAGS = \
rootbin_PROGRAMS = \
systemd \
systemctl \
- systemd-notify
+ systemd-notify \
+ systemd-ask-password
bin_PROGRAMS = \
systemd-cgls
if HAVE_GTK
bin_PROGRAMS += \
- systemadm
+ systemadm \
+ systemd-ask-password-agent
endif
rootlibexec_PROGRAMS = \
@@ -76,7 +79,8 @@ rootlibexec_PROGRAMS = \
systemd-modules-load \
systemd-remount-api-vfs \
systemd-kmsg-syslogd \
- systemd-vconsole-setup
+ systemd-vconsole-setup \
+ systemd-reply-password
noinst_PROGRAMS = \
test-engine \
@@ -282,6 +286,9 @@ dist_doc_DATA = \
pkgconfigdata_DATA = \
systemd.pc
+dist_polkitpolicy_DATA = \
+ src/org.freedesktop.systemd1.policy
+
noinst_LTLIBRARIES = \
libsystemd-basic.la \
libsystemd-core.la
@@ -665,6 +672,18 @@ systemd_notify_SOURCES = \
systemd_notify_LDADD = \
libsystemd-basic.la
+systemd_ask_password_SOURCES = \
+ src/ask-password.c
+
+systemd_ask_password_LDADD = \
+ libsystemd-basic.la
+
+systemd_reply_password_SOURCES = \
+ src/reply-password.c
+
+systemd_reply_password_LDADD = \
+ libsystemd-basic.la
+
systemd_cgls_SOURCES = \
src/cgls.c \
src/cgroup-show.c \
@@ -699,6 +718,30 @@ systemadm_LDADD = \
$(DBUSGLIB_LIBS) \
$(GTK_LIBS)
+systemd_ask_password_agent_SOURCES = \
+ src/ask-password-agent.vala
+
+systemd_ask_password_agent_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(DBUSGLIB_CFLAGS) \
+ $(GTK_CFLAGS) \
+ -Wno-unused-variable \
+ -Wno-unused-function \
+ -Wno-shadow \
+ -Wno-format-nonliteral
+
+systemd_ask_password_agent_VALAFLAGS = \
+ --pkg=dbus-glib-1 \
+ --pkg=posix \
+ --pkg=gtk+-2.0 \
+ --pkg=linux \
+ --pkg=gio-unix-2.0 \
+ -g
+
+systemd_ask_password_agent_LDADD = \
+ $(DBUSGLIB_LIBS) \
+ $(GTK_LIBS)
+
pam_systemd_la_SOURCES = \
src/pam-module.c \
src/cgroup-util.c \