1 # $FreeBSD: src/sys/boot/pc98/btx/btx/Makefile,v 1.7 2002/09/17 01:48:56 peter Exp $
2 # $DragonFly: src/sys/boot/pc98/btx/btx/Attic/Makefile,v 1.3 2003/11/10 06:08:38 dillon Exp $
10 .if defined(BOOT_BTX_NOHANG)
16 AFLAGS+= --defsym BTX_FLAGS=${BOOT_BTX_FLAGS}
17 AFLAGS+= --defsym PC98=1
19 .if defined(BTX_SERIAL)
20 BOOT_COMCONSOLE_PORT?= 0x238
21 BOOT_COMCONSOLE_SPEED?= 9600
24 M4FLAGS+= -DBTX_SERIAL -DSIOPRT=${BOOT_COMCONSOLE_PORT} \
25 -DSIOFMT=${B2SIOFMT} -DSIOSPD=${BOOT_COMCONSOLE_SPEED}
33 ${LD} -N -e start -Ttext ${ORG} -o btx.out btx.o
34 objcopy -S -O binary btx.out ${.TARGET}
37 (cd ${.CURDIR}; ${M4} ${M4FLAGS} btx.s) | \
38 ${AS} ${AFLAGS} -o ${.TARGET}
40 CLEANFILES+= btx btx.out btx.o
42 .include <bsd.prog.mk>