1 1.6 mycroft # $NetBSD: bsd.inc.mk,v 1.6 1997/05/09 05:17:29 mycroft Exp $ 2 1.3 mycroft 3 1.5 mycroft .PHONY: incinstall 4 1.5 mycroft includes: incinstall 5 1.1 christos 6 1.5 mycroft .if defined(INCS) 7 1.6 mycroft includes: ${INCS} 8 1.1 christos .for I in ${INCS} 9 1.5 mycroft incinstall:: ${DESTDIR}${INCSDIR}/$I 10 1.1 christos 11 1.4 mycroft .PRECIOUS: ${DESTDIR}${INCSDIR}/$I 12 1.1 christos ${DESTDIR}${INCSDIR}/$I: $I 13 1.1 christos @cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \ 14 1.1 christos (echo "${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ 15 1.1 christos ${.ALLSRC} ${.TARGET}" && \ 16 1.1 christos ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ 17 1.1 christos ${.ALLSRC} ${.TARGET}) 18 1.1 christos .endfor 19 1.5 mycroft .endif 20 1.5 mycroft 21 1.5 mycroft .if !target(incinstall) 22 1.5 mycroft incinstall:: 23 1.1 christos .endif 24