2001-12-12 15:24:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 2001/12/12 12:24:24 lukem Exp $
|
|
|
|
|
|
|
|
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
|
2001-08-05 14:52:05 +04:00
|
|
|
CPPFLAGS+= -I${LIBSA} -I.
|
1996-05-18 00:00:52 +04:00
|
|
|
# Need this to work in the miniroot
|
1998-03-02 22:57:00 +03: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>
|