summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird21
1 files changed, 17 insertions, 4 deletions
diff --git a/Makethird b/Makethird
index bf570880..9425ff3d 100644
--- a/Makethird
+++ b/Makethird
@@ -67,23 +67,28 @@ ifeq ($(USE_SYSTEM_HARFBUZZ),yes)
THIRD_LIBS += $(SYS_HARFBUZZ_LIBS)
else
+THIRD_SRC += thirdparty/harfbuzz/src/hb-aat-layout.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-blob.cc
-THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer-serialize.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-buffer.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-common.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-face.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-fallback-shape.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-font.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ft.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-color.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-face.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-font.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-layout.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-map.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-math.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-arabic.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-default.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-hangul.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-hebrew.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-indic-table.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-indic.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-khmer.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-myanmar.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-thai.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-complex-tibetan.cc
@@ -93,10 +98,12 @@ THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-fallback.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape-normalize.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-shape.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-tag.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-ot-var.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-set.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-shape-plan.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-shape.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-shaper.cc
+THIRD_SRC += thirdparty/harfbuzz/src/hb-static.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-ucdn.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-unicode.cc
THIRD_SRC += thirdparty/harfbuzz/src/hb-warning.cc
@@ -104,13 +111,19 @@ THIRD_SRC += thirdparty/harfbuzz/src/hb-warning.cc
THIRD_CFLAGS += -Ithirdparty/harfbuzz/src
$(OUT)/thirdparty/harfbuzz/%.o: thirdparty/harfbuzz/%.cc
- $(CXX_CMD) $(FREETYPE_CFLAGS) \
- -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT \
+ $(CXX_CMD) $(FREETYPE_CFLAGS) -Iinclude/mupdf \
+ -DHAVE_FALLBACK=1 \
+ -DHAVE_OT \
+ -DHAVE_ROUND \
+ -DHAVE_UCDN \
+ -DHB_NO_MT \
-Dhb_malloc_impl=fz_hb_malloc \
-Dhb_calloc_impl=fz_hb_calloc \
-Dhb_free_impl=fz_hb_free \
-Dhb_realloc_impl=fz_hb_realloc \
- -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
+ -fno-exceptions \
+ -fno-rtti \
+ -fvisibility-inlines-hidden
endif