build: Build the DirectWrite sources if requested This adds to the autotools build system so that the (experimental) DirectWrite support for HarfBuzz is built (and dist'ed).
diff --git a/src/Makefile.am b/src/Makefile.am index 9b0affa..bb085ad 100644 --- a/src/Makefile.am +++ b/src/Makefile.am
@@ -78,6 +78,13 @@ HBHEADERS += $(HB_UNISCRIBE_headers) endif +if HAVE_DIRECTWRITE +HBCFLAGS += $(DIRECTWRITE_CXXFLAGS) +HBNONPCLIBS += $(DIRECTWRITE_LIBS) +HBSOURCES += $(HB_DIRECTWRITE_sources) +HBHEADERS += $(HB_DIRECTWRITE_headers) +endif + if HAVE_CORETEXT HBCFLAGS += $(CORETEXT_CFLAGS) HBNONPCLIBS += $(CORETEXT_LIBS)
diff --git a/src/Makefile.sources b/src/Makefile.sources index 769b69dc..171c513 100644 --- a/src/Makefile.sources +++ b/src/Makefile.sources
@@ -130,6 +130,9 @@ HB_CORETEXT_sources = hb-coretext.cc HB_CORETEXT_headers = hb-coretext.h +HB_DIRECTWRITE_sources = hb-directwrite.cc +HB_DIRECTWRITE_headers = hb-directwrite.h + HB_UNISCRIBE_sources = hb-uniscribe.cc HB_UNISCRIBE_headers = hb-uniscribe.h