6 AM_CPPFLAGS = -I$(top_srcdir)/src/ $(GLIB_CFLAGS) $(GTHREAD_CFLAGS)
7 LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS) $(GTHREAD_LIBS)
9 EXTRA_DIST += hb-test.h
11 check_PROGRAMS = $(TEST_PROGS)
12 noinst_PROGRAMS = $(TEST_PROGS)
28 # Tests for header compilation
33 test_cplusplus_SOURCES = test-cplusplus.cc
34 test_c_CPPFLAGS = $(AM_CPPFLAGS)
35 test_cplusplus_CPPFLAGS = $(AM_CPPFLAGS)
37 test_c_CPPFLAGS += $(ICU_CFLAGS)
38 test_cplusplus_CPPFLAGS += $(ICU_CFLAGS)
41 test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
42 test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
43 # TODO replace freetype with other stuff in the following test
44 test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
45 test_object_LIBS = $(LDADD) $(FREETYPE_LIBS)
51 @echo "You need to have glib support enabled to run the tests"
55 -include $(top_srcdir)/git.mk