xref: /minix3/external/bsd/llvm/lib/libLLVMSupport/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.30 2015/01/29 20:41:36 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMSupport
4f4a2713aSLionel Sambuc
5f4a2713aSLionel SambucNOGCCERROR=	yes
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.include <bsd.init.mk>
8f4a2713aSLionel Sambuc
9f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Support
10f4a2713aSLionel Sambuc
11f4a2713aSLionel SambucSRCS+=	APFloat.cpp \
12f4a2713aSLionel Sambuc	APInt.cpp \
13f4a2713aSLionel Sambuc	APSInt.cpp \
14*0a6a1f1dSLionel Sambuc	ARMBuildAttrs.cpp \
15*0a6a1f1dSLionel Sambuc	ARMWinEH.cpp \
16f4a2713aSLionel Sambuc	Allocator.cpp \
17f4a2713aSLionel Sambuc	BlockFrequency.cpp \
18f4a2713aSLionel Sambuc	BranchProbability.cpp \
19f4a2713aSLionel Sambuc	circular_raw_ostream.cpp \
20f4a2713aSLionel Sambuc	CommandLine.cpp \
21f4a2713aSLionel Sambuc	Compression.cpp \
22f4a2713aSLionel Sambuc	ConvertUTF.c \
23f4a2713aSLionel Sambuc	ConvertUTFWrapper.cpp \
24f4a2713aSLionel Sambuc	CrashRecoveryContext.cpp \
25f4a2713aSLionel Sambuc	DataExtractor.cpp \
26f4a2713aSLionel Sambuc	DataStream.cpp \
27f4a2713aSLionel Sambuc	Debug.cpp \
28f4a2713aSLionel Sambuc	DeltaAlgorithm.cpp \
29f4a2713aSLionel Sambuc	DAGDeltaAlgorithm.cpp \
30f4a2713aSLionel Sambuc	Dwarf.cpp \
31f4a2713aSLionel Sambuc	ErrorHandling.cpp \
32f4a2713aSLionel Sambuc	FileOutputBuffer.cpp \
33f4a2713aSLionel Sambuc	FileUtilities.cpp \
34f4a2713aSLionel Sambuc	FoldingSet.cpp \
35f4a2713aSLionel Sambuc	FormattedStream.cpp \
36f4a2713aSLionel Sambuc	GraphWriter.cpp \
37f4a2713aSLionel Sambuc	Hashing.cpp \
38f4a2713aSLionel Sambuc	IntEqClasses.cpp \
39f4a2713aSLionel Sambuc	IntervalMap.cpp \
40f4a2713aSLionel Sambuc	IntrusiveRefCntPtr.cpp \
41f4a2713aSLionel Sambuc	IsInf.cpp \
42f4a2713aSLionel Sambuc	IsNAN.cpp \
43*0a6a1f1dSLionel Sambuc	LEB128.cpp \
44*0a6a1f1dSLionel Sambuc	LineIterator.cpp \
45f4a2713aSLionel Sambuc	Locale.cpp \
46f4a2713aSLionel Sambuc	LockFileManager.cpp \
47f4a2713aSLionel Sambuc	MD5.cpp \
48f4a2713aSLionel Sambuc	ManagedStatic.cpp \
49*0a6a1f1dSLionel Sambuc	MathExtras.cpp \
50f4a2713aSLionel Sambuc	MemoryBuffer.cpp \
51f4a2713aSLionel Sambuc	MemoryObject.cpp \
52*0a6a1f1dSLionel Sambuc	Options.cpp \
53f4a2713aSLionel Sambuc	PluginLoader.cpp \
54f4a2713aSLionel Sambuc	PrettyStackTrace.cpp \
55f4a2713aSLionel Sambuc	Regex.cpp \
56f4a2713aSLionel Sambuc	SmallPtrSet.cpp \
57f4a2713aSLionel Sambuc	SmallVector.cpp \
58f4a2713aSLionel Sambuc	SourceMgr.cpp \
59*0a6a1f1dSLionel Sambuc	SpecialCaseList.cpp \
60f4a2713aSLionel Sambuc	Statistic.cpp \
61*0a6a1f1dSLionel Sambuc	StreamingMemoryObject.cpp \
62f4a2713aSLionel Sambuc	StringExtras.cpp \
63f4a2713aSLionel Sambuc	StringMap.cpp \
64f4a2713aSLionel Sambuc	StringPool.cpp \
65f4a2713aSLionel Sambuc	StringRef.cpp \
66f4a2713aSLionel Sambuc	SystemUtils.cpp \
67f4a2713aSLionel Sambuc	TargetRegistry.cpp \
68f4a2713aSLionel Sambuc	Timer.cpp \
69f4a2713aSLionel Sambuc	ToolOutputFile.cpp \
70f4a2713aSLionel Sambuc	Triple.cpp \
71f4a2713aSLionel Sambuc	Twine.cpp \
72f4a2713aSLionel Sambuc	Unicode.cpp \
73f4a2713aSLionel Sambuc	Watchdog.cpp \
74f4a2713aSLionel Sambuc	YAMLParser.cpp \
75f4a2713aSLionel Sambuc	YAMLTraits.cpp \
76f4a2713aSLionel Sambuc	raw_os_ostream.cpp \
77f4a2713aSLionel Sambuc	raw_ostream.cpp \
78f4a2713aSLionel Sambuc	regcomp.c \
79f4a2713aSLionel Sambuc	regerror.c \
80f4a2713aSLionel Sambuc	regexec.c \
81f4a2713aSLionel Sambuc	regfree.c \
82f4a2713aSLionel Sambuc	regstrlcpy.c
83f4a2713aSLionel Sambuc
84f4a2713aSLionel SambucSRCS+=	Atomic.cpp \
85f4a2713aSLionel Sambuc	DynamicLibrary.cpp \
86f4a2713aSLionel Sambuc	Errno.cpp \
87f4a2713aSLionel Sambuc	Host.cpp \
88f4a2713aSLionel Sambuc	Memory.cpp \
89f4a2713aSLionel Sambuc	Mutex.cpp \
90f4a2713aSLionel Sambuc	Path.cpp \
91f4a2713aSLionel Sambuc	Process.cpp \
92f4a2713aSLionel Sambuc	Program.cpp \
93f4a2713aSLionel Sambuc	RWMutex.cpp \
94*0a6a1f1dSLionel Sambuc	RandomNumberGenerator.cpp \
95*0a6a1f1dSLionel Sambuc	ScaledNumber.cpp \
96f4a2713aSLionel Sambuc	SearchForAddressOfSpecialSymbol.cpp \
97f4a2713aSLionel Sambuc	Signals.cpp \
98f4a2713aSLionel Sambuc	ThreadLocal.cpp \
99f4a2713aSLionel Sambuc	Threading.cpp \
100f4a2713aSLionel Sambuc	TimeValue.cpp \
101f4a2713aSLionel Sambuc	Valgrind.cpp
102f4a2713aSLionel Sambuc
103f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Support/Unix
104f4a2713aSLionel Sambuc
105f4a2713aSLionel SambucSRCS+=	Host.inc \
106f4a2713aSLionel Sambuc	Memory.inc \
107f4a2713aSLionel Sambuc	Mutex.inc \
108f4a2713aSLionel Sambuc	Path.inc \
109f4a2713aSLionel Sambuc	Process.inc \
110f4a2713aSLionel Sambuc	Program.inc \
111f4a2713aSLionel Sambuc	RWMutex.inc \
112f4a2713aSLionel Sambuc	Signals.inc \
113f4a2713aSLionel Sambuc	Watchdog.inc \
114f4a2713aSLionel Sambuc	ThreadLocal.inc \
115f4a2713aSLionel Sambuc	TimeValue.inc
116f4a2713aSLionel Sambuc
117f4a2713aSLionel Sambuc.for src in ${SRCS:M*.c}
118f4a2713aSLionel SambucCPPFLAGS.${src}+=	-std=gnu99
119f4a2713aSLionel Sambuc.endfor
120f4a2713aSLionel Sambuc
121f4a2713aSLionel Sambuc.if defined(HOSTLIB)
122f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
123f4a2713aSLionel Sambuc.else
124f4a2713aSLionel Sambuc.include <bsd.lib.mk>
125f4a2713aSLionel Sambuc.endif
126