diff options
author | sjg <sjg@FreeBSD.org> | 2015-06-13 19:20:56 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-06-13 19:20:56 +0000 |
commit | 008d7c831feeec7a3430b92f009e28762c6740f1 (patch) | |
tree | 224d8be23eae518123c5b6db18c9819fe6ac6c62 /usr.bin/clang | |
parent | 9c7d3132bfe16d56cf42cff4126ecc32c4dbc2a9 (diff) | |
parent | a4e18934b74c201653c0142376816d9d840a5ced (diff) | |
download | FreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.zip FreeBSD-src-008d7c831feeec7a3430b92f009e28762c6740f1.tar.gz |
Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Diffstat (limited to 'usr.bin/clang')
-rw-r--r-- | usr.bin/clang/clang-tblgen/Makefile.depend | 22 | ||||
-rw-r--r-- | usr.bin/clang/clang.prog.mk | 5 | ||||
-rw-r--r-- | usr.bin/clang/clang/Makefile.depend | 130 | ||||
-rw-r--r-- | usr.bin/clang/tblgen/Makefile.depend | 24 |
4 files changed, 181 insertions, 0 deletions
diff --git a/usr.bin/clang/clang-tblgen/Makefile.depend b/usr.bin/clang/clang-tblgen/Makefile.depend new file mode 100644 index 0000000..e1ee91c --- /dev/null +++ b/usr.bin/clang/clang-tblgen/Makefile.depend @@ -0,0 +1,22 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/clang/libllvmsupport \ + lib/clang/libllvmtablegen \ + lib/libc \ + lib/libc++ \ + lib/libcompiler_rt \ + lib/msun \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif diff --git a/usr.bin/clang/clang.prog.mk b/usr.bin/clang/clang.prog.mk index 538c55a..14f7609 100644 --- a/usr.bin/clang/clang.prog.mk +++ b/usr.bin/clang/clang.prog.mk @@ -14,4 +14,9 @@ LDADD+= -lncursesw BINDIR?= /usr/bin + +.if ${MK_SHARED_TOOLCHAIN} == "no" +NO_SHARED= yes +.endif + .include <bsd.prog.mk> diff --git a/usr.bin/clang/clang/Makefile.depend b/usr.bin/clang/clang/Makefile.depend new file mode 100644 index 0000000..900b8c8 --- /dev/null +++ b/usr.bin/clang/clang/Makefile.depend @@ -0,0 +1,130 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/clang/libclanganalysis \ + lib/clang/libclangarcmigrate \ + lib/clang/libclangast \ + lib/clang/libclangbasic \ + lib/clang/libclangcodegen \ + lib/clang/libclangdriver \ + lib/clang/libclangedit \ + lib/clang/libclangfrontend \ + lib/clang/libclangfrontendtool \ + lib/clang/libclanglex \ + lib/clang/libclangparse \ + lib/clang/libclangrewrite \ + lib/clang/libllvmaarch64disassembler \ + lib/clang/libllvmaarch64codegen \ + lib/clang/libllvmaarch64asmparser \ + lib/clang/libllvmaarch64desc \ + lib/clang/libllvmaarch64info \ + lib/clang/libllvmaarch64instprinter \ + lib/clang/libllvmaarch64utils \ + lib/clang/libllvmpowerpcdisassembler \ + lib/clang/libllvmprofiledata \ + lib/clang/libclangrewritecore \ + lib/clang/libclangrewritefrontend \ + lib/clang/libclangsema \ + lib/clang/libclangserialization \ + lib/clang/libclangstaticanalyzercheckers \ + lib/clang/libclangstaticanalyzercore \ + lib/clang/libclangstaticanalyzerfrontend \ + lib/clang/libllvmanalysis \ + lib/clang/libllvmarmasmparser \ + lib/clang/libllvmarmcodegen \ + lib/clang/libllvmarmdesc \ + lib/clang/libllvmarmdisassembler \ + lib/clang/libllvmarminfo \ + lib/clang/libllvmarminstprinter \ + lib/clang/libllvmasmparser \ + lib/clang/libllvmasmprinter \ + lib/clang/libllvmbitreader \ + lib/clang/libllvmbitwriter \ + lib/clang/libllvmcodegen \ + lib/clang/libllvmcore \ + lib/clang/libllvminstcombine \ + lib/clang/libllvminstrumentation \ + lib/clang/libllvmipa \ + lib/clang/libllvmipo \ + lib/clang/libllvmirreader \ + lib/clang/libllvmlinker \ + lib/clang/libllvmmc \ + lib/clang/libllvmmcparser \ + lib/clang/libllvmmipsasmparser \ + lib/clang/libllvmmipscodegen \ + lib/clang/libllvmmipsdesc \ + lib/clang/libllvmmipsdisassembler \ + lib/clang/libllvmmipsinfo \ + lib/clang/libllvmmipsinstprinter \ + lib/clang/libllvmobjcarcopts \ + lib/clang/libllvmobject \ + lib/clang/libllvmoption \ + lib/clang/libllvmpowerpcasmparser \ + lib/clang/libllvmpowerpccodegen \ + lib/clang/libllvmpowerpcdesc \ + lib/clang/libllvmpowerpcinfo \ + lib/clang/libllvmpowerpcinstprinter \ + lib/clang/libllvmscalaropts \ + lib/clang/libllvmselectiondag \ + lib/clang/libllvmsparcasmparser \ + lib/clang/libllvmsparccodegen \ + lib/clang/libllvmsparcdesc \ + lib/clang/libllvmsparcdisassembler \ + lib/clang/libllvmsparcinfo \ + lib/clang/libllvmsparcinstprinter \ + lib/clang/libllvmsupport \ + lib/clang/libllvmtarget \ + lib/clang/libllvmtransformutils \ + lib/clang/libllvmvectorize \ + lib/clang/libllvmx86asmparser \ + lib/clang/libllvmx86codegen \ + lib/clang/libllvmx86desc \ + lib/clang/libllvmx86disassembler \ + lib/clang/libllvmx86info \ + lib/clang/libllvmx86instprinter \ + lib/clang/libllvmx86utils \ + lib/libc \ + lib/libc++ \ + lib/libcompiler_rt \ + lib/msun \ + lib/ncurses/ncursesw \ + usr.bin/clang/clang-tblgen.host \ + usr.bin/clang/tblgen.host \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +cc1_main.o: DiagnosticCommonKinds.inc.h +cc1_main.o: DiagnosticDriverKinds.inc.h +cc1_main.o: DiagnosticFrontendKinds.inc.h +cc1_main.o: Options.inc.h +cc1_main.po: DiagnosticCommonKinds.inc.h +cc1_main.po: DiagnosticDriverKinds.inc.h +cc1_main.po: DiagnosticFrontendKinds.inc.h +cc1_main.po: Options.inc.h +cc1as_main.o: CC1AsOptions.inc.h +cc1as_main.o: DiagnosticCommonKinds.inc.h +cc1as_main.o: DiagnosticDriverKinds.inc.h +cc1as_main.o: DiagnosticFrontendKinds.inc.h +cc1as_main.o: Options.inc.h +cc1as_main.po: CC1AsOptions.inc.h +cc1as_main.po: DiagnosticCommonKinds.inc.h +cc1as_main.po: DiagnosticDriverKinds.inc.h +cc1as_main.po: DiagnosticFrontendKinds.inc.h +cc1as_main.po: Options.inc.h +driver.o: DiagnosticCommonKinds.inc.h +driver.o: DiagnosticDriverKinds.inc.h +driver.o: Options.inc.h +driver.po: DiagnosticCommonKinds.inc.h +driver.po: DiagnosticDriverKinds.inc.h +driver.po: Options.inc.h +.endif diff --git a/usr.bin/clang/tblgen/Makefile.depend b/usr.bin/clang/tblgen/Makefile.depend new file mode 100644 index 0000000..4d35366 --- /dev/null +++ b/usr.bin/clang/tblgen/Makefile.depend @@ -0,0 +1,24 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,} + +DIRDEPS = \ + gnu/lib/csu \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/clang/libllvmsupport \ + lib/clang/libllvmtablegen \ + lib/libc \ + lib/libc++ \ + lib/libcompiler_rt \ + lib/msun \ + lib/ncurses/ncursesw \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +.endif |