summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index e69de29..106641d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -0,0 +1,27 @@
1if HAVE_CHECK
2test_targets = check-grail
3else
4test_targets =
5endif
6
7TESTS = $(test_targets)
8noinst_PROGRAMS = $(test_targets)
9
10check_grail_SOURCES = \
11 check-mapping.c \
12 check-grail.c
13
14check_grail_CFLAGS = \
15 -Wall -Wextra \
16 -I$(top_srcdir) \
17 -I$(top_srcdir)/include \
18 $(CHECK_CFLAGS)
19
20#
21# Link against the (non-distributed) static lib to pick up the
22# internal symbols.
23#
24check_grail_LDADD = \
25 $(top_builddir)/src/.libs/libutouch-grail.a \
26 $(CHECK_LIBS) \
27 -lutouch-frame -lutouch-evemu -lmtdev -lm