1 # $NetBSD: Makefile,v 1.4.6.3 2004/09/21 13:23:40 skrll Exp $
3 S
= ${.CURDIR
}/..
/..
/..
/..
7 .PATH
: ${.CURDIR
}/..
/xxboot
11 SRCS
= start.S bootxx.c romread.S str.S
14 CPPFLAGS
+=-D_STANDALONE
-DLIBSA_NO_FD_CHECKING
-DLIBSA_NO_RAW_ACCESS \
15 -DLIBSA_NO_TWIDDLE
-DLIBSA_SINGLE_DEVICE
=rom \
16 -DLIBSA_NO_COMPAT_UFS \
17 -DLIBSA_NO_FS_SYMLINK
-DLIBSA_NO_FS_CLOSE \
18 -DLIBSA_NO_FS_WRITE
-DLIBSA_NO_FS_SEEK \
26 .
include "${S}/lib/libsa/Makefile.inc"
30 .
include "${S}/lib/libkern/Makefile.inc"
33 CLEANFILES
+= ${PROG}.out
35 ${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
36 ${LD} -N
-Ttext
100000 -o
${PROG}.out
${OBJS} ${LIBSA} ${LIBKERN}
38 ${OBJCOPY} -O binary
${PROG}.out
${PROG}
40 .
include <bsd.prog.mk
>