head	1.11;
access;
symbols
	RELENG_6_4_0_RELEASE:1.10.12.1
	RELENG_6_4:1.10.0.12
	RELENG_6_4_BP:1.10
	RELENG_6_3_0_RELEASE:1.10
	RELENG_6_3:1.10.0.10
	RELENG_6_3_BP:1.10
	RELENG_6_2_0_RELEASE:1.10
	RELENG_6_2:1.10.0.8
	RELENG_6_2_BP:1.10
	RELENG_5_5_0_RELEASE:1.9.8.1
	RELENG_5_5:1.9.8.1.0.4
	RELENG_5_5_BP:1.9.8.1
	RELENG_6_1_0_RELEASE:1.10
	RELENG_6_1:1.10.0.6
	RELENG_6_1_BP:1.10
	RELENG_6_0_0_RELEASE:1.10
	RELENG_6_0:1.10.0.4
	RELENG_6_0_BP:1.10
	RELENG_6:1.10.0.2
	RELENG_6_BP:1.10
	RELENG_5_4_0_RELEASE:1.9.8.1
	RELENG_5_4:1.9.8.1.0.2
	RELENG_5_4_BP:1.9.8.1
	RELENG_4_11_0_RELEASE:1.4.2.1
	RELENG_4_11:1.4.2.1.0.10
	RELENG_4_11_BP:1.4.2.1
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.10
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.8
	RELENG_5_BP:1.9
	RELENG_4_10_0_RELEASE:1.4.2.1
	RELENG_4_10:1.4.2.1.0.8
	RELENG_4_10_BP:1.4.2.1
	RELENG_5_2_1_RELEASE:1.9
	RELENG_5_2_0_RELEASE:1.9
	RELENG_5_2:1.9.0.6
	RELENG_5_2_BP:1.9
	RELENG_4_9_0_RELEASE:1.4.2.1
	RELENG_4_9:1.4.2.1.0.6
	RELENG_4_9_BP:1.4.2.1
	RELENG_5_1_0_RELEASE:1.9
	RELENG_5_1:1.9.0.4
	RELENG_5_1_BP:1.9
	RELENG_4_8_0_RELEASE:1.4.2.1
	RELENG_4_8:1.4.2.1.0.4
	RELENG_4_8_BP:1.4.2.1
	RELENG_5_0_0_RELEASE:1.9
	RELENG_5_0:1.9.0.2
	RELENG_5_0_BP:1.9
	RELENG_4_7_0_RELEASE:1.4.2.1
	RELENG_4_7:1.4.2.1.0.2
	RELENG_4_7_BP:1.4.2.1
	RELENG_4_6_2_RELEASE:1.4
	RELENG_4_6_1_RELEASE:1.4
	RELENG_4_6_0_RELEASE:1.4
	RELENG_4_6:1.4.0.10
	RELENG_4_6_BP:1.4
	RELENG_4_5_0_RELEASE:1.4
	RELENG_4_5:1.4.0.8
	RELENG_4_5_BP:1.4
	RELENG_4_4_0_RELEASE:1.4
	RELENG_4_4:1.4.0.6
	RELENG_4_4_BP:1.4
	KSE_MILESTONE_2:1.5
	KSE_PRE_MILESTONE_2:1.5
	RELENG_4_3_0_RELEASE:1.4
	RELENG_4_3:1.4.0.4
	RELENG_4_3_BP:1.4
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.4
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	initial:1.1.1.1
	SE:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2006.05.11.22.25.25;	author jhb;	state dead;
branches;
next	1.10;

1.10
date	2004.10.24.15.32.49;	author ru;	state Exp;
branches
	1.10.2.1
	1.10.12.1;
next	1.9;

1.9
date	2002.05.13.10.53.24;	author ru;	state Exp;
branches
	1.9.8.1;
next	1.8;

1.8
date	2002.05.12.13.54.39;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.11.18.02.32;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.10.09.26.29;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.31.11.01.20;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	99.11.14.13.54.40;	author marcel;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.08.28.00.39.35;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	99.08.02.19.16.42;	author dfr;	state Exp;
branches;
next	1.1;

1.1
date	99.07.28.20.28.45;	author se;	state Exp;
branches
	1.1.1.1;
next	;

1.10.2.1
date	2012.11.17.07.42.32;	author svnexp;	state Exp;
branches;
next	;

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

