| @@ -1,30 +1,16 @@ | | | @@ -1,30 +1,16 @@ |
1 | # $NetBSD: Makefile.booters,v 1.5 2009/01/12 07:56:31 tsutsui Exp $ | | 1 | # $NetBSD: Makefile.booters,v 1.6 2011/04/11 15:20:30 tsutsui Exp $ |
2 | | | 2 | |
3 | S?= ${.CURDIR}/../../../.. | | 3 | S?= ${.CURDIR}/../../../.. |
4 | | | 4 | |
5 | CFLAGS+= -ffreestanding | | 5 | CFLAGS+= -ffreestanding |
6 | CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith | | 6 | CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith |
7 | CFLAGS+= -Wno-pointer-sign | | 7 | CFLAGS+= -Wno-pointer-sign |
8 | CFLAGS+= -Werror | | 8 | CFLAGS+= -Werror |
9 | | | 9 | |
10 | .if !make(obj) && !make(clean) && !make(cleandir) | | 10 | .include <bsd.klinks.mk> |
11 | .NOPATH: machine ${MACHINE_ARCH} | | | |
12 | .BEGIN: machine ${MACHINE_ARCH} | | | |
13 | | | | |
14 | machine:: | | | |
15 | -rm -f machine && \ | | | |
16 | ln -s $S/arch/${MACHINE}/include machine | | | |
17 | | | | |
18 | m68k:: | | | |
19 | -rm -f ${MACHINE_ARCH} && \ | | | |
20 | ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH} | | | |
21 | .endif | | | |
22 | | | | |
23 | CLEANFILES+= machine ${MACHINE_ARCH} | | | |
24 | | | | |
25 | | | 11 | |
26 | # XXX SHOULD NOT NEED TO DEFINE THESE! | | 12 | # XXX SHOULD NOT NEED TO DEFINE THESE! |
27 | LIBCRT0= | | 13 | LIBCRT0= |
28 | LIBC= | | 14 | LIBC= |
29 | LIBCRTBEGIN= | | 15 | LIBCRTBEGIN= |
30 | LIBCRTEND= | | 16 | LIBCRTEND= |