head	1.49;
access;
symbols
	RELENG_8_4:1.49.0.2
	RELENG_9_1_0_RELEASE:1.46.2.2.2.2
	RELENG_9_1:1.46.2.2.0.2
	RELENG_9_1_BP:1.46.2.2
	RELENG_8_3_0_RELEASE:1.44.2.1.8.1
	RELENG_8_3:1.44.2.1.0.8
	RELENG_8_3_BP:1.44.2.1
	RELENG_9_0_0_RELEASE:1.46.2.1.2.1
	RELENG_9_0:1.46.2.1.0.2
	RELENG_9_0_BP:1.46.2.1
	RELENG_9:1.46.0.2
	RELENG_9_BP:1.46
	RELENG_7_4_0_RELEASE:1.41.12.1
	RELENG_8_2_0_RELEASE:1.44.2.1.6.1
	RELENG_7_4:1.41.0.12
	RELENG_7_4_BP:1.41
	RELENG_8_2:1.44.2.1.0.6
	RELENG_8_2_BP:1.44.2.1
	RELENG_8_1_0_RELEASE:1.44.2.1.4.1
	RELENG_8_1:1.44.2.1.0.4
	RELENG_8_1_BP:1.44.2.1
	RELENG_7_3_0_RELEASE:1.41.10.1
	RELENG_7_3:1.41.0.10
	RELENG_7_3_BP:1.41
	RELENG_8_0_0_RELEASE:1.44.2.1.2.1
	RELENG_8_0:1.44.2.1.0.2
	RELENG_8_0_BP:1.44.2.1
	RELENG_8:1.44.0.2
	RELENG_8_BP:1.44
	RELENG_7_2_0_RELEASE:1.41.8.1
	RELENG_7_2:1.41.0.8
	RELENG_7_2_BP:1.41
	RELENG_7_1_0_RELEASE:1.41.6.1
	RELENG_6_4_0_RELEASE:1.38.2.1.8.1
	RELENG_7_1:1.41.0.6
	RELENG_7_1_BP:1.41
	RELENG_6_4:1.38.2.1.0.8
	RELENG_6_4_BP:1.38.2.1
	RELENG_7_0_0_RELEASE:1.41
	RELENG_6_3_0_RELEASE:1.38.2.1
	RELENG_7_0:1.41.0.4
	RELENG_7_0_BP:1.41
	RELENG_6_3:1.38.2.1.0.6
	RELENG_6_3_BP:1.38.2.1
	RELENG_7:1.41.0.2
	RELENG_7_BP:1.41
	RELENG_6_2_0_RELEASE:1.38.2.1
	RELENG_6_2:1.38.2.1.0.4
	RELENG_6_2_BP:1.38.2.1
	RELENG_5_5_0_RELEASE:1.35
	RELENG_5_5:1.35.0.8
	RELENG_5_5_BP:1.35
	RELENG_6_1_0_RELEASE:1.38.2.1
	RELENG_6_1:1.38.2.1.0.2
	RELENG_6_1_BP:1.38.2.1
	RELENG_6_0_0_RELEASE:1.38.4.1
	RELENG_6_0:1.38.0.4
	RELENG_6_0_BP:1.38
	RELENG_6:1.38.0.2
	RELENG_6_BP:1.38
	RELENG_5_4_0_RELEASE:1.35
	RELENG_5_4:1.35.0.6
	RELENG_5_4_BP:1.35
	RELENG_4_11_0_RELEASE:1.12.2.9
	RELENG_4_11:1.12.2.9.0.6
	RELENG_4_11_BP:1.12.2.9
	RELENG_5_3_0_RELEASE:1.35
	RELENG_5_3:1.35.0.4
	RELENG_5_3_BP:1.35
	RELENG_5:1.35.0.2
	RELENG_5_BP:1.35
	RELENG_4_10_0_RELEASE:1.12.2.9
	RELENG_4_10:1.12.2.9.0.4
	RELENG_4_10_BP:1.12.2.9
	RELENG_5_2_1_RELEASE:1.30
	RELENG_5_2_0_RELEASE:1.30
	RELENG_5_2:1.30.0.2
	RELENG_5_2_BP:1.30
	RELENG_4_9_0_RELEASE:1.12.2.9
	RELENG_4_9:1.12.2.9.0.2
	RELENG_4_9_BP:1.12.2.9
	RELENG_5_1_0_RELEASE:1.28.2.1
	RELENG_5_1:1.28.0.2
	RELENG_5_1_BP:1.28
	RELENG_4_8_0_RELEASE:1.12.2.8
	RELENG_4_8:1.12.2.8.0.4
	RELENG_4_8_BP:1.12.2.8
	RELENG_5_0_0_RELEASE:1.27
	RELENG_5_0:1.27.0.2
	RELENG_5_0_BP:1.27
	RELENG_4_7_0_RELEASE:1.12.2.8
	RELENG_4_7:1.12.2.8.0.2
	RELENG_4_7_BP:1.12.2.8
	RELENG_4_6_2_RELEASE:1.12.2.7
	RELENG_4_6_1_RELEASE:1.12.2.7
	RELENG_4_6_0_RELEASE:1.12.2.7
	RELENG_4_6:1.12.2.7.0.4
	RELENG_4_6_BP:1.12.2.7
	RELENG_4_5_0_RELEASE:1.12.2.7
	RELENG_4_5:1.12.2.7.0.2
	RELENG_4_5_BP:1.12.2.7
	RELENG_4_4_0_RELEASE:1.12.2.6
	RELENG_4_4:1.12.2.6.0.4
	RELENG_4_4_BP:1.12.2.6
	KSE_MILESTONE_2:1.21
	KSE_PRE_MILESTONE_2:1.21
	RELENG_4_3_0_RELEASE:1.12.2.6
	RELENG_4_3:1.12.2.6.0.2
	RELENG_4_3_BP:1.12.2.6
	RELENG_4_2_0_RELEASE:1.12.2.5
	RELENG_4_1_1_RELEASE:1.12.2.4
	PRE_SMPNG:1.17
	RELENG_4_1_0_RELEASE:1.12.2.3
	RELENG_3_5_0_RELEASE:1.1.2.7
	RELENG_4_0_0_RELEASE:1.12
	RELENG_4:1.12.0.2
	RELENG_4_BP:1.12
	RELENG_3_4_0_RELEASE:1.1.2.6
	RELENG_3_3_0_RELEASE:1.1.2.6
	RELENG_3_2_PAO:1.1.2.5.0.2
	RELENG_3_2_PAO_BP:1.1.2.5
	RELENG_3_2_0_RELEASE:1.1.2.5
	POST_VFS_BIO_NFS_PATCH:1.7
	PRE_VFS_BIO_NFS_PATCH:1.7
	POST_SMP_VMSHARE:1.7
	PRE_SMP_VMSHARE:1.7
	POST_NEWBUS:1.5
	PRE_NEWBUS:1.5
	RELENG_3_1_0_RELEASE:1.1.2.1
	RELENG_3:1.1.0.2;
