head	1.16;
access;
symbols
	RELENG_8_4:1.16.0.2
	RELENG_9_1_0_RELEASE:1.11.2.2.2.2
	RELENG_9_1:1.11.2.2.0.2
	RELENG_9_1_BP:1.11.2.2
	RELENG_8_3_0_RELEASE:1.9.10.1.8.1
	RELENG_8_3:1.9.10.1.0.8
	RELENG_8_3_BP:1.9.10.1
	RELENG_9_0_0_RELEASE:1.11.2.1.2.1
	RELENG_9_0:1.11.2.1.0.2
	RELENG_9_0_BP:1.11.2.1
	RELENG_9:1.11.0.2
	RELENG_9_BP:1.11
	RELENG_7_4_0_RELEASE:1.9.14.1
	RELENG_8_2_0_RELEASE:1.9.10.1.6.1
	RELENG_7_4:1.9.0.14
	RELENG_7_4_BP:1.9
	RELENG_8_2:1.9.10.1.0.6
	RELENG_8_2_BP:1.9.10.1
	RELENG_8_1_0_RELEASE:1.9.10.1.4.1
	RELENG_8_1:1.9.10.1.0.4
	RELENG_8_1_BP:1.9.10.1
	RELENG_7_3_0_RELEASE:1.9.12.1
	RELENG_7_3:1.9.0.12
	RELENG_7_3_BP:1.9
	RELENG_8_0_0_RELEASE:1.9.10.1.2.1
	RELENG_8_0:1.9.10.1.0.2
	RELENG_8_0_BP:1.9.10.1
	RELENG_8:1.9.0.10
	RELENG_8_BP:1.9
	RELENG_7_2_0_RELEASE:1.9.8.1
	RELENG_7_2:1.9.0.8
	RELENG_7_2_BP:1.9
	RELENG_7_1_0_RELEASE:1.9.6.1
	RELENG_6_4_0_RELEASE:1.6.8.2.6.1
	RELENG_7_1:1.9.0.6
	RELENG_7_1_BP:1.9
	RELENG_6_4:1.6.8.2.0.6
	RELENG_6_4_BP:1.6.8.2
	RELENG_7_0_0_RELEASE:1.9
	RELENG_6_3_0_RELEASE:1.6.8.2
	RELENG_7_0:1.9.0.4
	RELENG_7_0_BP:1.9
	RELENG_6_3:1.6.8.2.0.4
	RELENG_6_3_BP:1.6.8.2
	RELENG_7:1.9.0.2
	RELENG_7_BP:1.9
	RELENG_6_2_0_RELEASE:1.6.8.2
	RELENG_6_2:1.6.8.2.0.2
	RELENG_6_2_BP:1.6.8.2
	RELENG_5_5_0_RELEASE:1.6
	RELENG_5_5:1.6.0.10
	RELENG_5_5_BP:1.6
	RELENG_6_1_0_RELEASE:1.6.8.1
	RELENG_6_1:1.6.8.1.0.4
	RELENG_6_1_BP:1.6.8.1
	RELENG_6_0_0_RELEASE:1.6.8.1
	RELENG_6_0:1.6.8.1.0.2
	RELENG_6_0_BP:1.6.8.1
	RELENG_6:1.6.0.8
	RELENG_6_BP:1.6
	RELENG_5_4_0_RELEASE:1.6
	RELENG_5_4:1.6.0.6
	RELENG_5_4_BP:1.6
	RELENG_5_3_0_RELEASE:1.6
	RELENG_5_3:1.6.0.4
	RELENG_5_3_BP:1.6
	RELENG_5:1.6.0.2
	RELENG_5_BP:1.6
	RELENG_5_2_1_RELEASE:1.5
	RELENG_5_2_0_RELEASE:1.5
	RELENG_5_2:1.5.0.2
	RELENG_5_2_BP:1.5
	RELENG_5_1_0_RELEASE:1.4
	RELENG_5_1:1.4.0.4
	RELENG_5_1_BP:1.4
	RELENG_5_0_0_RELEASE:1.4
	RELENG_5_0:1.4.0.2
	RELENG_5_0_BP:1.4
	WIP_GCC31:1.1.0.2
	WIP_GCC31_BP:1.1;
