1# $FreeBSD: head/sys/boot/i386/btx/btxldr/Makefile 116864 2003-06-26 03:51:57Z peter $
| 1# $FreeBSD: head/sys/boot/i386/btx/btxldr/Makefile 125621 2004-02-09 14:11:58Z ru $
|
2
| 2
|
| 3PROG= btxldr.out 4INTERNALPROG= 5NOMAN= 6SRCS= btxldr.s 7CLEANFILES= btxldr 8
|
3M4?= m4 4M4FLAGS+= -DLOADER_ADDRESS=${LOADER_ADDRESS} 5 6.if defined(BTXLDR_VERBOSE) 7M4FLAGS+= -DBTXLDR_VERBOSE 8.endif 9 10all: btxldr 11
| 9M4?= m4 10M4FLAGS+= -DLOADER_ADDRESS=${LOADER_ADDRESS} 11 12.if defined(BTXLDR_VERBOSE) 13M4FLAGS+= -DBTXLDR_VERBOSE 14.endif 15 16all: btxldr 17
|
12btxldr: btxldr.o 13 ${LD} -N -e start -Ttext ${LOADER_ADDRESS} -o btxldr.out btxldr.o
| 18LDFLAGS=-N -e start -Ttext ${LOADER_ADDRESS} 19 20btxldr: btxldr.out
|
14 objcopy -S -O binary btxldr.out ${.TARGET} 15 16btxldr.o: btxldr.s 17 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btxldr.s ) | \ 18 ${AS} ${AFLAGS} -o ${.TARGET} 19
| 21 objcopy -S -O binary btxldr.out ${.TARGET} 22 23btxldr.o: btxldr.s 24 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btxldr.s ) | \ 25 ${AS} ${AFLAGS} -o ${.TARGET} 26
|
20CLEANFILES+= btxldr btxldr.out btxldr.o 21
| |
22.include <bsd.prog.mk>
| 27.include <bsd.prog.mk>
|