locks; strict;
comment	@# @;


1.49
date	2012.11.17.01.51.19;	author svnexp;	state Exp;
branches
	1.49.2.1;
next	1.48;

1.48
date	2012.11.07.02.14.03;	author dteske;	state Exp;
branches;
next	1.47;

1.47
date	2012.02.10.15.34.36;	author nyan;	state Exp;
branches;
next	1.46;

1.46
date	2011.05.28.08.50.38;	author julian;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	2010.07.25.02.22.32;	author nyan;	state Exp;
branches;
next	1.44;

1.44
date	2009.03.19.13.53.42;	author nyan;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	2009.02.21.15.04.31;	author ru;	state Exp;
branches;
next	1.42;

1.42
date	2008.06.25.21.33.28;	author ru;	state Exp;
branches;
next	1.41;

1.41
date	2006.11.02.00.26.45;	author marcel;	state Exp;
branches
	1.41.2.1
	1.41.6.1
	1.41.8.1
	1.41.10.1
	1.41.12.1;
next	1.40;

1.40
date	2006.03.17.18.54.35;	author ru;	state Exp;
branches;
next	1.39;

1.39
date	2005.10.30.15.59.08;	author nyan;	state Exp;
branches;
next	1.38;

1.38
date	2005.05.08.14.17.28;	author nyan;	state Exp;
branches
	1.38.2.1
	1.38.4.1;
next	1.37;

1.37
date	2004.12.21.12.32.15;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2004.11.29.11.55.14;	author nyan;	state Exp;
branches;
next	1.35;

1.35
date	2004.03.14.09.41.57;	author nyan;	state Exp;
branches;
next	1.34;

1.34
date	2004.02.13.15.26.22;	author nyan;	state Exp;
branches;
next	1.33;

1.33
date	2004.02.09.16.01.45;	author nyan;	state Exp;
branches;
next	1.32;

1.32
date	2004.02.07.14.35.33;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	2004.02.07.12.19.44;	author nyan;	state Exp;
branches;
next	1.30;

1.30
date	2003.06.08.03.34.49;	author nyan;	state Exp;
branches;
next	1.29;

1.29
date	2003.06.08.03.20.35;	author nyan;	state Exp;
branches;
next	1.28;

1.28
date	2003.01.21.13.57.43;	author nyan;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2002.08.29.02.02.28;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.10.09.26.33;	author obrien;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.25.13.31.27;	author nyan;	state Exp;
branches;
next	1.24;

1.24
date	2002.03.30.11.18.30;	author nyan;	state Exp;
branches;
next	1.23;

1.23
date	2001.10.17.14.13.36;	author nyan;	state Exp;
branches;
next	1.22;

1.22
date	2001.09.12.10.25.48;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2001.06.21.00.08.23;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	2000.12.16.03.15.48;	author kato;	state Exp;
branches;
next	1.19;

1.19
date	2000.11.05.12.35.41;	author nyan;	state Exp;
branches;
next	1.18;

1.18
date	2000.09.08.11.18.40;	author kato;	state Exp;
branches;
next	1.17;

1.17
date	2000.05.29.11.58.01;	author nyan;	state Exp;
branches;
next	1.16;

1.16
date	2000.05.19.08.39.06;	author dcs;	state Exp;
branches;
next	1.15;

1.15
date	2000.04.23.09.33.30;	author nyan;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.14.13.51.14;	author nyan;	state Exp;
branches;
next	1.13;

1.13
date	2000.03.31.16.03.02;	author kato;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.05.02.21.31;	author kato;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	99.11.25.12.46.16;	author nyan;	state Exp;
branches;
next	1.10;

1.10
date	99.11.16.00.38.20;	author nyan;	state Exp;
branches;
next	1.9;

1.9
date	99.08.28.00.40.36;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	99.06.29.21.23.26;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	99.04.25.03.56.44;	author kato;	state Exp;
branches;
next	1.6;

1.6
date	99.04.19.11.02.19;	author kato;	state Exp;
branches;
next	1.5;

1.5
date	99.04.02.08.59.11;	author kato;	state Exp;
branches;
next	1.4;

1.4
date	99.03.18.13.42.21;	author kato;	state Exp;
branches;
next	1.3;

1.3
date	99.03.10.13.41.44;	author kato;	state Exp;
branches;
next	1.2;

1.2
date	99.02.25.11.01.54;	author kato;	state Exp;
branches;
next	1.1;

1.1
date	99.02.03.08.39.09;	author kato;	state Exp;
branches
	1.1.2.1;
next	;

1.49.2.1
date	2012.11.17.01.51.19;	author svnexp;	state dead;
branches;
next	1.49.2.2;

1.49.2.2
date	2013.03.28.13.04.03;	author svnexp;	state Exp;
branches;
next	;

1.46.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.46.2.1.2.1;
next	1.46.2.2;

1.46.2.2
date	2012.03.06.12.54.13;	author nyan;	state Exp;
branches
	1.46.2.2.2.1;
next	1.46.2.3;

1.46.2.3
date	2012.11.17.11.36.48;	author svnexp;	state Exp;
branches;
next	1.46.2.4;

1.46.2.4
date	2013.08.09.15.01.43;	author svnexp;	state Exp;
branches;
next	;

1.46.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.46.2.1.2.2;

1.46.2.1.2.2
date	2012.11.17.08.36.46;	author svnexp;	state Exp;
branches;
next	;

1.46.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.46.2.2.2.2;

1.46.2.2.2.2
date	2012.11.17.08.47.36;	author svnexp;	state Exp;
branches;
next	;

