Home | History | Annotate | Line # | Download | only in bootelf
Makefile revision 1.11.6.1
      1  1.11.6.1      yamt #	$NetBSD: Makefile,v 1.11.6.1 2006/04/11 11:53:43 yamt Exp $
      2  1.11.6.1      yamt #
      3  1.11.6.1      yamt # NOTE: This program is *not* standalone, but a userlevel program -- this
      4  1.11.6.1      yamt #       program was run from within boot-only, NetBSD-as-bootloader as a
      5  1.11.6.1      yamt #       userlevel program, then in-kernel boot code loads another NetBSD
      6  1.11.6.1      yamt #	image and jumps to it.
      7  1.11.6.1      yamt #
      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.11.6.1      yamt CFLAGS+=	-ffreestanding
     18  1.11.6.1      yamt CPPFLAGS+=	-I${.CURDIR}/../../../.. -I${.OBJDIR}
     19  1.11.6.1      yamt LDSTATIC=	-static
     20       1.7       wiz 
     21       1.7       wiz CLEANFILES+=	machine
     22       1.8       wiz 
     23       1.8       wiz realdepend realall: machine
     24       1.6       wiz 
     25       1.6       wiz machine::
     26       1.6       wiz 	-rm -f $@
     27       1.6       wiz 	ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@
     28       1.6       wiz 
     29       1.6       wiz ${PROG}: ${OBJS} machine
     30       1.1    itojun 
     31       1.1    itojun .include <bsd.prog.mk>
     32