aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-02 20:40:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-02 20:40:40 +0100
commit8e2d33d3a5d17531a36e629bcf4c0bc36cbf1cfe (patch)
tree5def29ecbadc8873d62ebea6badc27c99b874bfe /tests/Makefile.am
downloadarctica-greeter-8e2d33d3a5d17531a36e629bcf4c0bc36cbf1cfe.tar.gz
arctica-greeter-8e2d33d3a5d17531a36e629bcf4c0bc36cbf1cfe.tar.bz2
arctica-greeter-8e2d33d3a5d17531a36e629bcf4c0bc36cbf1cfe.zip
Imported Upstream version 14.04.10
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am72
1 files changed, 72 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644
index 0000000..3c04ef2
--- /dev/null
+++ b/tests/Makefile.am
@@ -0,0 +1,72 @@
+# -*- Mode: Automake; indent-tabs-mode: t; tab-width: 4 -*-
+
+check_PROGRAMS = unity-greeter-test
+
+check: unity-greeter-test
+ UBUNTU_MENUPROXY=0 top_srcdir=$(top_srcdir) . xvfb-run -a ./unity-greeter-test
+
+unity_greeter_test_SOURCES = \
+ test.vala \
+ test-list.vala \
+ test-main-window.vala \
+ menubar.vala \
+ unity-greeter.vala \
+ ../src/flat-button.vala \
+ ../src/toggle-box.vala \
+ ../src/user-list.vala \
+ ../src/greeter-list.vala \
+ ../src/remote-login-service.vala \
+ ../src/background.vala \
+ ../src/email-autocompleter.vala \
+ ../src/config.vapi \
+ ../src/fixes.vapi \
+ ../src/cairo-utils.vala \
+ ../src/animate-timer.vala \
+ ../src/indicator.vapi \
+ ../src/fadable.vala \
+ ../src/fadable-box.vala \
+ ../src/dash-box.vala \
+ ../src/user-prompt-box.vala \
+ ../src/fading-label.vala \
+ ../src/cached-image.vala \
+ ../src/dash-entry.vala \
+ ../src/dash-button.vala \
+ ../src/prompt-box.vala \
+ ../src/session-list.vala \
+ ../src/main-window.vala \
+ ../src/list-stack.vala \
+ ../src/settings.vala \
+ ../src/shutdown-dialog.vala
+
+
+unity_greeter_test_CFLAGS = \
+ $(UNITY_GREETER_CFLAGS) \
+ -w \
+ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
+ -DLOCALEDIR=\""$(localedir)"\" \
+ -DVERSION=\"$(VERSION)\" \
+ -DCONFIG_FILE=\""$(sysconfdir)/lightdm/unity-greeter.conf"\" \
+ -DPKGDATADIR=\""$(pkgdatadir)"\" \
+ -DINDICATORDIR=\""$(INDICATORDIR)"\"
+
+unity_greeter_test_VALAFLAGS = \
+ --pkg posix \
+ --pkg gtk+-3.0 \
+ --pkg gdk-x11-3.0 \
+ --pkg gio-unix-2.0 \
+ --pkg x11 \
+ --pkg liblightdm-gobject-1 \
+ --pkg libcanberra \
+ --pkg gio-2.0 \
+ --pkg pixman-1 \
+ --target-glib 2.32
+
+unity_greeter_test_LDADD = \
+ $(UNITY_GREETER_LIBS) \
+ -lm
+
+CLEANFILES = \
+ $(notdir $(unity_greeter_test_SOURCES:.vala=.c))
+
+DISTCLEANFILES = \
+ Makefile.in