head	1.9;
access;
symbols
	netbsd-11-0-RC7:1.9
	netbsd-11-0-RC6:1.9
	netbsd-11-0-RC5:1.9
	netbsd-11-0-RC4:1.9
	netbsd-11-0-RC3:1.9
	netbsd-11-0-RC2:1.9
	netbsd-11-0-RC1:1.9
	perseant-exfatfs-base-20250801:1.9
	netbsd-11:1.9.0.6
	netbsd-11-base:1.9
	netbsd-10-1-RELEASE:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.4
	perseant-exfatfs-base:1.9
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.9
	netbsd-10-0-RC6:1.9
	netbsd-10-0-RC5:1.9
	netbsd-10-0-RC4:1.9
	netbsd-10-0-RC3:1.9
	netbsd-10-0-RC2:1.9
	netbsd-10-0-RC1:1.9
	netbsd-10:1.9.0.2
	netbsd-10-base:1.9
	netbsd-9-3-RELEASE:1.7
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.4
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.8.0.2
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.7
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.28
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.7
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.7
	netbsd-9:1.7.0.26
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	pgoyette-compat-merge-20190127:1.7
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.7
	pgoyette-compat-1126:1.7
	pgoyette-compat-1020:1.7
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.7
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.7.0.24
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	netbsd-7-1-2-RELEASE:1.7
	pgoyette-compat:1.7.0.22
	pgoyette-compat-base:1.7
	netbsd-7-1-1-RELEASE:1.7
	matt-nb8-mediatek:1.7.0.20
	matt-nb8-mediatek-base:1.7
	perseant-stdc-iso10646:1.7.0.18
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.16
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.14
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	pgoyette-localcount-20170320:1.7
	netbsd-7-1:1.7.0.12
	netbsd-7-1-RELEASE:1.7
	netbsd-7-1-RC2:1.7
	netbsd-7-nhusb-base-20170116:1.7
	bouyer-socketcan:1.7.0.10
	bouyer-socketcan-base:1.7
	pgoyette-localcount-20170107:1.7
	netbsd-7-1-RC1:1.7
	pgoyette-localcount-20161104:1.7
	netbsd-7-0-2-RELEASE:1.7
	localcount-20160914:1.7
	netbsd-7-nhusb:1.7.0.8
	netbsd-7-nhusb-base:1.7
	pgoyette-localcount-20160806:1.7
	pgoyette-localcount-20160726:1.7
	pgoyette-localcount:1.7.0.6
	pgoyette-localcount-base:1.7
	netbsd-7-0-1-RELEASE:1.7
	netbsd-7-0:1.7.0.4
	netbsd-7-0-RELEASE:1.7
	gcc-4-8-5-pre-gcc-old-import:1.7
	netbsd-7-0-RC3:1.7
	netbsd-7-0-RC2:1.7
	netbsd-7-0-RC1:1.7
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.7.0.2
	netbsd-7-base:1.7
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.3
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.7
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	imported-to-gcc-old-20140227-0107:1.5
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.12
	riastradh-drm2-base:1.3
	netbsd-6-1:1.3.0.16
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.14
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.3.0.10
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.8
	tls-maxphys-base:1.7
	matt-nb6-plus:1.3.0.6
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.3.0.4
	netbsd-6-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.2
	yamt-pagecache-base:1.3;
locks; strict;
comment	@# @;


1.9
date	2021.08.16.06.56.27;	author mrg;	state Exp;
branches;
next	1.8;
commitid	rmXlKDoKEFuvda5D;

1.8
date	2020.09.09.07.23.46;	author mrg;	state Exp;
branches;
next	1.7;
commitid	6CEHne98t0KEllnC;

1.7
date	2014.06.01.19.51.02;	author mrg;	state Exp;
branches;
next	1.6;
commitid	BOTK7lyw6Na69RCx;

1.6
date	2014.03.01.10.00.48;	author mrg;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	ls1VzPCZSNtqQYqx;

1.5
date	2014.02.26.09.54.33;	author mrg;	state Exp;
branches;
next	1.4;
commitid	tog8WsTJJZVqTAqx;

1.4
date	2013.08.22.16.03.31;	author matt;	state Exp;
branches;
next	1.3;
commitid	SyW4GOVktGGEZs2x;

1.3
date	2011.06.28.04.07.04;	author mrg;	state Exp;
branches
	1.3.2.1
	1.3.8.1;
next	1.2;

1.2
date	2011.06.23.11.47.13;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	2011.06.21.06.02.27;	author mrg;	state Exp;
branches;
next	;

1.6.2.1
date	2014.08.10.07.10.55;	author tls;	state Exp;
branches;
next	;
commitid	3hJZAsnr6L0lHMLx;

1.3.2.1
date	2014.05.22.16.53.34;	author yamt;	state Exp;
branches;
next	;
commitid	v7BzuaTHWIjEuyBx;

