From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- gfx/harfbuzz/src/wasm/sample/c/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 gfx/harfbuzz/src/wasm/sample/c/Makefile (limited to 'gfx/harfbuzz/src/wasm/sample/c/Makefile') diff --git a/gfx/harfbuzz/src/wasm/sample/c/Makefile b/gfx/harfbuzz/src/wasm/sample/c/Makefile new file mode 100644 index 0000000000..4ee073b645 --- /dev/null +++ b/gfx/harfbuzz/src/wasm/sample/c/Makefile @@ -0,0 +1,25 @@ +ADD_TABLE = ../../../addTable.py + +all: test-fallback.wasm.ttf test-ot.wasm.ttf + +%.wasm: %.cc ../../../hb-wasm-api.h + clang \ + --target=wasm32-unknown-wasi \ + -Wl,--no-entry \ + -fvisibility=hidden \ + -Wl,--allow-undefined \ + -nostdlib \ + -I ../../.. \ + $< \ + -o $@ + +test-fallback.wasm.ttf: test.ttf shape-fallback.wasm $(ADD_TABLE) + python $(ADD_TABLE) $< $@ shape-fallback.wasm + +test-ot.wasm.ttf: test.ttf shape-ot.wasm $(ADD_TABLE) + python $(ADD_TABLE) $< $@ shape-ot.wasm + +clean: + $(RM) test-fallback.wasm.ttf test-ot.wasm.ttf shape-fallback.wasm shape-ot.wasm + +.PRECIOUS: *.wasm -- cgit v1.2.3