Move shared headers in common/include
Headers that will be shared between old includes and NetBSD-like includes are moved into common/include tree. They are still copied in /usr/include in 'make includes', so compilation and programs aren't be affected.
This commit is contained in:
@@ -56,7 +56,7 @@ extracted-mfield.h: extract-mfield.sh ../lib/libc/other/*.c ../lib/libc/posix/*.
|
||||
${_MKTARGET_CREATE}
|
||||
cd ${.CURDIR} ; sh extract-mfield.sh > ${.OBJDIR}/extracted-mfield.h
|
||||
|
||||
extracted-mtype.h: extract-mtype.sh ../include/minix/com.h
|
||||
extracted-mtype.h: extract-mtype.sh ../common/include/minix/com.h
|
||||
${_MKTARGET_CREATE}
|
||||
cd ${.CURDIR} ; sh extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@ set -e
|
||||
|
||||
# grep message type constants and make them into a .h file
|
||||
(
|
||||
cat ../include/minix/callnr.h | \
|
||||
cat ../common/include/minix/callnr.h | \
|
||||
tr -s ' \t' ' ' | \
|
||||
sed 's/^# /#/' | \
|
||||
egrep '^#define [A-Z_][A-Z0-9_]* [0-9]+' | grep -v NCALLS
|
||||
|
||||
cat ../include/minix/com.h | \
|
||||
cat ../common/include/minix/com.h | \
|
||||
tr -s ' \t' ' ' | \
|
||||
sed 's/^# /#/' | \
|
||||
egrep '^#define [A-Z_][A-Z0-9_]* \( ?([A-Z0-9_]+_BASE|KERNEL_CALL) ?\+[A-Za-z0-9_ +]+\)'
|
||||
|
||||
Reference in New Issue
Block a user