[API] Remove hb_*_get_reference_count()
[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
11 TEST_PROGS += \
12         test-buffer \
13         test-common \
14         test-unicode \
15         $(NULL)
16
17
18 # Tests for header compilation
19 TEST_PROGS += \
20         test-c \
21         test-cplusplus \
22         $(NULL)
23 test_cplusplus_SOURCES = test-cplusplus.cc
24 test_c_CPPFLAGS = $(AM_CPPFLAGS)
25 test_cplusplus_CPPFLAGS = $(AM_CPPFLAGS)
26 if HAVE_ICU
27 test_c_CPPFLAGS += $(ICU_CFLAGS)
28 test_cplusplus_CPPFLAGS += $(ICU_CFLAGS)
29 endif
30 if HAVE_FREETYPE
31 test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
32 test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
33 endif
34
35
36 else
37 check-am:
38         @echo "You need to have glib support enabled to run the tests"
39         @exit 77
40 endif
41
42 -include $(top_srcdir)/git.mk