- create symlinks for MD system headers by <bsd.klinks.mk>

- suppress warnings on build without DESTDIR
This commit is contained in:
tsutsui 2009-03-15 08:52:46 +00:00
parent 854ee47087
commit 28b5d3e561
1 changed files with 10 additions and 2 deletions

View File

@ -1,11 +1,18 @@
# $NetBSD: Makefile,v 1.11 2005/12/11 12:18:06 christos Exp $
# $NetBSD: Makefile,v 1.12 2009/03/15 08:52:46 tsutsui Exp $
S!= cd ${.CURDIR}/../../../..; pwd
PROG= bootxx
NOMAN= # defined
BINMODE= 444
LIBCRT0= # nothing
LIBCRTBEGIN= # nothing
LIBCRTEND= # nothing
LIBC= # nothing
CFLAGS= -Os -mmultiple -Wall -msoft-float -ffreestanding
CPPFLAGS+= -D_STANDALONE -DPPC_OEA
CPPFLAGS+= -D_STANDALONE -DPPC_OEA -I${.OBJDIR} -I${S}
STRIPFLAG=
LINKFLAGS= -x -N -Ttext 4000 -e _start
CLEANFILES+= ${PROG}.sym
@ -15,4 +22,5 @@ ${PROG}: ${OBJS}
${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS}
${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
.include <bsd.klinks.mk>
.include <bsd.prog.mk>