1 Star 1 Fork 2

bbxx / frida

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
modules = capstone frida-gum frida-core frida-python frida-node frida-tools
all $(MAKECMDGOALS):
@build_os=$$(uname -s | tr '[A-Z]' '[a-z]' | sed 's,^darwin$$,macos,'); \
$(MAKE) -f Makefile.$$build_os.mk $(MAKECMDGOALS)
git-submodules:
@if [ ! -f frida-core/meson.build ]; then \
git submodule init; \
git submodule update; \
fi
-include git-submodules
define make-update-submodule-stamp
$1-update-submodule-stamp: git-submodules
@mkdir -p build
@cd $1 \
&& git log -1 --format=%H > ../build/.$1-submodule-stamp.tmp \
&& git status >> ../build/.$1-submodule-stamp.tmp \
&& git diff >> ../build/.$1-submodule-stamp.tmp
@if [ -f build/.$1-submodule-stamp ]; then \
if cmp -s build/.$1-submodule-stamp build/.$1-submodule-stamp.tmp; then \
rm build/.$1-submodule-stamp.tmp; \
else \
mv build/.$1-submodule-stamp.tmp build/.$1-submodule-stamp; \
fi \
else \
mv build/.$1-submodule-stamp.tmp build/.$1-submodule-stamp; \
fi
endef
$(foreach m,$(modules),$(eval $(call make-update-submodule-stamp,$m)))
git-submodule-stamps: $(foreach m,$(modules),$m-update-submodule-stamp)
-include git-submodule-stamps
.PHONY: all $(MAKECMDGOALS)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/F123BBXX/frida.git
git@gitee.com:F123BBXX/frida.git
F123BBXX
frida
frida
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891