head	1.11;
access;
symbols
	perseant-exfatfs-base-20250801:1.11
	perseant-exfatfs-base-20240630:1.11
	cjep_sun2x:1.11.0.24
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	cjep_staticlib_x:1.11.0.22
	cjep_staticlib_x-base:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	phil-wifi-20200406:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	pgoyette-compat-0728:1.11
	pgoyette-compat-0625:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	pgoyette-compat:1.11.0.20
	pgoyette-compat-base:1.11
	perseant-stdc-iso10646:1.11.0.18
	perseant-stdc-iso10646-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.16
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	bouyer-socketcan:1.11.0.14
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	pgoyette-localcount-20161104:1.11
	localcount-20160914:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.12
	pgoyette-localcount-base:1.11
	netbsd-5-2-3-RELEASE:1.10
	netbsd-5-1-5-RELEASE:1.10
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	tls-earlyentropy:1.11.0.8
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-5-2-2-RELEASE:1.10
	netbsd-5-1-4-RELEASE:1.10
	netbsd-5-2-1-RELEASE:1.10
	netbsd-5-1-3-RELEASE:1.10
	agc-symver:1.11.0.10
	agc-symver-base:1.11
	tls-maxphys-base:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.10.0.36
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.10
	matt-nb6-plus-base:1.10
	matt-nb6-plus:1.11.0.6
	matt-nb6-plus-nbase:1.10
	netbsd-5-2-RC1:1.10
	yamt-pagecache-base6:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-5-1-2-RELEASE:1.10
	netbsd-5-1-1-RELEASE:1.10
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.4
	yamt-pagecache-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.2
	bouyer-quota2-base:1.11
	matt-nb5-mips64-premerge-20101231:1.10
	matt-nb5-pq3:1.10.0.34
	matt-nb5-pq3-base:1.10
	netbsd-5-1:1.10.0.32
	netbsd-5-1-RELEASE:1.10
	netbsd-5-1-RC4:1.10
	matt-nb5-mips64-k15:1.10
	netbsd-5-1-RC3:1.10
	netbsd-5-1-RC2:1.10
	netbsd-5-1-RC1:1.10
	netbsd-5-0-2-RELEASE:1.10
	matt-nb5-mips64-premerge-20091211:1.10
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.10
	matt-nb4-mips64-k7-u2a-k9b:1.10
	matt-nb5-mips64-u1-k1-k5:1.10
	matt-nb5-mips64:1.10.0.30
	netbsd-5-0-1-RELEASE:1.10
	jym-xensuspend-nbase:1.10
	netbsd-5-0:1.10.0.28
	netbsd-5-0-RELEASE:1.10
	netbsd-5-0-RC4:1.10
	netbsd-5-0-RC3:1.10
	netbsd-5-0-RC2:1.10
	jym-xensuspend:1.10.0.26
	jym-xensuspend-base:1.10
	netbsd-5-0-RC1:1.10
	netbsd-5:1.10.0.24
	netbsd-5-base:1.10
	matt-mips64-base2:1.10
	matt-mips64:1.10.0.22
	mjf-devfs2:1.10.0.20
	mjf-devfs2-base:1.10
	netbsd-4-0-1-RELEASE:1.10
	wrstuden-revivesa-base-3:1.10
	wrstuden-revivesa-base-2:1.10
	wrstuden-fixsa-newbase:1.10
	wrstuden-revivesa-base-1:1.10
	yamt-pf42-base4:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-baseX:1.10
	yamt-pf42-base2:1.10
	wrstuden-revivesa:1.10.0.18
	wrstuden-revivesa-base:1.10
	yamt-pf42:1.10.0.16
	yamt-pf42-base:1.10
	keiichi-mipv6:1.10.0.14
	keiichi-mipv6-base:1.10
	matt-armv6-nbase:1.10
	matt-armv6-prevmlocking:1.10
	wrstuden-fixsa-base-1:1.10
	netbsd-4-0:1.10.0.12
	netbsd-4-0-RELEASE:1.10
	cube-autoconf:1.10.0.10
	cube-autoconf-base:1.10
	netbsd-4-0-RC5:1.10
	netbsd-4-0-RC4:1.10
	netbsd-4-0-RC3:1.10
	netbsd-4-0-RC2:1.10
	netbsd-4-0-RC1:1.10
	matt-armv6:1.10.0.8
	matt-armv6-base:1.10
	matt-mips64-base:1.10
	hpcarm-cleanup:1.10.0.6
	hpcarm-cleanup-base:1.10
	netbsd-3-1-1-RELEASE:1.8
	netbsd-3-0-3-RELEASE:1.8
	wrstuden-fixsa:1.10.0.4
	wrstuden-fixsa-base:1.10
	abandoned-netbsd-4-base:1.9
	abandoned-netbsd-4:1.9.0.2
	netbsd-3-1:1.8.0.12
	netbsd-3-1-RELEASE:1.8
	netbsd-3-0-2-RELEASE:1.8
	netbsd-3-1-RC4:1.8
	netbsd-3-1-RC3:1.8
	netbsd-3-1-RC2:1.8
	netbsd-3-1-RC1:1.8
	netbsd-4:1.10.0.2
	netbsd-4-base:1.10
	netbsd-3-0-1-RELEASE:1.8
	netbsd-3-0:1.8.0.10
	netbsd-3-0-RELEASE:1.8
	netbsd-3-0-RC6:1.8
	netbsd-3-0-RC5:1.8
	netbsd-3-0-RC4:1.8
	netbsd-3-0-RC3:1.8
	netbsd-3-0-RC2:1.8
	netbsd-3-0-RC1:1.8
	netbsd-2-0-3-RELEASE:1.8
	netbsd-2-1:1.8.0.8
	netbsd-2-1-RELEASE:1.8
	netbsd-2-1-RC6:1.8
	netbsd-2-1-RC5:1.8
	netbsd-2-1-RC4:1.8
	netbsd-2-1-RC3:1.8
	netbsd-2-1-RC2:1.8
	netbsd-2-1-RC1:1.8
	netbsd-2-0-2-RELEASE:1.8
	netbsd-3:1.8.0.6
	netbsd-3-base:1.8
	netbsd-2-0-1-RELEASE:1.8
	netbsd-2:1.8.0.4
	netbsd-2-base:1.8
	netbsd-2-0-RELEASE:1.8
	netbsd-2-0-RC5:1.8
	netbsd-2-0-RC4:1.8
	netbsd-2-0-RC3:1.8
	netbsd-2-0-RC2:1.8
	netbsd-2-0-RC1:1.8
	netbsd-2-0:1.8.0.2
	netbsd-2-0-base:1.8
	netbsd-1-6-PATCH002-RELEASE:1.5
	netbsd-1-6-PATCH002:1.5
	netbsd-1-6-PATCH002-RC4:1.5
	netbsd-1-6-PATCH002-RC3:1.5
	netbsd-1-6-PATCH002-RC2:1.5
	netbsd-1-6-PATCH002-RC1:1.5
	netbsd-1-6-PATCH001:1.5
	netbsd-1-6-PATCH001-RELEASE:1.5
	netbsd-1-6-PATCH001-RC3:1.5
	netbsd-1-6-PATCH001-RC2:1.5
	netbsd-1-6-PATCH001-RC1:1.5
	fvdl_fs64_base:1.7
	netbsd-1-6-RELEASE:1.5
	netbsd-1-6-RC3:1.5
	netbsd-1-6-RC2:1.5
	netbsd-1-6-RC1:1.5
	netbsd-1-6:1.5.0.2
	netbsd-1-6-base:1.5;
