[amalgam] Include integration source files as well

Just for those that are normally built into libharfbuzz itself.

Part of https://github.com/harfbuzz/harfbuzz/issues/1809
This commit is contained in:
Behdad Esfahbod 2019-07-03 12:17:57 -07:00
parent d515242045
commit b240d701fd
2 changed files with 16 additions and 2 deletions

View File

@ -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 \

View File

@ -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"