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