locks; strict;
comment	@# @;


1.11
date	2009.11.08.15.24.42;	author skrll;	state dead;
branches
	1.11.6.1;
next	1.10;

1.10
date	2006.11.09.20.07.14;	author christos;	state Exp;
branches
	1.10.30.1;
next	1.9;

1.9
date	2006.02.02.22.22.16;	author skrll;	state Exp;
branches;
next	1.8;

1.8
date	2003.12.04.09.29.32;	author mrg;	state Exp;
branches;
next	1.7;

1.7
date	2002.09.17.23.18.35;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	2002.08.19.09.46.41;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2002.02.27.17.03.49;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	2002.02.11.21.36.35;	author tv;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.12.23.09.13;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2001.12.12.01.48.57;	author tv;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.18.12.17.15;	author tv;	state Exp;
branches;
next	;

1.11.6.1
date	2009.11.08.15.24.42;	author matt;	state dead;
branches;
next	1.11.6.2;

1.11.6.2
date	2012.11.20.18.52.23;	author matt;	state Exp;
branches;
next	;

1.10.30.1
date	2013.12.18.18.41.39;	author matt;	state Exp;
branches;
next	1.10.30.2;
commitid	nGsIzVZuqGJF4Ehx;

1.10.30.2
date	2013.12.19.01.16.13;	author matt;	state Exp;
branches;
next	;
commitid	O4x5yVv4U0W2gGhx;


desc
@@


1.11
log
@Remove binutils 2.16 crossover build files.
@
text
@#	$NetBSD: Makefile,v 1.10 2006/11/09 20:07:14 christos Exp $

NOLINT=		# defined
NOPROFILE=	# defined
NOPIC=		# defined
NOLINKLIB=	# defined

.include <bsd.own.mk>

LIB=		iberty

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

COPTS.argv.c = -Wno-stack-protector
COPTS.cp-demangle.c = -Wno-stack-protector
COPTS.make-relative-prefix.c = -Wno-stack-protector
COPTS.regex.c = -Wno-stack-protector

