Makefile revision 263508
1# $FreeBSD: stable/10/lib/clang/libllvmsupport/Makefile 263508 2014-03-21 17:53:59Z dim $ 2 3.include <bsd.own.mk> 4 5LIB= llvmsupport 6 7SRCDIR= lib/Support 8SRCS= 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 DataExtractor.cpp \ 22 Debug.cpp \ 23 DeltaAlgorithm.cpp \ 24 Dwarf.cpp \ 25 DynamicLibrary.cpp \ 26 Errno.cpp \ 27 ErrorHandling.cpp \ 28 FileOutputBuffer.cpp \ 29 FoldingSet.cpp \ 30 FormattedStream.cpp \ 31 GraphWriter.cpp \ 32 Hashing.cpp \ 33 Host.cpp \ 34 IncludeFile.cpp \ 35 IntEqClasses.cpp \ 36 IntervalMap.cpp \ 37 IntrusiveRefCntPtr.cpp \ 38 IsInf.cpp \ 39 IsNAN.cpp \ 40 Locale.cpp \ 41 LockFileManager.cpp \ 42 MD5.cpp \ 43 ManagedStatic.cpp \ 44 Memory.cpp \ 45 MemoryBuffer.cpp \ 46 MemoryObject.cpp \ 47 Mutex.cpp \ 48 Path.cpp \ 49 PluginLoader.cpp \ 50 PrettyStackTrace.cpp \ 51 Process.cpp \ 52 Program.cpp \ 53 RWMutex.cpp \ 54 Regex.cpp \ 55 SearchForAddressOfSpecialSymbol.cpp \ 56 Signals.cpp \ 57 SmallPtrSet.cpp \ 58 SmallVector.cpp \ 59 SourceMgr.cpp \ 60 Statistic.cpp \ 61 StreamableMemoryObject.cpp \ 62 StringExtras.cpp \ 63 StringMap.cpp \ 64 StringPool.cpp \ 65 StringRef.cpp \ 66 StringRefMemoryObject.cpp \ 67 TargetRegistry.cpp \ 68 ThreadLocal.cpp \ 69 Threading.cpp \ 70 TimeValue.cpp \ 71 Timer.cpp \ 72 ToolOutputFile.cpp \ 73 Triple.cpp \ 74 Twine.cpp \ 75 Unicode.cpp \ 76 Valgrind.cpp \ 77 Watchdog.cpp \ 78 YAMLParser.cpp \ 79 YAMLTraits.cpp \ 80 circular_raw_ostream.cpp \ 81 raw_os_ostream.cpp \ 82 raw_ostream.cpp \ 83 regcomp.c \ 84 regerror.c \ 85 regexec.c \ 86 regfree.c \ 87 regstrlcpy.c \ 88 system_error.cpp 89 90.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" 91SRCS+= Disassembler.cpp 92.endif 93 94.if ${MK_CLANG_EXTRAS} != "no" 95SRCS+= Compression.cpp \ 96 DataStream.cpp \ 97 FileUtilities.cpp \ 98 SystemUtils.cpp 99.endif 100 101.include "../clang.lib.mk" 102 103# Ugly hack to work around CLOCK_PROCESS_CPUTIME_ID not being properly defined 104# between r239347 and r245428. 105CXXFLAGS.Process.cpp= -DCLOCK_PROCESS_CPUTIME_ID=15 106CXXFLAGS+= ${CXXFLAGS.${.IMPSRC:T}} 107