harfbuzz/test/Makefile.am

51 lines
1.0 KiB
Makefile
Raw Normal View History

include Makefile.decl
2011-04-13 05:09:09 +00:00
NULL =
if HAVE_GLIB
2011-04-11 17:27:21 +00:00
AM_CPPFLAGS = -I$(top_srcdir)/src/ $(GLIB_CFLAGS)
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
EXTRA_DIST += hb-test.h
check_PROGRAMS = $(TEST_PROGS)
noinst_PROGRAMS = $(TEST_PROGS)
2011-04-13 05:09:09 +00:00
TEST_PROGS += \
2011-05-10 21:37:08 +00:00
test-blob \
2011-04-13 05:09:09 +00:00
test-buffer \
test-common \
test-object \
test-unicode \
2011-04-13 05:09:09 +00:00
$(NULL)
# Tests for header compilation
TEST_PROGS += \
test-c \
test-cplusplus \
$(NULL)
test_cplusplus_SOURCES = test-cplusplus.cc
test_c_CPPFLAGS = $(AM_CPPFLAGS)
test_cplusplus_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_ICU
test_c_CPPFLAGS += $(ICU_CFLAGS)
test_cplusplus_CPPFLAGS += $(ICU_CFLAGS)
endif
if HAVE_FREETYPE
test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
# TODO replace freetype with other stuff in the following test
test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
test_object_LIBS = $(LDADD) $(FREETYPE_LIBS)
endif
else
check-am:
@echo "You need to have glib support enabled to run the tests"
@exit 77
endif
-include $(top_srcdir)/git.mk