head	1.9;
access;
symbols
	RELENG_9_1_0_RELEASE:1.3.2.4.2.2
	RELENG_9_1:1.3.2.4.0.2
	RELENG_9_1_BP:1.3.2.4
	RELENG_9:1.3.0.2;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.01.49.47;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.02.12.18.38;	author dim;	state Exp;
branches;
next	1.7;

1.7
date	2012.10.22.19.44.17;	author dim;	state Exp;
branches;
next	1.6;

1.6
date	2012.08.25.13.15.44;	author dim;	state Exp;
branches;
next	1.5;

1.5
date	2012.06.02.11.07.19;	author dim;	state Exp;
branches;
next	1.4;

1.4
date	2012.06.02.11.00.48;	author dim;	state Exp;
branches;
next	1.3;

1.3
date	2012.03.17.22.12.09;	author peter;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2012.03.14.00.09.36;	author theraven;	state Exp;
branches;
next	1.1;

1.1
date	2011.11.25.20.59.04;	author theraven;	state Exp;
branches;
next	;

1.3.2.1
date	2012.05.22.18.30.14;	author theraven;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2012.05.22.18.30.14;	author theraven;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2012.06.05.06.41.47;	author dim;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2012.06.05.06.43.45;	author dim;	state Exp;
branches
	1.3.2.4.2.1;
next	1.3.2.5;

1.3.2.5
date	2012.09.08.11.34.22;	author dim;	state Exp;
branches;
next	1.3.2.6;

1.3.2.6
date	2012.10.29.21.11.37;	author dim;	state Exp;
branches;
next	1.3.2.7;

1.3.2.7
date	2012.11.05.07.44.00;	author dim;	state Exp;
branches;
next	1.3.2.8;

1.3.2.8
date	2012.11.17.11.36.22;	author svnexp;	state Exp;
branches;
next	1.3.2.9;

1.3.2.9
date	2013.11.12.19.09.32;	author svnexp;	state Exp;
branches;
next	1.3.2.10;

1.3.2.10
date	2014.03.05.20.01.46;	author svnexp;	state Exp;
branches;
next	;

1.3.2.4.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.3.2.4.2.2;

1.3.2.4.2.2
date	2012.11.17.08.47.12;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/lib/libc++/Makefile 242472 2012-11-02 12:18:38Z dim $

LIBCXXRTDIR=	${.CURDIR}/../../contrib/libcxxrt
HDRDIR=		${.CURDIR}/../../contrib/libc++/include
SRCDIR=		${.CURDIR}/../../contrib/libc++/src
CXXINCLUDEDIR=	${INCLUDEDIR}/c++/v${SHLIB_MAJOR}

.PATH: ${SRCDIR}

LIB=		c++
SHLIB_MAJOR=	1

SRCS+=		algorithm.cpp\
		bind.cpp\
		chrono.cpp\
		condition_variable.cpp\
		debug.cpp\
		exception.cpp\
		future.cpp\
		hash.cpp\
		ios.cpp\
		iostream.cpp\
		locale.cpp\
		memory.cpp\
		mutex.cpp\
		new.cpp\
		random.cpp\
		regex.cpp\
		stdexcept.cpp\
		string.cpp\
		strstream.cpp\
		system_error.cpp\
		thread.cpp\
		typeinfo.cpp\
		utility.cpp\
		valarray.cpp

CXXRT_SRCS+=	libelftc_dem_gnu3.c\
		terminate.cc\
		dynamic_cast.cc\
		memory.cc\
		auxhelper.cc\
		exception.cc\
		stdexcept.cc\
		typeinfo.cc\
		guard.cc

.for _S in ${CXXRT_SRCS}
STATICOBJS+=	cxxrt_${_S:R}.o
cxxrt_${_S}:
	ln -sf ${LIBCXXRTDIR}/${_S} ${.TARGET}
.endfor

WARNS=		0
CFLAGS+=	-I${HDRDIR} -I${LIBCXXRTDIR} -nostdlib -DLIBCXXRT
.if empty(CXXFLAGS:M-std=*)
CXXFLAGS+=	-std=c++0x
.endif

DPADD=		${LIBCXXRT}
LDADD=		-lcxxrt
LDFLAGS+=	--verbose
INCSGROUPS=	STD EXT

STD_HEADERS=	__bit_reference\
		__config\
		__debug\
		__functional_03\
		__functional_base\
		__functional_base_03\
		__hash_table\
		__locale\
		__mutex_base\
		__split_buffer\
		__sso_allocator\
		__std_stream\
		__tree\
		__tuple\
		__tuple_03\
		__undef_min_max\
		algorithm\
		array\
		atomic\
		bitset\
		cassert\
		ccomplex\
		cctype\
		cerrno\
		cfenv\
		cfloat\
		chrono\
		cinttypes\
		ciso646\
		climits\
		clocale\
		cmath\
		codecvt\
		complex\
		complex.h\
		condition_variable\
		csetjmp\
		csignal\
		cstdarg\
		cstdbool\
		cstddef\
		cstdint\
		cstdio\
		cstdlib\
		cstring\
		ctgmath\
		ctime\
		cwchar\
		cwctype\
		deque\
		exception\
		forward_list\
		fstream\
		functional\
		future\
		initializer_list\
		iomanip\
		ios\
		iosfwd\
		iostream\
		istream\
		iterator\
		limits\
		list\
		locale\
		map\
		memory\
		mutex\
		new\
		numeric\
		ostream\
		queue\
		random\
		ratio\
		regex\
		scoped_allocator\
		set\
		sstream\
		stack\
		stdexcept\
		streambuf\
		string\
		strstream\
		system_error\
		tgmath.h\
		thread\
		tuple\
		type_traits\
		typeindex\
		typeinfo\
		unordered_map\
		unordered_set\
		utility\
		valarray\
		vector
RT_HEADERS=	cxxabi.h\
		unwind.h\
		unwind-arm.h\
		unwind-itanium.h

.for hdr in ${STD_HEADERS}
STD+=		${HDRDIR}/${hdr}
.endfor
.for hdr in ${RT_HEADERS}
STD+=		${LIBCXXRTDIR}/${hdr}
.endfor
STDDIR=		${CXXINCLUDEDIR}

EXT_HEADERS=	__hash\
		hash_map\
		hash_set

.for hdr in ${EXT_HEADERS}
EXT+=		${HDRDIR}/ext/${hdr}
.endfor
EXTDIR=		${CXXINCLUDEDIR}/ext

.include <bsd.lib.mk>
@


1.8
log
@SVN rev 242472 on 2012-11-02 12:18:38Z by dim

Fix broken macro checking in the libc++ Makefile, introduced in r241909.
This caused -std=c++0x not to be passed to the build by default.

Pointy hat to:	dim
MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7
log
@SVN rev 241909 on 2012-10-22 19:44:17Z by dim

Allow building libc++ with any custom -std=xxx flag.  Note that using
-std=gnu++98 will give a lot of warnings with clang, so please use
-std=c++0x or higher, or use NO_WERROR.

MFC after:	1 week
@
text
@d56 1
a56 1
.if !defined(CXXFLAGS) || ${CXXFLAGS:M-std=*}" == ""
@


1.6
log
@SVN rev 239680 on 2012-08-25 13:15:44Z by dim

Add libcxxrt's objects (prefixing them with cxxrt_ to avoid collisions)
to libc++.a and libc++_p.a, to make static linking of C++ executables
with libc++ easier.  This is similar to the approach used in libstdc++.

MFC after:	2 weeks
@
text
@d56 1
d58 1
@


1.5
log
@SVN rev 236444 on 2012-06-02 11:07:19Z by dim

Install libcxxrt's C++ ABI and unwind headers.  This is done in libc++'s
Makefile, so these headers go into the same destination directory as
libc++'s own headers, currently /usr/include/c++/v1.

MFC after:	3 days
@
text
@d38 16
d55 2
a56 1
CXXFLAGS+=	-I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT
@


