1LOCAL_PATH:= $(call my-dir) 2 3mc_SRC_FILES := \ 4 ELFObjectWriter.cpp \ 5 MachObjectWriter.cpp \ 6 MCAsmBackend.cpp \ 7 MCAsmInfo.cpp \ 8 MCAsmInfoCOFF.cpp \ 9 MCAsmInfoDarwin.cpp \ 10 MCAsmStreamer.cpp \ 11 MCAssembler.cpp \ 12 MCCodeEmitter.cpp \ 13 MCCodeGenInfo.cpp \ 14 MCContext.cpp \ 15 MCDisassembler.cpp \ 16 MCDwarf.cpp \ 17 MCELF.cpp \ 18 MCELFObjectTargetWriter.cpp \ 19 MCELFStreamer.cpp \ 20 MCExpr.cpp \ 21 MCInst.cpp \ 22 MCInstPrinter.cpp \ 23 MCInstrAnalysis.cpp \ 24 MCLabel.cpp \ 25 MCMachObjectTargetWriter.cpp \ 26 MCMachOStreamer.cpp \ 27 MCNullStreamer.cpp \ 28 MCObjectFileInfo.cpp \ 29 MCObjectStreamer.cpp \ 30 MCObjectWriter.cpp \ 31 MCSection.cpp \ 32 MCSectionCOFF.cpp \ 33 MCSectionELF.cpp \ 34 MCSectionMachO.cpp \ 35 MCStreamer.cpp \ 36 MCSubtargetInfo.cpp \ 37 MCSymbol.cpp \ 38 MCTargetAsmLexer.cpp \ 39 MCValue.cpp \ 40 MCWin64EH.cpp \ 41 WinCOFFObjectWriter.cpp \ 42 WinCOFFStreamer.cpp \ 43 SubtargetFeature.cpp 44 45# For the host 46# ===================================================== 47include $(CLEAR_VARS) 48 49LOCAL_SRC_FILES := $(mc_SRC_FILES) 50 51LOCAL_MODULE:= libLLVMMC 52 53LOCAL_MODULE_TAGS := optional 54 55 56include $(LLVM_HOST_BUILD_MK) 57include $(BUILD_HOST_STATIC_LIBRARY) 58 59# For the device 60# ===================================================== 61include $(CLEAR_VARS) 62 63LOCAL_SRC_FILES := $(mc_SRC_FILES) 64 65LOCAL_MODULE:= libLLVMMC 66 67LOCAL_MODULE_TAGS := optional 68 69include $(LLVM_DEVICE_BUILD_MK) 70include $(BUILD_STATIC_LIBRARY) 71