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_HOST_OS := darwin linux windows 23 24include $(LLVM_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29include $(CLEAR_VARS) 30ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 31 32LOCAL_SRC_FILES := $(mc_parser_SRC_FILES) 33 34LOCAL_MODULE:= libLLVMMCParser 35 36include $(LLVM_DEVICE_BUILD_MK) 37include $(BUILD_STATIC_LIBRARY) 38endif 39