Files
frida-node/Makefile
T
Ole André Vadla Ravnås a53bd831a2 Share bindgen core with frida-python
Consume the language-agnostic frida_bindgen_core via a
git submodule, leaving only the JS-specific model
subclasses, codegen, and customizations here. Ship the
core in the npm tarball and init the submodule when
missing.
2026-07-16 01:19:33 +02:00

17 lines
484 B
Makefile

PYTHON ?= $(shell which python3 >/dev/null && echo python3 || echo python)
all $(MAKECMDGOALS):
@$(PYTHON) \
-c "import sys; sys.path.insert(0, sys.argv[1]); from releng.meson_make import main; main()" \
"$(shell pwd)" \
./build \
$(MAKECMDGOALS)
git-submodules:
@if [ ! -f releng/meson/meson.py ] || [ ! -f frida-bindgen/frida_bindgen_core/model.py ]; then \
git submodule update --init --recursive --depth 1; \
fi
-include git-submodules
.PHONY: all $(MAKECMDGOALS)