*** include/Makefile.org.c4b	Mon May  5 14:54:26 2003
--- include/Makefile	Wed Jan 21 22:04:24 2004
***************
*** 24,29 ****
--- 24,33 ----
  # posix4/mqueue.h is useless without an implementation and isn't installed:
  PHDRS=	sched.h semaphore.h _semaphore.h # mqueue.h
  
+ CAPIHDRS=	capi_bsd.h capi_bsdtrc.h capi_echoc.h capi_li.h \
+ 	capi_pack_off.h capi_pack_on.h capi_result.h \
+ 	capi_supplsvc.h capi20.h capidef.h
+ 
  LHDRS=	aio.h errno.h fcntl.h linker_set.h poll.h stdint.h syslog.h \
  	termios.h ucontext.h
  
***************
*** 99,104 ****
--- 103,111 ----
  	done
  .endif
  .endfor
+ 	cd ${.CURDIR}/../sys/c4b/include; \
+ 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${CAPIHDRS} \
+ 	    ${DESTDIR}${INCLUDEDIR}
  .for i in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS}
  	cd ${.CURDIR}/../sys; \
  	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
***************
*** 118,123 ****
--- 125,134 ----
  
  symlinks:
  	@${ECHO} "Setting up symlinks to kernel source tree..."
+ 	cd ${.CURDIR}/../sys/c4b/include; \
+ 	for h in ${CAPIHDRS}; do \
+ 	    ln -fs ../../sys/c4b/include/$$h ${DESTDIR}${INCLUDEDIR}; \
+ 	done
  .for i in ${LDIRS}
  	cd ${.CURDIR}/../sys/$i; \
  	for h in *.h; do \