1.4
log
@SVN rev 236442 on 2012-06-02 11:00:48Z by dim

Tabify libcxxrt and libc++'s Makefiles.

MFC after:	3 days
@
text
@d141 4
d149 3
@


1.3
log
@SVN rev 233098 on 2012-03-17 22:12:09Z by peter

Make sure libgcc_s is finished building in _startup_libs before
building libcxxrt with high -j levels.  The workaround in
libc++/Makefile isn't necessary once that race is solved.

Reviewed by:	theravin
@
text
@d3 4
a6 4
LIBCXXRTDIR=    ${.CURDIR}/../../contrib/libcxxrt
HDRDIR=         ${.CURDIR}/../../contrib/libc++/include
SRCDIR=         ${.CURDIR}/../../contrib/libc++/src
CXXINCLUDEDIR=  ${INCLUDEDIR}/c++/v${SHLIB_MAJOR}
d10 2
a11 2
LIB=            c++
SHLIB_MAJOR=    1
d13 128
a140 128
SRCS+=          algorithm.cpp\
                bind.cpp\
                chrono.cpp\
                condition_variable.cpp\
                debug.cpp\
                exception.cpp\
                future.cpp\
                hash.cpp\
                ios.cpp\
                iostream.cpp\
                locale.cpp\
                memory.cpp\
                mutex.cpp\
                new.cpp\
                random.cpp\
                regex.cpp\
                stdexcept.cpp\
                string.cpp\
                strstream.cpp\
                system_error.cpp\
                thread.cpp\
                typeinfo.cpp\
                utility.cpp\
                valarray.cpp

WARNS=          0
CXXFLAGS+=      -I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT

DPADD=          ${LIBCXXRT}
LDADD=          -lcxxrt
LDFLAGS+=       --verbose
INCSGROUPS=     STD EXT

STD_HEADERS=    __bit_reference\
                __config\
                __debug\
                __functional_03\
                __functional_base\
                __functional_base_03\
                __hash_table\
                __locale\
                __mutex_base\
                __split_buffer\
                __sso_allocator\
                __std_stream\
                __tree\
                __tuple\
                __tuple_03\
                __undef_min_max\
                algorithm\
                array\
                atomic\
                bitset\
                cassert\
                ccomplex\
                cctype\
                cerrno\
                cfenv\
                cfloat\
                chrono\
                cinttypes\
                ciso646\
                climits\
                clocale\
                cmath\
                codecvt\
                complex\
                complex.h\
                condition_variable\
                csetjmp\
                csignal\
                cstdarg\
                cstdbool\
                cstddef\
                cstdint\
                cstdio\
                cstdlib\
                cstring\
                ctgmath\
                ctime\
                cwchar\
                cwctype\
                deque\
                exception\
                forward_list\
                fstream\
                functional\
                future\
                initializer_list\
                iomanip\
                ios\
                iosfwd\
                iostream\
                istream\
                iterator\
                limits\
                list\
                locale\
                map\
                memory\
                mutex\
                new\
                numeric\
                ostream\
                queue\
                random\
                ratio\
                regex\
                scoped_allocator\
                set\
                sstream\
                stack\
                stdexcept\
                streambuf\
                string\
                strstream\
                system_error\
                tgmath.h\
                thread\
                tuple\
                type_traits\
                typeindex\
                typeinfo\
                unordered_map\
                unordered_set\
                utility\
                valarray\
                vector
d143 1
a143 1
STD+=           ${HDRDIR}/${hdr}
d145 1
a145 1
STDDIR=         ${CXXINCLUDEDIR}
d147 3
a149 3
EXT_HEADERS=    __hash\
                hash_map\
                hash_set
d152 1
a152 1
EXT+=           ${HDRDIR}/ext/${hdr}
d154 1
a154 1
EXTDIR=         ${CXXINCLUDEDIR}/ext
@


1.3.2.1
log
@file Makefile was added on branch RELENG_9 on 2012-05-22 18:32:29 +0000
@
text
@d1 156
@


1.3.2.2
log
@SVN rev 235798 on 2012-05-22 18:30:14Z by theraven

Merged libcxxrt and libc++.  Now available for testing on 9-stable with
-stdlib=libc++.  Changes to libstdc++ not yet merged, so it is not yet possible
to mix libstdc++ and libc++ in the same program.

Merged revisions: 226702,226785,227006,227755,227983,227987,228531,228630,228761,229067,230127,232950,233098,234715-234716,234772
@
text
@a0 156
# $FreeBSD$

LIBCXXRTDIR=    ${.CURDIR}/../../contrib/libcxxrt
HDRDIR=         ${.CURDIR}/../../contrib/libc++/include
SRCDIR=         ${.CURDIR}/../../contrib/libc++/src
CXXINCLUDEDIR=  ${INCLUDEDIR}/c++/v${SHLIB_MAJOR}

.PATH: ${SRCDIR}

LIB=            c++
SHLIB_MAJOR=    1

SRCS+=          algorithm.cpp\
                bind.cpp\
                chrono.cpp\
                condition_variable.cpp\
                debug.cpp\
                exception.cpp\
                future.cpp\
                hash.cpp\
                ios.cpp\
                iostream.cpp\
                locale.cpp\
                memory.cpp\
                mutex.cpp\
                new.cpp\
                random.cpp\
                regex.cpp\
                stdexcept.cpp\
                string.cpp\
                strstream.cpp\
                system_error.cpp\
                thread.cpp\
                typeinfo.cpp\
                utility.cpp\
                valarray.cpp

WARNS=          0
CXXFLAGS+=      -I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT

DPADD=          ${LIBCXXRT}
LDADD=          -lcxxrt
LDFLAGS+=       --verbose
INCSGROUPS=     STD EXT

STD_HEADERS=    __bit_reference\
                __config\
                __debug\
                __functional_03\
                __functional_base\
                __functional_base_03\
                __hash_table\
                __locale\
                __mutex_base\
                __split_buffer\
                __sso_allocator\
                __std_stream\
                __tree\
                __tuple\
                __tuple_03\
                __undef_min_max\
                algorithm\
                array\
                atomic\
                bitset\
                cassert\
                ccomplex\
                cctype\
                cerrno\
                cfenv\
                cfloat\
                chrono\
                cinttypes\
                ciso646\
                climits\
                clocale\
                cmath\
                codecvt\
                complex\
                complex.h\
                condition_variable\
                csetjmp\
                csignal\
                cstdarg\
                cstdbool\
                cstddef\
                cstdint\
                cstdio\
                cstdlib\
                cstring\
                ctgmath\
                ctime\
                cwchar\
                cwctype\
                deque\
                exception\
                forward_list\
                fstream\
                functional\
                future\
                initializer_list\
                iomanip\
                ios\
                iosfwd\
                iostream\
                istream\
                iterator\
                limits\
                list\
                locale\
                map\
                memory\
                mutex\
                new\
                numeric\
                ostream\
                queue\
                random\
                ratio\
                regex\
                scoped_allocator\
                set\
                sstream\
                stack\
                stdexcept\
                streambuf\
                string\
                strstream\
                system_error\
                tgmath.h\
                thread\
                tuple\
                type_traits\
                typeindex\
                typeinfo\
                unordered_map\
                unordered_set\
                utility\
                valarray\
                vector

.for hdr in ${STD_HEADERS}
STD+=           ${HDRDIR}/${hdr}
.endfor
STDDIR=         ${CXXINCLUDEDIR}

EXT_HEADERS=    __hash\
                hash_map\
                hash_set

.for hdr in ${EXT_HEADERS}
EXT+=           ${HDRDIR}/ext/${hdr}
.endfor
EXTDIR=         ${CXXINCLUDEDIR}/ext

.include <bsd.lib.mk>
@


1.3.2.3
log
@SVN rev 236600 on 2012-06-05 06:41:47Z by dim

MFC r236442:

