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