Make kernel ipc log scripts work for separate ${.OBJDIR}.

contributed by Antoine Leca.
This commit is contained in:
Ben Gras 2010-07-22 22:04:37 +00:00
parent 3badab8b70
commit fe343bb002

View file

@ -37,13 +37,16 @@ MAN=
debug.d: extracted-errno.h extracted-mfield.h extracted-mtype.h
extracted-errno.h: extract-errno.sh ../include/errno.h
sh extract-errno.sh > extracted-errno.h
${_MKTARGET_CREATE}
cd ${.CURDIR} ; sh extract-errno.sh > ${.OBJDIR}/extracted-errno.h
extracted-mfield.h: extract-mfield.sh ../lib/libc/other/*.c ../lib/libc/posix/*.c ../lib/libsys/*.c
sh extract-mfield.sh > extracted-mfield.h
${_MKTARGET_CREATE}
cd ${.CURDIR} ; sh extract-mfield.sh > ${.OBJDIR}/extracted-mfield.h
extracted-mtype.h: extract-mtype.sh ../include/minix/com.h
sh extract-mtype.sh > extracted-mtype.h
${_MKTARGET_CREATE}
cd ${.CURDIR} ; sh extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h
clean:
rm -f extracted-errno.h extracted-mfield.h extracted-mtype.h