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