1 # $FreeBSD: src/sys/boot/pc98/btx/btx/Makefile,v 1.3.2.2 2000/12/30 12:01:05 nyan Exp $
9 .if defined(BOOT_BTX_NOHANG)
15 AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
16 AFLAGS+= --defsym PC98=1
23 .if ${OBJFORMAT} == aout
24 ${LD} -nostdlib -N -s -T ${ORG} -o btx.out btx.o
25 dd if=btx.out of=${.TARGET} ibs=32 skip=1
27 ${LD} -N -e start -Ttext ${ORG} -o btx.out btx.o
28 objcopy -S -O binary btx.out ${.TARGET}
32 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btx.s) | \
33 ${AS} ${AFLAGS} -o ${.TARGET}
35 CLEANFILES+= btx btx.out btx.o
37 .include <bsd.prog.mk>