1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4include $(CLEAR_TBLGEN_VARS) 5 6TBLGEN_TABLES := \ 7 DiagnosticCommonKinds.inc \ 8 DeclNodes.inc \ 9 StmtNodes.inc 10 11lldb_PluginProcessPOSIX_SRC_FILES := \ 12 POSIXStopInfo.cpp \ 13 POSIXThread.cpp \ 14 ProcessMessage.cpp \ 15 ProcessPOSIX.cpp \ 16 ProcessPOSIXLog.cpp \ 17 RegisterContextFreeBSD_x86_64.cpp \ 18 RegisterContext_i386.cpp \ 19 RegisterContextLinux_x86_64.cpp \ 20 RegisterContext_x86_64.cpp 21 22LOCAL_SRC_FILES := $(lldb_PluginProcessPOSIX_SRC_FILES) 23 24LOCAL_MODULE:= liblldbPluginProcessPOSIX 25LOCAL_MODULE_TAGS := optional 26 27include $(LLDB_BUILD_MK) 28include $(CLANG_VERSION_INC_MK) 29include $(CLANG_TBLGEN_RULES_MK) 30 31# ===== 32# tweak local include paths not present in $(LLDB_BUILD_MK) 33# ===== 34LOCAL_C_INCLUDES += $(LLDB_ROOT_PATH)/source/Plugins/Utility 35 36ifeq ($(HOST_OS),linux) 37LOCAL_C_INCLUDES += $(LLDB_ROOT_PATH)/source/Plugins/Process/Linux 38LOCAL_CFLAGS += -Wno-extended-offsetof 39endif 40 41ifneq (,$(filter $(HOST_OS), freebsd)) 42LOCAL_C_INCLUDES += $(LLDB_ROOT_PATH)/source/Plugins/Process/FreeBSD 43endif 44# ===== 45 46include $(BUILD_HOST_STATIC_LIBRARY) 47