Use nbcompat lib in src/tools/compat so that this can be built
on non-NetBSD hosts. Tested on CYGWIN_NT-5.1-1.5.25-i686. XXX: It's enough to have generated boothfs.uue binary XXX: (for mkisofs -boot-hfs-file option), rather than XXX: building a tool and generating it at run time.
This commit is contained in:
parent
81d9503824
commit
90ae2f0e0c
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2006/09/17 03:56:03 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2009/03/25 15:36:08 tsutsui Exp $
|
||||
|
||||
HOSTPROG= macppc_mkboothfs
|
||||
SRCS= mkboothfs.c
|
||||
@ -6,4 +6,12 @@ NOMAN= # defined
|
||||
|
||||
CLEANFILES+= boothfs
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.ifndef NOCOMPATLIB
|
||||
COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
||||
.-include "${COMPATOBJ}/defs.mk"
|
||||
HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/tools/compat
|
||||
.endif
|
||||
|
||||
.include <bsd.hostprog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user