1.9.8.1
date	2005.02.13.07.23.30;	author obrien;	state Exp;
branches;
next	;

1.4.2.1
date	2002.07.19.18.46.28;	author ru;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2012.11.17.07.25.18;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	99.07.28.20.28.45;	author se;	state Exp;
branches;
next	;


desc
@@


1.11
log
@First pass at removing Alpha kernel support.
@
text
@# $FreeBSD: src/sys/boot/arc/lib/Makefile,v 1.10 2004/10/24 15:32:49 ru Exp $

LIB=		arc
INTERNALLIB=

CFLAGS+=	-ffreestanding
.PATH:		${.CURDIR}/arch/${MACHINE_ARCH}
# XXX hack to pick up stand.h
LIBSTANDDIR=	${.CURDIR}/../../../../lib/libstand
CFLAGS+=	-I${LIBSTANDDIR}
CFLAGS+=	-DDEBUG

# Pick up the bootstrap header for some interface items
CFLAGS+=	-I${.CURDIR}/../../common -mno-fp-regs \
		-I${.CURDIR}/../../.. -I${.CURDIR}/../include

#CFLAGS+= -DDISK_DEBUG
#CPPFLAGS+= -DNO_DISKLABEL
#CPPFLAGS+= -DSAVE_MEMORY

SRCS=	delay.c time.c abort.c setjmperr.c copy.c devicename.c module.c \
	arcconsole.c arcdisk.c elf_freebsd.c bootinfo.c

.if ${MACHINE_ARCH} == "alpha"
SRCS+=	rpb.c
.endif

CLEANFILES+= machine

machine:
	ln -sf ${.CURDIR}/../../../alpha/include machine

.include <bsd.lib.mk>

beforedepend ${OBJS}: machine
@


1.10
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/boot/arc/lib/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.10.12.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.9
log
@Major cleanup of bsd.lib.mk.

Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
@
text
@d4 1
a4 1
INTERNALLIB=	true
@


1.9.8.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d4 1
a4 1
INTERNALLIB=
@


1.8
log
@Back out last commit.  I expect our bsd.*.mk gods to remove the need for
defining so many extra things in addition to INTERNALLIB.  We don't like
repetitive C code and we shouldn't for make code either.
@
text
@a3 2
NOPIC=		true
NOPROFILE=	true
a26 2

all: libarc.a
@


1.7
log
@NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
INTERNALLIB now.
@
text
@d4 2
@


1.6
log
@-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
@
text
@a3 2
NOPIC=		true
NOPROFILE=	true
@


1.5
log
@Don't clobber the default for CFLAGS.

Reviewed by:		dfr
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/arc/lib/Makefile,v 1.4 1999/11/14 13:54:40 marcel Exp $
d8 1
@


1.4
log
@${MACHINE} -> ${MACHINE_ARCH}

All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/arc/lib/Makefile,v 1.3 1999/08/28 00:39:35 peter Exp $
d11 1
a11 1
CFLAGS=		-I${LIBSTANDDIR}
@


1.4.2.1
log
@MFC: new bsd.lib.mk API.
@
text
@d1 1
a1 1
# $FreeBSD$
d4 2
d11 1
a11 1
CFLAGS+=	-I${LIBSTANDDIR}
d28 2
@


1.4.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/boot/arc/lib/Makefile 100377 2002-07-19 18:46:30Z ru $
@


1.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
a8 1
.PATH:		${.CURDIR}/arch/${MACHINE}
d25 1
a25 1
.if ${MACHINE} == "alpha"
@


1.2
log
@Make this build if there is an obj directory.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 1999/07/28 20:28:45 se Exp $
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1998/10/16 19:26:11 msmith Exp $
d8 1
a8 1
.PATH:		arch/${MACHINE}
d16 1
a16 1
		-I${.CURDIR}/../../.. -I../include
@


1.1.1.1
log
@The ARC BIOS / AlphaBIOS specific primary boot loader. This code is the
result of a joined effort with parts contributed by Doug Rabson, Warner
Losh and Stefan Esser (hope I did not forget anybody). Part of the sources
is obtained from NetBSD with modifications.

This code is work in progress:

As of the time of the initial import, a loader.exe executable is built,
which can be loaded on an Alpha with NT only firmware, but no attempt is
made to switch to OSF PAL code as required to start an actual kernel.
@
text
@@
