-## Process this file with automake to produce Makefile.in
-
-INCLUDES = \
- $(FREETYPE_CFLAGS)
-
-noinst_LTLIBRARIES = libharfbuzz-1.la
-
-MAINSOURCES = \
- ftglue.c \
- harfbuzz-buffer.c \
- harfbuzz-dump.c \
- harfbuzz-gdef.c \
- harfbuzz-gpos.c \
- harfbuzz-gsub.c \
- harfbuzz-open.c
-
-EXTRA_SOURCES = harfbuzz.c
-
-PUBLICHEADERS = \
- harfbuzz.h \
- harfbuzz-buffer.h \
- harfbuzz-dump.h \
- harfbuzz-gdef.h \
- harfbuzz-gpos.h \
- harfbuzz-gsub.h \
- harfbuzz-open.h
-
-PRIVATEHEADERS = \
- ftglue.h \
- harfbuzz-impl.h \
- harfbuzz-gdef-private.h \
- harfbuzz-gpos-private.h \
- harfbuzz-gsub-private.h \
- harfbuzz-open-private.h
-
-libharfbuzz_1_la_SOURCES = \
- $(MAINSOURCES) \
- $(PUBLICHEADERS) \
- $(PRIVATEHEADERS)
-
-libharfbuzz_1_la_LIBADD = \
- $(FREETYPE_LIBS)
-
-noinst_PROGRAMS = harfbuzz-dump
-
-harfbuzz_dump_SOURCES = \
- harfbuzz-dump-main.c
-
-harfbuzz_dump_LDADD = \
- $(libharfbuzz_1_la_LIBADD) \
- libharfbuzz-1.la
-
-EXTRA_DIST = \
- README \
- COPYING.FTL \
- COPYING.GPL \
- COPYING \
- $(EXTRA_SOURCES)
-
+# Process this file with automake to produce Makefile.in
+
+NULL =
+
+# The following warning options are useful for debugging: -Wpadded -Wcast-align
+#AM_CXXFLAGS =
+
+noinst_LTLIBRARIES = libharfbuzz.la
+
+HBSOURCES = \
+ hb-blob.c \
+ hb-buffer.c \
+ hb-buffer-private.h \
+ hb-font.cc \
+ hb-font-private.h \
+ hb-glib.h \
+ hb-glib.c \
+ hb-private.h \
+ hb-unicode.c \
+ hb-unicode.h \
+ hb-unicode-private.h \
+ hb-open-file-private.hh \
+ hb-open-type-private.hh \
+ 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.h \
+ hb-object-private.h \
+ $(NULL)
+
+HBHEADERS = \
+ hb.h \
+ hb-blob.h \
+ hb-buffer.h \
+ hb-common.h \
+ hb-font.h \
+ hb-ot.h \
+ hb-ot-layout.h \
+ $(NULL)
+
+libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
+libharfbuzz_la_CPPFLAGS = -DHAVE_GLIB $(GLIB_CFLAGS)
+libharfbuzz_la_LIBADD = $(GLIB_LIBS)
+
+noinst_PROGRAMS = main
+
+main_SOURCES = main.cc
+main_CPPFLAGS = -DHAVE_GLIB $(GLIB_CFLAGS)
+main_LDADD = libharfbuzz.la $(GLIB_LIBS)
+
+EXTRA_DIST = README COPYING
+
+-include $(top_srcdir)/git.mk