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 /lib/libc++ | |
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 'lib/libc++')
-rw-r--r-- | lib/libc++/Makefile | 4 | ||||
-rw-r--r-- | lib/libc++/Makefile.depend | 37 |
2 files changed, 41 insertions, 0 deletions
diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index c254ef3..469ee47 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -208,4 +208,8 @@ afterinstall: ${.OBJDIR}/libstdc++.a .endif +# avoid cyclic dependency +CFLAGS+= -I${LIBCXXRTDIR} +GENDIRDEPS_FILTER= N*/libcxxrt + .include <bsd.lib.mk> diff --git a/lib/libc++/Makefile.depend b/lib/libc++/Makefile.depend new file mode 100644 index 0000000..cb81639 --- /dev/null +++ b/lib/libc++/Makefile.depend @@ -0,0 +1,37 @@ +# $FreeBSD$ +# Autogenerated - do NOT edit! + +DIRDEPS = \ + gnu/lib/csu \ + gnu/lib/libgcc \ + include \ + include/xlocale \ + lib/${CSU_DIR} \ + lib/libc \ + lib/libcompiler_rt \ + lib/msun \ + + +.include <dirdeps.mk> + +.if ${DEP_RELDIR} == ${_DEP_RELDIR} +# local dependencies - needed for -jN in clean tree +cxxrt_auxhelper.o: cxxrt_auxhelper.cc +cxxrt_auxhelper.po: cxxrt_auxhelper.cc +cxxrt_dynamic_cast.o: cxxrt_dynamic_cast.cc +cxxrt_dynamic_cast.po: cxxrt_dynamic_cast.cc +cxxrt_exception.o: cxxrt_exception.cc +cxxrt_exception.po: cxxrt_exception.cc +cxxrt_guard.o: cxxrt_guard.cc +cxxrt_guard.po: cxxrt_guard.cc +cxxrt_libelftc_dem_gnu3.o: cxxrt_libelftc_dem_gnu3.c +cxxrt_libelftc_dem_gnu3.po: cxxrt_libelftc_dem_gnu3.c +cxxrt_memory.o: cxxrt_memory.cc +cxxrt_memory.po: cxxrt_memory.cc +cxxrt_stdexcept.o: cxxrt_stdexcept.cc +cxxrt_stdexcept.po: cxxrt_stdexcept.cc +cxxrt_terminate.o: cxxrt_terminate.cc +cxxrt_terminate.po: cxxrt_terminate.cc +cxxrt_typeinfo.o: cxxrt_typeinfo.cc +cxxrt_typeinfo.po: cxxrt_typeinfo.cc +.endif |