@ -4,6 +4,9 @@ INC_FEATURES = Fallback OT
BUILT_TOOLS =
BUILT_TOOLS =
BUILT_LIBRARIES = HarfBuzz
BUILT_LIBRARIES = HarfBuzz
! i f "$(NO_UCDN)" ! = "1"
UNICODE_IMPL = ucdn
! e l s e
! i f "$(GLIB)" = = "1"
! i f "$(GLIB)" = = "1"
UNICODE_IMPL = GLib
UNICODE_IMPL = GLib
INC_FEATURES = $( INC_FEATURES) GLib
INC_FEATURES = $( INC_FEATURES) GLib
@ -13,8 +16,7 @@ BUILT_TOOLS = hb-view.exe $(BUILT_TOOLS)
! e n d i f
! e n d i f
! e l s e i f "$(ICU)" = = "1"
! e l s e i f "$(ICU)" = = "1"
UNICODE_IMPL = ICU
UNICODE_IMPL = ICU
! e l s e
! e n d i f
UNICODE_IMPL = ucdn
! e n d i f
! e n d i f
! i f "$(FREETYPE)" = = "1"
! i f "$(FREETYPE)" = = "1"
@ -79,18 +81,18 @@ help:
@echo.
@echo.
@echo OPTION: Optional, may be any of the following, use OPTION = 1 to enable;
@echo OPTION: Optional, may be any of the following, use OPTION = 1 to enable;
@echo multiple OPTION' s may be used. If no OPTION is specified, a default
@echo multiple OPTION' s may be used. If no OPTION is specified, a default
@echo HarfBuzz DLL is built with OpenType and fallback support
@echo HarfBuzz DLL is built with OpenType and support with a bundled
@echo with a bundled Unicode implementation ( UCDN) .
@echo Unicode implementation ( UCDN) .
@echo = = = = = =
@echo = = = = = =
@echo UNISCRIBE:
@echo.
@echo Enable Uniscribe support.
@echo CAIRO_FT:
@echo Enables Cairo-Freetype support, needed for the build of the hb-view utility.
@echo Implies FreeType2 support and also requires Cairo built with FreeType2
@echo support; GLib2 support must also be enabled.
@echo.
@echo.
@echo DIRECTWRITE:
@echo DIRECTWRITE:
@echo Enable DirectWrite support, requires a recent enough Windows SDK.
@echo Enable DirectWrite support, requires a recent enough Windows SDK.
@echo.
@echo.
@echo GRAPHITE2:
@echo Enable graphite2 support, requires the SIL Graphite2 library
@echo.
@echo FREETYPE:
@echo FREETYPE:
@echo Enable FreeType2 support, requires the FreeType2 library
@echo Enable FreeType2 support, requires the FreeType2 library
@echo.
@echo.
@ -98,16 +100,19 @@ help:
@echo Enable GLib2 support, with GLib Unicode support, requires the GNOME GLib2
@echo Enable GLib2 support, with GLib Unicode support, requires the GNOME GLib2
@echo library. Enables the build of utility programs.
@echo library. Enables the build of utility programs.
@echo.
@echo.
@echo ICU:
@echo Enable build with ICU Unicode functions, requires the International
@echo Components for Unicode ( ICU) libraries.
@echo.
@echo GOBJECT:
@echo GOBJECT:
@echo Enable the HarfBuzz-GObject library, also implies GLib2 support,
@echo Enable the HarfBuzz-GObject library, also implies GLib2 support,
@echo requires the GNOME GLib2 libraries and tools, notably the glib-mkenums
@echo requires the GNOME GLib2 libraries and tools, notably the glib-mkenums
@echo tool script, which will require a PERL interpreter ( use
@echo tool script, which will require a PERL interpreter ( use
@echo PERL = ^$( PATH_TO_PERL_INTERPRETOR) ) if it is not already in your PATH) .
@echo PERL = ^$( PATH_TO_PERL_INTERPRETOR) ) if it is not already in your PATH) .
@echo.
@echo.
@echo GRAPHITE2:
@echo Enable graphite2 support, requires the SIL Graphite2 library
@echo.
@echo ICU:
@echo Enable build with ICU Unicode functions, requires the International
@echo Components for Unicode ( ICU) libraries.
@echo.
@echo INTROSPECTION:
@echo INTROSPECTION:
@echo Enable the build of introspection files, also implies GObject/GLib2 support,
@echo Enable the build of introspection files, also implies GObject/GLib2 support,
@echo requires the GNOME gobject-introspection libraries and tools. You will need
@echo requires the GNOME gobject-introspection libraries and tools. You will need
@ -117,15 +122,17 @@ help:
@echo ^$( PATH_TO_PYTHON_INTERPRETOR) respectively, if python.exe is not already
@echo ^$( PATH_TO_PYTHON_INTERPRETOR) respectively, if python.exe is not already
@echo in your PATH.
@echo in your PATH.
@echo.
@echo.
@echo CAIRO_FT:
@echo Enables Cairo-Freetype support, needed for the build of the hb-view utility.
@echo Implies FreeType2 support and also requires Cairo built with FreeType2
@echo support; GLib2 support must also be enabled.
@echo.
@echo LIBTOOL_DLL_NAME:
@echo LIBTOOL_DLL_NAME:
@echo Use a libtool-style DLL name to mimic the DLL file naming generated by
@echo Use a libtool-style DLL name to mimic the DLL file naming generated by
@echo MinGW builds.
@echo MinGW builds.
@echo.
@echo.
@echo NO_UCDN:
@echo Do not use the bundled Unicode callback, which is the default. GLib or
@echo ICU-based unicode callback is therefore required.
@echo
@echo UNISCRIBE:
@echo Enable Uniscribe support.
@echo.
@echo Note that GLib2 support is required for all utility and test programs.
@echo Note that GLib2 support is required for all utility and test programs.
@echo = = = = = =
@echo = = = = = =
@echo A 'clean' target is supported to remove all generated files, intermediate
@echo A 'clean' target is supported to remove all generated files, intermediate