1.3.8.1
date	2014.08.19.23.56.56;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;


desc
@@


1.9
log
@install experimental/* and ext/opt_random.h.  they're expected to
be there (and the latter was removed by accident.)

regen for everyone (also picks up missing tgmath.h for many ports.)

fixes build of pkgsrc/databases/mongodb for me.
@
text
@#	$NetBSD: Makefile,v 1.8 2020/09/09 07:23:46 mrg Exp $

.include <bsd.own.mk>
.include <bsd.init.mk>

.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"

.cc: # disable .cc->NULL transform

INCS=		${G_ext_headers} ${G_ext_host_headers}

INCSDIR=	/usr/include/g++/ext

.include "${.CURDIR}/../Makefile.includes"

.PATH: ${DIST}/libstdc++-v3/include/ext
.PATH: ${DIST}/libstdc++-v3/config
.PATH: ${DIST}/libstdc++-v3/libsupc++
@


1.8
log
@install new libstdc++ pstl headers.  remove some dead makefile
code and consolidate some of the header installation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2014/06/01 19:51:02 mrg Exp $
d10 1
a10 1
INCS=		${G_ext_headers}
@


1.7
log
@port over 3 changes made here in the GCC 4.5 tree that we'll need
when GCC 4.8 becomes "gcc.old" eventually.

this tree still needs to be tested for more, but this should be the
bulk of the work.

----
Log Message:
prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.

----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.

----
Log Message:
fix another dated DIST.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2014/03/01 10:00:48 mrg Exp $
a15 3
.include <bsd.prog.mk>
# Get default targets including <bsd.inc.mk>.

a16 1
.PATH: ${DIST}/libstdc++-v3/include
a18 2
# for ext/hash_set
#.PATH: ${DIST}/libstdc++-v3/include/backward
@


1.6
log
@merge GCC 4.8 build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/28 04:07:04 mrg Exp $
a9 2
DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist

d16 4
a24 3

# Get default targets including <bsd.inc.mk>.
.include <bsd.prog.mk>
@


1.6.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2014/06/01 19:51:02 mrg Exp $
d10 2
a17 4
.include <bsd.prog.mk>
# Get default targets including <bsd.inc.mk>.

.PATH: ${DIST}/libstdc++-v3/include/ext
d23 3
@


1.5
log
@prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2013/08/22 16:03:31 matt Exp $
d3 1
d10 2
d13 1
d16 8
a25 9

# XXX Not yet
#SUBDIR=	pb_assoc

#.include <bsd.subdir.mk>

.PATH: ${DIST}/libstdc++-v3/include/ext
# for ext/hash_set
.PATH: ${DIST}/libstdc++-v3/include/backward
@


1.4
log
@Make earmv5 work.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/28 04:07:04 mrg Exp $
a2 1
.include <bsd.own.mk>
a8 2
DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist

a11 4
.PATH: ${DIST}/libstdc++-v3/include/ext
# for ext/hash_set
.PATH: ${DIST}/libstdc++-v3/include/backward

d19 4
@


1.3
log
@add the path to has_set file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/06/23 11:47:13 mrg Exp $
d4 1
d6 1
a6 1
.include "${.CURDIR}/../../arch/${MACHINE_ARCH}/defs.mk"
@


1.3.8.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a3 1
.include <bsd.init.mk>
d5 1
a5 1
.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"
d9 2
a11 1

d14 3
a16 1
.include "${.CURDIR}/../Makefile.includes"
d18 1
a19 1
# Get default targets including <bsd.inc.mk>.
d21 4
a24 6
.PATH: ${DIST}/libstdc++-v3/include/ext
.PATH: ${DIST}/libstdc++-v3/include
.PATH: ${DIST}/libstdc++-v3/config
.PATH: ${DIST}/libstdc++-v3/libsupc++
# for ext/hash_set
#.PATH: ${DIST}/libstdc++-v3/include/backward
@


1.3.2.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/28 04:07:04 mrg Exp $
a3 1
.include <bsd.init.mk>
d5 1
a5 1
.include "${.CURDIR}/../../arch/${GCC_MACHINE_ARCH}/defs.mk"
a11 1

d14 1
a14 5
.include "${.CURDIR}/../Makefile.includes"

.PATH: ${DIST}/libstdc++-v3/include
.PATH: ${DIST}/libstdc++-v3/config
.PATH: ${DIST}/libstdc++-v3/libsupc++
d16 1
a16 1
#.PATH: ${DIST}/libstdc++-v3/include/backward
d20 5
@


1.2
log
@fix a bunch of paths to look in the right places for gcc 4.5.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2011/06/21 06:02:27 mrg Exp $
d15 2
@


1.1
log
@*sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2011/06/21 02:48:27 mrg Exp $
d9 1
a9 1
DIST=		${NETBSDSRCDIR}/gnu/dist/gcc4
@

