Lines Matching refs:wasm
38 wasm-strip ?= $(shell which wasm-strip 2>/dev/null)
40 ifeq (,$(wasm-strip))
45 $(info WARNING: info after compilation, using wasm-strip, to shrink the wasm file.)
46 $(info WARNING: wasm-strip was not found in the PATH so we cannot strip those.)
49 $(info WARNING: wasm-strip is part of the wabt package:)
57 ifeq (,$(wasm-strip))
58 maybe-wasm-strip = echo "not wasm-stripping"
60 maybe-wasm-strip = $(wasm-strip)
68 dir.wasm := $(patsubst %/,%,$(dir $(MAKEFILE)))
95 dir.dout := $(dir.wasm)/jswasm
98 dir.tmp := $(dir.wasm)/bld
182 ifeq (,$(wasm-strip))
183 $(error Cannot make release-quality binary because wasm-strip is not available. \
190 bin.version-info := $(dir.wasm)/version-info
193 $(bin.version-info): $(dir.wasm)/version-info.c $(sqlite3.h) $(MAKEFILE)
435 sqlite3.wasm := $(dir.dout)/sqlite3.wasm
436 sqlite3-wasm.c := $(dir.api)/sqlite3-wasm.c
444 $(sqlite3.js): $(MAKEFILE) $(sqlite3.wasm.obj) \
450 $(cflags.common) $(SQLITE_OPT) $(sqlite3-wasm.c)
451 chmod -x $(sqlite3.wasm)
452 $(maybe-wasm-strip) $(sqlite3.wasm)
453 @ls -la $@ $(sqlite3.wasm)
454 $(sqlite3.wasm): $(sqlite3.js)
455 CLEAN_FILES += $(sqlite3.js) $(sqlite3.wasm)
457 wasm: $(sqlite3.js) target
531 speedtest1.wasm := $(subst .js,.wasm,$(speedtest1.js))
533 speedtest1.cses := $(speedtest1.c) $(sqlite3-wasm.c)
545 $(maybe-wasm-strip) $(speedtest1.wasm)
546 ls -la $@ $(speedtest1.wasm)
550 CLEAN_FILES += $(speedtest1.js) $(speedtest1.wasm)
618 wasm-testing.include = $(dir.dout) *.js *.html \
620 wasm-testing.exclude = sql/speedtest1.sql
621 wasm-testing.dir = /jail/sites/wasm-testing
622 wasm-testing.dest ?= wasm-testing:$(wasm-testing.dir)
627 $(patsubst %,--exclude=%,$(wasm-testing.exclude)) \
628 $(wasm-testing.include) $(wasm-testing.dest)
630 ssh wasm-testing 'cd $(wasm-testing.dir) && bash .gzip' || \
640 update-docs: $(bin.stripccomments) $(sqlite3.js) $(sqlite3.wasm)
642 cp $(sqlite3.wasm) $(WDOCS.jswasm)/.