Home | History | Annotate | Line # | Download | only in bootelf
Makefile revision 1.14.110.1
      1  1.14.110.1       tls #	$NetBSD: Makefile,v 1.14.110.1 2014/08/20 00:03:14 tls Exp $
      2        1.13  uebayasi #
      3        1.13  uebayasi # NOTE: This program is *not* standalone, but a userlevel program -- this
      4        1.13  uebayasi #       program was run from within boot-only, NetBSD-as-bootloader as a
      5        1.13  uebayasi #       userlevel program, then in-kernel boot code loads another NetBSD
      6        1.13  uebayasi #	image and jumps to it.
      7        1.13  uebayasi #
      8         1.1    itojun 
      9         1.9  jdolecek PROG=	bootelf
     10        1.11        he SRCS=	alloc.c boot.c byteorder.c loadfile.c loadfile_elf32.c
     11         1.9  jdolecek NOMAN=	# defined
     12         1.9  jdolecek 
     13         1.9  jdolecek LIBSA=	${.CURDIR}/../../../../lib/libsa
     14         1.1    itojun 
     15         1.2    tsubai .PATH: ${LIBSA}
     16         1.2    tsubai 
     17        1.14  uebayasi CFLAGS+=	-ffreestanding
     18        1.12  uebayasi CPPFLAGS+=	-I${.CURDIR}/../../../.. -I${.OBJDIR}
     19        1.12  uebayasi LDSTATIC=	-static
     20         1.7       wiz 
     21  1.14.110.1       tls ${PROG}: ${OBJS}
     22         1.1    itojun 
     23         1.1    itojun .include <bsd.prog.mk>
     24  1.14.110.1       tls .include <bsd.klinks.mk>
     25