I4B header files were repo-copied from sys/i386/include to

sys/i4b/include/ so they will be available to all architectures
once I4B compiles on those.

I4B header files are now installed in include/i4b/ and no longer
in include/machine/.

For now we still install the headers for i386 only.

Approved by:	re (kensmith)
This commit is contained in:
Bjoern A. Zeeb 2007-07-06 07:20:59 +00:00
parent 6f5d8741e5
commit 9fa28ff687
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171271
2 changed files with 17 additions and 0 deletions

View File

@ -183,6 +183,8 @@
..
gssapi
..
i4b
..
isofs
cd9660
..

View File

@ -26,6 +26,9 @@ INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
ulimit.h unistd.h utime.h utmp.h uuid.h varargs.h vis.h wchar.h \
wctype.h wordexp.h
I4BHDRS=i4b_cause.h i4b_debug.h i4b_ioctl.h i4b_rbch_ioctl.h \
i4b_tel_ioctl.h i4b_trace.h
MHDRS= float.h floatingpoint.h stdarg.h
PHDRS= sched.h semaphore.h _semaphore.h
@ -175,6 +178,13 @@ copies:
cd ${.CURDIR}/../sys/crypto; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \
${DESTDIR}${INCLUDEDIR}/crypto
.if ${MACHINE_ARCH} == "i386"
.if ${MK_I4B} != "no"
cd ${.CURDIR}/../sys/i4b/include; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${I4BHDRS} \
${DESTDIR}${INCLUDEDIR}/i4b
.endif
.endif
cd ${.CURDIR}/../sys/opencrypto; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
${DESTDIR}${INCLUDEDIR}/crypto
@ -256,6 +266,11 @@ symlinks:
ln -fs ../../../sys/crypto/$$h \
${DESTDIR}${INCLUDEDIR}/crypto; \
done
cd ${.CURDIR}/../sys/i4b/include; \
for h in ${I4BHDRS}; do \
ln -fs ../../../sys/i4b/include/$$h \
${DESTDIR}${INCLUDEDIR}/i4b; \
done
cd ${.CURDIR}/../sys/opencrypto; \
for h in *.h; do \
ln -fs ../../../sys/opencrypto/$$h \