1LOCAL_PATH:= $(call my-dir) 2 3mc_SRC_FILES := \ 4 ConstantPools.cpp \ 5 ELFObjectWriter.cpp \ 6 MCAsmBackend.cpp \ 7 MCAsmInfo.cpp \ 8 MCAsmInfoCOFF.cpp \ 9 MCAsmInfoDarwin.cpp \ 10 MCAsmInfoELF.cpp \ 11 MCAsmStreamer.cpp \ 12 MCAssembler.cpp \ 13 MCCodeEmitter.cpp \ 14 MCCodeGenInfo.cpp \ 15 MCContext.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 MCLinkerOptimizationHint.cpp \ 26 MCMachOStreamer.cpp \ 27 MCMachObjectTargetWriter.cpp \ 28 MCNullStreamer.cpp \ 29 MCObjectFileInfo.cpp \ 30 MCObjectStreamer.cpp \ 31 MCObjectWriter.cpp \ 32 MCRegisterInfo.cpp \ 33 MCSection.cpp \ 34 MCSectionCOFF.cpp \ 35 MCSectionELF.cpp \ 36 MCSectionMachO.cpp \ 37 MCStreamer.cpp \ 38 MCSubtargetInfo.cpp \ 39 MCSymbol.cpp \ 40 MCSymbolizer.cpp \ 41 MCTargetOptions.cpp \ 42 MCValue.cpp \ 43 MCWin64EH.cpp \ 44 MCWinEH.cpp \ 45 MachObjectWriter.cpp \ 46 StringTableBuilder.cpp \ 47 SubtargetFeature.cpp \ 48 WinCOFFObjectWriter.cpp \ 49 WinCOFFStreamer.cpp \ 50 YAML.cpp 51 52# For the host 53# ===================================================== 54include $(CLEAR_VARS) 55 56LOCAL_SRC_FILES := $(mc_SRC_FILES) 57 58LOCAL_MODULE:= libLLVMMC 59 60LOCAL_MODULE_TAGS := optional 61 62 63include $(LLVM_HOST_BUILD_MK) 64include $(BUILD_HOST_STATIC_LIBRARY) 65 66# For the device 67# ===================================================== 68include $(CLEAR_VARS) 69ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 70 71LOCAL_SRC_FILES := $(mc_SRC_FILES) 72 73LOCAL_MODULE:= libLLVMMC 74 75LOCAL_MODULE_TAGS := optional 76 77include $(LLVM_DEVICE_BUILD_MK) 78include $(BUILD_STATIC_LIBRARY) 79endif 80