1 LOCAL_PATH:= $(call my-dir) 2 3 mc_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 # ===================================================== 16 include $(CLEAR_VARS) 17 18 LOCAL_SRC_FILES := $(mc_parser_SRC_FILES) 19 20 LOCAL_MODULE:= libLLVMMCParser 21 22 LOCAL_MODULE_TAGS := optional 23 24 include $(LLVM_HOST_BUILD_MK) 25 include $(BUILD_HOST_STATIC_LIBRARY) 26 27 # For the device 28 # ===================================================== 29 include $(CLEAR_VARS) 30 31 LOCAL_SRC_FILES := $(mc_parser_SRC_FILES) 32 33 LOCAL_MODULE:= libLLVMMCParser 34 35 LOCAL_MODULE_TAGS := optional 36 37 include $(LLVM_DEVICE_BUILD_MK) 38 include $(BUILD_STATIC_LIBRARY) 39