Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / cdrom / macppc_mkboothfs / Makefile
blob41eb13b34e87f4f316cea42c50202a2d5519c92a
1 # $NetBSD: Makefile,v 1.3 2009/03/29 04:52:12 tsutsui Exp $
3 HOSTPROG= macppc_mkboothfs
4 SRCS= mkboothfs.c
5 NOMAN= # defined
7 CLEANFILES+= boothfs
9 .include <bsd.own.mk>
11 .ifndef NOCOMPATLIB
12 COMPATOBJ!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
13 .-include "${COMPATOBJ}/defs.mk"
14 HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/tools/compat
15 .endif
18 UUENCODE?= uuencode # XXX no ${TOOL_UUENCODE}
20 boothfs: ${HOSTPROG}
21 ./${HOSTPROG} boothfs
23 boothfs.uue: boothfs
24 echo \$$NetBSD\$$ > ${.TARGET}.tmp
25 ${UUENCODE} boothfs boothfs >> ${.TARGET}.tmp
26 cp ${.TARGET}.tmp ${NETBSDSRCDIR}/distrib/cdrom/${.TARGET}
28 CLEANFILES+= boothfs.uue.tmp
30 .include <bsd.hostprog.mk>