# Process this file with automake to produce Makefile.in
NULL =
-EXTRA_DIST =
+EXTRA_DIST =
# The following warning options are useful for debugging: -Wpadded -Wcast-align
#AM_CXXFLAGS =
EXTRA_DIST += $(GENERATORS)
noinst_PROGRAMS = main test
+bin_PROGRAMS =
+
+if HAVE_GLIB
+if HAVE_FREETYPE
+if HAVE_CAIRO_FT
+if HAVE_CAIRO_PNG
+hb_view_SOURCES = hb-view.c
+hb_view_CPPFLAGS = $(HBCFLAGS) $(CAIRO_FT_CFLAGS) $(CAIRO_PNG_CFLAGS)
+hb_view_LDADD = libharfbuzz.la $(HBLIBS) $(CAIRO_FT_LIBS) $(CAIRO_PNG_LIBS)
+bin_PROGRAMS += hb-view
+endif
+endif
+endif
+endif
main_SOURCES = main.cc
main_CPPFLAGS = $(HBCFLAGS)
test_CPPFLAGS = $(HBCFLAGS)
test_LDADD = libharfbuzz.la $(HBLIBS)
-TESTS = \
+dist_check_SCRIPTS = \
check-c-linkage-decls.sh \
check-header-guards.sh \
check-internal-symbols.sh \
if HAVE_ICU
else
-TESTS += check-libstdc++.sh
+dist_check_SCRIPTS += check-libstdc++.sh
endif
+
-include $(top_srcdir)/git.mk