diff options
Diffstat (limited to 'test/Makefile.am')
| -rw-r--r-- | test/Makefile.am | 27 |
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 @@ | |||
| 1 | if HAVE_CHECK | ||
| 2 | test_targets = check-grail | ||
| 3 | else | ||
| 4 | test_targets = | ||
| 5 | endif | ||
| 6 | |||
| 7 | TESTS = $(test_targets) | ||
| 8 | noinst_PROGRAMS = $(test_targets) | ||
| 9 | |||
| 10 | check_grail_SOURCES = \ | ||
| 11 | check-mapping.c \ | ||
| 12 | check-grail.c | ||
| 13 | |||
| 14 | check_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 | # | ||
| 24 | check_grail_LDADD = \ | ||
| 25 | $(top_builddir)/src/.libs/libutouch-grail.a \ | ||
| 26 | $(CHECK_LIBS) \ | ||
| 27 | -lutouch-frame -lutouch-evemu -lmtdev -lm | ||