1.44.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.44.2.1.2.1
	1.44.2.1.4.1
	1.44.2.1.6.1
	1.44.2.1.8.1;
next	1.44.2.2;

1.44.2.2
date	2012.03.06.12.58.19;	author nyan;	state Exp;
branches;
next	1.44.2.3;

1.44.2.3
date	2012.11.17.10.36.28;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.44.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.44.2.1.8.2;

1.44.2.1.8.2
date	2012.11.17.08.25.08;	author svnexp;	state Exp;
branches;
next	;

1.41.2.1
date	2012.11.17.08.04.56;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.41.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.41.12.2;

1.41.12.2
date	2012.11.17.08.17.05;	author svnexp;	state Exp;
branches;
next	;

1.38.2.1
date	2005.10.30.16.34.37;	author nyan;	state Exp;
branches
	1.38.2.1.8.1;
next	1.38.2.2;

1.38.2.2
date	2012.11.17.07.42.41;	author svnexp;	state Exp;
branches;
next	;

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

1.38.4.1
date	2005.10.30.16.36.00;	author nyan;	state Exp;
branches;
next	;

1.28.2.1
date	2003.06.04.15.58.31;	author scottl;	state Exp;
branches;
next	;

1.12.2.1
date	2000.04.16.03.55.22;	author nyan;	state Exp;
branches;
next	1.12.2.2;

1.12.2.2
date	2000.05.05.08.59.06;	author nyan;	state Exp;
branches;
next	1.12.2.3;

1.12.2.3
date	2000.07.06.23.35.17;	author obrien;	state Exp;
branches;
next	1.12.2.4;

1.12.2.4
date	2000.09.10.07.58.22;	author nyan;	state Exp;
branches;
next	1.12.2.5;

1.12.2.5
date	2000.10.28.10.10.31;	author nyan;	state Exp;
branches;
next	1.12.2.6;

1.12.2.6
date	2000.12.23.03.45.09;	author nyan;	state Exp;
branches;
next	1.12.2.7;

1.12.2.7
date	2002.01.23.08.02.38;	author nyan;	state Exp;
branches;
next	1.12.2.8;

1.12.2.8
date	2002.07.17.12.34.17;	author ru;	state Exp;
branches;
next	1.12.2.9;

1.12.2.9
date	2003.06.25.15.05.35;	author nyan;	state Exp;
branches;
next	1.12.2.10;

1.12.2.10
date	2012.11.17.07.25.23;	author svnexp;	state Exp;
branches;
next	;

1.1.2.1
date	99.02.06.07.37.15;	author kato;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.02.25.13.45.40;	author kato;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	99.03.18.13.43.06;	author kato;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	99.04.02.09.01.01;	author kato;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	99.04.26.23.27.39;	author kato;	state Exp;
branches;
next	1.1.2.6;

1.1.2.6
date	99.08.29.16.21.31;	author peter;	state Exp;
branches;
next	1.1.2.7;

1.1.2.7
date	2000.02.05.11.56.22;	author nyan;	state Exp;
branches;
next	;


desc
@@


1.49
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/boot/pc98/loader/Makefile 242688 2012-11-07 02:14:03Z dteske $

.include <bsd.own.mk>
MK_SSP=		no

LOADER?=	loader
PROG=		${LOADER}.sym
INTERNALPROG=
NEWVERSWHAT=	"bootstrap loader" pc98

# architecture-specific loader code
SRCS=		main.c conf.c vers.c
.PATH:		${.CURDIR}/../../i386/loader

# Enable PXE TFTP or NFS support, not both.
.if defined(LOADER_TFTP_SUPPORT)
CFLAGS+=	-DLOADER_TFTP_SUPPORT
.else
CFLAGS+=	-DLOADER_NFS_SUPPORT
.endif

# Include bcache code.
HAVE_BCACHE=	yes

# Enable PnP and ISA-PnP code.
HAVE_PNP=	yes
HAVE_ISABUS=	yes

.if ${MK_FORTH} != "no"
# Enable BootForth
BOOT_FORTH=	yes
CFLAGS+=	-DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
LIBFICL=	${.OBJDIR}/../../ficl/libficl.a
.endif

.if defined(LOADER_BZIP2_SUPPORT)
CFLAGS+=	-DLOADER_BZIP2_SUPPORT
.endif
.if !defined(LOADER_NO_GZIP_SUPPORT)
CFLAGS+=	-DLOADER_GZIP_SUPPORT
.endif

# Always add MI sources
.PATH:		${.CURDIR}/../../common
.include	"${.CURDIR}/../../common/Makefile.inc"
CFLAGS+=	-I${.CURDIR}/../../common
CFLAGS+=	-I${.CURDIR}/../../i386
CFLAGS+=	-I.

CLEANFILES=	vers.c ${LOADER} ${LOADER}.bin loader.help

CFLAGS+=	-Wall
LDFLAGS=	-static -Ttext 0x0

# pc98 standalone support library
LIBPC98=	${.OBJDIR}/../libpc98/libpc98.a
CFLAGS+=	-I${.CURDIR}/..

# BTX components
CFLAGS+=	-I${.CURDIR}/../btx/lib

# Debug me!
#CFLAGS+=	-g
#LDFLAGS+=	-g

# Pick up ../Makefile.inc early.
.include <bsd.init.mk>

