Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / mmeye / stand / bootelf / Makefile
blobc26c3cd150c286c5a04e45c36f3d7a37aa6ee36f
1 # $NetBSD: Makefile,v 1.13 2006/04/03 06:22:45 uebayasi Exp $
3 # NOTE: This program is *not* standalone, but a userlevel program -- this
4 # program was run from within boot-only, NetBSD-as-bootloader as a
5 # userlevel program, then in-kernel boot code loads another NetBSD
6 # image and jumps to it.
9 PROG= bootelf
10 SRCS= alloc.c boot.c byteorder.c loadfile.c loadfile_elf32.c
11 NOMAN= # defined
13 LIBSA= ${.CURDIR}/../../../../lib/libsa
15 .PATH: ${LIBSA}
17 CFLAGS+= -ffreestanding
18 CPPFLAGS+= -I${.CURDIR}/../../../.. -I${.OBJDIR}
19 LDSTATIC= -static
21 CLEANFILES+= machine
23 realdepend realall: machine
25 machine::
26 -rm -f $@
27 ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@
29 ${PROG}: ${OBJS} machine
31 .include <bsd.prog.mk>