[test/buffer] Add UTF-16 tests
[apps/home/video-player.git] / test / Makefile.am
1 include Makefile.decl
2
3 NULL =
4
5 if HAVE_GLIB
6 AM_CPPFLAGS = -I$(top_srcdir)/src/ $(GLIB_CFLAGS)
7 LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
8
9 check_PROGRAMS = $(TEST_PROGS)
10 noinst_PROGRAMS = $(TEST_PROGS)
11
12 TEST_PROGS += \
13         test-buffer \
14         test-common \
15         test-unicode \
16         $(NULL)
17
18
19 # Tests for header compilation
20 TEST_PROGS += \
21         test-c \
22         test-cplusplus \
23         $(NULL)
24 test_cplusplus_SOURCES = test-cplusplus.cc
25 test_c_CPPFLAGS = $(AM_CPPFLAGS)
26 test_cplusplus_CPPFLAGS = $(AM_CPPFLAGS)
27 if HAVE_ICU
28 test_c_CPPFLAGS += $(ICU_CFLAGS)
29 test_cplusplus_CPPFLAGS += $(ICU_CFLAGS)
30 endif
31 if HAVE_FREETYPE
32 test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
33 test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
34 endif
35
36
37 else
38 check-am:
39         @echo "You need to have glib support enabled to run the tests"
40         @exit 77
41 endif
42
43 -include $(top_srcdir)/git.mk