[test] Test blob API
[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 EXTRA_DIST += hb-test.h
10
11 check_PROGRAMS = $(TEST_PROGS)
12 noinst_PROGRAMS = $(TEST_PROGS)
13
14 TEST_PROGS += \
15         test-blob \
16         test-buffer \
17         test-common \
18         test-object \
19         test-unicode \
20         $(NULL)
21
22
23 # Tests for header compilation
24 TEST_PROGS += \
25         test-c \
26         test-cplusplus \
27         $(NULL)
28 test_cplusplus_SOURCES = test-cplusplus.cc
29 test_c_CPPFLAGS = $(AM_CPPFLAGS)
30 test_cplusplus_CPPFLAGS = $(AM_CPPFLAGS)
31 if HAVE_ICU
32 test_c_CPPFLAGS += $(ICU_CFLAGS)
33 test_cplusplus_CPPFLAGS += $(ICU_CFLAGS)
34 endif
35 if HAVE_FREETYPE
36 test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
37 test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
38 # TODO replace freetype with other stuff in the following test
39 test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
40 test_object_LIBS = $(LDADD) $(FREETYPE_LIBS)
41 endif
42
43
44 else
45 check-am:
46         @echo "You need to have glib support enabled to run the tests"
47         @exit 77
48 endif
49
50 -include $(top_srcdir)/git.mk