Home | History | Annotate | Line # | Download | only in installboot
Makefile revision 1.12
      1 #	$NetBSD: Makefile,v 1.12 2002/08/27 08:53:17 lukem Exp $
      2 
      3 NOMAN=	# defined
      4 
      5 .include <bsd.own.mk>
      6 
      7 PROG=	installboot
      8 BINDIR=/usr/mdec
      9 LIBSA=${.CURDIR}/../../../../lib/libsa
     10 COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
     11 CPPFLAGS+= -I${LIBSA} -I.
     12 # Need this to work in the miniroot
     13 LDSTATIC= -static
     14 
     15 .BEGIN: machine
     16 .NOPATH: machine
     17 realdepend realall: machine
     18 CLEANFILES+= machine
     19 
     20 .PATH.c: ${LIBSA}
     21 
     22 SRCS=	installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
     23 
     24 machine::
     25 	-rm -f $@
     26 	ln -s ${.CURDIR}/../../include $@
     27 
     28 .include <bsd.prog.mk>
     29