1LOCAL_PATH:= $(call my-dir) 2 3mc_parser_SRC_FILES := \ 4 AsmLexer.cpp \ 5 AsmParser.cpp \ 6 COFFAsmParser.cpp \ 7 DarwinAsmParser.cpp \ 8 ELFAsmParser.cpp \ 9 MCAsmLexer.cpp \ 10 MCAsmParser.cpp \ 11 MCAsmParserExtension.cpp \ 12 MCTargetAsmParser.cpp 13 14# For the host 15# ===================================================== 16include $(CLEAR_VARS) 17 18LOCAL_SRC_FILES := $(mc_parser_SRC_FILES) 19 20LOCAL_MODULE:= libLLVMMCParser 21 22LOCAL_MODULE_TAGS := optional 23 24include $(LLVM_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := $(mc_parser_SRC_FILES) 32 33LOCAL_MODULE:= libLLVMMCParser 34 35LOCAL_MODULE_TAGS := optional 36 37include $(LLVM_DEVICE_BUILD_MK) 38include $(BUILD_STATIC_LIBRARY) 39