1 # $NetBSD: Makefile,v 1.14 2005/05/11 18:59:34 jmc 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 .BEGIN: machine 16 .NOPATH: 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