1# $FreeBSD: head/sys/boot/i386/mbr/Makefile 125537 2004-02-06 21:58:32Z ru $
| 1# $FreeBSD: head/sys/boot/i386/mbr/Makefile 125621 2004-02-09 14:11:58Z ru $
|
2
| 2
|
| 3PROG= ${BOOT}.out 4INTERNALPROG=
|
3FILES= ${BOOT}
| 5FILES= ${BOOT}
|
4CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o
| 6NOMAN= 7SRCS= ${BOOT}.s 8CLEANFILES= ${BOOT}
|
5 6BOOT= mbr 7ORG= 0x600 8 9${BOOT}: ${BOOT}.out 10 objcopy -S -O binary ${BOOT}.out ${.TARGET} 11
| 9 10BOOT= mbr 11ORG= 0x600 12 13${BOOT}: ${BOOT}.out 14 objcopy -S -O binary ${BOOT}.out ${.TARGET} 15
|
12${BOOT}.out: ${BOOT}.o 13 ${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${BOOT}.o
| 16LDFLAGS=-N -e start -Ttext ${ORG}
|
14 15.include <bsd.prog.mk>
| 17 18.include <bsd.prog.mk>
|