1LOCAL_PATH := $(call my-dir) 2 3# For the device only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8TBLGEN_TABLES := \ 9 X86GenAsmMatcher.inc \ 10 X86GenInstrInfo.inc \ 11 X86GenRegisterInfo.inc \ 12 X86GenSubtargetInfo.inc 13 14 15TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 16 17LOCAL_SRC_FILES := \ 18 X86AsmLexer.cpp \ 19 X86AsmParser.cpp 20 21LOCAL_C_INCLUDES += \ 22 $(LOCAL_PATH)/.. 23 24LOCAL_MODULE:= libLLVMX86AsmParser 25 26LOCAL_MODULE_TAGS := optional 27 28include $(LLVM_HOST_BUILD_MK) 29include $(LLVM_TBLGEN_RULES_MK) 30include $(BUILD_HOST_STATIC_LIBRARY) 31