1 LOCAL_PATH:= $(call my-dir) 2 3 mc_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 MCExternalSymbolizer.cpp \ 22 MCInst.cpp \ 23 MCInstPrinter.cpp \ 24 MCInstrAnalysis.cpp \ 25 MCLabel.cpp \ 26 MCMachObjectTargetWriter.cpp \ 27 MCMachOStreamer.cpp \ 28 MCNullStreamer.cpp \ 29 MCObjectFileInfo.cpp \ 30 MCObjectStreamer.cpp \ 31 MCObjectWriter.cpp \ 32 MCRegisterInfo.cpp \ 33 MCRelocationInfo.cpp \ 34 MCSection.cpp \ 35 MCSectionCOFF.cpp \ 36 MCSectionELF.cpp \ 37 MCSectionMachO.cpp \ 38 MCStreamer.cpp \ 39 MCSubtargetInfo.cpp \ 40 MCSymbol.cpp \ 41 MCSymbolizer.cpp \ 42 MCValue.cpp \ 43 MCWin64EH.cpp \ 44 WinCOFFObjectWriter.cpp \ 45 WinCOFFStreamer.cpp \ 46 SubtargetFeature.cpp 47 48 # For the host 49 # ===================================================== 50 include $(CLEAR_VARS) 51 52 LOCAL_SRC_FILES := $(mc_SRC_FILES) 53 54 LOCAL_MODULE:= libLLVMMC 55 56 LOCAL_MODULE_TAGS := optional 57 58 59 include $(LLVM_HOST_BUILD_MK) 60 include $(BUILD_HOST_STATIC_LIBRARY) 61 62 # For the device 63 # ===================================================== 64 include $(CLEAR_VARS) 65 66 LOCAL_SRC_FILES := $(mc_SRC_FILES) 67 68 LOCAL_MODULE:= libLLVMMC 69 70 LOCAL_MODULE_TAGS := optional 71 72 include $(LLVM_DEVICE_BUILD_MK) 73 include $(BUILD_STATIC_LIBRARY) 74