NULL =
EXTRA_DIST =
+CLEANFILES =
+DISTCLEANFILES =
+MAINTAINERCLEANFILES =
# The following warning options are useful for debugging: -Wpadded -Wcast-align
#AM_CXXFLAGS =
HBCFLAGS =
HBLIBS =
HBSOURCES = \
- hb-blob.c \
- hb-blob-private.h \
- hb-buffer.cc \
+ hb-blob.cc \
hb-buffer-private.hh \
- hb-common.c \
+ hb-buffer.cc \
+ hb-common.cc \
+ hb-font-private.hh \
hb-font.cc \
- hb-font-private.h \
- hb-object-private.h \
+ hb-mutex-private.hh \
+ hb-object-private.hh \
hb-open-file-private.hh \
hb-open-type-private.hh \
hb-ot-head-private.hh \
- hb-private.h \
+ hb-ot-maxp-private.hh \
+ hb-private.hh \
hb-shape.cc \
- hb-unicode.c \
- hb-unicode-private.h \
+ hb-unicode-private.hh \
+ hb-unicode.cc \
$(NULL)
HBHEADERS = \
hb.h \
hb-font.h \
hb-shape.h \
hb-unicode.h \
+ hb-version.h \
$(NULL)
HBSOURCES += \
hb-ot-map-private.hh \
hb-ot-shape.cc \
hb-ot-shape-complex-arabic.cc \
- hb-ot-shape-complex-arabic-table.h \
+ hb-ot-shape-complex-arabic-table.hh \
+ hb-ot-shape-complex-indic.cc \
+ hb-ot-shape-complex-indic-machine.hh \
+ hb-ot-shape-complex-indic-table.hh \
+ hb-ot-shape-complex-misc.cc \
hb-ot-shape-complex-private.hh \
+ hb-ot-shape-normalize.cc \
hb-ot-shape-private.hh \
- hb-ot-tag.c \
+ hb-ot-tag.cc \
$(NULL)
HBHEADERS += \
hb-ot.h \
hb-ot-tag.h \
$(NULL)
+MAINTAINERCLEANFILES += \
+ $(srcdir)/hb-version.h \
+ $(NULL)
+
if HAVE_GLIB
HBCFLAGS += $(GLIB_CFLAGS)
HBLIBS += $(GLIB_LIBS)
HBSOURCES += \
- hb-glib.c \
+ hb-glib.cc \
$(NULL)
HBHEADERS += \
hb-glib.h \
HBCFLAGS += $(ICU_CFLAGS)
HBLIBS += $(ICU_LIBS)
HBSOURCES += \
- hb-icu.c \
+ hb-icu.cc \
$(NULL)
HBHEADERS += \
hb-icu.h \
HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS += $(FREETYPE_LIBS)
HBSOURCES += \
- hb-ft.c \
+ hb-ft.cc \
$(NULL)
HBHEADERS += \
hb-ft.h \
CXXLINK = $(LINK)
libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
+libharfbuzz_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) -no-undefined
libharfbuzz_la_LIBADD = $(HBLIBS)
pkginclude_HEADERS = $(HBHEADERS)
+nodist_pkginclude_HEADERS = hb-version.h
GENERATORS = \
- gen-arabic-joining-table.py \
+ gen-arabic-table.py \
+ gen-indic-table.py \
$(NULL)
EXTRA_DIST += $(GENERATORS)
+BUILT_SOURCES = hb-ot-shape-complex-indic-machine.hh
+EXTRA_DIST += hb-ot-shape-complex-indic-machine.rl
+hb-ot-shape-complex-indic-machine.hh: hb-ot-shape-complex-indic-machine.rl
+ $(AM_V_GEN)ragel -e -F1 -o $@ $^
+
noinst_PROGRAMS = main test
bin_PROGRAMS =
if HAVE_FREETYPE
if HAVE_CAIRO_FT
if HAVE_CAIRO_PNG
-hb_view_SOURCES = hb-view.c
+hb_view_SOURCES = hb-view.cc
hb_view_CPPFLAGS = $(HBCFLAGS) $(CAIRO_FT_CFLAGS) $(CAIRO_PNG_CFLAGS)
hb_view_LDADD = libharfbuzz.la -lm $(HBLIBS) $(CAIRO_FT_LIBS) $(CAIRO_PNG_LIBS)
bin_PROGRAMS += hb-view
main_CPPFLAGS = $(HBCFLAGS)
main_LDADD = libharfbuzz.la $(HBLIBS)
-test_SOURCES = test.c
+test_SOURCES = test.cc
test_CPPFLAGS = $(HBCFLAGS)
test_LDADD = libharfbuzz.la $(HBLIBS)
check-c-linkage-decls.sh \
check-header-guards.sh \
check-internal-symbols.sh \
+ check-includes.sh \
$(NULL)
if HAVE_ICU
dist_check_SCRIPTS += check-libstdc++.sh
endif
+TESTS = $(dist_check_SCRIPTS)
+TESTS_ENVIRONMENT = \
+ srcdir="$(srcdir)" \
+ MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
+ HBSOURCES="$(HBSOURCES)" \
+ HBHEADERS="$(HBHEADERS)" \
+ $(NULL)
-include $(top_srcdir)/git.mk