if HAVE_CHECK test_targets = check-grail else test_targets = endif TESTS = $(test_targets) noinst_PROGRAMS = $(test_targets) check_grail_SOURCES = \ check-mapping.c \ check-transform.c \ check-grail.c check_grail_CFLAGS = \ -Wall -Wextra \ -I$(top_srcdir) \ -I$(top_srcdir)/include \ $(CHECK_CFLAGS) # # Link against the (non-distributed) static lib to pick up the # internal symbols. # check_grail_LDADD = \ $(top_builddir)/src/.libs/libutouch-grail.a \ $(CHECK_LIBS) \ -lutouch-frame -lutouch-evemu -lmtdev -lm