1 # $NetBSD: Makefile,v 1.2 2002/03/29 01:52:45 thorpej Exp $ 2 3 .include <bsd.own.mk> # Use /etc/mk.conf 4 5 SUBDIR= gzboot 6 7 ITARGET= ${RELEASEDIR}/binary/gzimg 8 IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} 9 10 GZIMGS+= gzimg_IQ80310_flash_0x00080000 11 GZIMGS+= gzimg_IQ80321_flash_0xf0080000 12 13 .for img in ${GZIMGS} 14 GZIMGDIR_${img}!= cd ${.CURDIR}/gzboot/${img} && ${PRINTOBJDIR} 15 .endfor 16 17 release: check_RELEASEDIR 18 .for img in ${GZIMGS} 19 ${IINST} ${GZIMGDIR_${img}}/${img}.gz ${ITARGET}/. 20 .endfor 21 22 .include <bsd.subdir.mk> 23