blob: 5eea2db27df479d76fd794244af72e2ecbb708a0 [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 \
Shih-wei Liaoa95f5892010-09-11 01:42:09 -070010 CrashRecoveryContext.cpp \
11 DAGDeltaAlgorithm.cpp \
Shih-wei Liaoe4454322010-04-07 12:21:42 -070012 Debug.cpp \
13 DeltaAlgorithm.cpp \
14 Dwarf.cpp \
15 ErrorHandling.cpp \
16 FileUtilities.cpp \
17 FoldingSet.cpp \
18 FormattedStream.cpp \
19 GraphWriter.cpp \
20 IsInf.cpp \
21 IsNAN.cpp \
22 ManagedStatic.cpp \
23 MemoryBuffer.cpp \
24 MemoryObject.cpp \
25 PluginLoader.cpp \
26 PrettyStackTrace.cpp \
27 Regex.cpp \
Shih-wei Liaoe4454322010-04-07 12:21:42 -070028 SmallPtrSet.cpp \
29 SmallVector.cpp \
30 SourceMgr.cpp \
31 Statistic.cpp \
32 StringExtras.cpp \
33 StringMap.cpp \
34 StringPool.cpp \
35 StringRef.cpp \
36 SystemUtils.cpp \
37 TargetRegistry.cpp \
38 Timer.cpp \
39 Triple.cpp \
40 Twine.cpp \
41 circular_raw_ostream.cpp \
42 raw_os_ostream.cpp \
43 raw_ostream.cpp \
44 regcomp.c \
45 regerror.c \
46 regexec.c \
47 regfree.c \
48 regstrlcpy.c
49
50# For the host
51# =====================================================
52include $(CLEAR_VARS)
53
54# FIXME: This only requires RTTI because tblgen uses it. Fix that.
55REQUIRES_RTTI := 1
56
57LOCAL_SRC_FILES := $(support_SRC_FILES)
58
59LOCAL_MODULE:= libLLVMSupport
60
Logan42c32da2011-01-15 12:10:18 +080061LOCAL_MODULE_TAGS := optional
62
Shih-wei Liaoe4454322010-04-07 12:21:42 -070063include $(LLVM_HOST_BUILD_MK)
64include $(BUILD_HOST_STATIC_LIBRARY)
65
66# For the device
67# =====================================================
68include $(CLEAR_VARS)
69
70LOCAL_SRC_FILES := $(support_SRC_FILES)
71
72LOCAL_MODULE:= libLLVMSupport
73
Logan42c32da2011-01-15 12:10:18 +080074LOCAL_MODULE_TAGS := optional
75
Shih-wei Liaoe4454322010-04-07 12:21:42 -070076include $(LLVM_DEVICE_BUILD_MK)
77include $(BUILD_STATIC_LIBRARY)