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