1 1.12 christos # $NetBSD: bsd.inc.mk,v 1.12 1999/02/04 11:58:30 christos 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.10 cgd .if !defined(UPDATE) 12 1.10 cgd .PHONY: ${DESTDIR}${INCSDIR}/$I 13 1.10 cgd .endif 14 1.1 christos ${DESTDIR}${INCSDIR}/$I: $I 15 1.1 christos @cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || \ 16 1.12 christos (echo "${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} \ 17 1.12 christos -g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}" && \ 18 1.12 christos ${INSTALL} ${RENAME} ${PRESERVE} -c -o ${BINOWN} -g ${BINGRP} \ 19 1.11 christos -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}) 20 1.1 christos .endfor 21 1.5 mycroft .endif 22 1.5 mycroft 23 1.5 mycroft .if !target(incinstall) 24 1.5 mycroft incinstall:: 25 1.1 christos .endif 26