summaryrefslogtreecommitdiffstats
path: root/include/Makefile
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2007-07-06 07:20:59 +0000
committerbz <bz@FreeBSD.org>2007-07-06 07:20:59 +0000
commit5647bf06249ff84fcfc5f8313dcf1f896c702ba0 (patch)
tree29e140cf1078700e2469dac60e54e25131d0917c /include/Makefile
parent4f51f283a016f437b66152f6592ff8575323a308 (diff)
downloadFreeBSD-src-5647bf06249ff84fcfc5f8313dcf1f896c702ba0.zip
FreeBSD-src-5647bf06249ff84fcfc5f8313dcf1f896c702ba0.tar.gz
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)
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/Makefile b/include/Makefile
index f03e030..20d8d15 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -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 \
OpenPOWER on IntegriCloud