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