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