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