Makefile revision 50477
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 50477 1999-08-28 01:08:13Z peter $ 2 3PROG= boot0 4NOMAN= 5STRIP= 6BINDIR?= /boot 7BINMODE= 444 8 9M4?= m4 10 11B0FLAGS=0xf 12B0TICKS=0xb6 13 14ORG= 0x600 15 16boot0: boot0.o 17.if ${OBJFORMAT} == aout 18 ${LD} -N -s -T ${ORG} -o boot0.out boot0.o 19 dd if=boot0.out of=${.TARGET} ibs=32 skip=1 20.else 21 ${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o 22 objcopy -S -O binary boot0.out ${.TARGET} 23.endif 24 25boot0.o: boot0.m4 boot0.s 26 (cd ${.CURDIR}; ${M4} -DFLAGS=${B0FLAGS} -DTICKS=${B0TICKS} \ 27 boot0.m4 boot0.s) | ${AS} ${AFLAGS} -o ${.TARGET} 28 29CLEANFILES+= boot0.out boot0.o 30 31.include <bsd.prog.mk> 32