xref: /openbsd-src/gnu/usr.bin/clang/libLLVMSupport/Makefile.shared (revision 1a8dbaac879b9f3335ad7fb25429ce63ac1d6bac)
1# $OpenBSD: Makefile.shared,v 1.3 2020/08/03 14:45:27 patrick Exp $
2
3LIB=	LLVMSupport
4
5NOPROFILE=
6
7CPPFLAGS+=	-I${LLVM_SRCS}/include/llvm/Support
8
9
10SRCS+=	AArch64TargetParser.cpp \
11	ABIBreak.cpp \
12	AMDGPUMetadata.cpp \
13	APFloat.cpp \
14	APInt.cpp \
15	APSInt.cpp \
16	ARMAttributeParser.cpp \
17	ARMBuildAttrs.cpp \
18	ARMTargetParser.cpp \
19	ARMWinEH.cpp \
20	Allocator.cpp \
21	BinaryStreamError.cpp \
22	BinaryStreamReader.cpp \
23	BinaryStreamRef.cpp \
24	BinaryStreamWriter.cpp \
25	BlockFrequency.cpp \
26	BranchProbability.cpp \
27	BuryPointer.cpp \
28	circular_raw_ostream.cpp \
29	COM.cpp \
30	CRC.cpp \
31	CachePruning.cpp \
32	Chrono.cpp \
33	CodeGenCoverage.cpp \
34	CommandLine.cpp \
35	Compression.cpp \
36	ConvertUTF.cpp \
37	ConvertUTFWrapper.cpp \
38	CrashRecoveryContext.cpp \
39	DAGDeltaAlgorithm.cpp \
40	DJB.cpp \
41	DataExtractor.cpp \
42	Debug.cpp \
43	DebugCounter.cpp \
44	DeltaAlgorithm.cpp \
45	SupportError.cpp \
46	ErrorHandling.cpp \
47	FileCheck.cpp \
48	FileCollector.cpp \
49	FileUtilities.cpp \
50	FileOutputBuffer.cpp \
51	FoldingSet.cpp \
52	FormatVariadic.cpp \
53	FormattedStream.cpp \
54	GlobPattern.cpp \
55	GraphWriter.cpp \
56	Hashing.cpp \
57	InitLLVM.cpp \
58	IntEqClasses.cpp \
59	IntervalMap.cpp \
60	ItaniumManglingCanonicalizer.cpp \
61	JSON.cpp \
62	KnownBits.cpp \
63	LEB128.cpp \
64	LineIterator.cpp \
65	Locale.cpp \
66	LockFileManager.cpp \
67	SupportLowLevelType.cpp \
68	ManagedStatic.cpp \
69	MathExtras.cpp \
70	MemoryBuffer.cpp \
71	MD5.cpp \
72	NativeFormatting.cpp \
73	Optional.cpp \
74	Parallel.cpp \
75	PluginLoader.cpp \
76	PrettyStackTrace.cpp \
77	RandomNumberGenerator.cpp \
78	Regex.cpp \
79	ScaledNumber.cpp \
80	ScopedPrinter.cpp \
81	SHA1.cpp \
82	Signposts.cpp \
83	SmallPtrSet.cpp \
84	SmallVector.cpp \
85	SourceMgr.cpp \
86	SpecialCaseList.cpp \
87	Statistic.cpp \
88	StringExtras.cpp \
89	StringMap.cpp \
90	StringPool.cpp \
91	StringSaver.cpp \
92	StringRef.cpp \
93	SymbolRemappingReader.cpp \
94	SystemUtils.cpp \
95	TarWriter.cpp \
96	TargetParser.cpp \
97	ThreadPool.cpp \
98	TimeProfiler.cpp \
99	Timer.cpp \
100	ToolOutputFile.cpp \
101	TrigramIndex.cpp \
102	Triple.cpp \
103	Twine.cpp \
104	Unicode.cpp \
105	YAMLParser.cpp \
106	YAMLTraits.cpp \
107	raw_os_ostream.cpp \
108	raw_ostream.cpp \
109	regcomp.c \
110	regerror.c \
111	regexec.c \
112	regfree.c \
113	regstrlcpy.c \
114	Atomic.cpp \
115	DynamicLibrary.cpp \
116	Errno.cpp \
117	Host.cpp \
118	Memory.cpp \
119	Path.cpp \
120	Process.cpp \
121	Program.cpp \
122	RWMutex.cpp \
123	Signals.cpp \
124	TargetRegistry.cpp \
125	ThreadLocal.cpp \
126	Threading.cpp \
127	UnicodeCaseFold.cpp \
128	Valgrind.cpp \
129	VersionTuple.cpp \
130	VirtualFileSystem.cpp \
131	Watchdog.cpp \
132	WithColor.cpp \
133	Z3Solver.cpp \
134	xxhash.cpp
135
136SupportError.cpp:
137	ln -s ${LLVM_SRCS}/lib/Support/Error.cpp $@
138
139SupportLowLevelType.cpp:
140	ln -s ${LLVM_SRCS}/lib/Support/LowLevelType.cpp $@
141
142.PATH:	${.CURDIR}/../../../llvm/llvm/lib/Support
143
144CLEANFILES+= SupportError.cpp SupportLowLevelType.cpp
145