2011-04-11 18:46:49 +02:00
|
|
|
include Makefile.decl
|
|
|
|
|
2011-04-13 07:09:09 +02:00
|
|
|
NULL =
|
|
|
|
|
2011-04-11 18:46:49 +02:00
|
|
|
if HAVE_GLIB
|
2011-04-11 19:27:21 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/ $(GLIB_CFLAGS)
|
|
|
|
LDADD = $(top_builddir)/src/libharfbuzz.la $(GLIB_LIBS)
|
2011-04-11 18:46:49 +02:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
2011-04-28 23:10:44 +02:00
|
|
|
noinst_PROGRAMS = $(TEST_PROGS)
|
2011-04-11 18:46:49 +02:00
|
|
|
|
2011-04-13 07:09:09 +02:00
|
|
|
TEST_PROGS += \
|
|
|
|
test-buffer \
|
2011-04-20 08:56:39 +02:00
|
|
|
test-common \
|
2011-04-20 06:19:20 +02:00
|
|
|
test-unicode \
|
2011-04-13 07:09:09 +02:00
|
|
|
$(NULL)
|
|
|
|
|
2011-04-11 18:46:49 +02:00
|
|
|
|
2011-04-20 09:15:31 +02:00
|
|
|
# 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)
|
|
|
|
endif
|
|
|
|
|
2011-04-11 18:46:49 +02:00
|
|
|
|
|
|
|
else
|
|
|
|
check-am:
|
|
|
|
@echo "You need to have glib support enabled to run the tests"
|
|
|
|
@exit 77
|
|
|
|
endif
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|