tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / llvm / lib / libLLVMSupport / Makefile
blob5e323b4373b5b1be8ad48af47ae5a574713ebc0c
1 # $NetBSD: Makefile,v 1.22 2013/09/21 22:28:12 joerg Exp $
3 LIB= LLVMSupport
5 NOGCCERROR= yes
7 .include <bsd.init.mk>
9 .PATH: ${LLVM_SRCDIR}/lib/Support
11 SRCS+= 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 Compression.cpp \
20 ConstantRange.cpp \
21 ConvertUTF.c \
22 ConvertUTFWrapper.cpp \
23 CrashRecoveryContext.cpp \
24 DataExtractor.cpp \
25 DataStream.cpp \
26 Debug.cpp \
27 DeltaAlgorithm.cpp \
28 DAGDeltaAlgorithm.cpp \
29 Dwarf.cpp \
30 ErrorHandling.cpp \
31 FileOutputBuffer.cpp \
32 FileUtilities.cpp \
33 FoldingSet.cpp \
34 FormattedStream.cpp \
35 GraphWriter.cpp \
36 Hashing.cpp \
37 IntEqClasses.cpp \
38 IntervalMap.cpp \
39 IntrusiveRefCntPtr.cpp \
40 IsInf.cpp \
41 IsNAN.cpp \
42 Locale.cpp \
43 LockFileManager.cpp \
44 MD5.cpp \
45 ManagedStatic.cpp \
46 MemoryBuffer.cpp \
47 MemoryObject.cpp \
48 PluginLoader.cpp \
49 PrettyStackTrace.cpp \
50 Regex.cpp \
51 SmallPtrSet.cpp \
52 SmallVector.cpp \
53 SourceMgr.cpp \
54 Statistic.cpp \
55 StreamableMemoryObject.cpp \
56 StringExtras.cpp \
57 StringMap.cpp \
58 StringPool.cpp \
59 StringRef.cpp \
60 StringRefMemoryObject.cpp \
61 SystemUtils.cpp \
62 TargetRegistry.cpp \
63 Timer.cpp \
64 ToolOutputFile.cpp \
65 Triple.cpp \
66 Twine.cpp \
67 Unicode.cpp \
68 Watchdog.cpp \
69 YAMLParser.cpp \
70 YAMLTraits.cpp \
71 raw_os_ostream.cpp \
72 raw_ostream.cpp \
73 regcomp.c \
74 regerror.c \
75 regexec.c \
76 regfree.c \
77 regstrlcpy.c
79 SRCS+= Atomic.cpp \
80 Disassembler.cpp \
81 DynamicLibrary.cpp \
82 Errno.cpp \
83 Host.cpp \
84 IncludeFile.cpp \
85 Memory.cpp \
86 Mutex.cpp \
87 Path.cpp \
88 Process.cpp \
89 Program.cpp \
90 RWMutex.cpp \
91 SearchForAddressOfSpecialSymbol.cpp \
92 Signals.cpp \
93 system_error.cpp \
94 ThreadLocal.cpp \
95 Threading.cpp \
96 TimeValue.cpp \
97 Valgrind.cpp
99 .PATH: ${LLVM_SRCDIR}/lib/Support/Unix
101 SRCS+= Host.inc \
102 Memory.inc \
103 Mutex.inc \
104 Path.inc \
105 Process.inc \
106 Program.inc \
107 RWMutex.inc \
108 Signals.inc \
109 Watchdog.inc \
110 system_error.inc \
111 ThreadLocal.inc \
112 TimeValue.inc
114 .for src in ${SRCS:M*.c}
115 CPPFLAGS.${src}+= -std=gnu99
116 .endfor
118 .if defined(HOSTLIB)
119 .include <bsd.hostlib.mk>
120 .else
121 .include <bsd.lib.mk>
122 .endif