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 MCELFObjectTargetWriter.cpp \ 18 MCELFStreamer.cpp \ 19 MCExpr.cpp \ 20 MCInst.cpp \ 21 MCInstPrinter.cpp \ 22 MCInstrAnalysis.cpp \ 23 MCInstrDesc.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 MCSchedule.cpp \ 34 MCSection.cpp \ 35 MCSectionCOFF.cpp \ 36 MCSectionELF.cpp \ 37 MCSectionMachO.cpp \ 38 MCStreamer.cpp \ 39 MCSubtargetInfo.cpp \ 40 MCSymbol.cpp \ 41 MCSymbolELF.cpp \ 42 MCSymbolizer.cpp \ 43 MCTargetOptions.cpp \ 44 MCValue.cpp \ 45 MCWin64EH.cpp \ 46 MCWinEH.cpp \ 47 MachObjectWriter.cpp \ 48 StringTableBuilder.cpp \ 49 SubtargetFeature.cpp \ 50 WinCOFFObjectWriter.cpp \ 51 WinCOFFStreamer.cpp \ 52 YAML.cpp 53 54# For the host 55# ===================================================== 56include $(CLEAR_VARS) 57 58LOCAL_SRC_FILES := $(mc_SRC_FILES) 59 60LOCAL_MODULE:= libLLVMMC 61 62LOCAL_MODULE_HOST_OS := darwin linux windows 63 64 65include $(LLVM_HOST_BUILD_MK) 66include $(BUILD_HOST_STATIC_LIBRARY) 67 68# For the device 69# ===================================================== 70include $(CLEAR_VARS) 71ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 72 73LOCAL_SRC_FILES := $(mc_SRC_FILES) 74 75LOCAL_MODULE:= libLLVMMC 76 77include $(LLVM_DEVICE_BUILD_MK) 78include $(BUILD_STATIC_LIBRARY) 79endif 80