Remove PC98 and Alpha support.
[dragonfly.git] / sys / boot / pc98 / btx / btxldr / Makefile
1 # $FreeBSD: src/sys/boot/pc98/btx/btxldr/Makefile,v 1.4 2002/09/17 01:48:56 peter Exp $
2 # $DragonFly: src/sys/boot/pc98/btx/btxldr/Attic/Makefile,v 1.3 2003/11/10 06:08:39 dillon Exp $
3
4 M4?=    m4
5 M4FLAGS+=       -DLOADER_ADDRESS=${LOADER_ADDRESS} -DPC98
6
7 .if defined(BTXLDR_VERBOSE)
8 M4FLAGS+=       -DBTXLDR_VERBOSE
9 .endif
10
11 all: btxldr
12
13 btxldr: btxldr.o
14         ${LD} -N -e start -Ttext ${LOADER_ADDRESS} -o btxldr.out btxldr.o
15         objcopy -S -O binary btxldr.out ${.TARGET}
16
17 btxldr.o: btxldr.s
18         (cd ${.CURDIR}; ${M4} ${M4FLAGS} btxldr.s ) | \
19                 ${AS} ${AFLAGS} -o ${.TARGET}
20
21 CLEANFILES+= btxldr btxldr.out btxldr.o
22
23 .include <${.CURDIR}/../../Makefile.inc>
24 .include <bsd.prog.mk>