locks; strict;
comment	@# @;


1.16
date	2013.03.23.02.33.05;	author svnexp;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2012.11.17.01.49.08;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.10.23.18.57.20;	author dim;	state Exp;
branches;
next	1.13;

1.13
date	2012.08.25.23.08.24;	author dim;	state Exp;
branches;
next	1.12;

1.12
date	2012.03.31.14.25.12;	author theraven;	state Exp;
branches;
next	1.11;

1.11
date	2010.05.12.19.59.32;	author obrien;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	2010.01.22.14.09.15;	author sepotvin;	state Exp;
branches;
next	1.9;

1.9
date	2007.05.19.04.25.56;	author kan;	state Exp;
branches
	1.9.2.1
	1.9.6.1
	1.9.8.1
	1.9.10.1
	1.9.12.1
	1.9.14.1;
next	1.8;

1.8
date	2006.08.19.00.52.54;	author kan;	state Exp;
branches;
next	1.7;

1.7
date	2005.08.17.15.46.18;	author cperciva;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.28.05.27.19;	author kan;	state Exp;
branches
	1.6.8.1;
next	1.5;

1.5
date	2003.07.11.05.37.22;	author kan;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.29.00.45.51;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	2002.05.12.16.00.47;	author ru;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.10.08.54.43;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.06.22.07.26;	author obrien;	state Exp;
branches
	1.1.2.1;
next	;

1.16.2.1
date	2013.03.23.02.33.05;	author svnexp;	state dead;
branches;
next	1.16.2.2;

1.16.2.2
date	2013.03.28.13.02.47;	author svnexp;	state Exp;
branches;
next	;

1.11.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.11.2.1.2.1;
next	1.11.2.2;

1.11.2.2
date	2012.05.23.09.10.46;	author theraven;	state Exp;
branches
	1.11.2.2.2.1;
next	1.11.2.3;

1.11.2.3
date	2012.09.08.11.34.22;	author dim;	state Exp;
branches;
next	1.11.2.4;

1.11.2.4
date	2012.10.30.07.51.18;	author dim;	state Exp;
branches;
next	1.11.2.5;

1.11.2.5
date	2012.11.17.11.36.12;	author svnexp;	state Exp;
branches;
next	;

1.11.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.11.2.1.2.2;

1.11.2.1.2.2
date	2012.11.17.08.36.12;	author svnexp;	state Exp;
branches;
next	;

1.11.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.11.2.2.2.2;

1.11.2.2.2.2
date	2012.11.17.08.47.02;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2012.11.17.08.01.28;	author svnexp;	state Exp;
branches;
next	;

1.9.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.9.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.9.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.9.10.1.2.1
	1.9.10.1.4.1
	1.9.10.1.6.1
	1.9.10.1.8.1;
next	1.9.10.2;

1.9.10.2
date	2012.11.17.10.35.58;	author svnexp;	state Exp;
branches;
next	;

1.9.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.9.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.9.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.9.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.9.10.1.8.2;

1.9.10.1.8.2
date	2012.11.17.08.24.39;	author svnexp;	state Exp;
branches;
next	;

1.9.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.9.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.9.14.2;

1.9.14.2
date	2012.11.17.08.16.38;	author svnexp;	state Exp;
branches;
next	;

1.6.8.1
date	2005.08.19.02.49.55;	author cperciva;	state Exp;
branches;
next	1.6.8.2;

1.6.8.2
date	2006.09.05.19.29.38;	author obrien;	state Exp;
branches
	1.6.8.2.6.1;
next	1.6.8.3;

1.6.8.3
date	2012.11.17.07.39.14;	author svnexp;	state Exp;
branches;
next	;

1.6.8.2.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1
date	2002.05.07.01.01.38;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248624
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/gnu/lib/libsupc++/Makefile 248624 2013-03-22 21:50:32Z cognet $

.include <bsd.own.mk>

GCCVER=	4.2
GCCDIR=	${.CURDIR}/../../../contrib/gcc
GCCLIB=	${.CURDIR}/../../../contrib/gcclibs
SRCDIR=	${.CURDIR}/../../../contrib/libstdc++/libsupc++