Tabify libcxxrt and libc++'s Makefiles.
@
text
@d3 4
a6 4
LIBCXXRTDIR=	${.CURDIR}/../../contrib/libcxxrt
HDRDIR=		${.CURDIR}/../../contrib/libc++/include
SRCDIR=		${.CURDIR}/../../contrib/libc++/src
CXXINCLUDEDIR=	${INCLUDEDIR}/c++/v${SHLIB_MAJOR}
d10 2
a11 2
LIB=		c++
SHLIB_MAJOR=	1
d13 128
a140 128
SRCS+=		algorithm.cpp\
		bind.cpp\
		chrono.cpp\
		condition_variable.cpp\
		debug.cpp\
		exception.cpp\
		future.cpp\
		hash.cpp\
		ios.cpp\
		iostream.cpp\
		locale.cpp\
		memory.cpp\
		mutex.cpp\
		new.cpp\
		random.cpp\
		regex.cpp\
		stdexcept.cpp\
		string.cpp\
		strstream.cpp\
		system_error.cpp\
		thread.cpp\
		typeinfo.cpp\
		utility.cpp\
		valarray.cpp

WARNS=		0
CXXFLAGS+=	-I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT

DPADD=		${LIBCXXRT}
LDADD=		-lcxxrt
LDFLAGS+=	--verbose
INCSGROUPS=	STD EXT

STD_HEADERS=	__bit_reference\
		__config\
		__debug\
		__functional_03\
		__functional_base\
		__functional_base_03\
		__hash_table\
		__locale\
		__mutex_base\
		__split_buffer\
		__sso_allocator\
		__std_stream\
		__tree\
		__tuple\
		__tuple_03\
		__undef_min_max\
		algorithm\
		array\
		atomic\
		bitset\
		cassert\
		ccomplex\
		cctype\
		cerrno\
		cfenv\
		cfloat\
		chrono\
		cinttypes\
		ciso646\
		climits\
		clocale\
		cmath\
		codecvt\
		complex\
		complex.h\
		condition_variable\
		csetjmp\
		csignal\
		cstdarg\
		cstdbool\
		cstddef\
		cstdint\
		cstdio\
		cstdlib\
		cstring\
		ctgmath\
		ctime\
		cwchar\
		cwctype\
		deque\
		exception\
		forward_list\
		fstream\
		functional\
		future\
		initializer_list\
		iomanip\
		ios\
		iosfwd\
		iostream\
		istream\
		iterator\
		limits\
		list\
		locale\
		map\
		memory\
		mutex\
		new\
		numeric\
		ostream\
		queue\
		random\
		ratio\
		regex\
		scoped_allocator\
		set\
		sstream\
		stack\
		stdexcept\
		streambuf\
		string\
		strstream\
		system_error\
		tgmath.h\
		thread\
		tuple\
		type_traits\
		typeindex\
		typeinfo\
		unordered_map\
		unordered_set\
		utility\
		valarray\
		vector
d143 1
a143 1
STD+=		${HDRDIR}/${hdr}
d145 1
a145 1
STDDIR=		${CXXINCLUDEDIR}
d147 3
a149 3
EXT_HEADERS=	__hash\
		hash_map\
		hash_set
d152 1
a152 1
EXT+=		${HDRDIR}/ext/${hdr}
d154 1
a154 1
EXTDIR=		${CXXINCLUDEDIR}/ext
@


1.3.2.4
log
@SVN rev 236601 on 2012-06-05 06:43:45Z by dim

MFC r236444:

Install libcxxrt's C++ ABI and unwind headers.  This is done in libc++'s
Makefile, so these headers go into the same destination directory as
libc++'s own headers, currently /usr/include/c++/v1.
@
text
@a140 4
RT_HEADERS=	cxxabi.h\
		unwind.h\
		unwind-arm.h\
		unwind-itanium.h
a144 3
.for hdr in ${RT_HEADERS}
STD+=		${LIBCXXRTDIR}/${hdr}
.endfor
@


1.3.2.4.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.3.2.4.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/libc++/Makefile 236601 2012-06-05 06:43:45Z dim $
@


1.3.2.5
log
@SVN rev 240236 on 2012-09-08 11:34:22Z by dim

