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