1intermediates := $(call local-intermediates-dir) 2 3LOCAL_GENERATED_SOURCES += \ 4 $(intermediates)/LLDBWrapPython.cpp 5 6LLDB_ROOT_PATH_ABS := $(abspath $(LLDB_ROOT_PATH)) 7 8# setup target-specific variables; otherwise, this evaluates to a 9# device-specific path when we want the host-specific path. 10$(intermediates)/LLDBWrapPython.cpp $(intermediates)/lldb.py: \ 11 intermediates_abs := $(abspath .)/$(intermediates) 12 13$(intermediates)/LLDBWrapPython.cpp $(intermediates)/lldb.py: $(LLDB_ROOT_PATH)/scripts/Python/modify-python-lldb.py \ 14 $(LLDB_ROOT_PATH)/scripts/Python/edit-swig-python-wrapper-file.py \ 15 $(wildcard $(LLDB_ROOT_PATH)/scripts/Python/interface/*.i) 16 @echo "Generating LLDBWrapPython.cpp" 17 $(hide) mkdir -p $(intermediates) 18 $(hide) "$(LLDB_ROOT_PATH_ABS)/scripts/build-swig-wrapper-classes.sh" "$(LLDB_ROOT_PATH_ABS)" "$(intermediates_abs)" "$(intermediates_abs)" "$(intermediates_abs)" -m 19 $(hide) "$(LLDB_ROOT_PATH_ABS)/scripts/finish-swig-wrapper-classes.sh" "$(LLDB_ROOT_PATH_ABS)" "$(intermediates_abs)" "$(intermediates_abs)" "$(intermediates_abs)" -m 20