Since loadfile_machdep.h isn't installed anymore, link the mmeye include
directory into ${.OBJDIR} and find the header file there.
This commit is contained in:
parent
4aee7e7738
commit
8015e58333
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2001/12/12 01:49:46 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2002/05/02 18:30:46 wiz Exp $
|
||||
|
||||
PROG= bootelf
|
||||
SRCS= boot.c byteorder.c loadfile.c loadfile_elf32.c
|
||||
|
@ -8,7 +8,13 @@ LIBSA=${.CURDIR}/../../../../lib/libsa
|
|||
|
||||
.PATH: ${LIBSA}
|
||||
|
||||
CPPFLAGS+= -I${LIBSA}
|
||||
CPPFLAGS+= -I${LIBSA} -I${.OBJDIR}
|
||||
LDSTATIC?= -static
|
||||
|
||||
machine::
|
||||
-rm -f $@
|
||||
ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@
|
||||
|
||||
${PROG}: ${OBJS} machine
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue