]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/clang/libllvmsupport/Makefile
MFV r282150
[FreeBSD/FreeBSD.git] / lib / clang / libllvmsupport / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 LIB=    llvmsupport
6
7 SRCDIR= lib/Support
8 SRCS=   APFloat.cpp \
9         APInt.cpp \
10         APSInt.cpp \
11         ARMBuildAttrs.cpp \
12         ARMWinEH.cpp \
13         Allocator.cpp \
14         Atomic.cpp \
15         BlockFrequency.cpp \
16         BranchProbability.cpp \
17         CommandLine.cpp \
18         Compression.cpp \
19         ConvertUTF.c \
20         ConvertUTFWrapper.cpp \
21         CrashRecoveryContext.cpp \
22         DAGDeltaAlgorithm.cpp \
23         DataExtractor.cpp \
24         Debug.cpp \
25         DeltaAlgorithm.cpp \
26         Dwarf.cpp \
27         DynamicLibrary.cpp \
28         Errno.cpp \
29         ErrorHandling.cpp \
30         FileOutputBuffer.cpp \
31         FoldingSet.cpp \
32         FormattedStream.cpp \
33         GraphWriter.cpp \
34         Hashing.cpp \
35         Host.cpp \
36         IntEqClasses.cpp \
37         IntervalMap.cpp \
38         IntrusiveRefCntPtr.cpp \
39         IsInf.cpp \
40         IsNAN.cpp \
41         LEB128.cpp \
42         LineIterator.cpp \
43         Locale.cpp \
44         LockFileManager.cpp \
45         MD5.cpp \
46         ManagedStatic.cpp \
47         MathExtras.cpp \
48         Memory.cpp \
49         MemoryBuffer.cpp \
50         MemoryObject.cpp \
51         Mutex.cpp \
52         Options.cpp \
53         Path.cpp \
54         PluginLoader.cpp \
55         PrettyStackTrace.cpp \
56         Process.cpp \
57         Program.cpp \
58         RWMutex.cpp \
59         RandomNumberGenerator.cpp \
60         Regex.cpp \
61         ScaledNumber.cpp \
62         SearchForAddressOfSpecialSymbol.cpp \
63         Signals.cpp \
64         SmallPtrSet.cpp \
65         SmallVector.cpp \
66         SourceMgr.cpp \
67         SpecialCaseList.cpp \
68         Statistic.cpp \
69         StreamingMemoryObject.cpp \
70         StringExtras.cpp \
71         StringMap.cpp \
72         StringPool.cpp \
73         StringRef.cpp \
74         TargetRegistry.cpp \
75         ThreadLocal.cpp \
76         Threading.cpp \
77         TimeValue.cpp \
78         Timer.cpp \
79         ToolOutputFile.cpp \
80         Triple.cpp \
81         Twine.cpp \
82         Unicode.cpp \
83         Valgrind.cpp \
84         Watchdog.cpp \
85         YAMLParser.cpp \
86         YAMLTraits.cpp \
87         circular_raw_ostream.cpp \
88         raw_os_ostream.cpp \
89         raw_ostream.cpp \
90         regcomp.c \
91         regerror.c \
92         regexec.c \
93         regfree.c \
94         regstrlcpy.c
95
96 .if ${MK_CLANG_EXTRAS} != "no"
97 SRCS+=  DataStream.cpp \
98         FileUtilities.cpp \
99         SystemUtils.cpp
100 .endif
101
102 .include "../clang.lib.mk"
103
104 # Ugly hack to work around CLOCK_PROCESS_CPUTIME_ID not being properly defined
105 # between r239347 and r245428.
106 CXXFLAGS.Process.cpp=   -DCLOCK_PROCESS_CPUTIME_ID=15
107 CXXFLAGS+=              ${CXXFLAGS.${.IMPSRC:T}}