diff --git a/src/Makefile.am b/src/Makefile.am index 746b8f022..5c15a3d3d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -305,10 +305,18 @@ $(srcdir)/%.hh: $(srcdir)/%.rl harfbuzz.cc: Makefile.sources $(AM_V_GEN) \ - for f in $(HB_BASE_sources); do echo '#include "'$$f'"'; done | \ + for f in \ + $(HB_BASE_sources) \ + $(HB_GLIB_sources) \ + $(HB_FT_sources) \ + $(HB_GRAPHITE2_sources) \ + $(HB_UNISCRIBE_sources) \ + $(HB_DIRECTWRITE_sources) \ + $(HB_CORETEXT_sources) \ + ; do echo '#include "'$$f'"'; done | \ grep '[.]cc"' > $(srcdir)/harfbuzz.cc \ || ($(RM) $(srcdir)/harfbuzz.cc; false) -EXTRA_DIST += harfbuzz.cc +BUILT_SOURCES += harfbuzz.cc noinst_PROGRAMS = \ main \ diff --git a/src/harfbuzz.cc b/src/harfbuzz.cc index a9581d246..8f5bb79a1 100644 --- a/src/harfbuzz.cc +++ b/src/harfbuzz.cc @@ -42,3 +42,9 @@ #include "hb-ucd.cc" #include "hb-unicode.cc" #include "hb-warning.cc" +#include "hb-glib.cc" +#include "hb-ft.cc" +#include "hb-graphite2.cc" +#include "hb-uniscribe.cc" +#include "hb-directwrite.cc" +#include "hb-coretext.cc"