MFC r239680:

  Add libcxxrt's objects (prefixing them with cxxrt_ to avoid collisions)
  to libc++.a and libc++_p.a, to make static linking of C++ executables
  with libc++ easier.  This is similar to the approach used in libstdc++.

MFC r239686:

  When using -stdlib=libc++, add the correct dependency to .depend in
  bsd.prog.mk.

  Submitted by:	Yamaya Takashi <yamayan@@kbh.biglobe.ne.jp>

MFC r239695:

  For building libstdc++ and libsupc++, filter out any -stdlib=libc++
  option from CXXFLAGS, otherwise these libraries will not build.
  Similarly, filter out any -std=xxx options that aren't supported.

  Submitted by:	Yamaya Takashi <yamayan@@kbh.biglobe.ne.jp>
@
text
@a37 16
CXXRT_SRCS+=	libelftc_dem_gnu3.c\
		terminate.cc\
		dynamic_cast.cc\
		memory.cc\
		auxhelper.cc\
		exception.cc\
		stdexcept.cc\
		typeinfo.cc\
		guard.cc

.for _S in ${CXXRT_SRCS}
STATICOBJS+=	cxxrt_${_S:R}.o
cxxrt_${_S}:
	ln -sf ${LIBCXXRTDIR}/${_S} ${.TARGET}
.endfor

d39 1
a39 2
CFLAGS+=	-I${HDRDIR} -I${LIBCXXRTDIR} -nostdlib -DLIBCXXRT
CXXFLAGS+=	-std=c++0x
@


1.3.2.6
log
@SVN rev 242329 on 2012-10-29 21:11:37Z by dim

MFC r241909:

Allow building libc++ with any custom -std=xxx flag.  Note that using
-std=gnu++98 will give a lot of warnings with clang, so please use
-std=c++0x or higher, or use NO_WERROR.
@
text
@a55 1
.if !defined(CXXFLAGS) || ${CXXFLAGS:M-std=*}" == ""
a56 1
.endif
@


1.3.2.7
log
@SVN rev 242600 on 2012-11-05 07:44:00Z by dim

MFC r242472:

Fix broken macro checking in the libc++ Makefile, introduced in r241909.
This caused -std=c++0x not to be passed to the build by default.

Pointy hat to:	dim
@
text
@d56 1
a56 1
.if empty(CXXFLAGS:M-std=*)
@


1.3.2.8
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libc++/Makefile 242600 2012-11-05 07:44:00Z dim $
@


1.3.2.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/258060
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libc++/Makefile 258060 2013-11-12 18:43:35Z dim $
a11 1
SHLIB_LDSCRIPT=	libc++.ldscript
@


1.3.2.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/262801
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libc++/Makefile 262801 2014-03-05 19:30:36Z dim $
a27 1
		optional.cpp\
a29 1
		shared_mutex.cpp\
d64 1
a64 1
INCSGROUPS=	STD EXP EXT
a142 1
		shared_mutex\
a173 8
EXP_HEADERS=	dynarray\
		optional

.for hdr in ${EXP_HEADERS}
EXP+=		${HDRDIR}/experimental/${hdr}
.endfor
EXPDIR=		${CXXINCLUDEDIR}/experimental

@


1.2
log
@SVN rev 232950 on 2012-03-14 00:09:36Z by theraven

Import new versions of libcxxrt and libc++.
Please tests any C++ code you care about with -stdlib=libc++!

Approved by:	dim (mentor)
@
text
@d42 1
a42 1
LDADD=          -L${.OBJDIR}/../libcxxrt/ -lcxxrt
@


1.1
log
@SVN rev 227983 on 2011-11-25 20:59:04Z by theraven

Import libc++ / libcxxrt into base.  Not build by default yet (use
MK_LIBCPLUSPLUS=yes to enable).  This is a work-in-progress.  It works for
me, but is not guaranteed to work for anyone else and may eat your dog.

To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags.

Bug reports welcome, bug fixes even more welcome...

Approved by:	dim (mentor)
@
text
@d61 1
@

