
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
126 lines
2.1 KiB
Makefile
126 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2015/01/29 20:41:36 joerg Exp $
|
|
|
|
LIB= LLVMSupport
|
|
|
|
NOGCCERROR= yes
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${LLVM_SRCDIR}/lib/Support
|
|
|
|
SRCS+= APFloat.cpp \
|
|
APInt.cpp \
|
|
APSInt.cpp \
|
|
ARMBuildAttrs.cpp \
|
|
ARMWinEH.cpp \
|
|
Allocator.cpp \
|
|
BlockFrequency.cpp \
|
|
BranchProbability.cpp \
|
|
circular_raw_ostream.cpp \
|
|
CommandLine.cpp \
|
|
Compression.cpp \
|
|
ConvertUTF.c \
|
|
ConvertUTFWrapper.cpp \
|
|
CrashRecoveryContext.cpp \
|
|
DataExtractor.cpp \
|
|
DataStream.cpp \
|
|
Debug.cpp \
|
|
DeltaAlgorithm.cpp \
|
|
DAGDeltaAlgorithm.cpp \
|
|
Dwarf.cpp \
|
|
ErrorHandling.cpp \
|
|
FileOutputBuffer.cpp \
|
|
FileUtilities.cpp \
|
|
FoldingSet.cpp \
|
|
FormattedStream.cpp \
|
|
GraphWriter.cpp \
|
|
Hashing.cpp \
|
|
IntEqClasses.cpp \
|
|
IntervalMap.cpp \
|
|
IntrusiveRefCntPtr.cpp \
|
|
IsInf.cpp \
|
|
IsNAN.cpp \
|
|
LEB128.cpp \
|
|
LineIterator.cpp \
|
|
Locale.cpp \
|
|
LockFileManager.cpp \
|
|
MD5.cpp \
|
|
ManagedStatic.cpp \
|
|
MathExtras.cpp \
|
|
MemoryBuffer.cpp \
|
|
MemoryObject.cpp \
|
|
Options.cpp \
|
|
PluginLoader.cpp \
|
|
PrettyStackTrace.cpp \
|
|
Regex.cpp \
|
|
SmallPtrSet.cpp \
|
|
SmallVector.cpp \
|
|
SourceMgr.cpp \
|
|
SpecialCaseList.cpp \
|
|
Statistic.cpp \
|
|
StreamingMemoryObject.cpp \
|
|
StringExtras.cpp \
|
|
StringMap.cpp \
|
|
StringPool.cpp \
|
|
StringRef.cpp \
|
|
SystemUtils.cpp \
|
|
TargetRegistry.cpp \
|
|
Timer.cpp \
|
|
ToolOutputFile.cpp \
|
|
Triple.cpp \
|
|
Twine.cpp \
|
|
Unicode.cpp \
|
|
Watchdog.cpp \
|
|
YAMLParser.cpp \
|
|
YAMLTraits.cpp \
|
|
raw_os_ostream.cpp \
|
|
raw_ostream.cpp \
|
|
regcomp.c \
|
|
regerror.c \
|
|
regexec.c \
|
|
regfree.c \
|
|
regstrlcpy.c
|
|
|
|
SRCS+= Atomic.cpp \
|
|
DynamicLibrary.cpp \
|
|
Errno.cpp \
|
|
Host.cpp \
|
|
Memory.cpp \
|
|
Mutex.cpp \
|
|
Path.cpp \
|
|
Process.cpp \
|
|
Program.cpp \
|
|
RWMutex.cpp \
|
|
RandomNumberGenerator.cpp \
|
|
ScaledNumber.cpp \
|
|
SearchForAddressOfSpecialSymbol.cpp \
|
|
Signals.cpp \
|
|
ThreadLocal.cpp \
|
|
Threading.cpp \
|
|
TimeValue.cpp \
|
|
Valgrind.cpp
|
|
|
|
.PATH: ${LLVM_SRCDIR}/lib/Support/Unix
|
|
|
|
SRCS+= Host.inc \
|
|
Memory.inc \
|
|
Mutex.inc \
|
|
Path.inc \
|
|
Process.inc \
|
|
Program.inc \
|
|
RWMutex.inc \
|
|
Signals.inc \
|
|
Watchdog.inc \
|
|
ThreadLocal.inc \
|
|
TimeValue.inc
|
|
|
|
.for src in ${SRCS:M*.c}
|
|
CPPFLAGS.${src}+= -std=gnu99
|
|
.endfor
|
|
|
|
.if defined(HOSTLIB)
|
|
.include <bsd.hostlib.mk>
|
|
.else
|
|
.include <bsd.lib.mk>
|
|
.endif
|