minix/external/bsd/llvm/lib/libLLVMSupport/Makefile
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

122 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2013/09/21 22:28:12 joerg Exp $
LIB= LLVMSupport
NOGCCERROR= yes
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/lib/Support
SRCS+= APFloat.cpp \
APInt.cpp \
APSInt.cpp \
Allocator.cpp \
BlockFrequency.cpp \
BranchProbability.cpp \
circular_raw_ostream.cpp \
CommandLine.cpp \
Compression.cpp \
ConstantRange.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 \
Locale.cpp \
LockFileManager.cpp \
MD5.cpp \
ManagedStatic.cpp \
MemoryBuffer.cpp \
MemoryObject.cpp \
PluginLoader.cpp \
PrettyStackTrace.cpp \
Regex.cpp \
SmallPtrSet.cpp \
SmallVector.cpp \
SourceMgr.cpp \
Statistic.cpp \
StreamableMemoryObject.cpp \
StringExtras.cpp \
StringMap.cpp \
StringPool.cpp \
StringRef.cpp \
StringRefMemoryObject.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 \
Disassembler.cpp \
DynamicLibrary.cpp \
Errno.cpp \
Host.cpp \
IncludeFile.cpp \
Memory.cpp \
Mutex.cpp \
Path.cpp \
Process.cpp \
Program.cpp \
RWMutex.cpp \
SearchForAddressOfSpecialSymbol.cpp \
Signals.cpp \
system_error.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 \
system_error.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