vers.c:	${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../../i386/loader/version
	sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../../i386/loader/version ${NEWVERSWHAT}

${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
	btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \
		-b ${BTXKERN} ${LOADER}.bin

${LOADER}.bin: ${LOADER}.sym
	cp ${.ALLSRC} ${.TARGET}
	strip -R .comment -R .note ${.TARGET}

loader.help: help.common help.pc98
	cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}

FILES=	${LOADER}
# XXX INSTALLFLAGS_loader= -b
FILESMODE_${LOADER}= ${BINMODE} -b

.PATH: ${.CURDIR}/../../forth
FILES+=	loader.help loader.4th support.4th loader.conf
FILES+= screen.4th frames.4th beastie.4th
FILES+= brand.4th check-password.4th color.4th delay.4th
FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
FILESDIR_loader.conf=	/boot/defaults

.if !exists(${DESTDIR}/boot/loader.rc)
FILES+=	${.CURDIR}/../../i386/loader/loader.rc
.endif
.if !exists(${DESTDIR}/boot/menu.rc)
FILES+= menu.rc
.endif

# XXX crt0.o needs to be first for pxeboot(8) to work
OBJS=	${BTXCRT}

DPADD=	${LIBFICL} ${LIBPC98} ${LIBSTAND}
LDADD=	${LIBFICL} ${LIBPC98} ${LIBSTAND}

.include <bsd.prog.mk>
@


1.49.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:04:03 +0000
@
text
@d1 107
@


1.49.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 101
# $FreeBSD: releng/8.4/sys/boot/pc98/loader/Makefile 232603 2012-03-06 12:58:19Z nyan $

.include <bsd.own.mk>
MK_SSP=		no

LOADER?=	loader
PROG=		${LOADER}.sym
INTERNALPROG=
NEWVERSWHAT=	"bootstrap loader" pc98

# architecture-specific loader code
SRCS=		main.c conf.c vers.c
.PATH:		${.CURDIR}/../../i386/loader

# Enable PXE TFTP or NFS support, not both.
.if defined(LOADER_TFTP_SUPPORT)
CFLAGS+=	-DLOADER_TFTP_SUPPORT
.else
CFLAGS+=	-DLOADER_NFS_SUPPORT
.endif

# Include bcache code.
HAVE_BCACHE=	yes

# Enable PnP and ISA-PnP code.
HAVE_PNP=	yes
HAVE_ISABUS=	yes

.if ${MK_FORTH} != "no"
# Enable BootForth
BOOT_FORTH=	yes
CFLAGS+=	-DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
LIBFICL=	${.OBJDIR}/../../ficl/libficl.a
.endif

.if defined(LOADER_BZIP2_SUPPORT)
CFLAGS+=	-DLOADER_BZIP2_SUPPORT
.endif
.if !defined(LOADER_NO_GZIP_SUPPORT)
CFLAGS+=	-DLOADER_GZIP_SUPPORT
.endif

# Always add MI sources
.PATH:		${.CURDIR}/../../common
.include	"${.CURDIR}/../../common/Makefile.inc"
CFLAGS+=	-I${.CURDIR}/../../common
CFLAGS+=	-I${.CURDIR}/../../i386
CFLAGS+=	-I.

CLEANFILES=	vers.c ${LOADER} ${LOADER}.bin loader.help

CFLAGS+=	-Wall
LDFLAGS=	-static -Ttext 0x0

# pc98 standalone support library
LIBPC98=	${.OBJDIR}/../libpc98/libpc98.a
CFLAGS+=	-I${.CURDIR}/..

# BTX components
CFLAGS+=	-I${.CURDIR}/../btx/lib

# Debug me!
#CFLAGS+=	-g
#LDFLAGS+=	-g

# Pick up ../Makefile.inc early.
.include <bsd.init.mk>

vers.c:	${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../../i386/loader/version
	sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../../i386/loader/version ${NEWVERSWHAT}

${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
	btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \
		-b ${BTXKERN} ${LOADER}.bin

${LOADER}.bin: ${LOADER}.sym
	cp ${.ALLSRC} ${.TARGET}
	strip -R .comment -R .note ${.TARGET}

loader.help: help.common help.pc98
	cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}

FILES=	${LOADER}
# XXX INSTALLFLAGS_loader= -b
FILESMODE_${LOADER}= ${BINMODE} -b

.PATH: ${.CURDIR}/../../forth
FILES+=	loader.help loader.4th support.4th loader.conf
FILES+= screen.4th frames.4th beastie.4th
FILESDIR_loader.conf=	/boot/defaults

.if !exists(${DESTDIR}/boot/loader.rc)
FILES+=	${.CURDIR}/../../i386/loader/loader.rc
.endif
# XXX crt0.o needs to be first for pxeboot(8) to work
OBJS=	${BTXCRT}

DPADD=	${LIBFICL} ${LIBPC98} ${LIBSTAND}
LDADD=	${LIBFICL} ${LIBPC98} -lstand

.include <bsd.prog.mk>
@


1.48
log
@SVN rev 242688 on 2012-11-07 02:14:03Z by dteske

Hook in new files menusets.4th and manual.

Approved by:	adrian (co-mentor) (implicit)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.47
log
@SVN rev 231387 on 2012-02-10 15:34:36Z by nyan

Reduce diffs against i386.

MFC after:	1 week
@
text
@d91 1
a91 1
FILES+= menu.4th menu-commands.4th shortcuts.4th version.4th
@


1.46
log
@SVN rev 222417 on 2011-05-28 08:50:38Z by julian

New boot loader menus from Devin Teske.
Discussed on hackers and recommended for inclusion into 9.0 at the devsummit.
All support email to devin   dteske at vicor dot ignoreme dot com .

Submitted by:	dteske at vicor dot ignoreme dot com
Reviewed by:	me and many others
@
text
@d6 2
a7 1
PROG=		loader.sym
d43 1
a43 1
# Always add MI sources 
d50 1
a50 1
CLEANFILES=	vers.c loader loader.bin loader.help
d72 1
a72 1
loader: loader.bin ${BTXLDR} ${BTXKERN}
d74 1
a74 1
		-b ${BTXKERN} loader.bin
d76 1
a76 1
loader.bin: loader.sym
d83 6
a88 2
.PATH: ${.CURDIR}/../../forth 
FILES=	loader loader.help loader.4th support.4th loader.conf
a91 2
# XXX INSTALLFLAGS_loader= -b
FILESMODE_loader= ${BINMODE} -b
a96 1

d102 1
a102 1
OBJS=	${BTXCRT} 
@


1.46.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.46.2.2
log
@SVN rev 232602 on 2012-03-06 12:54:13Z by nyan

MFC: r231387

  Reduce diffs against i386.
@
text
@d6 1
a6 2
LOADER?=	loader
PROG=		${LOADER}.sym
d42 1
a42 1
# Always add MI sources
d49 1
a49 1
CLEANFILES=	vers.c ${LOADER} ${LOADER}.bin loader.help
d71 1
a71 1
${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
d73 1
a73 1
		-b ${BTXKERN} ${LOADER}.bin
d75 1
a75 1
${LOADER}.bin: ${LOADER}.sym
d82 2
a83 6
FILES=	${LOADER}
# XXX INSTALLFLAGS_loader= -b
FILESMODE_${LOADER}= ${BINMODE} -b

.PATH: ${.CURDIR}/../../forth
FILES+=	loader.help loader.4th support.4th loader.conf
d87 2
d94 1
d100 1
a100 1
OBJS=	${BTXCRT}
@


1.46.2.3
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/sys/boot/pc98/loader/Makefile 232602 2012-03-06 12:54:13Z nyan $
@


1.46.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/254146
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/boot/pc98/loader/Makefile 254146 2013-08-09 14:17:47Z dteske $
d91 1
a91 1
FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
@


1.46.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.46.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/boot/pc98/loader/Makefile 232602 2012-03-06 12:54:13Z nyan $
@


1.46.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.46.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/boot/pc98/loader/Makefile 222417 2011-05-28 08:50:38Z julian $
@


1.45
log
@SVN rev 210459 on 2010-07-25 02:22:32Z by nyan

MFi386: revision 210387

  Correctly setup LDADD with regards to libstand.
@
text
@d85 2
d95 4
@


1.44
log
@SVN rev 190046 on 2009-03-19 13:53:42Z by nyan

Reduce diffs against i386.
@
text
@d97 1
a97 1
LDADD=	${LIBFICL} ${LIBPC98} -lstand
@


1.44.2.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.44.2.2
log
@SVN rev 232603 on 2012-03-06 12:58:19Z by nyan

MFC: r231387

  Reduce diffs against i386.
@
text
@d6 1
a6 2
LOADER?=	loader
PROG=		${LOADER}.sym
d42 1
a42 1
# Always add MI sources
d49 1
a49 1
CLEANFILES=	vers.c ${LOADER} ${LOADER}.bin loader.help
d71 1
a71 1
${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
d73 1
a73 1
		-b ${BTXKERN} ${LOADER}.bin
d75 1
a75 1
${LOADER}.bin: ${LOADER}.sym
d82 3
a84 1
FILES=	${LOADER}
d86 1
a86 5
FILESMODE_${LOADER}= ${BINMODE} -b

.PATH: ${.CURDIR}/../../forth
FILES+=	loader.help loader.4th support.4th loader.conf
FILES+= screen.4th frames.4th beastie.4th
d92 1
d94 1
a94 1
OBJS=	${BTXCRT}
@


1.44.2.3
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/sys/boot/pc98/loader/Makefile 232603 2012-03-06 12:58:19Z nyan $
@


1.44.2.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.44.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/boot/pc98/loader/Makefile 190046 2009-03-19 13:53:42Z nyan $
@


1.44.2.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.44.2.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.44.2.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.43
log
@SVN rev 188895 on 2009-02-21 15:04:31Z by ru

Fix build when WITH_SSP is set explicitly.

Submitted by:	Jeremie Le Hen
@
text
@d21 1
@


1.42
log
@SVN rev 180012 on 2008-06-25 21:33:28Z by ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
  turned opt-in for stable branches depending on the consensus.  You
  can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
  It is harmless to steal the knob as SSP symbols have been provided
  by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
  (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
  libc will be automatically downgraded to -fstack-protector because it
  breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by:	Jeremie Le Hen <jeremie@@le-hen.org>
@
text
@a2 2
WITHOUT_SSP=

d4 1
@


1.41
log
@Don't unconditionally compile-in the bcache code. It's only used on
i386/amd64 and pc98. Remove useless calls to bcache_init() from the
ia64 and sparc64 loaders, as well as from the OFW common code.
@
text
@d3 2
@


1.41.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/boot/pc98/loader/Makefile 163893 2006-11-02 00:26:45Z marcel $
@


1.41.12.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.41.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/boot/pc98/loader/Makefile 163893 2006-11-02 00:26:45Z marcel $
@


1.41.10.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.41.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.41.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.40
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d20 2
@


1.39
log
@MFi386: Enable beastie.4th.
@
text
@d3 2
d24 1
a24 1
.if !defined(NO_FORTH)
@


1.38
log
@Remove ifdef PC98.
@
text
@d78 1
a78 1
FILES+= screen.4th frames.4th
d84 1
a84 1
FILES+=	loader.rc
@


1.38.4.1
log
@MFC: Enable beastie.4th.

Approved by:	re (scottl)
@
text
@d78 1
a78 1
FILES+= screen.4th frames.4th beastie.4th
d84 1
a84 1
FILES+=	${.CURDIR}/../../i386/loader/loader.rc
@


1.38.2.1
log
@MFC: Enable beastie.4th.

Approved by:	re (scottl)
@
text
@d78 1
a78 1
FILES+= screen.4th frames.4th beastie.4th
d84 1
a84 1
FILES+=	${.CURDIR}/../../i386/loader/loader.rc
@


1.38.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/boot/pc98/loader/Makefile 151884 2005-10-30 16:36:00Z nyan $
@


1.38.2.1.8.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.37
log
@NOFORTH -> NO_FORTH
@
text
@a8 1
CFLAGS+=	-DPC98
@


1.36
log
@MFi386: revisions 1.77 and 1.78.
@
text
@d23 1
a23 1
.if !defined(NOFORTH)
@


1.35
log
@MFi386: revision 1.76.
@
text
@d79 1
a79 1
FILES+= screen.4th frames.4th beastie.4th
d85 1
a85 1
FILES+=	${.CURDIR}/../../i386/loader/loader.rc
@


1.34
log
@MFi386: revisions 1.74 and 1.75.
  - kzip(8) is long dead.
  - Clean CLEANFILES.
@
text
@d88 5
a92 2
DPADD=	${BTXCRT} ${LIBFICL} ${LIBPC98} ${LIBSTAND}
LDADD=	${BTXCRT} ${LIBFICL} ${LIBPC98} -lstand
@


1.33
log
@MFi386: Factor out -nostdlib and use PROG.
@
text
@d44 1
a44 1
CLEANFILES=	vers.c loader loader.list loader.bin loader.help
a68 2
#	/usr/bin/kzip ${.TARGET}
#	mv ${.TARGET}.kz ${.TARGET}
@


1.32
log
@MFi386: Removed -elf and duplicate -ffreestanding.
@
text
@d3 2
a6 2
CFLAGS+=	-DPC98

d9 1
a26 1
.if exists(${.OBJDIR}/../../ficl/libficl.a)
a27 3
.else
LIBFICL=	${.CURDIR}/../../ficl/libficl.a
.endif
d44 1
a44 1
CLEANFILES=	vers.c loader loader.list loader.bin loader.sym loader.help
d47 1
a47 1
LDFLAGS=	-nostdlib -static -Ttext 0x0
d66 1
a66 1
loader: loader.bin ${BTXLDR} ${BTXKERN} ${BTXCRT}
d90 2
a91 5
OBJS=	${SRCS:N*.h:R:S/$/.o/g}

loader.sym: ${OBJS} ${LIBFICL} ${LIBPC98} ${LIBSTAND}
	${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} \
		${LIBFICL} ${LIBPC98} ${LIBSTAND}
@


1.31
log
@MFi386: Cleanups to sys/boot makefiles.
@
text
@a10 1
CFLAGS+=	-ffreestanding
a57 3

# BTX is expecting ELF components
CFLAGS+=	-elf
@


1.30
log
@Add help file for pc98.
@
text
@a2 2
PROG=		loader
STRIP=
a3 2
BINDIR?=	/boot
INSTALLFLAGS=	-b
d8 1
a8 1
SRCS=		main.c conf.c
d43 1
a43 1
.include	<${.CURDIR}/../../common/Makefile.inc>
d45 2
a46 1
CFLAGS+=	-I${.CURDIR}/../../.. -I. -I${.CURDIR}/../../i386
d48 1
a48 1
CLEANFILES+=	vers.c vers.o ${PROG}.list ${PROG}.bin ${PROG}.sym ${PROG}.help
a56 11
# where to get libstand from
#XXX need a better way to do this
LIBSTAND=	${.CURDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND=	${.OBJDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND=	-lstand
.endif
.endif
CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/

a57 8
.if exists(${.OBJDIR}/../btx)
BTXDIR=		${.OBJDIR}/../btx
.else
BTXDIR=		${.CURDIR}/../btx
.endif
BTXLDR=		${BTXDIR}/btxldr/btxldr
BTXKERN=	${BTXDIR}/btx/btx
BTXCRT=		${BTXDIR}/lib/crt0.o
d67 4
a70 1
vers.o:	${.CURDIR}/../../common/newvers.sh ${.CURDIR}/../../i386/loader/version
a71 1
	${CC} -c vers.c
d73 1
a73 1
${PROG}: ${PROG}.bin ${BTXLDR} ${BTXKERN} ${BTXCRT}
d75 1
a75 1
		-b ${BTXKERN} ${PROG}.bin
d79 1
a79 1
${PROG}.bin: ${PROG}.sym
d83 1
a83 1
${PROG}.help: help.common help.pc98
d87 1
a87 1
FILES=	${PROG}.help loader.4th support.4th loader.conf
d89 2
d97 1
a97 1
.include <${.CURDIR}/../Makefile.inc>
d99 2
a100 5
# Cannot use ${OBJS} above this line
.include <bsd.prog.mk>

${PROG}.sym: ${OBJS} ${LIBPC98} ${LIBSTAND} ${LIBFICL} vers.o
	${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} vers.o \
d103 1
a103 10
# If it's not there, don't consider it a target
.if exists(${.CURDIR}/../../../i386/include)
beforedepend ${OBJS}: machine

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

.endif

CLEANFILES+=	machine
@


1.29
log
@Enable new boot menu.
@
text
@d103 1
a103 1
${PROG}.help: help.common help.i386
@


1.28
log
@MFi386: revision 1.63.
@
text
@d108 1
d112 1
a112 1
FILES+=	loader.rc
@


1.28.2.1
log
@Point pc98 to the generic loader.rc, instead of letting it pick up the
i386 loader.rc

Reviewed by:	nyan
@
text
@d111 1
a111 1
FILES+=	${.CURDIR}/../../forth/loader.rc
@


1.27
log
@Initiate deorbit burn of i386 a.out kld "support" in loader.  Note that
this was quite broken, it never was updated for metadata support.
The a.out kld file support was never really used, as it wasn't necessary.
You could always load elf kld's, even in an a.out kernel.
@
text
@d3 1
a3 2
BASE=		loader
PROG=		${BASE}
a8 1
CFLAGS+=	-ffreestanding
d15 1
d51 1
a51 1
CLEANFILES+=	vers.c vers.o ${BASE}.list ${BASE}.bin ${BASE}.sym ${BASE}.help
d93 1
a93 1
${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} ${BTXCRT}
d95 1
a95 1
		-b ${BTXKERN} ${BASE}.bin
d99 1
a99 1
${BASE}.bin: ${BASE}.sym
d103 1
a103 1
${BASE}.help: help.common help.i386
d107 1
a107 1
FILES=	${BASE}.help loader.4th support.4th loader.conf
d119 1
a119 1
${BASE}.sym: ${OBJS} ${LIBPC98} ${LIBSTAND} ${LIBFICL} vers.o
@


1.26
log
@-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
@
text
@a8 3
.if !defined(LOADER_NO_AOUT_SUPPORT)
LOADER_AOUT_SUPPORT=	yes
.endif
@


1.25
log
@MFi386: revision 1.56
@
text
@d13 1
@


1.24
log
@MFi386: revision 1.55
@
text
@a4 1
#NOMAN=
d96 1
a96 1
${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} ${BTXCRT} ${BASE}.help
d109 4
a112 8
beforeinstall:
.if exists(${.OBJDIR}/loader.help)
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.OBJDIR}/${BASE}.help ${DESTDIR}/boot
.else
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/${BASE}.help ${DESTDIR}/boot
.endif
d114 1
a114 2
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot
a115 6
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.4th ${DESTDIR}/boot
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/support.4th ${DESTDIR}/boot
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.conf ${DESTDIR}/boot/defaults
@


1.23
log
@Merged from sys/boot/i386/loader/Makefile revision 1.54.
@
text
@d10 3
@


1.22
log
@Create backup copies using install(1).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.21 2001/06/21 00:08:23 peter Exp $
d37 7
@


1.21
log
@Remove -DNEW_LINKERSET, it is not used here anymore.  This is now native.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.20 2000/12/16 03:15:48 kato Exp $
d9 1
a100 3
.if exists(${DESTDIR}/boot/loader)
	mv ${DESTDIR}/boot/loader ${DESTDIR}/boot/loader.old
.endif
@


1.20
log
@Merged from sys/boot/i386/loader/Makefile revision 1.49.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.19 2000/11/05 12:35:41 nyan Exp $
a76 3

# New linker set code
CFLAGS+=	-DNEW_LINKER_SET
@


1.19
log
@Merged from the following changes.

sys/boot/i386/btx/btx/Makefile		1.9
sys/boot/i386/btx/btx/btx.s		1.23
sys/boot/i386/libi386/biosdisk.c	1.32 and 1.33
sys/boot/i386/libi386/biosmem.c		1.5
sys/boot/i386/libi386/comconsole.c	1.8
sys/boot/i386/libi386/gatea20.c		1.3
sys/boot/i386/libi386/time.c		1.4
sys/boot/i386/libi386/vidconsole.c	1.13
sys/boot/i386/loader/Makefile		1.48
sys/boot/i386/loader/main.c		1.22
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.18 2000/09/08 11:18:40 kato Exp $
d97 1
a97 1
	strip ${.TARGET}
@


1.18
log
@Merged from sys/boot/i386/loader/Makefile revision 1.47.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.17 2000/05/29 11:58:01 nyan Exp $
d17 3
d21 1
a21 1
#CFLAGS+=	-DLOADER_TFTP_SUPPORT
@


1.17
log
@Sync with the following changes.

sys/boot/i386/btx/btx/Makefile          1.8
sys/boot/i386/btx/btx/btx.s             1.16 and 1.17
sys/boot/i386/btx/btxldr/btxldr.s       1.10
sys/boot/i386/loader/Makefile           1.45
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.16 2000/05/19 08:39:06 dcs Exp $
d51 5
d57 2
a58 1
#LIBSTAND=	${.CURDIR}/../../../../lib/libstand/libstand.a
@


1.16
log
@Move man page directives to common/Makefile.inc.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.15 2000/04/23 09:33:30 nyan Exp $
d14 1
a14 1
.PATH:		${.CURDIR}/../../i386/loader ${.CURDIR}/../../i386/libi386
@


1.15
log
@Sync with the following changes.

sys/boot/i386/libi386/Makefile	1.16 and 1.17
sys/boot/i386/loader/Makefile	1.44
sys/boot/i386/loader/main.c	1.20
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.14 2000/04/14 13:51:14 nyan Exp $
a4 2
MAN5=		../../forth/loader.conf.5
MAN8=		../../i386/loader/loader.8 ../../forth/loader.4th.8
@


1.14
log
@Merged from sys/boot/i386/loader/Makefile revision 1.43.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.13 2000/03/31 16:03:02 kato Exp $
d15 1
a15 1
SRCS=		main.c conf.c pxe.c
d124 1
a124 1
		${LIBFICL} ${LIBSTAND} ${LIBPC98} ${LIBSTAND}
@


1.13
log
@Synced with following files:
  src/sys/boot/i386/Makefile.inc	1.1
  src/sys/boot/i386/btx/btx/btx.s	1.15
  src/sys/boot/i386/btx/btxldr/Makefile	1.8
  src/sys/boot/i386/btx/btxldr/btxldr.s	1.9
  src/sys/boot/i386/libi386/biosdisk.c	1.29
  src/sys/boot/i386/loader/Makefile	1.42
  src/sys/boot/i386/loader/main.c	1.18
(entry point address of loader was not changed.)

Reviewed by:	nyan
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12 2000/02/05 02:21:31 kato Exp $
d18 4
d54 2
a55 2
#LIBSTAND=	${.CURDIR}/../../../lib/libstand/libstand.a
#CFLAGS+=	-I${.CURDIR}/../../../lib/libstand/
@


1.12
log
@Synced with sys/boot/i386/loader/Makefile rev 1.41.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.11 1999/11/25 12:46:16 nyan Exp $
d15 2
a16 2
SRCS=		main.c conf.c
.PATH:		${.CURDIR}/../../i386/loader
d79 2
a80 2
	btxld -v -f aout -e 0x100000 -o ${.TARGET} -l ${BTXLDR} -b ${BTXKERN} \
		${BASE}.bin
d113 2
a131 2


@


1.12.2.1
log
@MFC: Sync with current boot code.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12 2000/02/05 02:21:31 kato Exp $
d15 2
a16 6
SRCS=		main.c conf.c pxe.c
.PATH:		${.CURDIR}/../../i386/loader ${.CURDIR}/../../i386/libi386

# Enable PXE TFTP or NFS support, not both.
CFLAGS+=	-DLOADER_NFS_SUPPORT
#CFLAGS+=	-DLOADER_TFTP_SUPPORT
d50 2
a51 2
#LIBSTAND=	${.CURDIR}/../../../../lib/libstand/libstand.a
CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand/
d79 2
a80 2
	btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \
		-b ${BTXKERN} ${BASE}.bin
a112 2
.include <${.CURDIR}/../Makefile.inc>

d130 2
@


1.12.2.2
log
@Sync with the following changes.

 Revision File
 1.15.2.1 src/sys/boot/i386/libi386/Makefile
 1.26.2.3 src/sys/boot/i386/libi386/biosdisk.c
 1.41.2.2 src/sys/boot/i386/loader/Makefile
 1.17.2.2 src/sys/boot/i386/loader/main.c
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12.2.1 2000/04/16 03:55:22 nyan Exp $
d15 2
a16 2
SRCS=		main.c conf.c
.PATH:		${.CURDIR}/../../i386/loader
d124 1
a124 1
		${LIBFICL} ${LIBPC98} ${LIBSTAND}
@


1.12.2.3
log
@MFC:  Commonly install manpages and backup previous loader.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12.2.2 2000/05/05 08:59:06 nyan Exp $
d5 2
@


1.12.2.4
log
@Merged from sys/boot/i386/loader/Makefile revision 1.41.2.4.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12.2.3 2000/07/06 23:35:17 obrien Exp $
a50 5
#XXX need a better way to do this
LIBSTAND=	${.CURDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND=	${.OBJDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
d52 1
a52 2
.endif
.endif
@


1.12.2.5
log
@Merged from sys/boot/i386/loader/Makefile revision 1.41.2.5.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12.2.4 2000/09/10 07:58:22 nyan Exp $
a16 3
.if defined(LOADER_TFTP_SUPPORT)
CFLAGS+=	-DLOADER_TFTP_SUPPORT
.else
d18 1
a18 1
.endif
@


1.12.2.6
log
@Merged from sys/boot/i386/loader/Makefile revision 1.41.2.6.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.12.2.5 2000/10/28 10:10:31 nyan Exp $
d97 1
a97 1
	strip -R .comment -R .note ${.TARGET}
@


1.12.2.7
log
@MFi386: sys/boot/i386/loader/Makefile revision 1.41.2.7.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD$
a35 7
.endif

.if defined(LOADER_BZIP2_SUPPORT)
CFLAGS+=	-DLOADER_BZIP2_SUPPORT
.endif
.if !defined(LOADER_NO_GZIP_SUPPORT)
CFLAGS+=	-DLOADER_GZIP_SUPPORT
@


1.12.2.8
log
@MFC: Create backup copies using install(1).
@
text
@a8 1
INSTALLFLAGS=	-b
d110 3
@


1.12.2.9
log
@MFi386: revision 1.41.2.9.
@
text
@d5 1
d97 1
a97 1
${BASE}: ${BASE}.bin ${BTXLDR} ${BTXKERN} ${BTXCRT}
d110 8
a117 4
.PATH: ${.CURDIR}/../../forth 
FILES=	${BASE}.help loader.4th support.4th loader.conf
FILESDIR_loader.conf=	/boot/defaults

d119 2
a120 1
FILES+=	loader.rc
d122 6
@


1.12.2.10
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/boot/pc98/loader/Makefile 116821 2003-06-25 15:05:35Z nyan $
@


1.11
log
@Sync with sys/boot/i386/loader/Makefile revision 1.37.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.10 1999/11/16 00:38:20 nyan Exp $
d22 1
d30 1
@


1.10
log
@Install loader.rc.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.9 1999/08/28 00:40:36 peter Exp $
d24 1
a24 1
CFLAGS+=	-DBOOT_FORTH -I${.CURDIR}/../../ficl
@


1.9
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d99 4
@


1.8
log
@Reconcile all the loader newvers.sh's into one common one.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1999/04/25 03:56:44 kato Exp $
@


1.7
log
@Sync with sys/boot/i386/loader/Makefile revision 1.34.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1999/04/19 11:02:19 kato Exp $
d9 1
a9 1
NEWVERSWHAT=	"bootstrap loader"
d72 2
a73 2
vers.o:
	sh ${.CURDIR}/../../i386/loader/newvers.sh ${.CURDIR}/../../i386/loader/version ${NEWVERSWHAT}
@


1.6
log
@Sync with sys/boot/i386/loader/Makefile revision 1.32.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1999/04/02 08:59:11 kato Exp $
d5 2
a6 2
MAN5=		${.CURDIR}/../../i386/loader/loader.conf.5
MAN8=		${.CURDIR}/../../i386/loader/loader.8
@


1.5
log
@Use files under sys/boot/i386 instead of copying under sys/boot/pc98.

Submitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1999/03/18 13:42:21 kato Exp $
d5 1
@


1.4
log
@Install the manual page in sys/boot/i386/loader.

Sumbmitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1999/03/10 13:41:44 kato Exp $
d72 1
a72 1
	sh ${.CURDIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
d85 1
a85 1
${BASE}.help: help.common help.pc98
@


1.3
log
@Sync with sys/boot/i386/loader/Makefile revision 1.30.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1999/02/25 11:01:54 kato Exp $
d5 2
a6 1
NOMAN=
@


1.2
log
@Sync with sys/boot/i386/loader/Makefile revision 1.29.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1999/02/03 08:39:09 kato Exp $
d98 6
@


1.1
log
@PC98 version of new boot loader.  Because boot2 has not yet ported,
files in boot2 directory are copies from legacy biosboot.

Submitted by:	IMAI Takeshi <take-i@@ceres.dti.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.28 1999/01/18 19:05:27 msmith Exp $
d38 1
a38 1
LDFLAGS=	-nostdlib -static -Ttext 0x1000
@


1.1.2.1
log
@MFC: added boot loader for PC98.

Approved by:	jkh
@
text
@d1 1
a1 1
# $Id$
@


1.1.2.2
log
@Sync with sys/boot/i386/loader/Makefile revision 1.28.2.1

Submitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.2.1 1999/02/06 07:37:15 kato Exp $
d38 1
a38 1
LDFLAGS=	-nostdlib -static -Ttext 0x0
@


1.1.2.3
log
@MFC: install the manual page.

Sumbitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.2.2 1999/02/25 13:45:40 kato Exp $
d5 1
a5 2
MAN8=		${.CURDIR}/../../i386/loader/loader.8
#NOMAN=
@


1.1.2.4
log
@MFC: Use files under sys/boot/i386.

Submitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.2.3 1999/03/18 13:43:06 kato Exp $
d72 1
a72 1
	sh ${.CURDIR}/../../i386/loader/newvers.sh ${.CURDIR}/../../i386/loader/version ${NEWVERSWHAT}
d85 1
a85 1
${BASE}.help: help.common help.i386
@


1.1.2.5
log
@Sync with sys/boot/i386/loader/Makefile revision 1.28.2.3.

Submitted by:	Takahashi Yoshihiro <nyan@@dd.catv.ne.jp>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.2.4 1999/04/02 09:01:01 kato Exp $
d5 1
a5 2
MAN5=		../../forth/loader.conf.5
MAN8=		${.CURDIR}/../../i386/loader/loader.8 ../../forth/loader.4th.8
a98 10
.if !exists(${DESTDIR}/boot/loader.rc)
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot
.endif
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.4th ${DESTDIR}/boot
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/support.4th ${DESTDIR}/boot
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/../../forth/loader.conf ${DESTDIR}/boot/defaults
@


1.1.2.6
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1.2.7
log
@Sync with sys/boot/i386/loader/Makefile revision 1.28.2.5.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/pc98/loader/Makefile,v 1.1.2.6 1999/08/29 16:21:31 peter Exp $
a21 1
.if !defined(NOFORTH)
a28 1
.endif
@

