summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2015-03-29 19:46:14 +0300
committerEric Koegel <eric.koegel@gmail.com>2015-04-13 11:41:19 +0300
commitf782a76b94da1e69a2c3ae5441ed8b953dbb8316 (patch)
treee962a2fe93c5e5f2eeceec3b744504cd1cb168b7 /src/Makefile.am
parentb053cf1d055ffeb6fbb4d3e2225744d60b21ddef (diff)
downloadConsoleKit2-f782a76b94da1e69a2c3ae5441ed8b953dbb8316.tar.gz
Port ck-session-leader to GDBus
Getting a better understanding of GVariant. Added a test of ck-session-leader and a mock session-info to feed it usable junk data. There's still more work to do on this big GDBus port.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2cd6a17..156cfe6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -187,6 +187,8 @@ noinst_PROGRAMS = \
test-vt-monitor \
test-inhibit \
test-session \
+ ck-collect-session-info \
+ test-session-leader \
$(NULL)
test_event_logger_SOURCES = \
@@ -275,6 +277,40 @@ test_session_LDADD = \
libck.la \
$(NULL)
+ck_collect_session_info_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(NULL)
+
+ck_collect_session_info_SOURCES = \
+ $(BUILT_SOURCES) \
+ mock-ck-collect-session-info.c \
+ $(NULL)
+
+ck_collect_session_info_LDADD = \
+ $(CONSOLE_KIT_LIBS) \
+ $(NULL)
+
+
+test_session_leader_CFLAGS = \
+ $(AM_CFLAGS) \
+ -ULIBEXECDIR \
+ -DLIBEXECDIR=\".\" \
+ $(NULL)
+
+test_session_leader_SOURCES = \
+ $(BUILT_SOURCES) \
+ ck-job.h \
+ ck-job.c \
+ ck-session-leader.c \
+ ck-session-leader.h \
+ test-session-leader.c \
+ $(NULL)
+
+test_session_leader_LDADD = \
+ $(CONSOLE_KIT_LIBS) \
+ libck.la \
+ $(NULL)
+
EXTRA_DIST = \
ck-marshal.list \
@@ -283,6 +319,8 @@ EXTRA_DIST = \
test-open-session \
test-open-session-with-parameters \
test-session \
+ test-session-leader \
+ ck-collect-session-info \
$(NULL)
CLEANFILES = $(BUILT_SOURCES)