diff options
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile index 61f21fb..84cba1d 100644 --- a/include/Makefile +++ b/include/Makefile @@ -117,6 +117,11 @@ copies: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}/usr/include/netinet .endif +.if exists(${.CURDIR}/../sys/${MACHINE_ARCH}/include) + cd ${.CURDIR}/../sys/${MACHINE_ARCH}/include; \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ + ${DESTDIR}/usr/include/machine +.endif .for i in ${SFILES} ln -sf ../sys/$i ${DESTDIR}/usr/include/machine/$i .endfor |