Makefile revision 125622
190699Srobert# $FreeBSD: head/sys/boot/sparc64/boot1/Makefile 125622 2004-02-09 14:17:02Z ru $ 290699Srobert 3125622SruPROG= boot1.elf 4125622SruINTERNALPROG= 593605StmmNOMAN= 6125622SruFILES= boot1 7125622SruSRCS= _start.S boot1.c 893605Stmm 9125622SruBOOTBLOCKBASE= 0x4000 1090699Srobert 11125622SruCFLAGS= -mcmodel=medlow -Os -I${.CURDIR}/../../common 12125622SruLDFLAGS=-N -Ttext ${BOOTBLOCKBASE} 1390699Srobert 14125622Sru# Construct boot1. sunlabel expects it to contain zeroed-out space for the 1593605Stmm# label, and to be of the correct size. 1693605Stmmboot1: boot1.aout 1793605Stmm dd if=/dev/zero of=${.TARGET} bs=512 count=16 1893605Stmm dd if=boot1.aout of=${.TARGET} bs=512 oseek=1 conv=notrunc 1993605Stmm 20125622SruCLEANFILES= boot1.aout 2193605Stmm 22125622Sruboot1.aout: boot1.elf 23125622Sru elf2aout -o ${.TARGET} ${.ALLSRC} 24125622Sru 25125622Sruboot1.o: ${.CURDIR}/../../common/ufsread.c 26125622Sru 2793605Stmm.include <bsd.prog.mk> 28