1 # $FreeBSD: src/sys/boot/pc98/btx/btx/Makefile,v 1.3.2.2 2000/12/30 12:01:05 nyan Exp $
2 # $DragonFly: src/sys/boot/pc98/btx/btx/Attic/Makefile,v 1.2 2003/06/17 04:28:18 dillon Exp $
10 .if defined(BOOT_BTX_NOHANG)
16 AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
17 AFLAGS+= --defsym PC98=1
24 .if ${OBJFORMAT} == aout
25 ${LD} -nostdlib -N -s -T ${ORG} -o btx.out btx.o
26 dd if=btx.out of=${.TARGET} ibs=32 skip=1
28 ${LD} -N -e start -Ttext ${ORG} -o btx.out btx.o
29 objcopy -S -O binary btx.out ${.TARGET}
33 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btx.s) | \
34 ${AS} ${AFLAGS} -o ${.TARGET}
36 CLEANFILES+= btx btx.out btx.o
38 .include <bsd.prog.mk>