head	1.5;
access;
symbols
	RELENG_4_11_0_RELEASE:1.3.2.2
	RELENG_4_11:1.3.2.2.0.10
	RELENG_4_11_BP:1.3.2.2
	RELENG_4_10_0_RELEASE:1.3.2.2
	RELENG_4_10:1.3.2.2.0.8
	RELENG_4_10_BP:1.3.2.2
	RELENG_4_9_0_RELEASE:1.3.2.2
	RELENG_4_9:1.3.2.2.0.6
	RELENG_4_9_BP:1.3.2.2
	RELENG_4_8_0_RELEASE:1.3.2.2
	RELENG_4_8:1.3.2.2.0.4
	RELENG_4_8_BP:1.3.2.2
	RELENG_4_7_0_RELEASE:1.3.2.2
	RELENG_4_7:1.3.2.2.0.2
	RELENG_4_7_BP:1.3.2.2
	BEFORE_BU_2121__RELENG4:1.3.2.1
	RELENG_4_6_2_RELEASE:1.3.2.1
	RELENG_4_6_1_RELEASE:1.3.2.1
	RELENG_4_6_0_RELEASE:1.3.2.1
	RELENG_4_6:1.3.2.1.0.8
	RELENG_4_6_BP:1.3.2.1
	RELENG_4_5_0_RELEASE:1.3.2.1
	RELENG_4_5:1.3.2.1.0.6
	RELENG_4_5_BP:1.3.2.1
	RELENG_4_4_0_RELEASE:1.3.2.1
	RELENG_4_4:1.3.2.1.0.4
	RELENG_4_4_BP:1.3.2.1
	BEFORE_BU_2112__RELENG4:1.3.2.1
	BEFORE_BU_2110:1.4
	RELENG_4_3_0_RELEASE:1.3.2.1
	RELENG_4_3:1.3.2.1.0.2
	RELENG_4_3_BP:1.3.2.1
	RELENG_4_2_0_RELEASE:1.3.2.1
	binutils_2_10_0:1.4
	RELENG_4_1_1_RELEASE:1.3.2.1
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.3.2.1
	BEFORE_2_9_1_UPGRADE:1.3
	RELENG_4_0_0_RELEASE:1.3
	RELENG_4:1.3.0.2
	RELENG_4_BP:1.3;
locks; strict;
comment	@# @;


1.5
date	2001.10.14.01.33.07;	author obrien;	state dead;
branches;
next	1.4;

1.4
date	2000.05.22.08.25.39;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	99.12.17.15.50.44;	author marcel;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	99.11.07.05.56.04;	author jb;	state Exp;
branches;
next	1.1;

1.1
date	99.11.06.22.12.24;	author jb;	state Exp;
branches;
next	;

1.3.2.1
date	2000.07.06.22.15.48;	author obrien;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2002.09.01.23.37.46;	author obrien;	state dead;
branches;
next	;


desc
@@


1.5
log
@We do "sparc64", not "sparc".
@
text
@#
# $FreeBSD: src/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile,v 1.4 2000/05/22 08:25:39 obrien Exp $
#

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

PROG=		as
.if	${TARGET_ARCH} != "sparc"
NOMAN=		1
BINDIR=		/usr/libexec/cross/sparc-freebsd
# If we aren't doing cross-assembling, some operations can be optimized, since
# byte orders and value sizes don't need to be adjusted.
CFLAGS+=	-DCROSS_COMPILE=1
.endif
SRCS+=		obj-elf.c tc-sparc.c

.include <bsd.prog.mk>
@


1.4
log
@Conditionally define "CROSS_COMPILE" here.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile,v 1.3 1999/12/17 15:50:44 marcel Exp $
@


1.3
log
@s/MACHINE_ARCH/TARGET_ARCH/g

The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.

TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile,v 1.2 1999/11/07 05:56:04 jb Exp $
d11 3
@


1.3.2.1
log
@MFC:  Upgrade to Binutils 2.10.0.
@
text
@d2 1
a2 1
# $FreeBSD$
a10 3
# If we aren't doing cross-assembling, some operations can be optimized, since
# byte orders and value sizes don't need to be adjusted.
CFLAGS+=	-DCROSS_COMPILE=1
@


1.3.2.2
log
@MFC: remove these bits for platforms FreeBSD 4.x does not run on
     (some are ancient, back to the time of 2.9.1)
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile,v 1.3.2.1 2000/07/06 22:15:48 obrien Exp $
@


1.2
log
@Replace freebsdelf with freebsd in BINDIR.

[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
  by Peter (one of the repo-men) ]

Requested by: obrien
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile,v 1.1 1999/11/06 22:12:24 jb Exp $
d8 1
a8 1
.if	${MACHINE_ARCH} != "sparc"
@


1.1
log
@gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change).
@
text
@d2 1
a2 1
# $FreeBSD$
d10 1
a10 1
BINDIR=		/usr/libexec/cross/sparc-freebsdelf
@

