1 1.16 skrll # $NetBSD: Makefile,v 1.16 2005/12/28 08:08:00 skrll Exp $ 2 1.11 lukem 3 1.11 lukem NOMAN= # defined 4 1.3 cgd 5 1.3 cgd .include <bsd.own.mk> 6 1.1 chuck 7 1.1 chuck PROG= installboot 8 1.1 chuck BINDIR=/usr/mdec 9 1.6 scw LIBSA=${.CURDIR}/../../../../lib/libsa 10 1.5 jdolecek COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes 11 1.13 matt CPPFLAGS+= -I${LIBSA} -I. -D__daddr_t=int32_t 12 1.1 chuck # Need this to work in the miniroot 13 1.12 lukem LDSTATIC= -static 14 1.6 scw 15 1.16 skrll .if !make(obj) && !make(clean) && !make(cleandir) 16 1.7 scw .BEGIN: machine 17 1.7 scw .NOPATH: machine 18 1.16 skrll 19 1.16 skrll machine:: 20 1.16 skrll -rm -f $@ 21 1.16 skrll ln -s ${.CURDIR}/../../include $@ 22 1.16 skrll .endif 23 1.16 skrll 24 1.7 scw CLEANFILES+= machine 25 1.7 scw 26 1.6 scw .PATH.c: ${LIBSA} 27 1.6 scw 28 1.9 thorpej SRCS= installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c 29 1.7 scw 30 1.1 chuck .include <bsd.prog.mk> 31