aboutsummaryrefslogtreecommitdiff
path: root/.pc/disable-experimental-non-null.patch/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '.pc/disable-experimental-non-null.patch/tests/Makefile.am')
-rw-r--r--.pc/disable-experimental-non-null.patch/tests/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/.pc/disable-experimental-non-null.patch/tests/Makefile.am b/.pc/disable-experimental-non-null.patch/tests/Makefile.am
new file mode 100644
index 00000000..b4e80c02
--- /dev/null
+++ b/.pc/disable-experimental-non-null.patch/tests/Makefile.am
@@ -0,0 +1,18 @@
+TESTS = indicator-keyboard-test
+
+check_PROGRAMS = indicator-keyboard-test
+
+AM_CFLAGS = -w
+AM_LDFLAGS = -lm
+AM_VALAFLAGS = --enable-experimental-non-null \
+ --metadatadir $(top_srcdir)/deps \
+ --vapidir $(top_srcdir)/deps
+
+indicator_keyboard_test_SOURCES = main.vala \
+ config.vala
+indicator_keyboard_test_VALAFLAGS = $(AM_VALAFLAGS) \
+ --pkg gio-2.0
+indicator_keyboard_test_CFLAGS = $(AM_CFLAGS) \
+ $(GIO_CFLAGS)
+indicator_keyboard_test_LDFLAGS = $(AM_LDFLAGS) \
+ $(GIO_LIBS)