81d9503824
on non-NetBSD hosts. Tested on CYGWIN_NT-5.1-1.5.25-i686. XXX: this should be merged into src/usr.sbin/installboot.
33 lines
729 B
Makefile
33 lines
729 B
Makefile
# $NetBSD: Makefile,v 1.8 2009/03/25 15:26:49 tsutsui Exp $
|
|
|
|
HOSTPROG= macppc_installboot
|
|
SRCS= installboot.c cd9660.c cd9660_util.c
|
|
NOMAN= # defined
|
|
|
|
HOST_CPPFLAGS+= -I. -I${.CURDIR}
|
|
#HOST_CPPFLAGS+= -DDEBUG
|
|
|
|
.if !make(obj) && !make(clean) && !make(cleandir)
|
|
.BEGIN:
|
|
-rm -rf fs
|
|
${HOST_INSTALL_DIR} fs
|
|
${HOST_INSTALL_DIR} fs/cd9660
|
|
${HOST_LN} -s ${NETBSDSRCDIR}/sys/fs/unicode.h fs
|
|
${HOST_LN} -s ${NETBSDSRCDIR}/sys/fs/cd9660/iso.h fs/cd9660
|
|
.endif
|
|
|
|
cleandir distclean: cleaninc
|
|
|
|
cleaninc:
|
|
-rm -rf fs
|
|
|
|
.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>
|