Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / sys / boot / i386 / boot0 / Makefile
1 # $FreeBSD: src/sys/boot/i386/boot0/Makefile,v 1.8.2.6 2001/07/21 14:35:37 rnordier Exp $
2 # $DragonFly: src/sys/boot/i386/boot0/Attic/Makefile,v 1.2 2003/06/17 04:28:18 dillon Exp $
3
4 PROG=           boot0
5 NOMAN=
6 STRIP=
7 BINDIR?=        /boot
8 BINMODE=        444
9
10 M4?=    m4
11
12 B0FLAGS=0xf
13 B0TICKS=0xb6
14
15 ORG=    0x600
16
17 boot0: boot0.o
18 .if ${OBJFORMAT} == aout
19         ${LD} -N -s -T ${ORG} -o boot0.out boot0.o
20         dd if=boot0.out of=${.TARGET} ibs=32 skip=1
21 .else
22         ${LD} -N -e start -Ttext ${ORG} -o boot0.out boot0.o
23         objcopy -S -O binary boot0.out ${.TARGET}
24 .endif
25
26 boot0.o: boot0.s
27         ${AS} ${AFLAGS} --defsym FLAGS=${B0FLAGS} --defsym TICKS=${B0TICKS} \
28                 ${.IMPSRC} -o ${.TARGET}
29
30 CLEANFILES+= boot0.out boot0.o
31
32 .include <bsd.prog.mk>