Home | History | Annotate | Line # | Download | only in installboot
Makefile revision 1.16
      1 #	$NetBSD: Makefile,v 1.16 2005/12/28 08:08:00 skrll 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. -D__daddr_t=int32_t
     12 # Need this to work in the miniroot
     13 LDSTATIC= -static
     14 
     15 .if !make(obj) && !make(clean) && !make(cleandir)
     16 .BEGIN: machine
     17 .NOPATH: machine
     18 
     19 machine::
     20 	-rm -f $@
     21 	ln -s ${.CURDIR}/../../include $@
     22 .endif
     23 
     24 CLEANFILES+= machine
     25 
     26 .PATH.c: ${LIBSA}
     27 
     28 SRCS=	installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
     29 
     30 .include <bsd.prog.mk>
     31