1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
10 .PHONY: lldbmacros_install
12 do_config_all:: lldbmacros_install
14 LLDBMACROS_SOURCE:=$(SRCROOT)/tools/lldbmacros/
15 LLDBMACROS_DEST:=$(OBJPATH)/$(DSYMKERNELSYSDIR)/$(DSYMLLDBMACROSDIR)/lldbmacros/
17 LLDBMACROS_PYTHON_FILES = \
21 core/configuration.py \
25 core/operating_system.py \
26 core/xnu_lldb_init.py \
28 plugins/zprint_perf_log.py \
49 INSTALL_LLDBMACROS_PYTHON_FILES=$(addprefix $(LLDBMACROS_DEST), $(LLDBMACROS_PYTHON_FILES))
51 $(INSTALL_LLDBMACROS_PYTHON_FILES): $(LLDBMACROS_DEST)% : $(LLDBMACROS_SOURCE)%
52 $(_v)$(MKDIR) $(dir $@)
53 $(_v)$(PYTHON) $(LLDBMACROS_SOURCE)/core/syntax_checker.py $< $(_vstdout)
54 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
55 $(_v)$(TOUCH) $(LLDBMACROS_DEST)
57 $(LLDBMACROS_DEST)/../mach_kernel.py: $(LLDBMACROS_SOURCE)/core/xnu_lldb_init.py
58 $(_v)$(MKDIR) $(dir $@)
59 $(_v)$(PYTHON) $(LLDBMACROS_SOURCE)/core/syntax_checker.py $< $(_vstdout)
60 $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@
62 lldbmacros_install: $(INSTALL_LLDBMACROS_PYTHON_FILES) $(LLDBMACROS_DEST)/../mach_kernel.py
64 include $(MakeInc_rule)
65 include $(MakeInc_dir)