| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame^] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | mc_SRC_FILES := \ |
| 4 | MCAsmInfo.cpp \ |
| 5 | MCAsmInfoCOFF.cpp \ |
| 6 | MCAsmInfoDarwin.cpp \ |
| 7 | MCAsmStreamer.cpp \ |
| 8 | MCAssembler.cpp \ |
| 9 | MCCodeEmitter.cpp \ |
| 10 | MCContext.cpp \ |
| 11 | MCDisassembler.cpp \ |
| 12 | MCExpr.cpp \ |
| 13 | MCInst.cpp \ |
| 14 | MCInstPrinter.cpp \ |
| 15 | MCMachOStreamer.cpp \ |
| 16 | MCNullStreamer.cpp \ |
| 17 | MCSection.cpp \ |
| 18 | MCSectionELF.cpp \ |
| 19 | MCSectionMachO.cpp \ |
| 20 | MCStreamer.cpp \ |
| 21 | MCSymbol.cpp \ |
| 22 | MCValue.cpp \ |
| 23 | TargetAsmBackend.cpp |
| 24 | |
| 25 | # For the host |
| 26 | # ===================================================== |
| 27 | include $(CLEAR_VARS) |
| 28 | |
| 29 | LOCAL_SRC_FILES := $(mc_SRC_FILES) |
| 30 | |
| 31 | LOCAL_MODULE:= libLLVMMC |
| 32 | |
| 33 | include $(LLVM_HOST_BUILD_MK) |
| 34 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 35 | |
| 36 | # For the device |
| 37 | # ===================================================== |
| 38 | include $(CLEAR_VARS) |
| 39 | |
| 40 | LOCAL_SRC_FILES := $(mc_SRC_FILES) |
| 41 | |
| 42 | LOCAL_MODULE:= libLLVMMC |
| 43 | |
| 44 | include $(LLVM_DEVICE_BUILD_MK) |
| 45 | include $(BUILD_STATIC_LIBRARY) |