From: Ben Gras Date: Thu, 22 Jul 2010 22:04:37 +0000 (+0000) Subject: Make kernel ipc log scripts work for separate ${.OBJDIR}. X-Git-Tag: v3.1.8~157 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/syslog.3.html?a=commitdiff_plain;h=fe343bb002d72eeedbe55d9bc38c641190a77b37;p=minix.git Make kernel ipc log scripts work for separate ${.OBJDIR}. contributed by Antoine Leca. --- diff --git a/kernel/Makefile b/kernel/Makefile index bea51f22c..ae199c5ec 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -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