1#	$NetBSD: Makefile,v 1.8 2012/01/11 23:24:48 joerg Exp $
2
3LIB=	LLVMSupport
4
5NOGCCERROR=	yes
6
7.include <bsd.init.mk>
8
9.PATH: ${LLVM_SRCDIR}/lib/Support
10
11SRCS+=	APFloat.cpp \
12	APInt.cpp \
13	APSInt.cpp \
14	Allocator.cpp \
15	BlockFrequency.cpp \
16	BranchProbability.cpp \
17	circular_raw_ostream.cpp \
18	CommandLine.cpp \
19	ConstantRange.cpp \
20	CrashRecoveryContext.cpp \
21	DataExtractor.cpp \
22	Debug.cpp \
23	DeltaAlgorithm.cpp \
24	DAGDeltaAlgorithm.cpp \
25	Dwarf.cpp \
26	ErrorHandling.cpp \
27	FileUtilities.cpp \
28	FoldingSet.cpp \
29	FormattedStream.cpp \
30	GraphWriter.cpp \
31	IntEqClasses.cpp \
32	IntervalMap.cpp \
33	IntrusiveRefCntPtr.cpp \
34	IsInf.cpp \
35	IsNAN.cpp \
36	JSONParser.cpp \
37	ManagedStatic.cpp \
38	MemoryBuffer.cpp \
39	MemoryObject.cpp \
40	PluginLoader.cpp \
41	PrettyStackTrace.cpp \
42	Regex.cpp \
43	SmallPtrSet.cpp \
44	SmallVector.cpp \
45	SourceMgr.cpp \
46	Statistic.cpp \
47	StringExtras.cpp \
48	StringMap.cpp \
49	StringPool.cpp \
50	StringRef.cpp \
51	SystemUtils.cpp \
52	TargetRegistry.cpp \
53	Timer.cpp \
54	ToolOutputFile.cpp \
55	Triple.cpp \
56	Twine.cpp \
57	raw_os_ostream.cpp \
58	raw_ostream.cpp \
59	regcomp.c \
60	regerror.c \
61	regexec.c \
62	regfree.c \
63	regstrlcpy.c
64
65SRCS+=	Atomic.cpp \
66	Disassembler.cpp \
67	DynamicLibrary.cpp \
68	Errno.cpp \
69	Host.cpp \
70	IncludeFile.cpp \
71	Memory.cpp \
72	Mutex.cpp \
73	Path.cpp \
74	PathV2.cpp \
75	Process.cpp \
76	Program.cpp \
77	RWMutex.cpp \
78	SearchForAddressOfSpecialSymbol.cpp \
79	Signals.cpp \
80	system_error.cpp \
81	ThreadLocal.cpp \
82	Threading.cpp \
83	TimeValue.cpp \
84	Valgrind.cpp
85
86.PATH: ${LLVM_SRCDIR}/lib/Support/Unix
87
88SRCS+=	Host.inc \
89	Memory.inc \
90	Mutex.inc \
91	Path.inc \
92	PathV2.inc \
93	Process.inc \
94	Program.inc \
95	RWMutex.inc \
96	Signals.inc \
97	system_error.inc \
98	ThreadLocal.inc \
99	TimeValue.inc
100
101.if defined(HOSTLIB)
102.include <bsd.hostlib.mk>
103.else
104.include <bsd.lib.mk>
105.endif
106