.PATH: ${SRCDIR} ${GCCLIB}/libiberty

LIB=	supc++
SHLIB_MAJOR=1
SRCS+=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \
	eh_aux_runtime.cc eh_call.cc eh_catch.cc eh_exception.cc eh_globals.cc \
	eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \
	eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
	new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
	vec.cc vterminate.cc

# from libiberty:
SRCS+=	cp-demangle.c

CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
.if ${MACHINE_CPUARCH} == "arm" && ${MK_ARM_EABI} == "no"
CFLAGS+=	-D_GLIBCXX_SJLJ_EXCEPTIONS=1
.endif
CFLAGS+=	-I${GCCLIB}/include -I${SRCDIR} -I${GCCDIR}
CFLAGS+=	-I${.CURDIR}/../libstdc++ -I.
CFLAGS+=	-frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections
PO_CXXFLAGS=    ${CXXFLAGS:N-ffunction-sections}

HDRS=	exception new typeinfo cxxabi.h exception_defines.h
INCS=	${HDRS:S;^;${SRCDIR}/;}
INCSDIR=${INCLUDEDIR}/c++/${GCCVER}

.if ${MACHINE_CPUARCH} == "arm" && ${MK_ARM_EABI} != "no"
unwind.h: ${GCCDIR}/config/arm/unwind-arm.h
.else
unwind.h: ${GCCDIR}/unwind-generic.h
.endif

unwind.h:
	ln -sf ${.ALLSRC} ${.TARGET}

SRCS+=		unwind.h
CLEANFILES+=	unwind.h

# Symbol versioning

VERSION_MAP=	${.CURDIR}/Version.map


.include <bsd.lib.mk>

# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98.
CXXFLAGS:=	${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
@


1.16.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:47 +0000
@
text
@d1 58
@


1.16.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 37
# $FreeBSD: releng/8.4/gnu/lib/libsupc++/Makefile 169718 2007-05-19 04:25:59Z kan $

GCCDIR=	${.CURDIR}/../../../contrib/gcc
GCCLIB=	${.CURDIR}/../../../contrib/gcclibs
SRCDIR=	${.CURDIR}/../../../contrib/libstdc++/libsupc++

.PATH: ${SRCDIR} ${GCCLIB}/libiberty 

# Static only.
LIB=	supc++
SRCS+=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \
	eh_aux_runtime.cc eh_call.cc eh_catch.cc eh_exception.cc eh_globals.cc \
	eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \
	eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
	new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
	vec.cc vterminate.cc

# from libiberty:
SRCS+=	cp-demangle.c

CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
CFLAGS+=	-I${GCCLIB}/include -I${SRCDIR} -I${GCCDIR}
CFLAGS+=	-I${.CURDIR}/../libstdc++ -I.
CFLAGS+=	-frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+=	-fno-implicit-templates -ffunction-sections -fdata-sections

HDRS=	exception new typeinfo cxxabi.h exception_defines.h
INCS=	${HDRS:S;^;${SRCDIR}/;}
INCSDIR=${INCLUDEDIR}/c++/4.2

unwind.h: ${GCCDIR}/unwind-generic.h
	ln -sf ${.ALLSRC} ${.TARGET}

SRCS+=		unwind.h
CLEANFILES+=	unwind.h

.include <bsd.lib.mk>
@


1.15
log
@Switching exporter and resync
@
text
@d1 3
a3 1
# $FreeBSD: head/gnu/lib/libsupc++/Makefile 241960 2012-10-23 18:57:20Z dim $
d25 3
d38 3
d42 3
@


1.14
log
@SVN rev 241960 on 2012-10-23 18:57:20Z by dim

For building GNU libstdc++ and libsupc++, filter out libc++-specific and
-std= flags above c++98 or gnu++98 from CXXFLAGS *after* including
bsd.lib.mk, otherwise some additions to CXXFLAGS done in bsd.*.mk might
not be preserved.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.13
log
@SVN rev 239695 on 2012-08-25 23:08:24Z by dim

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>
MFC after:	2 weeks
@
text
@a26 1
CXXFLAGS:=	${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
d45 3
@


1.12
log
@SVN rev 233749 on 2012-03-31 14:25:12Z by theraven

Make libsupc++ build as a shared library and make libstdc++ a filter library
for it.

This allows people to swap out libsupc++ for libcxxrt easily, so we can begin
the libstdc++ -> libc++ migration.

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


1.11
log
@SVN rev 207995 on 2010-05-12 19:59:32Z by obrien

Non-GCC gcc compatible compilers may provide the same multimedia intrinsic
headers as GCC, but of their own implementation.  So put the GCC ones into
their own header "namespace".

Requested by:	ed
@
text
@a9 1
# Static only.
d11 1
d39 5
@


1.11.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.11.2.2
log
@SVN rev 235825 on 2012-05-23 09:10:46Z by theraven

Merge r233749, building libsupc++ as a shared library and making libstdc++ a
filter library.

It should now be possible to build applications on 9-STABLE that link against
both libc++ and libstdc++ and to test libcxxrt with libstdc++.

If you wish to test libcxxrt, please add this to your /etc/libmap.conf:

libsupc++.so.1  libcxxrt.so.1

If you wish to test libc++, add -std=libc++ to your compile and link flags for
your favourite C++ applications and / or libraries.
@
text
@d10 1
a11 1
SHLIB_MAJOR=1
a38 5
# Symbol versioning

VERSION_MAP=	${.CURDIR}/Version.map


@


1.11.2.2.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.11.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/lib/libsupc++/Makefile 235825 2012-05-23 09:10:46Z theraven $
@


1.11.2.3
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
@a26 1
CXXFLAGS:=	${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
@


1.11.2.4
log
@SVN rev 242347 on 2012-10-30 07:51:18Z by dim

MFC r241957:

  Fix several clang warnings in libstdc++, which were exposed by the
  recent atf import.  These changes are purely cosmetic, no functional
  change.

MFC r241959:

  Fix a number of other clang warnings in libstdc++, which could appear
  when building other C++ software with it.  Also fix one actual bug in
  libsupc++, which was exposed by such a warning.  This latter fix is the
  only functional change.

MFC r241960:

  For building GNU libstdc++ and libsupc++, filter out libc++-specific and
  -std= flags above c++98 or gnu++98 from CXXFLAGS *after* including
  bsd.lib.mk, otherwise some additions to CXXFLAGS done in bsd.*.mk might
  not be preserved.
@
text
@d27 1
a45 3

# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98.
CXXFLAGS:=	${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
@


1.11.2.5
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/gnu/lib/libsupc++/Makefile 242347 2012-10-30 07:51:18Z dim $
@


1.11.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.11.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/lib/libsupc++/Makefile 207995 2010-05-12 19:59:32Z obrien $
@


1.10
log
@SVN rev 202808 on 2010-01-22 14:09:15Z by sepotvin

Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'
flag when compiling profiled objects as it's ignored by the compiler.
This removes the associated warning for each file compiled.

MFC after:	1 month
@
text
@d3 1
d8 1
a8 1
.PATH: ${SRCDIR} ${GCCLIB}/libiberty 
d31 1
a31 1
INCSDIR=${INCLUDEDIR}/c++/4.2
@


1.9
log
@Update bmake glue to build GCC 4.2.

Also:
        Switch FreeBSD to use libgcc_s.so.1.

        Use dl_iterate_phdr to locate shared objects' exception frame
        info instead of depending on older register_frame_info machinery.
        This allows us to avoid depending on libgcc_s.so.1 in binaries
        that do not use exception handling directly. As an additional
        benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

        Build newly added libgomp.so.1 library, the runtime support
        bits for OpenMP.

        Build LGPLed libssp library. Our libc provides our own
        BSD-licensed SSP callbacks implementation, so this library
        is only built to benefit applications that have hadcoded
        knowledge of libssp.so and libssp_nonshared.a. When linked
        in from command line, these libraries override libc
        implementation.
@
text
@d26 1
@


1.9.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/lib/libsupc++/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.9.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.9.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/lib/libsupc++/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.9.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.9.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.9.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/lib/libsupc++/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.9.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.9.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/lib/libsupc++/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.9.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.9.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.9.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.9.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.9.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8
log
@Update libsupc++ to include missing files. This was fixed in libstdc++
a long time ago, but libsupc++ was left out somehow,

PR:	gnu/99702
Submitted by:	George Mitchell
@
text
@d4 1
d7 1
a7 1
.PATH: ${SRCDIR} ${GCCDIR}
d11 2
a12 2
SRCS+=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc \
	eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc \
d22 2
a23 1
CFLAGS+=	-I${SRCDIR} -I${GCCDIR} -I${.CURDIR}/../libstdc++
d29 7
a35 1
INCSDIR=${INCLUDEDIR}/c++/3.4
@


1.7
log
@Repeatability is Considered Good when building this library, too.  (And
I think this is the last one which needs it.)
@
text
@d10 6
a15 5
SRCS=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc \
	eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc \
	eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc \
	guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
	pure.cc tinfo.cc tinfo2.cc vec.cc
@


1.6
log
@Bmake glue for GCC 3.4.2-prerelease.
@
text
@d21 1
@


1.6.8.1
log
@MFC: Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS in order
to make this library build repeatably.

Approved by:	re (kensmith)
@
text
@a20 1
CFLAGS+=	-frandom-seed=RepeatabilityConsideredGood
@


1.6.8.2
log
@MFC: rev 1.8: update libsupc++ to include missing files
@
text
@d10 5
a14 6
SRCS+=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc \
	eh_aux_runtime.cc eh_catch.cc eh_exception.cc eh_globals.cc \
	eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \
	eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \
	new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \
	vec.cc vterminate.cc
@


1.6.8.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/lib/libsupc++/Makefile 162047 2006-09-05 19:29:38Z obrien $
@


1.6.8.2.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.5
log
@Update bmake bits to build GCC 3.3.1-prerelease.
@
text
@d17 1
a17 1
SRCS+=	cp-demangle.c dyn-string.c
d25 1
a25 1
INCSDIR=${INCLUDEDIR}/c++/3.3
@


1.4
log
@Add some build glue for libstdc++.  I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
@
text
@d13 1
a13 1
	new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
d25 1
a25 1
INCSDIR=${INCLUDEDIR}/g++
@


1.3
log
@Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
@
text
@d3 2
a4 2
SRCDIR=	${.CURDIR}/../../../contrib/libstdc++-v3
.PATH: ${SRCDIR} ${SRCDIR}/../../gcc
d6 4
a9 1
LIB=	stdc++
d20 2
a21 3
CFLAGS+=	-I${SRCDIR}/../../gcc
CXXFLAGS+=	-nostdinc++ \
		-fno-implicit-templates -ffunction-sections -fdata-sections
d25 1
a25 1
INCSDIR=${INCLUDEDIR}/g++-v3
@


1.2
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d22 2
a23 5

beforeinstall:
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${HDRS:S;^;${SRCDIR}/;} \
	    ${DESTDIR}/usr/include/g++-v3
@


1.1
log
@GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.
@
text
@d2 27
@


1.1.2.1
log
@Mostly filled in contents for GCC 3.1.

Bribed by:	peter
@
text
@a1 27

SRCDIR=	${.CURDIR}/../../../contrib/libstdc++-v3
.PATH: ${SRCDIR} ${SRCDIR}/../../gcc

LIB=	stdc++
SRCS=	del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc \
	eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc \
	eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc \
	new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
	pure.cc tinfo.cc tinfo2.cc vec.cc

# from libiberty:
SRCS+=	cp-demangle.c dyn-string.c

CFLAGS+=	-DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
CFLAGS+=	-I${SRCDIR}/../../gcc
CXXFLAGS+=	-nostdinc++ \
		-fno-implicit-templates -ffunction-sections -fdata-sections

HDRS=	exception new typeinfo cxxabi.h exception_defines.h

beforeinstall:
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${HDRS:S;^;${SRCDIR}/;} \
	    ${DESTDIR}/usr/include/g++-v3

.include <bsd.lib.mk>
@

