blob: e97275381c39956e5c3926f7f228c76f3191229f [file] [log] [blame]
Shih-wei Liaoe4454322010-04-07 12:21:42 -07001LOCAL_PATH:= $(call my-dir)
2
3support_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# =====================================================
51include $(CLEAR_VARS)
52
53# FIXME: This only requires RTTI because tblgen uses it. Fix that.
54REQUIRES_RTTI := 1
55
56LOCAL_SRC_FILES := $(support_SRC_FILES)
57
58LOCAL_MODULE:= libLLVMSupport
59
60include $(LLVM_HOST_BUILD_MK)
61include $(BUILD_HOST_STATIC_LIBRARY)
62
63# For the device
64# =====================================================
65include $(CLEAR_VARS)
66
67LOCAL_SRC_FILES := $(support_SRC_FILES)
68
69LOCAL_MODULE:= libLLVMSupport
70
71include $(LLVM_DEVICE_BUILD_MK)
72include $(BUILD_STATIC_LIBRARY)