1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4include $(CLEAR_TBLGEN_VARS)
5
6TBLGEN_TABLES := \
7  CommentCommandList.inc \
8  DiagnosticCommonKinds.inc \
9  DeclNodes.inc \
10  StmtNodes.inc
11
12LOCAL_SRC_FILES := \
13  Args.cpp \
14  CommandHistory.cpp \
15  CommandInterpreter.cpp \
16  CommandObject.cpp \
17  CommandObjectRegexCommand.cpp \
18  CommandObjectScript.cpp \
19  CommandReturnObject.cpp \
20  OptionGroupArchitecture.cpp \
21  OptionGroupBoolean.cpp \
22  OptionGroupFile.cpp \
23  OptionGroupFormat.cpp \
24  OptionGroupOutputFile.cpp \
25  OptionGroupPlatform.cpp \
26  OptionGroupString.cpp \
27  OptionGroupUInt64.cpp \
28  OptionGroupUUID.cpp \
29  OptionGroupValueObjectDisplay.cpp \
30  OptionGroupVariable.cpp \
31  OptionGroupWatchpoint.cpp \
32  Options.cpp \
33  OptionValueArch.cpp \
34  OptionValueArgs.cpp \
35  OptionValueArray.cpp \
36  OptionValueBoolean.cpp \
37  OptionValue.cpp \
38  OptionValueDictionary.cpp \
39  OptionValueEnumeration.cpp \
40  OptionValueFileSpec.cpp \
41  OptionValueFileSpecLIst.cpp \
42  OptionValueFormat.cpp \
43  OptionValuePathMappings.cpp \
44  OptionValueProperties.cpp \
45  OptionValueRegex.cpp \
46  OptionValueSInt64.cpp \
47  OptionValueString.cpp \
48  OptionValueUInt64.cpp \
49  OptionValueUUID.cpp \
50  Property.cpp \
51  PythonDataObjects.cpp \
52  ScriptInterpreter.cpp \
53  ScriptInterpreterNone.cpp \
54  ScriptInterpreterPython.cpp
55
56LOCAL_MODULE := liblldbInterpreter
57LOCAL_MODULE_TAGS := optional
58
59include $(LLDB_BUILD_MK)
60include $(CLANG_VERSION_INC_MK)
61include $(CLANG_TBLGEN_RULES_MK)
62
63WRAP_PYTHON_MK := $(LOCAL_PATH)/wrap_python.mk
64include $(WRAP_PYTHON_MK)
65
66# SWIG binding generates a bunch of these, so squelch
67# them.
68LOCAL_CPPFLAGS := \
69	-Wno-cast-qual \
70	-Wno-format \
71	-Wno-unused-but-set-variable \
72	$(LOCAL_CPPFLAGS)
73
74include $(BUILD_HOST_STATIC_LIBRARY)
75