| Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | support_SRC_FILES := \ |
| 4 | APFloat.cpp \ |
| 5 | APInt.cpp \ |
| 6 | APSInt.cpp \ |
| 7 | Allocator.cpp \ |
| 8 | CommandLine.cpp \ |
| 9 | ConstantRange.cpp \ |
| 10 | Debug.cpp \ |
| 11 | DeltaAlgorithm.cpp \ |
| 12 | Dwarf.cpp \ |
| 13 | ErrorHandling.cpp \ |
| 14 | FileUtilities.cpp \ |
| 15 | FoldingSet.cpp \ |
| 16 | FormattedStream.cpp \ |
| 17 | GraphWriter.cpp \ |
| 18 | IsInf.cpp \ |
| 19 | IsNAN.cpp \ |
| 20 | ManagedStatic.cpp \ |
| 21 | MemoryBuffer.cpp \ |
| 22 | MemoryObject.cpp \ |
| 23 | PluginLoader.cpp \ |
| 24 | PrettyStackTrace.cpp \ |
| 25 | Regex.cpp \ |
| 26 | SlowOperationInformer.cpp \ |
| 27 | SmallPtrSet.cpp \ |
| 28 | SmallVector.cpp \ |
| 29 | SourceMgr.cpp \ |
| 30 | Statistic.cpp \ |
| 31 | StringExtras.cpp \ |
| 32 | StringMap.cpp \ |
| 33 | StringPool.cpp \ |
| 34 | StringRef.cpp \ |
| 35 | SystemUtils.cpp \ |
| 36 | TargetRegistry.cpp \ |
| 37 | Timer.cpp \ |
| 38 | Triple.cpp \ |
| 39 | Twine.cpp \ |
| 40 | circular_raw_ostream.cpp \ |
| 41 | raw_os_ostream.cpp \ |
| 42 | raw_ostream.cpp \ |
| 43 | regcomp.c \ |
| 44 | regerror.c \ |
| 45 | regexec.c \ |
| 46 | regfree.c \ |
| 47 | regstrlcpy.c |
| 48 | |
| 49 | # For the host |
| 50 | # ===================================================== |
| 51 | include $(CLEAR_VARS) |
| 52 | |
| 53 | # FIXME: This only requires RTTI because tblgen uses it. Fix that. |
| 54 | REQUIRES_RTTI := 1 |
| 55 | |
| 56 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 57 | |
| 58 | LOCAL_MODULE:= libLLVMSupport |
| 59 | |
| 60 | include $(LLVM_HOST_BUILD_MK) |
| 61 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 62 | |
| 63 | # For the device |
| 64 | # ===================================================== |
| 65 | include $(CLEAR_VARS) |
| 66 | |
| 67 | LOCAL_SRC_FILES := $(support_SRC_FILES) |
| 68 | |
| 69 | LOCAL_MODULE:= libLLVMSupport |
| 70 | |
| 71 | include $(LLVM_DEVICE_BUILD_MK) |
| 72 | include $(BUILD_STATIC_LIBRARY) |