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