-## Process this file with automake to produce Makefile.in
-
-INCLUDES = \
- -DG_LOG_DOMAIN=\"Pango\" \
- -DPANGO_ENABLE_ENGINE \
- -DSYSCONFDIR=\"$(sysconfdir)\" \
- -DLIBDIR=\"$(libdir)\" \
- -DG_DISABLE_DEPRECATED \
- $(PANGO_DEBUG_FLAGS) \
- $(GLIB_CFLAGS) \
- $(FREETYPE_CFLAGS) \
- $(X_CFLAGS) \
- -I$(top_srcdir)
-
-LDADDS = \
- $(x_ldflags) \
- $(x_libs) \
- $(GLIB_LIBS) \
- -lm
-
-noinst_LTLIBRARIES = libpango-ot.la
-
-libpango_ot_la_SOURCES = \
- fterrcompat.h \
- ftxopen.c \
- ftxopen.h \
- ftxopenf.h \
- ftxgdef.c \
- ftxgdef.h \
- ftxgpos.c \
- ftxgpos.h \
- ftxgsub.c \
- ftxgsub.h \
- otlbuffer.c \
- otlbuffer.h \
- pango-ot-buffer.c \
- pango-ot-info.c \
- pango-ot-private.h \
- pango-ot-ruleset.c
-
-if BUILD_OT_TESTS
-noinst_PROGRAMS = ottest
-endif
-
-ottest_SOURCES = \
- ottest.c \
- disasm.c \
- disasm.h
-
-ottest_LDADD = \
- libpango-ot.la \
- $(FREETYPE_LIBS)
-
-EXTRA_DIST = \
- README
+# Process this file with automake to produce Makefile.in
+
+NULL =
+EXTRA_DIST =
+
+# The following warning options are useful for debugging: -Wpadded -Wcast-align
+#AM_CXXFLAGS =
+
+lib_LTLIBRARIES = libharfbuzz.la
+
+HBCFLAGS =
+HBLIBS =
+HBSOURCES = \
+ hb-blob.c \
+ hb-blob-private.h \
+ hb-buffer.cc \
+ hb-buffer-private.hh \
+ hb-common.c \
+ hb-font.cc \
+ hb-font-private.h \
+ hb-object-private.h \
+ hb-open-file-private.hh \
+ hb-open-type-private.hh \
+ hb-language.c \
+ hb-ot-head-private.hh \
+ hb-private.h \
+ hb-shape.cc \
+ hb-unicode.c \
+ hb-unicode-private.h \
+ $(NULL)
+HBHEADERS = \
+ hb.h \
+ hb-blob.h \
+ hb-buffer.h \
+ hb-common.h \
+ hb-font.h \
+ hb-language.h \
+ hb-shape.h \
+ hb-unicode.h \
+ $(NULL)
+
+HBSOURCES += \
+ hb-ot-layout.cc \
+ hb-ot-layout-common-private.hh \
+ hb-ot-layout-gdef-private.hh \
+ hb-ot-layout-gpos-private.hh \
+ hb-ot-layout-gsubgpos-private.hh \
+ hb-ot-layout-gsub-private.hh \
+ hb-ot-layout-private.hh \
+ hb-ot-map.cc \
+ 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-private.hh \
+ hb-ot-shape-private.hh \
+ hb-ot-tag.c \
+ $(NULL)
+HBHEADERS += \
+ hb-ot.h \
+ hb-ot-layout.h \
+ hb-ot-shape.h \
+ hb-ot-tag.h \
+ $(NULL)
+
+if HAVE_GLIB
+HBCFLAGS += $(GLIB_CFLAGS)
+HBLIBS += $(GLIB_LIBS)
+HBSOURCES += \
+ hb-glib.c \
+ $(NULL)
+HBHEADERS += \
+ hb-glib.h \
+ $(NULL)
+endif
+
+if HAVE_ICU
+HBCFLAGS += $(ICU_CFLAGS)
+HBLIBS += $(ICU_LIBS)
+HBSOURCES += \
+ hb-icu.c \
+ $(NULL)
+HBHEADERS += \
+ hb-icu.h \
+ $(NULL)
+endif
+
+if HAVE_FREETYPE
+HBCFLAGS += $(FREETYPE_CFLAGS)
+HBLIBS += $(FREETYPE_LIBS)
+HBSOURCES += \
+ hb-ft.c \
+ $(NULL)
+HBHEADERS += \
+ hb-ft.h \
+ $(NULL)
+endif
+
+CXXLINK = $(LINK)
+libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
+libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
+libharfbuzz_la_LIBADD = $(HBLIBS)
+pkginclude_HEADERS = $(HBHEADERS)
+
+
+GENERATORS = \
+ gen-arabic-joining-table.py \
+ $(NULL)
+
+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)
+main_LDADD = libharfbuzz.la $(HBLIBS)
+
+test_SOURCES = test.c
+test_CPPFLAGS = $(HBCFLAGS)
+test_LDADD = libharfbuzz.la $(HBLIBS)
+
+dist_check_SCRIPTS = \
+ check-c-linkage-decls.sh \
+ check-header-guards.sh \
+ check-internal-symbols.sh \
+ $(NULL)
+
+if HAVE_ICU
+else
+dist_check_SCRIPTS += check-libstdc++.sh
+endif
+
+
+-include $(top_srcdir)/git.mk