# @(#)Makefile.install 5.7 (Berkeley) %G%
# Makefile for /usr/include, used to convert system include subdirectories
# between symbolic links and copies of kernel headers. May also be used to
# update copies from kernel header files.
# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
DIRS= sys net netimp netinet netns ${MACHINE}
.if (${MACHINE} == "tahoe")
.elif (${MACHINE} == "vax")
DIRS+= vaxif vaxmba vaxuba
@echo "\"make symlinks\", \"make copies\", or \"make update\" only"
(cd ${SYS}; tar cf - $$i/*.h) | tar xpfB -; \
for j in `cd ${SYS}/$$i; echo *.[ih]`; do \
cmp -s ${SYS}/$$i/$$j $$i/$$j || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${SYS}/$$i/$$j $$i/$$j; \
clean cleandir depend lint tags: