2003-02-04 16:34:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2003/02/04 13:34:56 matt Exp $
|
2001-12-12 15:24:19 +03:00
|
|
|
|
|
|
|
NOMAN= # defined
|
1998-03-02 22:57:00 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1996-05-18 00:00:52 +04:00
|
|
|
|
|
|
|
PROG= installboot
|
|
|
|
BINDIR=/usr/mdec
|
2000-12-04 21:44:51 +03:00
|
|
|
LIBSA=${.CURDIR}/../../../../lib/libsa
|
2000-07-24 22:39:01 +04:00
|
|
|
COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
|
2003-02-04 16:34:56 +03:00
|
|
|
CPPFLAGS+= -I${LIBSA} -I. -D__daddr_t=int32_t
|
1996-05-18 00:00:52 +04:00
|
|
|
# Need this to work in the miniroot
|
2002-08-27 12:53:14 +04:00
|
|
|
LDSTATIC= -static
|
1996-05-18 00:00:52 +04:00
|
|
|
|
2001-08-05 14:52:05 +04:00
|
|
|
.BEGIN: machine
|
|
|
|
.NOPATH: machine
|
|
|
|
realdepend realall: machine
|
|
|
|
CLEANFILES+= machine
|
|
|
|
|
2000-12-04 21:44:51 +03:00
|
|
|
.PATH.c: ${LIBSA}
|
|
|
|
|
2001-11-01 00:39:02 +03:00
|
|
|
SRCS= installboot.c byteorder.c loadfile.c loadfile_aout.c loadfile_elf32.c
|
2000-12-04 21:44:51 +03:00
|
|
|
|
2001-08-05 14:52:05 +04:00
|
|
|
machine::
|
|
|
|
-rm -f $@
|
|
|
|
ln -s ${.CURDIR}/../../include $@
|
|
|
|
|
1996-05-18 00:00:52 +04:00
|
|
|
.include <bsd.prog.mk>
|