DIST=		${NETBSDSRCDIR}/gnu/dist/binutils

SRCS=		${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
		${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}

CPPFLAGS+=	-DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
		-I${DIST}/include

.PATH: ${DIST}/libiberty

.include <bsd.lib.mk>
@


1.11.6.1
log
@file Makefile was added on branch matt-nb6-plus on 2012-11-20 18:52:23 +0000
@
text
@d1 29
@


1.11.6.2
log
@Bring back GPL2 version of binutils.
@
text
@a0 29
#	$NetBSD: Makefile,v 1.10 2006/11/09 20:07:14 christos Exp $

NOLINT=		# defined
NOPROFILE=	# defined
NOPIC=		# defined
NOLINKLIB=	# defined

.include <bsd.own.mk>

LIB=		iberty

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

COPTS.argv.c = -Wno-stack-protector
COPTS.cp-demangle.c = -Wno-stack-protector
COPTS.make-relative-prefix.c = -Wno-stack-protector
COPTS.regex.c = -Wno-stack-protector

DIST=		${NETBSDSRCDIR}/gnu/dist/binutils

SRCS=		${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
		${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}

CPPFLAGS+=	-DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
		-I${DIST}/include

.PATH: ${DIST}/libiberty

.include <bsd.lib.mk>
@


1.10
log
@compile some files with -Wno-stack-protector since they are heavy alloca
users.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2006/02/02 22:22:16 skrll Exp $
@


1.10.30.1
log
@Treat MACHINE_ARCH of armv7/armv7eb as arm/armeb
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2006/11/09 20:07:14 christos Exp $
d12 1
a12 1
.include "${.CURDIR}/arch/${MACHINE_ARCH:S/armv7/arm/}/defs.mk"
@


1.10.30.2
log
@support for armv7/armv7eb MACHINE_ARCH
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.30.1 2013/12/18 18:41:39 matt Exp $
a8 1
.include "../Makefile.inc"
d12 1
a12 1
.include "${.CURDIR}/arch/${GCC_MACHINE_ARCH}/defs.mk"
d24 1
a24 1
CPPFLAGS+=	-DHAVE_CONFIG_H -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
@


1.9
log
@Run mknative on the new binutils.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2003/12/04 09:29:32 mrg Exp $
d14 5
@


1.8
log
@build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2003/11/27 15:02:21 mrg Exp $
d12 1
a12 1
.include "${.CURDIR}/defs.mk"
d19 2
a20 1
CPPFLAGS+=	-DHAVE_CONFIG_H -I${.CURDIR} -I${DIST}/include
@


1.7
log
@* Eliminate the USE_NEW_TOOLCHAIN variable.  Instead, split it into
  two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/08/19 09:46:41 lukem Exp $
d14 1
a14 1
DIST=		${NETBSDSRCDIR}/gnu/dist/toolchain
@


1.6
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../../some/path (etc).
(Reduces make output by ~ 20%)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2002/02/27 17:03:49 tv Exp $
a9 2
.if defined(USE_NEW_TOOLCHAIN)

a23 5

.else
# Do nothing. (PROG undefined)
.include <bsd.prog.mk>
.endif
@


1.5
log
@Make new toolchain conf files for libiberty MI.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2002/02/11 21:36:35 tv Exp $
d16 1
a16 2
TOP=		${.CURDIR}/../..
DIST=		${TOP}/dist/toolchain
@


1.4
log
@Skip building anything if the target's .mk files are missing.  (Allows the
toolchain to be built in segments, or not at all if the in-tree toolchain
is inappropriate for the target.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/12/12 23:09:13 lukem Exp $
d10 1
a10 1
.if defined(USE_NEW_TOOLCHAIN) && exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk)
d14 1
a14 1
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
d22 1
a22 2
CPPFLAGS+=	-DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
		-I${DIST}/include
a26 2

#${OBJS}: ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk
@


1.3
log
@move NOxxx=
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/12/12 01:48:57 tv Exp $
d10 1
a10 1
.if defined(USE_NEW_TOOLCHAIN)
@


1.2
log
@MKfoo=no -> NOfoo
@
text
@d1 6
a6 1
#	$NetBSD: Makefile,v 1.1 2001/07/18 12:17:15 tv Exp $
a12 4
NOLINT=		# defined
NOPROFILE=	# defined
NOPIC=		# defined
NOLINKLIB=	# defined
@


1.1
log
@First framework for libiberty, now used by all the toolchain components (so
no longer merged with libbfd).  Conditional on USE_NEW_TOOLCHAIN for now.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 4
a11 4
MKLINT=		no
MKPROFILE=	no
MKPIC=		no
MKLINKLIB=	no
@

