Add LLVM and clang build system. It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in src/external/bsd/llvm, they will be properly imported once the integration and missing features are sorted out.
This commit is contained in:
parent
afe7317d58
commit
48360965f3
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.1582 2011/02/06 00:44:09 christos Exp $
|
||||
# $NetBSD: mi,v 1.1583 2011/02/06 01:13:42 joerg Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
@ -13,6 +13,8 @@
|
||||
./usr/bin/c89 comp-c-bin
|
||||
./usr/bin/c99 comp-c-bin
|
||||
./usr/bin/cc comp-c-bin gcccmds
|
||||
./usr/bin/clang comp-c-bin llvm
|
||||
./usr/bin/clang++ comp-c-bin llvm
|
||||
./usr/bin/config comp-util-bin
|
||||
./usr/bin/crunchgen comp-c-bin
|
||||
./usr/bin/crunchide comp-c-bin
|
||||
@ -46,6 +48,7 @@
|
||||
./usr/bin/lint comp-c-bin
|
||||
./usr/bin/lorder comp-util-bin
|
||||
./usr/bin/luac comp-util-bin
|
||||
./usr/bin/llvm-tblgen comp-c-bin llvm
|
||||
./usr/bin/menuc comp-c-bin
|
||||
./usr/bin/mkstr comp-c-bin
|
||||
./usr/bin/mkubootimage comp-util-bin
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: sets.subr,v 1.127 2011/01/28 20:36:19 matt Exp $
|
||||
# $NetBSD: sets.subr,v 1.128 2011/02/06 01:13:42 joerg Exp $
|
||||
#
|
||||
|
||||
#
|
||||
@ -172,7 +172,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
|
||||
# In each file, a record consists of a path and a System Package name,
|
||||
# separated by whitespace. E.g.,
|
||||
#
|
||||
# # $NetBSD: sets.subr,v 1.127 2011/01/28 20:36:19 matt Exp $
|
||||
# # $NetBSD: sets.subr,v 1.128 2011/02/06 01:13:42 joerg Exp $
|
||||
# . base-sys-root [keyword[,...]]
|
||||
# ./altroot base-sys-root
|
||||
# ./bin base-sys-root
|
||||
@ -221,6 +221,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
|
||||
# kmod ${MKKMOD} != no
|
||||
# ldap ${MKLDAP} != no
|
||||
# lint ${MKLINT} != no
|
||||
# llvm ${MKLLVM} != no
|
||||
# lvm ${MKLVM} != no
|
||||
# man ${MKMAN} != no
|
||||
# manpages ${MKMANPAGES} != no
|
||||
|
5
external/bsd/Makefile
vendored
5
external/bsd/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2010/12/05 05:59:59 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -14,6 +14,9 @@ SUBDIR+= iscsi
|
||||
.if (${MKLDAP} != "no")
|
||||
SUBDIR+= openldap
|
||||
.endif
|
||||
.if (${MKLLVM} != "no")
|
||||
SUBDIR+= llvm
|
||||
.endif
|
||||
.if (${MKCRYPTO} != "no")
|
||||
SUBDIR+= pkg_install ../../crypto/external/bsd
|
||||
.endif
|
||||
|
15
external/bsd/llvm/Makefile
vendored
Normal file
15
external/bsd/llvm/Makefile
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
SUBDIR= include \
|
||||
.WAIT \
|
||||
lib \
|
||||
.WAIT \
|
||||
bin
|
||||
|
||||
.include "Makefile.inc"
|
||||
|
||||
checkout:
|
||||
svn co -r ${LLVM_REVISION} http://llvm.org/svn/llvm-project/llvm/trunk ${LLVM_SRCDIR}
|
||||
svn co -r ${CLANG_REVISION} http://llvm.org/svn/llvm-project/cfe/trunk ${CLANG_SRCDIR}
|
||||
|
||||
.include <bsd.subdir.mk>
|
30
external/bsd/llvm/Makefile.inc
vendored
Normal file
30
external/bsd/llvm/Makefile.inc
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
.if !defined(LLVM_TOPLEVEL_MK)
|
||||
LLVM_TOPLEVEL_MK=
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
LLVM_REVISION= 124738
|
||||
CLANG_REVISION= 124738
|
||||
|
||||
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
|
||||
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
|
||||
LLVM_TOPLEVEL:= ${.PARSEDIR}
|
||||
|
||||
CPPFLAGS+= -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \
|
||||
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
|
||||
|
||||
.if defined(HOSTLIB) || defined(HOSTPROG)
|
||||
LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include
|
||||
LLVM_INCLUDE_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR}
|
||||
LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR}
|
||||
HOST_CPPFLAGS+= ${CPPFLAGS}
|
||||
HOST_CXXFLAGS+= -O2 -g
|
||||
.else
|
||||
LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
|
||||
LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
|
||||
.endif
|
||||
CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG}
|
||||
|
||||
.endif
|
29
external/bsd/llvm/bin/Makefile
vendored
Normal file
29
external/bsd/llvm/bin/Makefile
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
SUBDIR= clang \
|
||||
tblgen
|
||||
|
||||
.if defined(LLVM_DEVELOPER)
|
||||
SUBDIR+= \
|
||||
bugpoint \
|
||||
llc \
|
||||
lli \
|
||||
llvm-ar \
|
||||
llvm-as \
|
||||
llvm-bcanalyzer \
|
||||
llvm-diff \
|
||||
llvm-dis \
|
||||
llvm-extract \
|
||||
llvm-ld \
|
||||
llvm-link \
|
||||
llvm-mc \
|
||||
llvm-nm \
|
||||
llvm-prof \
|
||||
llvm-ranlib \
|
||||
llvm-stub \
|
||||
llvmc \
|
||||
macho-dumpx \
|
||||
opt
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
5
external/bsd/llvm/bin/Makefile.inc
vendored
Normal file
5
external/bsd/llvm/bin/Makefile.inc
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
BINDIR= /usr/bin
|
||||
|
||||
.include "${.PARSEDIR}/../Makefile.inc"
|
38
external/bsd/llvm/bin/bugpoint/Makefile
vendored
Normal file
38
external/bsd/llvm/bin/bugpoint/Makefile
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
|
||||
|
||||
PROG_CXX= bugpoint
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/bugpoint
|
||||
|
||||
SRCS= BugDriver.cpp \
|
||||
CrashDebugger.cpp \
|
||||
ExecutionDriver.cpp \
|
||||
ExtractFunction.cpp \
|
||||
FindBugs.cpp \
|
||||
Miscompilation.cpp \
|
||||
OptimizerDriver.cpp \
|
||||
ToolRunner.cpp \
|
||||
bugpoint.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
Linker \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
Target \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
ipa \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
62
external/bsd/llvm/bin/clang/Makefile
vendored
Normal file
62
external/bsd/llvm/bin/clang/Makefile
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
|
||||
|
||||
PROG_CXX= clang
|
||||
NOMAN= yes
|
||||
|
||||
.if !defined(HOSTPROG)
|
||||
SYMLINKS+= clang ${BINDIR}/clang++
|
||||
.endif
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/tools/driver
|
||||
|
||||
SRCS= driver.cpp \
|
||||
cc1_main.cpp \
|
||||
cc1as_main.cpp
|
||||
|
||||
CLANG_LIBS+= \
|
||||
clangFrontendTool \
|
||||
clangFrontend \
|
||||
clangStaticAnalyzerCheckers \
|
||||
clangStaticAnalyzer \
|
||||
clangDriver \
|
||||
clangSerialization \
|
||||
clangCodeGen \
|
||||
clangParse \
|
||||
clangSema \
|
||||
clangAnalysis \
|
||||
clangIndex \
|
||||
clangRewrite \
|
||||
clangAST \
|
||||
clangLex \
|
||||
clangBasic
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86AsmParser \
|
||||
X86Disassembler \
|
||||
X86AsmPrinter \
|
||||
SelectionDAG \
|
||||
AsmPrinter \
|
||||
CodeGen \
|
||||
Target \
|
||||
InstCombine \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
MCDisassembler \
|
||||
MCParser \
|
||||
MC \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
ipa \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
33
external/bsd/llvm/bin/llc/Makefile
vendored
Normal file
33
external/bsd/llvm/bin/llc/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
|
||||
|
||||
PROG_CXX= llc
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llc
|
||||
|
||||
SRCS= llc.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmPrinter \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86AsmParser \
|
||||
X86AsmPrinter \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
Target \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
MCParser \
|
||||
MC \
|
||||
TransformsUtils \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
33
external/bsd/llvm/bin/lli/Makefile
vendored
Normal file
33
external/bsd/llvm/bin/lli/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
|
||||
|
||||
PROG_CXX= lli
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/lli
|
||||
|
||||
SRCS= lli.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
JIT \
|
||||
MCJIT \
|
||||
Interpreter \
|
||||
ExecutionEngine \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
Target \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
MC \
|
||||
TransformsUtils \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
20
external/bsd/llvm/bin/llvm-ar/Makefile
vendored
Normal file
20
external/bsd/llvm/bin/llvm-ar/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-ar
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-ar
|
||||
|
||||
SRCS= llvm-ar.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Archive \
|
||||
BitReader \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
20
external/bsd/llvm/bin/llvm-as/Makefile
vendored
Normal file
20
external/bsd/llvm/bin/llvm-as/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-as
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-as
|
||||
|
||||
SRCS= llvm-as.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitWriter \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
17
external/bsd/llvm/bin/llvm-bcanalyzer/Makefile
vendored
Normal file
17
external/bsd/llvm/bin/llvm-bcanalyzer/Makefile
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-bcanalyzer
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-bcanalyzer
|
||||
|
||||
SRCS= llvm-bcanalyzer.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
21
external/bsd/llvm/bin/llvm-diff/Makefile
vendored
Normal file
21
external/bsd/llvm/bin/llvm-diff/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:45 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-diff
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-diff
|
||||
|
||||
SRCS= llvm-diff.cpp \
|
||||
DifferenceEngine.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
19
external/bsd/llvm/bin/llvm-dis/Makefile
vendored
Normal file
19
external/bsd/llvm/bin/llvm-dis/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-dis
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-dis
|
||||
|
||||
SRCS= llvm-dis.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
BitReader \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
26
external/bsd/llvm/bin/llvm-extract/Makefile
vendored
Normal file
26
external/bsd/llvm/bin/llvm-extract/Makefile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-extract
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-extract
|
||||
|
||||
SRCS= llvm-extract.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
Target \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
Analysis \
|
||||
ipa \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
31
external/bsd/llvm/bin/llvm-ld/Makefile
vendored
Normal file
31
external/bsd/llvm/bin/llvm-ld/Makefile
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-ld
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-ld
|
||||
|
||||
SRCS= Optimize.cpp \
|
||||
llvm-ld.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Linker \
|
||||
Archive \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
InstCombine \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
Target \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
ipa \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
23
external/bsd/llvm/bin/llvm-link/Makefile
vendored
Normal file
23
external/bsd/llvm/bin/llvm-link/Makefile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-link
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-link
|
||||
|
||||
SRCS= llvm-link.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
Linker \
|
||||
TransformsUtils \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
34
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
Normal file
34
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-mc
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-mc
|
||||
|
||||
SRCS= llvm-mc.cpp \
|
||||
Disassembler.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
X86CodeGen \
|
||||
X86TargetInfo \
|
||||
X86AsmParser \
|
||||
X86Disassembler \
|
||||
X86AsmPrinter \
|
||||
SelectionDAG \
|
||||
CodeGen \
|
||||
Target \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
AsmPrinter \
|
||||
MCDisassembler \
|
||||
MCParser \
|
||||
MC \
|
||||
TransformsUtils \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
21
external/bsd/llvm/bin/llvm-nm/Makefile
vendored
Normal file
21
external/bsd/llvm/bin/llvm-nm/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-nm
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-nm
|
||||
|
||||
SRCS= llvm-nm.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Archive \
|
||||
BitReader \
|
||||
Core \
|
||||
Object \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
20
external/bsd/llvm/bin/llvm-prof/Makefile
vendored
Normal file
20
external/bsd/llvm/bin/llvm-prof/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-prof
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-prof
|
||||
|
||||
SRCS= llvm-prof.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
BitReader \
|
||||
Analysis \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
20
external/bsd/llvm/bin/llvm-ranlib/Makefile
vendored
Normal file
20
external/bsd/llvm/bin/llvm-ranlib/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:47 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-ranlib
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-ranlib
|
||||
|
||||
SRCS= llvm-ranlib.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Archive \
|
||||
BitReader \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
12
external/bsd/llvm/bin/llvm-stub/Makefile
vendored
Normal file
12
external/bsd/llvm/bin/llvm-stub/Makefile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
|
||||
|
||||
PROG= llvm-stub
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvm-stub
|
||||
|
||||
SRCS= llvm-stub.c
|
||||
|
||||
.include <bsd.prog.mk>
|
35
external/bsd/llvm/bin/llvmc/Makefile
vendored
Normal file
35
external/bsd/llvm/bin/llvmc/Makefile
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
|
||||
|
||||
PROG_CXX= llvmc
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/llvmc/src
|
||||
|
||||
SRCS= Hooks.cpp \
|
||||
Main.cpp
|
||||
|
||||
TABLEGEN_SRC= AutoGenerated.td
|
||||
TABLEGEN_INCLUDES= -I${.OBJDIR} -I${LLVM_SRCDIR}/tools/llvmc/src
|
||||
TABLEGEN_OUTPUT= \
|
||||
AutoGenerated.inc|-gen-llvmc
|
||||
|
||||
.include "${.PARSEDIR}/../../tablegen.mk"
|
||||
|
||||
LLVM_LIBS+= \
|
||||
CompilerDriver \
|
||||
Support
|
||||
|
||||
DPSRCS+= Base.td
|
||||
CLEANFILES+= Base.td
|
||||
|
||||
Base.td: Base.td.in
|
||||
${TOOL_SED} -e 's,@LLVMGCCCOMMAND@,llvm-gcc,g' \
|
||||
-e 's,@LLVMGXXCOMMAND@,llvm-g++,g' < ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
AutoGenerated.inc: Base.td
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
19
external/bsd/llvm/bin/macho-dumpx/Makefile
vendored
Normal file
19
external/bsd/llvm/bin/macho-dumpx/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
|
||||
|
||||
ROG_CXX= machdo-dumpx
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/macho-dump
|
||||
|
||||
SRCS= macho-dump.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
Object \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
32
external/bsd/llvm/bin/opt/Makefile
vendored
Normal file
32
external/bsd/llvm/bin/opt/Makefile
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:48 joerg Exp $
|
||||
|
||||
PROG_CXX= opt
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/tools/opt
|
||||
|
||||
SRCS= AnalysisWrappers.cpp \
|
||||
GraphPrinters.cpp \
|
||||
PrintSCC.cpp \
|
||||
opt.cpp
|
||||
|
||||
LLVM_LIBS+= \
|
||||
AsmParser \
|
||||
BitReader \
|
||||
BitWriter \
|
||||
InstCombine \
|
||||
Instrumentation \
|
||||
ScalarOpts \
|
||||
Analysis \
|
||||
Target \
|
||||
ipo \
|
||||
TransformsUtils \
|
||||
ipa \
|
||||
Core \
|
||||
Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
52
external/bsd/llvm/bin/tblgen/Makefile
vendored
Normal file
52
external/bsd/llvm/bin/tblgen/Makefile
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:49 joerg Exp $
|
||||
|
||||
PROG_CXX= llvm-tblgen
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/utils/TableGen
|
||||
|
||||
SRCS= ARMDecoderEmitter.cpp \
|
||||
AsmMatcherEmitter.cpp \
|
||||
AsmWriterEmitter.cpp \
|
||||
AsmWriterInst.cpp \
|
||||
CallingConvEmitter.cpp \
|
||||
ClangASTNodesEmitter.cpp \
|
||||
ClangAttrEmitter.cpp \
|
||||
ClangDiagnosticsEmitter.cpp \
|
||||
CodeEmitterGen.cpp \
|
||||
CodeGenDAGPatterns.cpp \
|
||||
CodeGenInstruction.cpp \
|
||||
CodeGenTarget.cpp \
|
||||
DAGISelEmitter.cpp \
|
||||
DAGISelMatcher.cpp \
|
||||
DAGISelMatcherEmitter.cpp \
|
||||
DAGISelMatcherGen.cpp \
|
||||
DAGISelMatcherOpt.cpp \
|
||||
DisassemblerEmitter.cpp \
|
||||
EDEmitter.cpp \
|
||||
FastISelEmitter.cpp \
|
||||
InstrEnumEmitter.cpp \
|
||||
InstrInfoEmitter.cpp \
|
||||
IntrinsicEmitter.cpp \
|
||||
LLVMCConfigurationEmitter.cpp \
|
||||
NeonEmitter.cpp \
|
||||
OptParserEmitter.cpp \
|
||||
Record.cpp \
|
||||
RegisterInfoEmitter.cpp \
|
||||
StringMatcher.cpp \
|
||||
SubtargetEmitter.cpp \
|
||||
TGLexer.cpp \
|
||||
TGParser.cpp \
|
||||
TGValueTypes.cpp \
|
||||
TableGen.cpp \
|
||||
TableGenBackend.cpp \
|
||||
X86DisassemblerTables.cpp \
|
||||
X86RecognizableInstr.cpp
|
||||
|
||||
LLVM_LIBS+= Support
|
||||
|
||||
.include "${.PARSEDIR}/../../link.mk"
|
||||
|
||||
.include <bsd.prog.mk>
|
6
external/bsd/llvm/config/clang/Basic/Version.inc
vendored
Normal file
6
external/bsd/llvm/config/clang/Basic/Version.inc
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
#define CLANG_VERSION 2.9
|
||||
#define CLANG_VERSION_MAJOR 2
|
||||
#define CLANG_VERSION_MINOR 9
|
||||
#if 0
|
||||
#define CLANG_VERSION_PATCHLEVEL
|
||||
#endif
|
29
external/bsd/llvm/config/llvm/Config/AsmParsers.def
vendored
Normal file
29
external/bsd/llvm/config/llvm/Config/AsmParsers.def
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file enumerates all of the assembly-language parsers
|
||||
// supported by this build of LLVM. Clients of this file should define
|
||||
// the LLVM_ASM_PARSER macro to be a function-like macro with a
|
||||
// single parameter (the name of the target whose assembly can be
|
||||
// generated); including this file will then enumerate all of the
|
||||
// targets with assembly parsers.
|
||||
//
|
||||
// The set of targets supported by LLVM is generated at configuration
|
||||
// time, at which point this header is generated. Do not modify this
|
||||
// header directly.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_ASM_PARSER
|
||||
# error Please define the macro LLVM_ASM_PARSER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_ASM_PARSER(X86)
|
||||
|
||||
#undef LLVM_ASM_PARSER
|
29
external/bsd/llvm/config/llvm/Config/AsmPrinters.def
vendored
Normal file
29
external/bsd/llvm/config/llvm/Config/AsmPrinters.def
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file enumerates all of the assembly-language printers
|
||||
// supported by this build of LLVM. Clients of this file should define
|
||||
// the LLVM_ASM_PRINTER macro to be a function-like macro with a
|
||||
// single parameter (the name of the target whose assembly can be
|
||||
// generated); including this file will then enumerate all of the
|
||||
// targets with assembly printers.
|
||||
//
|
||||
// The set of targets supported by LLVM is generated at configuration
|
||||
// time, at which point this header is generated. Do not modify this
|
||||
// header directly.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_ASM_PRINTER
|
||||
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_ASM_PRINTER(X86)
|
||||
|
||||
#undef LLVM_ASM_PRINTER
|
29
external/bsd/llvm/config/llvm/Config/Disassemblers.def
vendored
Normal file
29
external/bsd/llvm/config/llvm/Config/Disassemblers.def
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file enumerates all of the assembly-language parsers
|
||||
// supported by this build of LLVM. Clients of this file should define
|
||||
// the LLVM_ASM_PARSER macro to be a function-like macro with a
|
||||
// single parameter (the name of the target whose assembly can be
|
||||
// generated); including this file will then enumerate all of the
|
||||
// targets with assembly parsers.
|
||||
//
|
||||
// The set of targets supported by LLVM is generated at configuration
|
||||
// time, at which point this header is generated. Do not modify this
|
||||
// header directly.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_DISASSEMBLER
|
||||
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_DISASSEMBLER(X86)
|
||||
|
||||
#undef LLVM_DISASSEMBLER
|
28
external/bsd/llvm/config/llvm/Config/Targets.def
vendored
Normal file
28
external/bsd/llvm/config/llvm/Config/Targets.def
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file enumerates all of the target architectures supported by *|
|
||||
|* this build of LLVM. Clients of this file should define the *|
|
||||
|* LLVM_TARGET macro to be a function-like macro with a single *|
|
||||
|* parameter (the name of the target); including this file will then *|
|
||||
|* enumerate all of the targets. *|
|
||||
|* *|
|
||||
|* The set of targets supported by LLVM is generated at configuration *|
|
||||
|* time, at which point this header is generated. Do not modify this *|
|
||||
|* header directly. *|
|
||||
|* *|
|
||||
\*===----------------------------------------------------------------------===*/
|
||||
|
||||
#ifndef LLVM_TARGET
|
||||
# error Please define the macro LLVM_TARGET(TargetName)
|
||||
#endif
|
||||
|
||||
LLVM_TARGET(X86)
|
||||
|
||||
#undef LLVM_TARGET
|
633
external/bsd/llvm/config/llvm/Config/config.h
vendored
Normal file
633
external/bsd/llvm/config/llvm/Config/config.h
vendored
Normal file
@ -0,0 +1,633 @@
|
||||
/* include/llvm/Config/config.h. Generated from config.h.in by configure. */
|
||||
/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
/* Relative directory for resource files */
|
||||
#define CLANG_RESOURCE_DIR ""
|
||||
|
||||
/* 32 bit multilib directory. */
|
||||
#define CXX_INCLUDE_32BIT_DIR ""
|
||||
|
||||
/* 64 bit multilib directory. */
|
||||
#define CXX_INCLUDE_64BIT_DIR ""
|
||||
|
||||
/* Arch the libstdc++ headers. */
|
||||
#define CXX_INCLUDE_ARCH ""
|
||||
|
||||
/* Directory with the libstdc++ headers. */
|
||||
#define CXX_INCLUDE_ROOT ""
|
||||
|
||||
/* Directories clang will search for headers */
|
||||
#define C_INCLUDE_DIRS ""
|
||||
|
||||
/* Define if CBE is enabled for printf %a output */
|
||||
#define ENABLE_CBE_PRINTF_A 1
|
||||
|
||||
/* Define if position independent code is enabled */
|
||||
#define ENABLE_PIC 1
|
||||
|
||||
/* Define if threads enabled */
|
||||
#define ENABLE_THREADS 1
|
||||
|
||||
/* Define if timestamp information (e.g., __DATE___) is allowed */
|
||||
#define ENABLE_TIMESTAMPS 1
|
||||
|
||||
/* Define to 1 if you have the `argz_append' function. */
|
||||
/* #undef HAVE_ARGZ_APPEND */
|
||||
|
||||
/* Define to 1 if you have the `argz_create_sep' function. */
|
||||
/* #undef HAVE_ARGZ_CREATE_SEP */
|
||||
|
||||
/* Define to 1 if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define to 1 if you have the `argz_insert' function. */
|
||||
/* #undef HAVE_ARGZ_INSERT */
|
||||
|
||||
/* Define to 1 if you have the `argz_next' function. */
|
||||
/* #undef HAVE_ARGZ_NEXT */
|
||||
|
||||
/* Define to 1 if you have the `argz_stringify' function. */
|
||||
/* #undef HAVE_ARGZ_STRINGIFY */
|
||||
|
||||
/* Define to 1 if you have the <assert.h> header file. */
|
||||
#define HAVE_ASSERT_H 1
|
||||
|
||||
/* Define to 1 if you have the `backtrace' function. */
|
||||
/* #undef HAVE_BACKTRACE */
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
/* #undef HAVE_BCOPY */
|
||||
|
||||
/* Define to 1 if you have the `ceilf' function. */
|
||||
#define HAVE_CEILF 1
|
||||
|
||||
/* Define if the neat program is available */
|
||||
/* #undef HAVE_CIRCO */
|
||||
|
||||
/* Define to 1 if you have the `closedir' function. */
|
||||
#define HAVE_CLOSEDIR 1
|
||||
|
||||
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
|
||||
/* #undef HAVE_CRASHREPORTERCLIENT_H */
|
||||
|
||||
/* Define if __crashreporter_info__ exists. */
|
||||
#define HAVE_CRASHREPORTER_INFO 1
|
||||
|
||||
/* Define to 1 if you have the <ctype.h> header file. */
|
||||
#define HAVE_CTYPE_H 1
|
||||
|
||||
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define if you have the GNU dld library. */
|
||||
/* #undef HAVE_DLD */
|
||||
|
||||
/* Define to 1 if you have the <dld.h> header file. */
|
||||
/* #undef HAVE_DLD_H */
|
||||
|
||||
/* Define to 1 if you have the `dlerror' function. */
|
||||
#define HAVE_DLERROR 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define if dlopen() is available on this platform. */
|
||||
#define HAVE_DLOPEN 1
|
||||
|
||||
/* Define to 1 if you have the <dl.h> header file. */
|
||||
/* #undef HAVE_DL_H */
|
||||
|
||||
/* Define if the dot program is available */
|
||||
/* #undef HAVE_DOT */
|
||||
|
||||
/* Define if the dotty program is available */
|
||||
/* #undef HAVE_DOTTY */
|
||||
|
||||
/* Define if you have the _dyld_func_lookup function. */
|
||||
/* #undef HAVE_DYLD */
|
||||
|
||||
/* Define to 1 if you have the <errno.h> header file. */
|
||||
#define HAVE_ERRNO_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `error_t'. */
|
||||
/* #undef HAVE_ERROR_T */
|
||||
|
||||
/* Define to 1 if you have the <execinfo.h> header file. */
|
||||
/* #undef HAVE_EXECINFO_H */
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define if the neat program is available */
|
||||
/* #undef HAVE_FDP */
|
||||
|
||||
/* Define to 1 if you have the <fenv.h> header file. */
|
||||
#define HAVE_FENV_H 1
|
||||
|
||||
/* Define if libffi is available on this platform. */
|
||||
/* #undef HAVE_FFI_CALL */
|
||||
|
||||
/* Define to 1 if you have the <ffi/ffi.h> header file. */
|
||||
/* #undef HAVE_FFI_FFI_H */
|
||||
|
||||
/* Define to 1 if you have the <ffi.h> header file. */
|
||||
/* #undef HAVE_FFI_H */
|
||||
|
||||
/* Set to 1 if the finite function is found in <ieeefp.h> */
|
||||
/* #undef HAVE_FINITE_IN_IEEEFP_H */
|
||||
|
||||
/* Define to 1 if you have the `floorf' function. */
|
||||
#define HAVE_FLOORF 1
|
||||
|
||||
/* Define to 1 if you have the `fmodf' function. */
|
||||
#define HAVE_FMODF 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#define HAVE_GETPAGESIZE 1
|
||||
|
||||
/* Define to 1 if you have the `getrlimit' function. */
|
||||
#define HAVE_GETRLIMIT 1
|
||||
|
||||
/* Define to 1 if you have the `getrusage' function. */
|
||||
#define HAVE_GETRUSAGE 1
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define if the Graphviz program is available */
|
||||
/* #undef HAVE_GRAPHVIZ */
|
||||
|
||||
/* Define if the gv program is available */
|
||||
/* #undef HAVE_GV */
|
||||
|
||||
/* Define to 1 if you have the `index' function. */
|
||||
/* #undef HAVE_INDEX */
|
||||
|
||||
/* Define to 1 if the system has the type `int64_t'. */
|
||||
#define HAVE_INT64_T 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `isatty' function. */
|
||||
#define HAVE_ISATTY 1
|
||||
|
||||
/* Set to 1 if the isinf function is found in <cmath> */
|
||||
/* #undef HAVE_ISINF_IN_CMATH */
|
||||
|
||||
/* Set to 1 if the isinf function is found in <math.h> */
|
||||
#define HAVE_ISINF_IN_MATH_H 1
|
||||
|
||||
/* Set to 1 if the isnan function is found in <cmath> */
|
||||
/* #undef HAVE_ISNAN_IN_CMATH */
|
||||
|
||||
/* Set to 1 if the isnan function is found in <math.h> */
|
||||
#define HAVE_ISNAN_IN_MATH_H 1
|
||||
|
||||
/* Define if you have the libdl library or equivalent. */
|
||||
#define HAVE_LIBDL 1
|
||||
|
||||
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
|
||||
/* #undef HAVE_LIBIMAGEHLP */
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#define HAVE_LIBM 1
|
||||
|
||||
/* Define to 1 if you have the `psapi' library (-lpsapi). */
|
||||
/* #undef HAVE_LIBPSAPI */
|
||||
|
||||
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
||||
#define HAVE_LIBPTHREAD 1
|
||||
|
||||
/* Define to 1 if you have the `udis86' library (-ludis86). */
|
||||
/* #undef HAVE_LIBUDIS86 */
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you can use -Wl,-export-dynamic. */
|
||||
#define HAVE_LINK_EXPORT_DYNAMIC 1
|
||||
|
||||
/* Define to 1 if you have the <link.h> header file. */
|
||||
#define HAVE_LINK_H 1
|
||||
|
||||
/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
|
||||
the current directory to the dynamic linker search path. */
|
||||
#define HAVE_LINK_R 1
|
||||
|
||||
/* Define to 1 if you have the `longjmp' function. */
|
||||
/* #undef HAVE_LONGJMP */
|
||||
|
||||
/* Define to 1 if you have the <mach/mach.h> header file. */
|
||||
/* #undef HAVE_MACH_MACH_H */
|
||||
|
||||
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
|
||||
/* #undef HAVE_MACH_O_DYLD_H */
|
||||
|
||||
/* Define if mallinfo() is available on this platform. */
|
||||
/* #undef HAVE_MALLINFO */
|
||||
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define to 1 if you have the <malloc/malloc.h> header file. */
|
||||
/* #undef HAVE_MALLOC_MALLOC_H */
|
||||
|
||||
/* Define to 1 if you have the `malloc_zone_statistics' function. */
|
||||
/* #undef HAVE_MALLOC_ZONE_STATISTICS */
|
||||
|
||||
/* Define to 1 if you have the `memcpy' function. */
|
||||
#define HAVE_MEMCPY 1
|
||||
|
||||
/* Define to 1 if you have the `memmove' function. */
|
||||
#define HAVE_MEMMOVE 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mkdtemp' function. */
|
||||
#define HAVE_MKDTEMP 1
|
||||
|
||||
/* Define to 1 if you have the `mkstemp' function. */
|
||||
#define HAVE_MKSTEMP 1
|
||||
|
||||
/* Define to 1 if you have the `mktemp' function. */
|
||||
#define HAVE_MKTEMP 1
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
|
||||
it uses MAP_ANON */
|
||||
/* #undef HAVE_MMAP_ANONYMOUS */
|
||||
|
||||
/* Define if mmap() can map files into memory */
|
||||
#define HAVE_MMAP_FILE
|
||||
|
||||
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the `nearbyintf' function. */
|
||||
/* #undef HAVE_NEARBYINTF */
|
||||
|
||||
/* Define if the neat program is available */
|
||||
/* #undef HAVE_NEATO */
|
||||
|
||||
/* Define to 1 if you have the `opendir' function. */
|
||||
#define HAVE_OPENDIR 1
|
||||
|
||||
/* Define to 1 if you have the `posix_spawn' function. */
|
||||
/* #undef HAVE_POSIX_SPAWN */
|
||||
|
||||
/* Define to 1 if you have the `powf' function. */
|
||||
#define HAVE_POWF 1
|
||||
|
||||
/* Define if libtool can extract symbol lists from object files. */
|
||||
#define HAVE_PRELOADED_SYMBOLS 1
|
||||
|
||||
/* Define to have the %a format string */
|
||||
#define HAVE_PRINTF_A 1
|
||||
|
||||
/* Have pthread_getspecific */
|
||||
#define HAVE_PTHREAD_GETSPECIFIC 1
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#define HAVE_PTHREAD_H 1
|
||||
|
||||
/* Have pthread_mutex_lock */
|
||||
#define HAVE_PTHREAD_MUTEX_LOCK 1
|
||||
|
||||
/* Have pthread_rwlock_init */
|
||||
#define HAVE_PTHREAD_RWLOCK_INIT 1
|
||||
|
||||
/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
|
||||
#define HAVE_RAND48 1
|
||||
|
||||
/* Define to 1 if you have the `readdir' function. */
|
||||
#define HAVE_READDIR 1
|
||||
|
||||
/* Define to 1 if you have the `realpath' function. */
|
||||
#define HAVE_REALPATH 1
|
||||
|
||||
/* Define to 1 if you have the `rindex' function. */
|
||||
/* #undef HAVE_RINDEX */
|
||||
|
||||
/* Define to 1 if you have the `rintf' function. */
|
||||
#define HAVE_RINTF 1
|
||||
|
||||
/* Define to 1 if you have the `round' function. */
|
||||
#define HAVE_ROUND 1
|
||||
|
||||
/* Define to 1 if you have the `roundf' function. */
|
||||
#define HAVE_ROUNDF 1
|
||||
|
||||
/* Define to 1 if you have the `sbrk' function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define to 1 if you have the `setenv' function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define to 1 if you have the `setjmp' function. */
|
||||
/* #undef HAVE_SETJMP */
|
||||
|
||||
/* Define to 1 if you have the <setjmp.h> header file. */
|
||||
#define HAVE_SETJMP_H 1
|
||||
|
||||
/* Define to 1 if you have the `setrlimit' function. */
|
||||
#define HAVE_SETRLIMIT 1
|
||||
|
||||
/* Define if you have the shl_load function. */
|
||||
/* #undef HAVE_SHL_LOAD */
|
||||
|
||||
/* Define to 1 if you have the `siglongjmp' function. */
|
||||
/* #undef HAVE_SIGLONGJMP */
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define to 1 if you have the `sigsetjmp' function. */
|
||||
/* #undef HAVE_SIGSETJMP */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdio.h> header file. */
|
||||
#define HAVE_STDIO_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Set to 1 if the std::isinf function is found in <cmath> */
|
||||
/* #undef HAVE_STD_ISINF_IN_CMATH */
|
||||
|
||||
/* Set to 1 if the std::isnan function is found in <cmath> */
|
||||
#define HAVE_STD_ISNAN_IN_CMATH 1
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#define HAVE_STRCHR 1
|
||||
|
||||
/* Define to 1 if you have the `strcmp' function. */
|
||||
#define HAVE_STRCMP 1
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#define HAVE_STRDUP 1
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_r' function. */
|
||||
#define HAVE_STRERROR_R 1
|
||||
|
||||
/* Define to 1 if you have the `strerror_s' function. */
|
||||
/* #undef HAVE_STRERROR_S */
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strrchr' function. */
|
||||
#define HAVE_STRRCHR 1
|
||||
|
||||
/* Define to 1 if you have the `strtof' function. */
|
||||
#define HAVE_STRTOF 1
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#define HAVE_STRTOLL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoq' function. */
|
||||
#define HAVE_STRTOQ 1
|
||||
|
||||
/* Define to 1 if you have the `sysconf' function. */
|
||||
#define HAVE_SYSCONF 1
|
||||
|
||||
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/dl.h> header file. */
|
||||
/* #undef HAVE_SYS_DL_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
#define HAVE_SYS_IOCTL_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||
#define HAVE_SYS_MMAN_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||
*/
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||
#define HAVE_SYS_RESOURCE_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#define HAVE_SYS_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||||
#define HAVE_SYS_WAIT_H 1
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#define HAVE_TERMIOS_H 1
|
||||
|
||||
/* Define if the neat program is available */
|
||||
/* #undef HAVE_TWOPI */
|
||||
|
||||
/* Define to 1 if the system has the type `uint64_t'. */
|
||||
#define HAVE_UINT64_T 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the <utime.h> header file. */
|
||||
#define HAVE_UTIME_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `u_int64_t'. */
|
||||
/* #undef HAVE_U_INT64_T */
|
||||
|
||||
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
|
||||
/* #undef HAVE_VALGRIND_VALGRIND_H */
|
||||
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
/* #undef HAVE_WINDOWS_H */
|
||||
|
||||
/* Define if the xdot.py program is available */
|
||||
/* #undef HAVE_XDOT_PY */
|
||||
|
||||
/* Define to 1 if you have the `__dso_handle' function. */
|
||||
#define HAVE___DSO_HANDLE 1
|
||||
|
||||
/* Linker version detected at compile time. */
|
||||
#define HOST_LINK_VERSION "1"
|
||||
|
||||
/* Installation directory for binary executables */
|
||||
#define LLVM_BINDIR "/usr/bin"
|
||||
|
||||
/* Time at which LLVM was configured */
|
||||
#define LLVM_CONFIGTIME "Mon Dec 6 18:29:34 UTC 2010"
|
||||
|
||||
/* Installation directory for data files */
|
||||
#define LLVM_DATADIR "/usr/share/llvm"
|
||||
|
||||
/* Installation directory for documentation */
|
||||
#define LLVM_DOCSDIR "/usr/share/doc/llvm"
|
||||
|
||||
/* Installation directory for config files */
|
||||
#define LLVM_ETCDIR "/usr/etc/llvm"
|
||||
|
||||
/* Host triple we were built on */
|
||||
#define LLVM_HOSTTRIPLE "x86_64-unknown-netbsd5.99.38"
|
||||
|
||||
/* Installation directory for include files */
|
||||
#define LLVM_INCLUDEDIR "/usr/include"
|
||||
|
||||
/* Installation directory for .info files */
|
||||
#define LLVM_INFODIR "/usr/info"
|
||||
|
||||
/* Installation directory for libraries */
|
||||
#define LLVM_LIBDIR "/usr/lib"
|
||||
|
||||
/* Installation directory for man pages */
|
||||
#define LLVM_MANDIR "/usr/man"
|
||||
|
||||
/* Build multithreading support into LLVM */
|
||||
#define LLVM_MULTITHREADED 1
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#define LLVM_NATIVE_ARCH X86
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#define LLVM_ON_UNIX 1
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
/* #undef LLVM_ON_WIN32 */
|
||||
|
||||
/* Define to path to circo program if found or 'echo circo' otherwise */
|
||||
/* #undef LLVM_PATH_CIRCO */
|
||||
|
||||
/* Define to path to dot program if found or 'echo dot' otherwise */
|
||||
/* #undef LLVM_PATH_DOT */
|
||||
|
||||
/* Define to path to dotty program if found or 'echo dotty' otherwise */
|
||||
/* #undef LLVM_PATH_DOTTY */
|
||||
|
||||
/* Define to path to fdp program if found or 'echo fdp' otherwise */
|
||||
/* #undef LLVM_PATH_FDP */
|
||||
|
||||
/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
|
||||
/* #undef LLVM_PATH_GRAPHVIZ */
|
||||
|
||||
/* Define to path to gv program if found or 'echo gv' otherwise */
|
||||
/* #undef LLVM_PATH_GV */
|
||||
|
||||
/* Define to path to neato program if found or 'echo neato' otherwise */
|
||||
/* #undef LLVM_PATH_NEATO */
|
||||
|
||||
/* Define to path to twopi program if found or 'echo twopi' otherwise */
|
||||
/* #undef LLVM_PATH_TWOPI */
|
||||
|
||||
/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
|
||||
/* #undef LLVM_PATH_XDOT_PY */
|
||||
|
||||
/* Installation prefix directory */
|
||||
#define LLVM_PREFIX "/usr"
|
||||
|
||||
/* Define if the OS needs help to load dependent libraries for dlopen(). */
|
||||
/* #undef LTDL_DLOPEN_DEPLIBS */
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#define LTDL_OBJDIR ".libs/"
|
||||
|
||||
/* Define to the name of the environment variable that determines the dynamic
|
||||
library search path. */
|
||||
#define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH"
|
||||
|
||||
/* Define to the extension used for shared libraries, say, ".so". */
|
||||
#define LTDL_SHLIB_EXT ".so"
|
||||
|
||||
/* Define to the system default library search path. */
|
||||
#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
|
||||
|
||||
/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
|
||||
its not necessary */
|
||||
/* #undef NEED_DEV_ZERO_FOR_MMAP */
|
||||
|
||||
/* Define if dlsym() requires a leading underscore in symbol names. */
|
||||
/* #undef NEED_USCORE */
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "llvm"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "llvm 2.9svn"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "-llvm-"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "2.9svn"
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#define RETSIGTYPE void
|
||||
|
||||
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
|
||||
/* #undef STAT_MACROS_BROKEN */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#define TIME_WITH_SYS_TIME 1
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
/* #undef TM_IN_SYS_TIME */
|
||||
|
||||
/* Define if we have the oprofile JIT-support library */
|
||||
#define USE_OPROFILE 0
|
||||
|
||||
/* Define if use udis86 library */
|
||||
#define USE_UDIS86 0
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to a type to use for `error_t' if it is not otherwise available. */
|
||||
#define error_t int
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
/* #undef pid_t */
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
||||
|
||||
#endif
|
98
external/bsd/llvm/config/llvm/Config/llvm-config.h
vendored
Normal file
98
external/bsd/llvm/config/llvm/Config/llvm-config.h
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
/* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */
|
||||
/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/
|
||||
/* */
|
||||
/* The LLVM Compiler Infrastructure */
|
||||
/* */
|
||||
/* This file is distributed under the University of Illinois Open Source */
|
||||
/* License. See LICENSE.TXT for details. */
|
||||
/* */
|
||||
/*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* This file enumerates all of the llvm variables from configure so that
|
||||
they can be in exported headers and won't override package specific
|
||||
directives. This is a C file so we can include it in the llvm-c headers. */
|
||||
|
||||
/* To avoid multiple inclusions of these variables when we include the exported
|
||||
headers and config.h, conditionally include these. */
|
||||
/* TODO: This is a bit of a hack. */
|
||||
#ifndef CONFIG_H
|
||||
|
||||
/* Installation directory for binary executables */
|
||||
#define LLVM_BINDIR "/usr/bin"
|
||||
|
||||
/* Time at which LLVM was configured */
|
||||
#define LLVM_CONFIGTIME "Mon Dec 6 18:29:34 UTC 2010"
|
||||
|
||||
/* Installation directory for data files */
|
||||
#define LLVM_DATADIR "/usr/share/llvm"
|
||||
|
||||
/* Installation directory for documentation */
|
||||
#define LLVM_DOCSDIR "/usr/share/doc/llvm"
|
||||
|
||||
/* Installation directory for config files */
|
||||
#define LLVM_ETCDIR "/usr/etc/llvm"
|
||||
|
||||
/* Host triple we were built on */
|
||||
#define LLVM_HOSTTRIPLE "x86_64-unknown-netbsd5.99.38"
|
||||
|
||||
/* Installation directory for include files */
|
||||
#define LLVM_INCLUDEDIR "/usr/include"
|
||||
|
||||
/* Installation directory for .info files */
|
||||
#define LLVM_INFODIR "/usr/info"
|
||||
|
||||
/* Installation directory for libraries */
|
||||
#define LLVM_LIBDIR "/usr/lib"
|
||||
|
||||
/* Installation directory for man pages */
|
||||
#define LLVM_MANDIR "/usr/man"
|
||||
|
||||
/* Build multithreading support into LLVM */
|
||||
#define LLVM_MULTITHREADED 1
|
||||
|
||||
/* LLVM architecture name for the native architecture, if available */
|
||||
#define LLVM_NATIVE_ARCH X86
|
||||
|
||||
/* LLVM name for the native Target init function, if available */
|
||||
#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
|
||||
|
||||
/* LLVM name for the native TargetInfo init function, if available */
|
||||
#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
|
||||
|
||||
/* LLVM name for the native AsmPrinter init function, if available */
|
||||
#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
|
||||
|
||||
/* Define if this is Unixish platform */
|
||||
#define LLVM_ON_UNIX 1
|
||||
|
||||
/* Define if this is Win32ish platform */
|
||||
/* #undef LLVM_ON_WIN32 */
|
||||
|
||||
/* Define to path to circo program if found or 'echo circo' otherwise */
|
||||
/* #undef LLVM_PATH_CIRCO */
|
||||
|
||||
/* Define to path to dot program if found or 'echo dot' otherwise */
|
||||
/* #undef LLVM_PATH_DOT */
|
||||
|
||||
/* Define to path to dotty program if found or 'echo dotty' otherwise */
|
||||
/* #undef LLVM_PATH_DOTTY */
|
||||
|
||||
/* Define to path to fdp program if found or 'echo fdp' otherwise */
|
||||
/* #undef LLVM_PATH_FDP */
|
||||
|
||||
/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
|
||||
/* #undef LLVM_PATH_GRAPHVIZ */
|
||||
|
||||
/* Define to path to gv program if found or 'echo gv' otherwise */
|
||||
/* #undef LLVM_PATH_GV */
|
||||
|
||||
/* Define to path to neato program if found or 'echo neato' otherwise */
|
||||
/* #undef LLVM_PATH_NEATO */
|
||||
|
||||
/* Define to path to twopi program if found or 'echo twopi' otherwise */
|
||||
/* #undef LLVM_PATH_TWOPI */
|
||||
|
||||
/* Installation prefix directory */
|
||||
#define LLVM_PREFIX "/usr"
|
||||
|
||||
#endif
|
112
external/bsd/llvm/config/llvm/Support/DataTypes.h
vendored
Normal file
112
external/bsd/llvm/config/llvm/Support/DataTypes.h
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
/* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */
|
||||
/*===-- include/System/DataTypes.h - Define fixed size types -----*- C -*-===*\
|
||||
|* *|
|
||||
|* The LLVM Compiler Infrastructure *|
|
||||
|* *|
|
||||
|* This file is distributed under the University of Illinois Open Source *|
|
||||
|* License. See LICENSE.TXT for details. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*|
|
||||
|* *|
|
||||
|* This file contains definitions to figure out the size of _HOST_ data types.*|
|
||||
|* This file is important because different host OS's define different macros,*|
|
||||
|* which makes portability tough. This file exports the following *|
|
||||
|* definitions: *|
|
||||
|* *|
|
||||
|* [u]int(32|64)_t : typedefs for signed and unsigned 32/64 bit system types*|
|
||||
|* [U]INT(8|16|32|64)_(MIN|MAX) : Constants for the min and max values. *|
|
||||
|* *|
|
||||
|* No library is required when using these functions. *|
|
||||
|* *|
|
||||
|*===----------------------------------------------------------------------===*/
|
||||
|
||||
/* Please leave this file C-compatible. */
|
||||
|
||||
#ifndef SUPPORT_DATATYPES_H
|
||||
#define SUPPORT_DATATYPES_H
|
||||
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_UINT64_T 1
|
||||
/* #undef HAVE_U_INT64_T */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <cmath>
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
/* Note that this header's correct operation depends on __STDC_LIMIT_MACROS
|
||||
being defined. We would define it here, but in order to prevent Bad Things
|
||||
happening when system headers or C++ STL headers include stdint.h before we
|
||||
define it here, we define it on the g++ command line (in Makefile.rules). */
|
||||
#if !defined(__STDC_LIMIT_MACROS)
|
||||
# error "Must #define __STDC_LIMIT_MACROS before #including System/DataTypes.h"
|
||||
#endif
|
||||
|
||||
#if !defined(__STDC_CONSTANT_MACROS)
|
||||
# error "Must #define __STDC_CONSTANT_MACROS before " \
|
||||
"#including System/DataTypes.h"
|
||||
#endif
|
||||
|
||||
/* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef _AIX
|
||||
#include "llvm/Support/AIXDataTypesFix.h"
|
||||
#endif
|
||||
|
||||
/* Handle incorrect definition of uint64_t as u_int64_t */
|
||||
#ifndef HAVE_UINT64_T
|
||||
#ifdef HAVE_U_INT64_T
|
||||
typedef u_int64_t uint64_t;
|
||||
#else
|
||||
# error "Don't have a definition for uint64_t on this platform"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _OpenBSD_
|
||||
#define INT8_MAX 127
|
||||
#define INT8_MIN -128
|
||||
#define UINT8_MAX 255
|
||||
#define INT16_MAX 32767
|
||||
#define INT16_MIN -32768
|
||||
#define UINT16_MAX 65535
|
||||
#define INT32_MAX 2147483647
|
||||
#define INT32_MIN -2147483648
|
||||
#define UINT32_MAX 4294967295U
|
||||
#endif
|
||||
|
||||
/* Set defaults for constants which we cannot find. */
|
||||
#if !defined(INT64_MAX)
|
||||
# define INT64_MAX 9223372036854775807LL
|
||||
#endif
|
||||
#if !defined(INT64_MIN)
|
||||
# define INT64_MIN ((-INT64_MAX)-1)
|
||||
#endif
|
||||
#if !defined(UINT64_MAX)
|
||||
# define UINT64_MAX 0xffffffffffffffffULL
|
||||
#endif
|
||||
|
||||
#if __GNUC__ > 3
|
||||
#define END_WITH_NULL __attribute__((sentinel))
|
||||
#else
|
||||
#define END_WITH_NULL
|
||||
#endif
|
||||
|
||||
#ifndef HUGE_VALF
|
||||
#define HUGE_VALF (float)HUGE_VAL
|
||||
#endif
|
||||
|
||||
#endif /* SUPPORT_DATATYPES_H */
|
90
external/bsd/llvm/include/Makefile
vendored
Normal file
90
external/bsd/llvm/include/Makefile
vendored
Normal file
@ -0,0 +1,90 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:52 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Headers
|
||||
|
||||
#INCS= ${INCS.x86}
|
||||
INCSDIR= /usr/include
|
||||
|
||||
INCS.x86= \
|
||||
emmintrin.h \
|
||||
immintrin.h \
|
||||
mm_malloc.h \
|
||||
mmintrin.h \
|
||||
pmmintrin.h \
|
||||
smmintrin.h \
|
||||
tmmintrin.h \
|
||||
xmmintrin.h
|
||||
|
||||
|
||||
HEADER= \
|
||||
altivec.h \
|
||||
avxintrin.h \
|
||||
float.h \
|
||||
iso646.h \
|
||||
limits.h \
|
||||
stdarg.h \
|
||||
stdbool.h \
|
||||
stddef.h \
|
||||
stdint.h \
|
||||
tgmath.h
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/include/llvm \
|
||||
${CLANG_SRCDIR}/include/clang/Basic \
|
||||
${CLANG_SRCDIR}/include/clang/Driver
|
||||
|
||||
TABLEGEN_SRC= Intrinsics.td Attr.td StmtNodes.td DeclNodes.td \
|
||||
Diagnostic.td arm_neon.td Options.td CC1AsOptions.td CC1Options.td
|
||||
|
||||
TABLEGEN_OUTPUT.Intrinsics.td= \
|
||||
llvm/Intrinsics.gen|-gen-intrinsic
|
||||
|
||||
TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
|
||||
TABLEGEN_OUTPUT.Attr.td= \
|
||||
clang/AST/Attrs.inc|-gen-clang-attr-classes \
|
||||
clang/AST/AttrImpl.inc|-gen-clang-attr-impl \
|
||||
clang/Basic/AttrList.inc|-gen-clang-attr-list \
|
||||
clang/Lex/AttrSpellings.inc|-gen-clang-attr-spelling-list \
|
||||
clang/Serialization/AttrPCHRead.inc|-gen-clang-attr-pch-read \
|
||||
clang/Serialization/AttrPCHWrite.inc|-gen-clang-attr-pch-write
|
||||
|
||||
TABLEGEN_OUTPUT.StmtNodes.td= \
|
||||
clang/AST/StmtNodes.inc|-gen-clang-stmt-nodes
|
||||
|
||||
TABLEGEN_OUTPUT.DeclNodes.td= \
|
||||
clang/AST/DeclNodes.inc|-gen-clang-decl-nodes
|
||||
|
||||
TABLEGEN_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||
TABLEGEN_OUTPUT.Diagnostic.td= \
|
||||
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
|
||||
clang/Basic/DiagnosticASTKinds.inc|-gen-clang-diags-defs^-clang-component=AST \
|
||||
clang/Basic/DiagnosticCommonKinds.inc|-gen-clang-diags-defs^-clang-component=Common \
|
||||
clang/Basic/DiagnosticDriverKinds.inc|-gen-clang-diags-defs^-clang-component=Driver \
|
||||
clang/Basic/DiagnosticFrontendKinds.inc|-gen-clang-diags-defs^-clang-component=Frontend \
|
||||
clang/Basic/DiagnosticLexKinds.inc|-gen-clang-diags-defs^-clang-component=Lex \
|
||||
clang/Basic/DiagnosticParseKinds.inc|-gen-clang-diags-defs^-clang-component=Parse \
|
||||
clang/Basic/DiagnosticSemaKinds.inc|-gen-clang-diags-defs^-clang-component=Sema \
|
||||
clang/Basic/DiagnosticGroups.inc|-gen-clang-diag-groups
|
||||
|
||||
TABLEGEN_OUTPUT.arm_neon.td= \
|
||||
clang/Basic/arm_neon.inc|-gen-arm-neon-sema \
|
||||
arm_neon.h.inc|-gen-arm-neon
|
||||
|
||||
TABLEGEN_INCLUDES.Options.td= -I${CLANG_SRCDIR}/include/clang/Driver
|
||||
TABLEGEN_OUTPUT.Options.td= \
|
||||
clang/Driver/Options.inc|-gen-opt-parser-defs
|
||||
|
||||
TABLEGEN_INCLUDES.CC1Options.td= -I${CLANG_SRCDIR}/include/clang/Driver
|
||||
TABLEGEN_OUTPUT.CC1Options.td= \
|
||||
clang/Driver/CC1Options.inc|-gen-opt-parser-defs
|
||||
|
||||
TABLEGEN_INCLUDES.CC1AsOptions.td= -I${CLANG_SRCDIR}/include/clang/Driver
|
||||
TABLEGEN_OUTPUT.CC1AsOptions.td= \
|
||||
clang/Driver/CC1AsOptions.inc|-gen-opt-parser-defs
|
||||
|
||||
.include "${.PARSEDIR}/../tablegen.mk"
|
||||
|
||||
depend dependall all: ${DPSRCS}
|
||||
|
||||
.include <bsd.prog.mk>
|
66
external/bsd/llvm/lib/Makefile
vendored
Normal file
66
external/bsd/llvm/lib/Makefile
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:52 joerg Exp $
|
||||
|
||||
SUBDIR= \
|
||||
libLLVMAnalysis \
|
||||
libLLVMAsmParser \
|
||||
libLLVMAsmPrinter \
|
||||
libLLVMBitReader \
|
||||
libLLVMBitWriter \
|
||||
libLLVMCodeGen \
|
||||
libLLVMCore \
|
||||
libLLVMInstCombine \
|
||||
libLLVMipa \
|
||||
libLLVMipo \
|
||||
libLLVMMC \
|
||||
libLLVMMCDisassembler \
|
||||
libLLVMMCParser \
|
||||
libLLVMScalarOpts \
|
||||
libLLVMSelectionDAG \
|
||||
libLLVMSupport \
|
||||
libLLVMTarget \
|
||||
libLLVMTransformsUtils \
|
||||
libLLVMX86CodeGen
|
||||
|
||||
SUBDIR+= \
|
||||
.WAIT \
|
||||
libLLVMX86AsmParser \
|
||||
libLLVMX86AsmPrinter \
|
||||
libLLVMX86Disassembler \
|
||||
libLLVMX86TargetInfo
|
||||
|
||||
.if ${LLVM_DEVELOPER:U} == "yes"
|
||||
SUBDIR+= \
|
||||
libLLVMArchive \
|
||||
libLLVMCBackend \
|
||||
libLLVMCBackendInfo \
|
||||
libLLVMCompilerDriver \
|
||||
libLLVMCppBackend \
|
||||
libLLVMCppBackendInfo \
|
||||
libLLVMExecutionEngine \
|
||||
libLLVMHello \
|
||||
libLLVMInstrumentation \
|
||||
libLLVMInterpreter \
|
||||
libLLVMJIT \
|
||||
libLLVMLinker \
|
||||
libLLVMMCJIT \
|
||||
libLLVMObject
|
||||
.endif
|
||||
|
||||
SUBDIR+= \
|
||||
libclangAnalysis \
|
||||
libclangAST \
|
||||
libclangBasic \
|
||||
libclangCodeGen \
|
||||
libclangDriver \
|
||||
libclangFrontend \
|
||||
libclangFrontendTool \
|
||||
libclangIndex \
|
||||
libclangLex \
|
||||
libclangParse \
|
||||
libclangRewrite \
|
||||
libclangSema \
|
||||
libclangSerialization \
|
||||
libclangStaticAnalyzer \
|
||||
libclangStaticAnalyzerCheckers
|
||||
|
||||
.include <bsd.subdir.mk>
|
5
external/bsd/llvm/lib/Makefile.inc
vendored
Normal file
5
external/bsd/llvm/lib/Makefile.inc
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:13:52 joerg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
.include "${.PARSEDIR}/../Makefile.inc"
|
70
external/bsd/llvm/lib/libLLVMAnalysis/Makefile
vendored
Normal file
70
external/bsd/llvm/lib/libLLVMAnalysis/Makefile
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
|
||||
|
||||
LIB= LLVMAnalysis
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Analysis
|
||||
|
||||
SRCS+= AliasAnalysis.cpp \
|
||||
AliasAnalysisCounter.cpp \
|
||||
AliasAnalysisEvaluator.cpp \
|
||||
AliasDebugger.cpp \
|
||||
AliasSetTracker.cpp \
|
||||
Analysis.cpp \
|
||||
BasicAliasAnalysis.cpp \
|
||||
CFGPrinter.cpp \
|
||||
CaptureTracking.cpp \
|
||||
ConstantFolding.cpp \
|
||||
DbgInfoPrinter.cpp \
|
||||
DebugInfo.cpp \
|
||||
DIBuilder.cpp \
|
||||
DomPrinter.cpp \
|
||||
DominanceFrontier.cpp \
|
||||
IVUsers.cpp \
|
||||
InlineCost.cpp \
|
||||
InstCount.cpp \
|
||||
InstructionSimplify.cpp \
|
||||
Interval.cpp \
|
||||
IntervalPartition.cpp \
|
||||
LazyValueInfo.cpp \
|
||||
LibCallAliasAnalysis.cpp \
|
||||
LibCallSemantics.cpp \
|
||||
Lint.cpp \
|
||||
LiveValues.cpp \
|
||||
Loads.cpp \
|
||||
LoopDependenceAnalysis.cpp \
|
||||
LoopInfo.cpp \
|
||||
LoopPass.cpp \
|
||||
MemDepPrinter.cpp \
|
||||
MemoryBuiltins.cpp \
|
||||
MemoryDependenceAnalysis.cpp \
|
||||
ModuleDebugInfoPrinter.cpp \
|
||||
NoAliasAnalysis.cpp \
|
||||
PathNumbering.cpp \
|
||||
PathProfileInfo.cpp \
|
||||
PathProfileVerifier.cpp \
|
||||
PHITransAddr.cpp \
|
||||
PostDominators.cpp \
|
||||
ProfileEstimatorPass.cpp \
|
||||
ProfileInfo.cpp \
|
||||
ProfileInfoLoader.cpp \
|
||||
ProfileInfoLoaderPass.cpp \
|
||||
ProfileVerifierPass.cpp \
|
||||
RegionInfo.cpp \
|
||||
RegionPass.cpp \
|
||||
RegionPrinter.cpp \
|
||||
ScalarEvolution.cpp \
|
||||
ScalarEvolutionAliasAnalysis.cpp \
|
||||
ScalarEvolutionExpander.cpp \
|
||||
ScalarEvolutionNormalization.cpp \
|
||||
SparsePropagation.cpp \
|
||||
Trace.cpp \
|
||||
TypeBasedAliasAnalysis.cpp \
|
||||
ValueTracking.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
13
external/bsd/llvm/lib/libLLVMArchive/Makefile
vendored
Normal file
13
external/bsd/llvm/lib/libLLVMArchive/Makefile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
|
||||
|
||||
LIB= LLVMArchive
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Archive
|
||||
|
||||
SRCS+= Archive.cpp \
|
||||
ArchiveReader.cpp \
|
||||
ArchiveWriter.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
17
external/bsd/llvm/lib/libLLVMAsmParser/Makefile
vendored
Normal file
17
external/bsd/llvm/lib/libLLVMAsmParser/Makefile
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
|
||||
|
||||
LIB= LLVMAsmParser
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/AsmParser
|
||||
|
||||
SRCS+= LLLexer.cpp \
|
||||
LLParser.cpp \
|
||||
Parser.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
23
external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
vendored
Normal file
23
external/bsd/llvm/lib/libLLVMAsmPrinter/Makefile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:53 joerg Exp $
|
||||
|
||||
LIB= LLVMAsmPrinter
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/CodeGen/AsmPrinter
|
||||
|
||||
SRCS+= AsmPrinter.cpp \
|
||||
AsmPrinterDwarf.cpp \
|
||||
AsmPrinterInlineAsm.cpp \
|
||||
DIE.cpp \
|
||||
DwarfCFIException.cpp \
|
||||
DwarfDebug.cpp \
|
||||
DwarfException.cpp \
|
||||
DwarfTableException.cpp \
|
||||
OcamlGCPrinter.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
16
external/bsd/llvm/lib/libLLVMBitReader/Makefile
vendored
Normal file
16
external/bsd/llvm/lib/libLLVMBitReader/Makefile
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:54 joerg Exp $
|
||||
|
||||
LIB= LLVMBitReader
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Bitcode/Reader
|
||||
|
||||
SRCS+= BitReader.cpp \
|
||||
BitcodeReader.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
18
external/bsd/llvm/lib/libLLVMBitWriter/Makefile
vendored
Normal file
18
external/bsd/llvm/lib/libLLVMBitWriter/Makefile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:54 joerg Exp $
|
||||
|
||||
LIB= LLVMBitWriter
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Bitcode/Writer
|
||||
|
||||
SRCS+= BitWriter.cpp \
|
||||
BitcodeWriter.cpp \
|
||||
BitcodeWriterPass.cpp \
|
||||
ValueEnumerator.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
11
external/bsd/llvm/lib/libLLVMCBackend/Makefile
vendored
Normal file
11
external/bsd/llvm/lib/libLLVMCBackend/Makefile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CBackend
|
||||
|
||||
SRCS+= CBackend.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
13
external/bsd/llvm/lib/libLLVMCBackendInfo/Makefile
vendored
Normal file
13
external/bsd/llvm/lib/libLLVMCBackendInfo/Makefile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCBackendInfo
|
||||
|
||||
CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/CBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CBackend/TargetInfo
|
||||
|
||||
SRCS+= CBackendTargetInfo.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
108
external/bsd/llvm/lib/libLLVMCodeGen/Makefile
vendored
Normal file
108
external/bsd/llvm/lib/libLLVMCodeGen/Makefile
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCodeGen
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/CodeGen
|
||||
|
||||
SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||
AllocationOrder.cpp \
|
||||
Analysis.cpp \
|
||||
BranchFolding.cpp \
|
||||
CalcSpillWeights.cpp \
|
||||
CallingConvLower.cpp \
|
||||
CodeGen.cpp \
|
||||
CodePlacementOpt.cpp \
|
||||
CriticalAntiDepBreaker.cpp \
|
||||
DeadMachineInstructionElim.cpp \
|
||||
DwarfEHPrepare.cpp \
|
||||
EdgeBundles.cpp \
|
||||
ELFCodeEmitter.cpp \
|
||||
ELFWriter.cpp \
|
||||
ExpandISelPseudos.cpp \
|
||||
GCMetadata.cpp \
|
||||
GCMetadataPrinter.cpp \
|
||||
GCStrategy.cpp \
|
||||
IfConversion.cpp \
|
||||
InlineSpiller.cpp \
|
||||
IntrinsicLowering.cpp \
|
||||
LLVMTargetMachine.cpp \
|
||||
LatencyPriorityQueue.cpp \
|
||||
LiveDebugVariables.cpp \
|
||||
LiveInterval.cpp \
|
||||
LiveIntervalAnalysis.cpp \
|
||||
LiveIntervalUnion.cpp \
|
||||
LiveStackAnalysis.cpp \
|
||||
LiveVariables.cpp \
|
||||
LiveRangeEdit.cpp \
|
||||
LocalStackSlotAllocation.cpp \
|
||||
LowerSubregs.cpp \
|
||||
MachineBasicBlock.cpp \
|
||||
MachineCSE.cpp \
|
||||
MachineDominators.cpp \
|
||||
MachineFunction.cpp \
|
||||
MachineFunctionAnalysis.cpp \
|
||||
MachineFunctionPass.cpp \
|
||||
MachineFunctionPrinterPass.cpp \
|
||||
MachineInstr.cpp \
|
||||
MachineLICM.cpp \
|
||||
MachineLoopInfo.cpp \
|
||||
MachineLoopRanges.cpp \
|
||||
MachineModuleInfo.cpp \
|
||||
MachineModuleInfoImpls.cpp \
|
||||
MachinePassRegistry.cpp \
|
||||
MachineRegisterInfo.cpp \
|
||||
MachineSSAUpdater.cpp \
|
||||
MachineSink.cpp \
|
||||
MachineVerifier.cpp \
|
||||
ObjectCodeEmitter.cpp \
|
||||
OcamlGC.cpp \
|
||||
OptimizePHIs.cpp \
|
||||
PHIElimination.cpp \
|
||||
PHIEliminationUtils.cpp \
|
||||
Passes.cpp \
|
||||
PeepholeOptimizer.cpp \
|
||||
ScoreboardHazardRecognizer.cpp \
|
||||
PostRASchedulerList.cpp \
|
||||
PreAllocSplitting.cpp \
|
||||
ProcessImplicitDefs.cpp \
|
||||
PrologEpilogInserter.cpp \
|
||||
PseudoSourceValue.cpp \
|
||||
RegAllocBasic.cpp \
|
||||
RegAllocFast.cpp \
|
||||
RegAllocGreedy.cpp \
|
||||
RegAllocLinearScan.cpp \
|
||||
RegAllocPBQP.cpp \
|
||||
RegisterCoalescer.cpp \
|
||||
RegisterScavenging.cpp \
|
||||
RenderMachineFunction.cpp \
|
||||
ScheduleDAG.cpp \
|
||||
ScheduleDAGEmit.cpp \
|
||||
ScheduleDAGInstrs.cpp \
|
||||
ScheduleDAGPrinter.cpp \
|
||||
ShadowStackGC.cpp \
|
||||
ShrinkWrapping.cpp \
|
||||
SimpleRegisterCoalescing.cpp \
|
||||
SjLjEHPrepare.cpp \
|
||||
SlotIndexes.cpp \
|
||||
Spiller.cpp \
|
||||
SpillPlacement.cpp \
|
||||
SplitKit.cpp \
|
||||
Splitter.cpp \
|
||||
StackProtector.cpp \
|
||||
StackSlotColoring.cpp \
|
||||
StrongPHIElimination.cpp \
|
||||
TailDuplication.cpp \
|
||||
TargetInstrInfoImpl.cpp \
|
||||
TargetLoweringObjectFileImpl.cpp \
|
||||
TwoAddressInstructionPass.cpp \
|
||||
UnreachableBlockElim.cpp \
|
||||
VirtRegMap.cpp \
|
||||
VirtRegRewriter.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
15
external/bsd/llvm/lib/libLLVMCompilerDriver/Makefile
vendored
Normal file
15
external/bsd/llvm/lib/libLLVMCompilerDriver/Makefile
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:55 joerg Exp $
|
||||
|
||||
LIB= LLVMCompilerDriver
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/CompilerDriver
|
||||
|
||||
SRCS+= Action.cpp \
|
||||
BuiltinOptions.cpp \
|
||||
CompilationGraph.cpp \
|
||||
Main.cpp \
|
||||
Tool.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
48
external/bsd/llvm/lib/libLLVMCore/Makefile
vendored
Normal file
48
external/bsd/llvm/lib/libLLVMCore/Makefile
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $
|
||||
|
||||
LIB= LLVMCore
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/VMCore
|
||||
|
||||
SRCS+= AsmWriter.cpp \
|
||||
Attributes.cpp \
|
||||
AutoUpgrade.cpp \
|
||||
BasicBlock.cpp \
|
||||
ConstantFold.cpp \
|
||||
Constants.cpp \
|
||||
Core.cpp \
|
||||
DebugLoc.cpp \
|
||||
Dominators.cpp \
|
||||
Function.cpp \
|
||||
GVMaterializer.cpp \
|
||||
Globals.cpp \
|
||||
IRBuilder.cpp \
|
||||
InlineAsm.cpp \
|
||||
Instruction.cpp \
|
||||
Instructions.cpp \
|
||||
IntrinsicInst.cpp \
|
||||
LLVMContext.cpp \
|
||||
LLVMContextImpl.cpp \
|
||||
LeakDetector.cpp \
|
||||
Metadata.cpp \
|
||||
Module.cpp \
|
||||
Pass.cpp \
|
||||
PassManager.cpp \
|
||||
PassRegistry.cpp \
|
||||
PrintModulePass.cpp \
|
||||
Type.cpp \
|
||||
TypeSymbolTable.cpp \
|
||||
Use.cpp \
|
||||
User.cpp \
|
||||
Value.cpp \
|
||||
ValueSymbolTable.cpp \
|
||||
ValueTypes.cpp \
|
||||
Verifier.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
11
external/bsd/llvm/lib/libLLVMCppBackend/Makefile
vendored
Normal file
11
external/bsd/llvm/lib/libLLVMCppBackend/Makefile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $
|
||||
|
||||
LIB= LLVMCppBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CppBackend
|
||||
|
||||
SRCS+= CPPBackend.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
13
external/bsd/llvm/lib/libLLVMCppBackendInfo/Makefile
vendored
Normal file
13
external/bsd/llvm/lib/libLLVMCppBackendInfo/Makefile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:56 joerg Exp $
|
||||
|
||||
LIB= LLVMCppBackendInfo
|
||||
|
||||
CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/CppBackend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/CppBackend/TargetInfo
|
||||
|
||||
SRCS+= CppBackendTargetInfo.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
12
external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile
vendored
Normal file
12
external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:57 joerg Exp $
|
||||
|
||||
LIB= LLVMExecutionEngine
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine
|
||||
|
||||
SRCS+= ExecutionEngine.cpp \
|
||||
ExecutionEngineBindings.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
11
external/bsd/llvm/lib/libLLVMHello/Makefile
vendored
Normal file
11
external/bsd/llvm/lib/libLLVMHello/Makefile
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:57 joerg Exp $
|
||||
|
||||
LIB= LLVMHello
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Hello
|
||||
|
||||
SRCS+= Hello.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
27
external/bsd/llvm/lib/libLLVMInstCombine/Makefile
vendored
Normal file
27
external/bsd/llvm/lib/libLLVMInstCombine/Makefile
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:57 joerg Exp $
|
||||
|
||||
LIB= LLVMInstCombine
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/InstCombine
|
||||
|
||||
SRCS+= InstructionCombining.cpp \
|
||||
InstCombineAddSub.cpp \
|
||||
InstCombineAndOrXor.cpp \
|
||||
InstCombineCalls.cpp \
|
||||
InstCombineCasts.cpp \
|
||||
InstCombineCompares.cpp \
|
||||
InstCombineLoadStoreAlloca.cpp \
|
||||
InstCombineMulDivRem.cpp \
|
||||
InstCombinePHI.cpp \
|
||||
InstCombineSelect.cpp \
|
||||
InstCombineShifts.cpp \
|
||||
InstCombineSimplifyDemanded.cpp \
|
||||
InstCombineVectorOps.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
15
external/bsd/llvm/lib/libLLVMInstrumentation/Makefile
vendored
Normal file
15
external/bsd/llvm/lib/libLLVMInstrumentation/Makefile
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:57 joerg Exp $
|
||||
|
||||
LIB= LLVMInstrumentation
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
|
||||
|
||||
SRCS+= EdgeProfiling.cpp \
|
||||
Instrumentation.cpp \
|
||||
OptimalEdgeProfiling.cpp \
|
||||
PathProfiling.cpp \
|
||||
ProfilingUtils.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
13
external/bsd/llvm/lib/libLLVMInterpreter/Makefile
vendored
Normal file
13
external/bsd/llvm/lib/libLLVMInterpreter/Makefile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:58 joerg Exp $
|
||||
|
||||
LIB= LLVMInterpreter
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/Interpreter
|
||||
|
||||
SRCS+= Execution.cpp \
|
||||
ExternalFunctions.cpp \
|
||||
Interpreter.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
20
external/bsd/llvm/lib/libLLVMJIT/Makefile
vendored
Normal file
20
external/bsd/llvm/lib/libLLVMJIT/Makefile
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:58 joerg Exp $
|
||||
|
||||
LIB= LLVMJIT
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
CPPFLAGS+= -DENABLE_X86_JIT
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/JIT
|
||||
|
||||
SRCS+= Intercept.cpp \
|
||||
JIT.cpp \
|
||||
JITDebugRegisterer.cpp \
|
||||
JITDwarfEmitter.cpp \
|
||||
JITEmitter.cpp \
|
||||
JITMemoryManager.cpp \
|
||||
OProfileJITEventListener.cpp \
|
||||
TargetSelect.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
14
external/bsd/llvm/lib/libLLVMLinker/Makefile
vendored
Normal file
14
external/bsd/llvm/lib/libLLVMLinker/Makefile
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:58 joerg Exp $
|
||||
|
||||
LIB= LLVMLinker
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Linker
|
||||
|
||||
SRCS+= LinkArchives.cpp \
|
||||
LinkItems.cpp \
|
||||
LinkModules.cpp \
|
||||
Linker.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
48
external/bsd/llvm/lib/libLLVMMC/Makefile
vendored
Normal file
48
external/bsd/llvm/lib/libLLVMMC/Makefile
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $
|
||||
|
||||
LIB= LLVMMC
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/MC
|
||||
|
||||
SRCS+= ELFObjectWriter.cpp \
|
||||
MCAsmInfo.cpp \
|
||||
MCAsmInfoCOFF.cpp \
|
||||
MCAsmInfoDarwin.cpp \
|
||||
MCAsmStreamer.cpp \
|
||||
MCAssembler.cpp \
|
||||
MCCodeEmitter.cpp \
|
||||
MCContext.cpp \
|
||||
MCDisassembler.cpp \
|
||||
MCELFObjectTargetWriter.cpp \
|
||||
MCELFStreamer.cpp \
|
||||
MCExpr.cpp \
|
||||
MCInst.cpp \
|
||||
MCInstPrinter.cpp \
|
||||
MCLabel.cpp \
|
||||
MCDwarf.cpp \
|
||||
MCLoggingStreamer.cpp \
|
||||
MCMachOStreamer.cpp \
|
||||
MCMachObjectTargetWriter.cpp \
|
||||
MCNullStreamer.cpp \
|
||||
MCObjectStreamer.cpp \
|
||||
MCObjectWriter.cpp \
|
||||
MCPureStreamer.cpp \
|
||||
MCSection.cpp \
|
||||
MCSectionCOFF.cpp \
|
||||
MCSectionELF.cpp \
|
||||
MCSectionMachO.cpp \
|
||||
MCStreamer.cpp \
|
||||
MCSymbol.cpp \
|
||||
MCValue.cpp \
|
||||
MachObjectWriter.cpp \
|
||||
WinCOFFStreamer.cpp \
|
||||
WinCOFFObjectWriter.cpp \
|
||||
TargetAsmBackend.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
18
external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile
vendored
Normal file
18
external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:59 joerg Exp $
|
||||
|
||||
LIB= LLVMMCDisassembler
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/MC/MCDisassembler
|
||||
|
||||
SRCS+= EDDisassembler.cpp \
|
||||
EDOperand.cpp \
|
||||
EDInst.cpp \
|
||||
EDToken.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
12
external/bsd/llvm/lib/libLLVMMCJIT/Makefile
vendored
Normal file
12
external/bsd/llvm/lib/libLLVMMCJIT/Makefile
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:00 joerg Exp $
|
||||
|
||||
LIB= LLVMMCJIT
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT
|
||||
|
||||
SRCS+= MCJIT.cpp \
|
||||
TargetSelect.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
23
external/bsd/llvm/lib/libLLVMMCParser/Makefile
vendored
Normal file
23
external/bsd/llvm/lib/libLLVMMCParser/Makefile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:00 joerg Exp $
|
||||
|
||||
LIB= LLVMMCParser
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/MC/MCParser
|
||||
|
||||
SRCS+= AsmLexer.cpp \
|
||||
AsmParser.cpp \
|
||||
COFFAsmParser.cpp \
|
||||
DarwinAsmParser.cpp \
|
||||
ELFAsmParser.cpp \
|
||||
MCAsmLexer.cpp \
|
||||
MCAsmParser.cpp \
|
||||
MCAsmParserExtension.cpp \
|
||||
TargetAsmParser.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
15
external/bsd/llvm/lib/libLLVMObject/Makefile
vendored
Normal file
15
external/bsd/llvm/lib/libLLVMObject/Makefile
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:00 joerg Exp $
|
||||
|
||||
LIB= LLVMObject
|
||||
NOGCCERROR= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Object
|
||||
|
||||
SRCS+= COFFObjectFile.cpp \
|
||||
ELFObjectFile.cpp \
|
||||
MachOObject.cpp \
|
||||
ObjectFile.cpp
|
||||
|
||||
.include <bsd.lib.mk>
|
47
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
vendored
Normal file
47
external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $
|
||||
|
||||
LIB= LLVMScalarOpts
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar
|
||||
|
||||
SRCS+= ADCE.cpp \
|
||||
BasicBlockPlacement.cpp \
|
||||
CodeGenPrepare.cpp \
|
||||
ConstantProp.cpp \
|
||||
CorrelatedValuePropagation.cpp \
|
||||
DCE.cpp \
|
||||
DeadStoreElimination.cpp \
|
||||
EarlyCSE.cpp \
|
||||
GEPSplitter.cpp \
|
||||
GVN.cpp \
|
||||
IndVarSimplify.cpp \
|
||||
JumpThreading.cpp \
|
||||
LICM.cpp \
|
||||
LoopDeletion.cpp \
|
||||
LoopIdiomRecognize.cpp \
|
||||
LoopInstSimplify.cpp \
|
||||
LoopRotation.cpp \
|
||||
LoopStrengthReduce.cpp \
|
||||
LoopUnrollPass.cpp \
|
||||
LoopUnswitch.cpp \
|
||||
LowerAtomic.cpp \
|
||||
MemCpyOptimizer.cpp \
|
||||
Reassociate.cpp \
|
||||
Reg2Mem.cpp \
|
||||
SCCP.cpp \
|
||||
Scalar.cpp \
|
||||
ScalarReplAggregates.cpp \
|
||||
SimplifyCFGPass.cpp \
|
||||
SimplifyHalfPowrLibCalls.cpp \
|
||||
SimplifyLibCalls.cpp \
|
||||
Sink.cpp \
|
||||
TailDuplication.cpp \
|
||||
TailRecursionElimination.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
35
external/bsd/llvm/lib/libLLVMSelectionDAG/Makefile
vendored
Normal file
35
external/bsd/llvm/lib/libLLVMSelectionDAG/Makefile
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $
|
||||
|
||||
LIB= LLVMSelectionDAG
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/CodeGen/SelectionDAG
|
||||
|
||||
SRCS+= DAGCombiner.cpp \
|
||||
FastISel.cpp \
|
||||
FunctionLoweringInfo.cpp \
|
||||
InstrEmitter.cpp \
|
||||
LegalizeDAG.cpp \
|
||||
LegalizeFloatTypes.cpp \
|
||||
LegalizeIntegerTypes.cpp \
|
||||
LegalizeTypes.cpp \
|
||||
LegalizeTypesGeneric.cpp \
|
||||
LegalizeVectorOps.cpp \
|
||||
LegalizeVectorTypes.cpp \
|
||||
ScheduleDAGFast.cpp \
|
||||
ScheduleDAGList.cpp \
|
||||
ScheduleDAGRRList.cpp \
|
||||
ScheduleDAGSDNodes.cpp \
|
||||
SelectionDAG.cpp \
|
||||
SelectionDAGBuilder.cpp \
|
||||
SelectionDAGISel.cpp \
|
||||
SelectionDAGPrinter.cpp \
|
||||
TargetLowering.cpp \
|
||||
TargetSelectionDAGInfo.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
100
external/bsd/llvm/lib/libLLVMSupport/Makefile
vendored
Normal file
100
external/bsd/llvm/lib/libLLVMSupport/Makefile
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:01 joerg Exp $
|
||||
|
||||
LIB= LLVMSupport
|
||||
|
||||
NOGCCERROR= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Support
|
||||
|
||||
SRCS+= APFloat.cpp \
|
||||
APInt.cpp \
|
||||
APSInt.cpp \
|
||||
Allocator.cpp \
|
||||
circular_raw_ostream.cpp \
|
||||
CommandLine.cpp \
|
||||
ConstantRange.cpp \
|
||||
CrashRecoveryContext.cpp \
|
||||
Debug.cpp \
|
||||
DeltaAlgorithm.cpp \
|
||||
DAGDeltaAlgorithm.cpp \
|
||||
Dwarf.cpp \
|
||||
ErrorHandling.cpp \
|
||||
FileUtilities.cpp \
|
||||
FoldingSet.cpp \
|
||||
FormattedStream.cpp \
|
||||
GraphWriter.cpp \
|
||||
IntEqClasses.cpp \
|
||||
IntervalMap.cpp \
|
||||
IsInf.cpp \
|
||||
IsNAN.cpp \
|
||||
ManagedStatic.cpp \
|
||||
MemoryBuffer.cpp \
|
||||
MemoryObject.cpp \
|
||||
PluginLoader.cpp \
|
||||
PrettyStackTrace.cpp \
|
||||
Regex.cpp \
|
||||
SmallPtrSet.cpp \
|
||||
SmallVector.cpp \
|
||||
SourceMgr.cpp \
|
||||
Statistic.cpp \
|
||||
StringExtras.cpp \
|
||||
StringMap.cpp \
|
||||
StringPool.cpp \
|
||||
StringRef.cpp \
|
||||
SystemUtils.cpp \
|
||||
TargetRegistry.cpp \
|
||||
Timer.cpp \
|
||||
ToolOutputFile.cpp \
|
||||
Triple.cpp \
|
||||
Twine.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 \
|
||||
PathV2.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 \
|
||||
PathV2.inc \
|
||||
Process.inc \
|
||||
Program.inc \
|
||||
RWMutex.inc \
|
||||
Signals.inc \
|
||||
system_error.inc \
|
||||
ThreadLocal.inc \
|
||||
TimeValue.inc
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
28
external/bsd/llvm/lib/libLLVMTarget/Makefile
vendored
Normal file
28
external/bsd/llvm/lib/libLLVMTarget/Makefile
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $
|
||||
|
||||
LIB= LLVMTarget
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target
|
||||
|
||||
SRCS+= Mangler.cpp \
|
||||
SubtargetFeature.cpp \
|
||||
Target.cpp \
|
||||
TargetAsmInfo.cpp \
|
||||
TargetAsmLexer.cpp \
|
||||
TargetData.cpp \
|
||||
TargetELFWriterInfo.cpp \
|
||||
TargetFrameLowering.cpp \
|
||||
TargetInstrInfo.cpp \
|
||||
TargetIntrinsicInfo.cpp \
|
||||
TargetLoweringObjectFile.cpp \
|
||||
TargetMachine.cpp \
|
||||
TargetRegisterInfo.cpp \
|
||||
TargetSubtarget.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
40
external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
vendored
Normal file
40
external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $
|
||||
|
||||
LIB= LLVMTransformsUtils
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Utils
|
||||
|
||||
SRCS+= AddrModeMatcher.cpp \
|
||||
BasicBlockUtils.cpp \
|
||||
BasicInliner.cpp \
|
||||
BreakCriticalEdges.cpp \
|
||||
BuildLibCalls.cpp \
|
||||
CloneFunction.cpp \
|
||||
CloneLoop.cpp \
|
||||
CloneModule.cpp \
|
||||
CodeExtractor.cpp \
|
||||
DemoteRegToStack.cpp \
|
||||
InlineFunction.cpp \
|
||||
InstructionNamer.cpp \
|
||||
LCSSA.cpp \
|
||||
Local.cpp \
|
||||
LoopSimplify.cpp \
|
||||
LoopUnroll.cpp \
|
||||
LowerInvoke.cpp \
|
||||
LowerSwitch.cpp \
|
||||
Mem2Reg.cpp \
|
||||
PromoteMemoryToRegister.cpp \
|
||||
SSAUpdater.cpp \
|
||||
SimplifyCFG.cpp \
|
||||
SimplifyInstructions.cpp \
|
||||
UnifyFunctionExitNodes.cpp \
|
||||
Utils.cpp \
|
||||
ValueMapper.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
19
external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile
vendored
Normal file
19
external/bsd/llvm/lib/libLLVMX86AsmParser/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $
|
||||
|
||||
LIB= LLVMX86AsmParser
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
||||
CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/AsmParser
|
||||
|
||||
SRCS+= X86AsmLexer.cpp \
|
||||
X86AsmParser.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
21
external/bsd/llvm/lib/libLLVMX86AsmPrinter/Makefile
vendored
Normal file
21
external/bsd/llvm/lib/libLLVMX86AsmPrinter/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:02 joerg Exp $
|
||||
|
||||
LIB= LLVMX86AsmPrinter
|
||||
NOGCCERROR= yes
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
||||
CPPFLAGS+= -I${X86_OBJDIR}
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/InstPrinter
|
||||
|
||||
SRCS+= X86ATTInstPrinter.cpp \
|
||||
X86IntelInstPrinter.cpp \
|
||||
X86InstComments.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
56
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
vendored
Normal file
56
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:03 joerg Exp $
|
||||
|
||||
LIB= LLVMX86CodeGen
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/X86
|
||||
|
||||
SRCS+= SSEDomainFix.cpp \
|
||||
X86AsmBackend.cpp \
|
||||
X86AsmPrinter.cpp \
|
||||
X86COFFMachineModuleInfo.cpp \
|
||||
X86CodeEmitter.cpp \
|
||||
X86ELFWriterInfo.cpp \
|
||||
X86FastISel.cpp \
|
||||
X86FloatingPoint.cpp \
|
||||
X86FrameLowering.cpp \
|
||||
X86ISelDAGToDAG.cpp \
|
||||
X86ISelLowering.cpp \
|
||||
X86InstrInfo.cpp \
|
||||
X86JITInfo.cpp \
|
||||
X86MachObjectWriter.cpp \
|
||||
X86MCAsmInfo.cpp \
|
||||
X86MCCodeEmitter.cpp \
|
||||
X86MCInstLower.cpp \
|
||||
X86RegisterInfo.cpp \
|
||||
X86SelectionDAGInfo.cpp \
|
||||
X86Subtarget.cpp \
|
||||
X86TargetMachine.cpp \
|
||||
X86TargetObjectFile.cpp
|
||||
|
||||
TABLEGEN_SRC= X86.td
|
||||
TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/X86
|
||||
TABLEGEN_OUTPUT= \
|
||||
X86GenRegisterInfo.h.inc|-gen-register-desc-header \
|
||||
X86GenRegisterNames.inc|-gen-register-enums \
|
||||
X86GenRegisterInfo.inc|-gen-register-desc \
|
||||
X86GenDisassemblerTables.inc|-gen-disassembler \
|
||||
X86GenInstrNames.inc|-gen-instr-enums \
|
||||
X86GenInstrInfo.inc|-gen-instr-desc \
|
||||
X86GenAsmWriter.inc|-gen-asm-writer \
|
||||
X86GenAsmWriter1.inc|-gen-asm-writer^-asmwriternum=1 \
|
||||
X86GenAsmMatcher.inc|-gen-asm-matcher \
|
||||
X86GenDAGISel.inc|-gen-dag-isel \
|
||||
X86GenFastISel.inc|-gen-fast-isel \
|
||||
X86GenCallingConv.inc|-gen-callingconv \
|
||||
X86GenSubtarget.inc|-gen-subtarget \
|
||||
X86GenEDInfo.inc|-gen-enhanced-disassembly-info
|
||||
|
||||
.include "${.PARSEDIR}/../../tablegen.mk"
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
19
external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
vendored
Normal file
19
external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:04 joerg Exp $
|
||||
|
||||
LIB= LLVMX86Disassembler
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
||||
CPPFLAGS+= -I${X86_OBJDIR}
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/Disassembler
|
||||
|
||||
SRCS+= X86Disassembler.cpp \
|
||||
X86DisassemblerDecoder.c
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
18
external/bsd/llvm/lib/libLLVMX86TargetInfo/Makefile
vendored
Normal file
18
external/bsd/llvm/lib/libLLVMX86TargetInfo/Makefile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:04 joerg Exp $
|
||||
|
||||
LIB= LLVMX86TargetInfo
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
||||
CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/TargetInfo
|
||||
|
||||
SRCS+= X86TargetInfo.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
19
external/bsd/llvm/lib/libLLVMipa/Makefile
vendored
Normal file
19
external/bsd/llvm/lib/libLLVMipa/Makefile
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $
|
||||
|
||||
LIB= LLVMipa
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Analysis/IPA
|
||||
|
||||
SRCS+= CallGraph.cpp \
|
||||
CallGraphSCCPass.cpp \
|
||||
FindUsedTypes.cpp \
|
||||
GlobalsModRef.cpp \
|
||||
IPA.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
36
external/bsd/llvm/lib/libLLVMipo/Makefile
vendored
Normal file
36
external/bsd/llvm/lib/libLLVMipo/Makefile
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $
|
||||
|
||||
LIB= LLVMipo
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/IPO
|
||||
|
||||
SRCS+= ArgumentPromotion.cpp \
|
||||
ConstantMerge.cpp \
|
||||
DeadArgumentElimination.cpp \
|
||||
DeadTypeElimination.cpp \
|
||||
ExtractGV.cpp \
|
||||
FunctionAttrs.cpp \
|
||||
GlobalDCE.cpp \
|
||||
GlobalOpt.cpp \
|
||||
IPConstantPropagation.cpp \
|
||||
IPO.cpp \
|
||||
InlineAlways.cpp \
|
||||
InlineSimple.cpp \
|
||||
Inliner.cpp \
|
||||
Internalize.cpp \
|
||||
LoopExtractor.cpp \
|
||||
LowerSetJmp.cpp \
|
||||
MergeFunctions.cpp \
|
||||
PartialInlining.cpp \
|
||||
PruneEH.cpp \
|
||||
StripDeadPrototypes.cpp \
|
||||
StripSymbols.cpp \
|
||||
StructRetPromotion.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
56
external/bsd/llvm/lib/libclangAST/Makefile
vendored
Normal file
56
external/bsd/llvm/lib/libclangAST/Makefile
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:05 joerg Exp $
|
||||
|
||||
LIB= clangAST
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/AST
|
||||
|
||||
SRCS+= APValue.cpp \
|
||||
ASTConsumer.cpp \
|
||||
ASTContext.cpp \
|
||||
ASTDiagnostic.cpp \
|
||||
ASTImporter.cpp \
|
||||
AttrImpl.cpp \
|
||||
CXXInheritance.cpp \
|
||||
Decl.cpp \
|
||||
DeclarationName.cpp \
|
||||
DeclBase.cpp \
|
||||
DeclCXX.cpp \
|
||||
DeclFriend.cpp \
|
||||
DeclGroup.cpp \
|
||||
DeclObjC.cpp \
|
||||
DeclPrinter.cpp \
|
||||
DeclTemplate.cpp \
|
||||
DumpXML.cpp \
|
||||
Expr.cpp \
|
||||
ExprClassification.cpp \
|
||||
ExprConstant.cpp \
|
||||
ExprCXX.cpp \
|
||||
InheritViz.cpp \
|
||||
ItaniumCXXABI.cpp \
|
||||
ItaniumMangle.cpp \
|
||||
Mangle.cpp \
|
||||
MicrosoftCXXABI.cpp \
|
||||
MicrosoftMangle.cpp \
|
||||
NestedNameSpecifier.cpp \
|
||||
ParentMap.cpp \
|
||||
RecordLayout.cpp \
|
||||
RecordLayoutBuilder.cpp \
|
||||
Stmt.cpp \
|
||||
StmtDumper.cpp \
|
||||
StmtIterator.cpp \
|
||||
StmtPrinter.cpp \
|
||||
StmtProfile.cpp \
|
||||
StmtViz.cpp \
|
||||
TemplateBase.cpp \
|
||||
TemplateName.cpp \
|
||||
Type.cpp \
|
||||
TypeLoc.cpp \
|
||||
TypePrinter.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
26
external/bsd/llvm/lib/libclangAnalysis/Makefile
vendored
Normal file
26
external/bsd/llvm/lib/libclangAnalysis/Makefile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
|
||||
|
||||
LIB= clangAnalysis
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Analysis
|
||||
|
||||
SRCS+= AnalysisContext.cpp \
|
||||
CFG.cpp \
|
||||
CFGStmtMap.cpp \
|
||||
CocoaConventions.cpp \
|
||||
FormatString.cpp \
|
||||
LiveVariables.cpp \
|
||||
PrintfFormatString.cpp \
|
||||
PseudoConstantAnalysis.cpp \
|
||||
ReachableCode.cpp \
|
||||
ScanfFormatString.cpp \
|
||||
UninitializedValues.cpp \
|
||||
UninitializedValuesV2.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
29
external/bsd/llvm/lib/libclangBasic/Makefile
vendored
Normal file
29
external/bsd/llvm/lib/libclangBasic/Makefile
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
|
||||
|
||||
LIB= clangBasic
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Basic
|
||||
|
||||
SRCS+= Builtins.cpp \
|
||||
ConvertUTF.c \
|
||||
Diagnostic.cpp \
|
||||
DiagnosticIDs.cpp \
|
||||
FileManager.cpp \
|
||||
FileSystemStatCache.cpp \
|
||||
IdentifierTable.cpp \
|
||||
SourceLocation.cpp \
|
||||
SourceManager.cpp \
|
||||
TargetInfo.cpp \
|
||||
Targets.cpp \
|
||||
TokenKinds.cpp \
|
||||
Version.cpp
|
||||
|
||||
CPPFLAGS.version.cpp= -DSVN_REVISON=\"${CLANG_REVISION}\"
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
50
external/bsd/llvm/lib/libclangCodeGen/Makefile
vendored
Normal file
50
external/bsd/llvm/lib/libclangCodeGen/Makefile
vendored
Normal file
@ -0,0 +1,50 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
|
||||
|
||||
LIB= clangCodeGen
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/CodeGen
|
||||
|
||||
SRCS+= BackendUtil.cpp \
|
||||
CGBlocks.cpp \
|
||||
CGBuiltin.cpp \
|
||||
CGCall.cpp \
|
||||
CGClass.cpp \
|
||||
CGCleanup.cpp \
|
||||
CGCXX.cpp \
|
||||
CGCXXABI.cpp \
|
||||
CGDebugInfo.cpp \
|
||||
CGDecl.cpp \
|
||||
CGDeclCXX.cpp \
|
||||
CGException.cpp \
|
||||
CGExpr.cpp \
|
||||
CGExprAgg.cpp \
|
||||
CGExprComplex.cpp \
|
||||
CGExprConstant.cpp \
|
||||
CGExprCXX.cpp \
|
||||
CGExprScalar.cpp \
|
||||
CGObjC.cpp \
|
||||
CGObjCGNU.cpp \
|
||||
CGObjCMac.cpp \
|
||||
CGRecordLayoutBuilder.cpp \
|
||||
CGRTTI.cpp \
|
||||
CGStmt.cpp \
|
||||
CGTemporaries.cpp \
|
||||
CGVTables.cpp \
|
||||
CGVTT.cpp \
|
||||
CodeGenAction.cpp \
|
||||
CodeGenFunction.cpp \
|
||||
CodeGenModule.cpp \
|
||||
CodeGenTBAA.cpp \
|
||||
CodeGenTypes.cpp \
|
||||
ItaniumCXXABI.cpp \
|
||||
MicrosoftCXXABI.cpp \
|
||||
ModuleBuilder.cpp \
|
||||
TargetInfo.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
32
external/bsd/llvm/lib/libclangDriver/Makefile
vendored
Normal file
32
external/bsd/llvm/lib/libclangDriver/Makefile
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
|
||||
|
||||
LIB= clangDriver
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Driver
|
||||
|
||||
SRCS+= Action.cpp \
|
||||
Arg.cpp \
|
||||
ArgList.cpp \
|
||||
CC1Options.cpp \
|
||||
CC1AsOptions.cpp \
|
||||
Compilation.cpp \
|
||||
Driver.cpp \
|
||||
DriverOptions.cpp \
|
||||
HostInfo.cpp \
|
||||
Job.cpp \
|
||||
Option.cpp \
|
||||
OptTable.cpp \
|
||||
Phases.cpp \
|
||||
Tool.cpp \
|
||||
ToolChain.cpp \
|
||||
ToolChains.cpp \
|
||||
Tools.cpp \
|
||||
Types.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
40
external/bsd/llvm/lib/libclangFrontend/Makefile
vendored
Normal file
40
external/bsd/llvm/lib/libclangFrontend/Makefile
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:07 joerg Exp $
|
||||
|
||||
LIB= clangFrontend
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Frontend
|
||||
|
||||
SRCS+= ASTConsumers.cpp \
|
||||
ASTMerge.cpp \
|
||||
ASTUnit.cpp \
|
||||
BoostConAction.cpp \
|
||||
CacheTokens.cpp \
|
||||
CompilerInstance.cpp \
|
||||
CompilerInvocation.cpp \
|
||||
DeclXML.cpp \
|
||||
DependencyFile.cpp \
|
||||
DiagChecker.cpp \
|
||||
DocumentXML.cpp \
|
||||
FrontendAction.cpp \
|
||||
FrontendActions.cpp \
|
||||
FrontendOptions.cpp \
|
||||
HeaderIncludeGen.cpp \
|
||||
InitHeaderSearch.cpp \
|
||||
InitPreprocessor.cpp \
|
||||
LangStandards.cpp \
|
||||
MultiplexConsumer.cpp \
|
||||
PrintPreprocessedOutput.cpp \
|
||||
StmtXML.cpp \
|
||||
TextDiagnosticBuffer.cpp \
|
||||
TextDiagnosticPrinter.cpp \
|
||||
TypeXML.cpp \
|
||||
VerifyDiagnosticsClient.cpp \
|
||||
Warnings.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
15
external/bsd/llvm/lib/libclangFrontendTool/Makefile
vendored
Normal file
15
external/bsd/llvm/lib/libclangFrontendTool/Makefile
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:07 joerg Exp $
|
||||
|
||||
LIB= clangFrontendTool
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/FrontendTool
|
||||
|
||||
SRCS+= ExecuteCompilerInvocation.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
25
external/bsd/llvm/lib/libclangIndex/Makefile
vendored
Normal file
25
external/bsd/llvm/lib/libclangIndex/Makefile
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:08 joerg Exp $
|
||||
|
||||
LIB= clangIndex
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Index
|
||||
|
||||
SRCS+= ASTLocation.cpp \
|
||||
Analyzer.cpp \
|
||||
CallGraph.cpp \
|
||||
DeclReferenceMap.cpp \
|
||||
Entity.cpp \
|
||||
GlobalSelector.cpp \
|
||||
Handlers.cpp \
|
||||
IndexProvider.cpp \
|
||||
Indexer.cpp \
|
||||
Program.cpp \
|
||||
SelectorMap.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
33
external/bsd/llvm/lib/libclangLex/Makefile
vendored
Normal file
33
external/bsd/llvm/lib/libclangLex/Makefile
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:08 joerg Exp $
|
||||
|
||||
LIB= clangLex
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Lex
|
||||
|
||||
SRCS+= HeaderMap.cpp \
|
||||
HeaderSearch.cpp \
|
||||
Lexer.cpp \
|
||||
LiteralSupport.cpp \
|
||||
MacroArgs.cpp \
|
||||
MacroInfo.cpp \
|
||||
PPCaching.cpp \
|
||||
PPDirectives.cpp \
|
||||
PPExpressions.cpp \
|
||||
PPLexerChange.cpp \
|
||||
PPMacroExpansion.cpp \
|
||||
PTHLexer.cpp \
|
||||
Pragma.cpp \
|
||||
PreprocessingRecord.cpp \
|
||||
Preprocessor.cpp \
|
||||
PreprocessorLexer.cpp \
|
||||
ScratchBuffer.cpp \
|
||||
TokenConcatenation.cpp \
|
||||
TokenLexer.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
27
external/bsd/llvm/lib/libclangParse/Makefile
vendored
Normal file
27
external/bsd/llvm/lib/libclangParse/Makefile
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:09 joerg Exp $
|
||||
|
||||
LIB= clangParse
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Parse
|
||||
|
||||
SRCS+= ParseAST.cpp \
|
||||
ParseCXXInlineMethods.cpp \
|
||||
ParseDecl.cpp \
|
||||
ParseDeclCXX.cpp \
|
||||
ParseExpr.cpp \
|
||||
ParseExprCXX.cpp \
|
||||
ParseInit.cpp \
|
||||
ParseObjc.cpp \
|
||||
ParsePragma.cpp \
|
||||
ParseStmt.cpp \
|
||||
ParseTemplate.cpp \
|
||||
ParseTentative.cpp \
|
||||
Parser.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
25
external/bsd/llvm/lib/libclangRewrite/Makefile
vendored
Normal file
25
external/bsd/llvm/lib/libclangRewrite/Makefile
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:09 joerg Exp $
|
||||
|
||||
LIB= clangRewrite
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Rewrite
|
||||
|
||||
SRCS+= DeltaTree.cpp \
|
||||
FixItRewriter.cpp \
|
||||
FrontendActions.cpp \
|
||||
HTMLPrint.cpp \
|
||||
HTMLRewrite.cpp \
|
||||
RewriteMacros.cpp \
|
||||
RewriteObjC.cpp \
|
||||
RewriteRope.cpp \
|
||||
RewriteTest.cpp \
|
||||
Rewriter.cpp \
|
||||
TokenRewriter.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
47
external/bsd/llvm/lib/libclangSema/Makefile
vendored
Normal file
47
external/bsd/llvm/lib/libclangSema/Makefile
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:09 joerg Exp $
|
||||
|
||||
LIB= clangSema
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Sema
|
||||
|
||||
SRCS+= AnalysisBasedWarnings.cpp \
|
||||
AttributeList.cpp \
|
||||
CodeCompleteConsumer.cpp \
|
||||
DeclSpec.cpp \
|
||||
IdentifierResolver.cpp \
|
||||
JumpDiagnostics.cpp \
|
||||
Sema.cpp \
|
||||
SemaAccess.cpp \
|
||||
SemaAttr.cpp \
|
||||
SemaCXXCast.cpp \
|
||||
SemaCXXScopeSpec.cpp \
|
||||
SemaChecking.cpp \
|
||||
SemaCodeComplete.cpp \
|
||||
SemaDecl.cpp \
|
||||
SemaDeclAttr.cpp \
|
||||
SemaDeclCXX.cpp \
|
||||
SemaDeclObjC.cpp \
|
||||
SemaExceptionSpec.cpp \
|
||||
SemaExpr.cpp \
|
||||
SemaExprCXX.cpp \
|
||||
SemaExprObjC.cpp \
|
||||
SemaInit.cpp \
|
||||
SemaLookup.cpp \
|
||||
SemaObjCProperty.cpp \
|
||||
SemaOverload.cpp \
|
||||
SemaStmt.cpp \
|
||||
SemaTemplate.cpp \
|
||||
SemaTemplateDeduction.cpp \
|
||||
SemaTemplateInstantiate.cpp \
|
||||
SemaTemplateInstantiateDecl.cpp \
|
||||
SemaTemplateVariadic.cpp \
|
||||
SemaType.cpp \
|
||||
TargetAttributesSema.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
22
external/bsd/llvm/lib/libclangSerialization/Makefile
vendored
Normal file
22
external/bsd/llvm/lib/libclangSerialization/Makefile
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $
|
||||
|
||||
LIB= clangSerialization
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/Serialization
|
||||
|
||||
SRCS+= GeneratePCH.cpp \
|
||||
ASTCommon.cpp \
|
||||
ASTReader.cpp \
|
||||
ASTReaderDecl.cpp \
|
||||
ASTReaderStmt.cpp \
|
||||
ASTWriter.cpp \
|
||||
ASTWriterDecl.cpp \
|
||||
ASTWriterStmt.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
47
external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile
vendored
Normal file
47
external/bsd/llvm/lib/libclangStaticAnalyzer/Makefile
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $
|
||||
|
||||
LIB= clangStaticAnalyzer
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer
|
||||
|
||||
SRCS+= AggExprVisitor.cpp \
|
||||
AnalysisManager.cpp \
|
||||
AnalyzerStatsChecker.cpp \
|
||||
BasicConstraintManager.cpp \
|
||||
BasicStore.cpp \
|
||||
BasicValueFactory.cpp \
|
||||
BugReporter.cpp \
|
||||
BugReporterVisitors.cpp \
|
||||
CFRefCount.cpp \
|
||||
Checker.cpp \
|
||||
CheckerHelpers.cpp \
|
||||
Environment.cpp \
|
||||
ExplodedGraph.cpp \
|
||||
FlatStore.cpp \
|
||||
BlockCounter.cpp \
|
||||
CXXExprEngine.cpp \
|
||||
CoreEngine.cpp \
|
||||
GRState.cpp \
|
||||
HTMLDiagnostics.cpp \
|
||||
ManagerRegistry.cpp \
|
||||
MemRegion.cpp \
|
||||
ObjCMessage.cpp \
|
||||
PathDiagnostic.cpp \
|
||||
PlistDiagnostics.cpp \
|
||||
RangeConstraintManager.cpp \
|
||||
RegionStore.cpp \
|
||||
SimpleConstraintManager.cpp \
|
||||
SimpleSValBuilder.cpp \
|
||||
Store.cpp \
|
||||
SValBuilder.cpp \
|
||||
SVals.cpp \
|
||||
SymbolManager.cpp \
|
||||
TextPathDiagnostics.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
63
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
vendored
Normal file
63
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:10 joerg Exp $
|
||||
|
||||
LIB= clangStaticAnalyzerCheckers
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
|
||||
|
||||
SRCS+= AdjustedReturnValueChecker.cpp \
|
||||
AnalysisConsumer.cpp \
|
||||
ArrayBoundChecker.cpp \
|
||||
ArrayBoundCheckerV2.cpp \
|
||||
AttrNonNullChecker.cpp \
|
||||
BasicObjCFoundationChecks.cpp \
|
||||
BuiltinFunctionChecker.cpp \
|
||||
CStringChecker.cpp \
|
||||
CallAndMessageChecker.cpp \
|
||||
CastSizeChecker.cpp \
|
||||
CastToStructChecker.cpp \
|
||||
CheckObjCDealloc.cpp \
|
||||
CheckObjCInstMethSignature.cpp \
|
||||
CheckSecuritySyntaxOnly.cpp \
|
||||
CheckSizeofPointer.cpp \
|
||||
ChrootChecker.cpp \
|
||||
DeadStoresChecker.cpp \
|
||||
DereferenceChecker.cpp \
|
||||
DivZeroChecker.cpp \
|
||||
ExprEngine.cpp \
|
||||
ExprEngineExperimentalChecks.cpp \
|
||||
FixedAddressChecker.cpp \
|
||||
FrontendActions.cpp \
|
||||
IdempotentOperationChecker.cpp \
|
||||
LLVMConventionsChecker.cpp \
|
||||
MacOSXAPIChecker.cpp \
|
||||
MallocChecker.cpp \
|
||||
NSAutoreleasePoolChecker.cpp \
|
||||
NSErrorChecker.cpp \
|
||||
NoReturnFunctionChecker.cpp \
|
||||
OSAtomicChecker.cpp \
|
||||
ObjCAtSyncChecker.cpp \
|
||||
ObjCSelfInitChecker.cpp \
|
||||
ObjCUnusedIVarsChecker.cpp \
|
||||
PointerArithChecker.cpp \
|
||||
PointerSubChecker.cpp \
|
||||
PthreadLockChecker.cpp \
|
||||
ReturnPointerRangeChecker.cpp \
|
||||
ReturnUndefChecker.cpp \
|
||||
StackAddrLeakChecker.cpp \
|
||||
StreamChecker.cpp \
|
||||
UndefBranchChecker.cpp \
|
||||
UndefCapturedBlockVarChecker.cpp \
|
||||
UndefResultChecker.cpp \
|
||||
UndefinedArraySubscriptChecker.cpp \
|
||||
UndefinedAssignmentChecker.cpp \
|
||||
UnixAPIChecker.cpp \
|
||||
UnreachableCodeChecker.cpp \
|
||||
VLASizeChecker.cpp
|
||||
|
||||
.if defined(HOSTLIB)
|
||||
.include <bsd.hostlib.mk>
|
||||
.else
|
||||
.include <bsd.lib.mk>
|
||||
.endif
|
28
external/bsd/llvm/link.mk
vendored
Normal file
28
external/bsd/llvm/link.mk
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# $NetBSD: link.mk,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(HOSTPROG)
|
||||
LIB_BASE= ${NETBSDSRCDIR}/tools/llvm-lib
|
||||
.else
|
||||
LIB_BASE= ${LLVM_TOPLEVEL}/lib
|
||||
.endif
|
||||
|
||||
.for l in ${CLANG_LIBS}
|
||||
CLANG_OBJDIR.${l}!= cd ${LIB_BASE}/lib${l} && ${PRINTOBJDIR}
|
||||
LDADD+= -L${CLANG_OBJDIR.${l}} -l${l}
|
||||
DPADD+= ${CLANG_OBJDIR.${l}}/lib${l}.a
|
||||
.endfor
|
||||
|
||||
.for l in ${LLVM_LIBS}
|
||||
LLVM_OBJDIR.${l}!= cd ${LIB_BASE}/libLLVM${l} && ${PRINTOBJDIR}
|
||||
LDADD+= -L${LLVM_OBJDIR.${l}} -lLLVM${l}
|
||||
DPADD+= ${LLVM_OBJDIR.${l}}/libLLVM${l}.a
|
||||
.endfor
|
||||
|
||||
.if defined(HOSTPROG)
|
||||
LDADD_NEED_DL= cat ${LLVM_TOOLCONF_OBJDIR}/need-dl
|
||||
LDADD+= ${LDADD_NEED_DL:sh}
|
||||
.endif
|
||||
|
||||
LDADD+= -lpthread
|
15
external/bsd/llvm/tablegen.mk
vendored
Normal file
15
external/bsd/llvm/tablegen.mk
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: tablegen.mk,v 1.1 2011/02/06 01:13:43 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.for t in ${TABLEGEN_SRC}
|
||||
.for f in ${TABLEGEN_OUTPUT} ${TABLEGEN_OUTPUT.${t}}
|
||||
${f:C,\|.*$,,}: ${t}
|
||||
[ -z "${f:C,\|.*$,,}" ] || mkdir -p ${f:C,\|.*$,,:H}
|
||||
${TOOL_TBLGEN} -I${LLVM_SRCDIR}/include ${TABLEGEN_INCLUDES} \
|
||||
${TABLEGEN_INCLUDES.${t}} ${f:C,^.*\|,,:C,\^, ,} \
|
||||
${.ALLSRC:M*/${t}} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET}
|
||||
DPSRCS+= ${f:C,\|.*$,,}
|
||||
CLEANFILES+= ${f:C,\|.*$,,}
|
||||
.endfor
|
||||
.endfor
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.own.mk,v 1.650 2011/01/31 03:42:01 matt Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.651 2011/02/06 01:14:10 joerg Exp $
|
||||
|
||||
# This needs to be before bsd.init.mk
|
||||
.if defined(BSD_MK_COMPAT_FILE)
|
||||
@ -302,6 +302,7 @@ TOOL_STAT= ${TOOLDIR}/bin/${_TOOL_PREFIX}stat
|
||||
TOOL_STRFILE= ${TOOLDIR}/bin/${_TOOL_PREFIX}strfile
|
||||
TOOL_SUNLABEL= ${TOOLDIR}/bin/${_TOOL_PREFIX}sunlabel
|
||||
TOOL_TBL= ${TOOLDIR}/bin/${_TOOL_PREFIX}tbl
|
||||
TOOL_TBLGEN= ${TOOLDIR}/bin/${_TOOL_PREFIX}tblgen
|
||||
TOOL_TIC= ${TOOLDIR}/bin/${_TOOL_PREFIX}tic
|
||||
TOOL_UUDECODE= ${TOOLDIR}/bin/${_TOOL_PREFIX}uudecode
|
||||
TOOL_VGRIND= ${TOOLDIR}/bin/${_TOOL_PREFIX}vgrind -f
|
||||
@ -380,6 +381,7 @@ TOOL_STAT= stat
|
||||
TOOL_STRFILE= strfile
|
||||
TOOL_SUNLABEL= sunlabel
|
||||
TOOL_TBL= tbl
|
||||
TOOL_TBLGEN= llvm-tblgen
|
||||
TOOL_TIC= tic
|
||||
TOOL_UUDECODE= uudecode
|
||||
TOOL_VGRIND= vgrind -f
|
||||
@ -757,7 +759,7 @@ _MKVARS.no= \
|
||||
MKBSDTAR MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG MKDEBUGLIB \
|
||||
MKDTRACE MKEXTSRC \
|
||||
MKMANDOC MKMANZ MKOBJDIRS \
|
||||
MKPCC MKPCCCMDS \
|
||||
MKLLVM MKPCC MKPCCCMDS \
|
||||
MKPIGZGZIP \
|
||||
MKREPRO \
|
||||
MKSOFTFLOAT MKSTRIPIDENT \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.141 2011/01/31 03:41:10 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.142 2011/02/06 01:14:11 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -63,6 +63,16 @@ SUBDIR= host-mkdep .WAIT compat .WAIT \
|
||||
.WAIT installboot \
|
||||
pwd_mkdb stat strfile sunlabel zic
|
||||
|
||||
.if ${MKLLVM} != "no"
|
||||
SUBDIR+= \
|
||||
llvm .WAIT \
|
||||
llvm-lib/libLLVMSupport .WAIT \
|
||||
llvm-tblgen .WAIT \
|
||||
llvm-include .WAIT \
|
||||
llvm-lib .WAIT \
|
||||
llvm-clang
|
||||
.endif
|
||||
|
||||
.if ${MKMAN} != "no" || ${MKDOC} != "no" || ${MKHTML} != "no"
|
||||
. if ${MKGROFF} != "no"
|
||||
SUBDIR+= groff
|
||||
|
20
tools/llvm-clang/Makefile
Normal file
20
tools/llvm-clang/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $
|
||||
|
||||
HOSTPROGNAME= ${_TOOL_PREFIX}clang
|
||||
HOSTPROG_CXX= ${_TOOL_PREFIX}clang
|
||||
HOST_SRCDIR= external/bsd/llvm/bin/clang
|
||||
|
||||
.include "${.CURDIR}/../Makefile.host"
|
||||
|
||||
install.host: ${HOST_BINDIR}/${_TOOL_PREFIX}clang++ ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp
|
||||
|
||||
${HOST_BINDIR}/${_TOOL_PREFIX}clang++:
|
||||
${_MKTARGET_INSTALL}
|
||||
mkdir -p ${HOST_BINDIR}
|
||||
${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}
|
||||
|
||||
${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp:
|
||||
${_MKTARGET_INSTALL}
|
||||
mkdir -p ${HOST_BINDIR}
|
||||
printf '#!/bin/sh\nexec ${HOST_BINDIR}/${_TOOL_PREFIX}clang -x c -E "$$@"' > ${.TARGET}
|
||||
chmod a+x ${.TARGET}
|
6
tools/llvm-include/Makefile
Normal file
6
tools/llvm-include/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $
|
||||
|
||||
.include "${.PARSEDIR}/../llvm/Makefile.inc"
|
||||
|
||||
.include "${LLVM_TOPLEVEL}/Makefile.inc"
|
||||
.include "${LLVM_TOPLEVEL}/include/Makefile"
|
9
tools/llvm-lib/Makefile
Normal file
9
tools/llvm-lib/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:12 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
LLVM_DEVELOPER= no
|
||||
|
||||
.include "${.PARSEDIR}/../llvm/Makefile.inc"
|
||||
|
||||
.include "${LLVM_TOPLEVEL}/lib/Makefile"
|
10
tools/llvm-lib/Makefile.inc
Normal file
10
tools/llvm-lib/Makefile.inc
Normal file
@ -0,0 +1,10 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:14:12 joerg Exp $
|
||||
|
||||
.include "${.PARSEDIR}/../llvm/Makefile.inc"
|
||||
|
||||
HOSTLIB= ${LIB}
|
||||
|
||||
.include "${LLVM_TOPLEVEL}/lib/Makefile.inc"
|
||||
.include "${LLVM_TOPLEVEL}/lib/${.CURDIR:T}/Makefile"
|
||||
|
||||
HOST_CPPFLAGS:= ${HOST_CPPFLAGS:N-Wp,-iremap,*}
|
3
tools/llvm-lib/libLLVMAnalysis/Makefile
Normal file
3
tools/llvm-lib/libLLVMAnalysis/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:12 joerg Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user