svn commit: r232676 - head/usr.sbin/acpi/iasl
Jung-uk Kim
jkim at FreeBSD.org
Wed Mar 7 23:57:50 UTC 2012
Author: jkim
Date: Wed Mar 7 23:57:49 2012
New Revision: 232676
URL: http://svn.freebsd.org/changeset/base/232676
Log:
Make parallel build more safer.
Reviewed by: tijl
Modified:
head/usr.sbin/acpi/iasl/Makefile
Modified: head/usr.sbin/acpi/iasl/Makefile
==============================================================================
--- head/usr.sbin/acpi/iasl/Makefile Wed Mar 7 22:39:11 2012 (r232675)
+++ head/usr.sbin/acpi/iasl/Makefile Wed Mar 7 23:57:49 2012 (r232676)
@@ -75,19 +75,21 @@ CLEANFILES= aslcompiler.y.h aslcompilerl
aslcompilerlex.c: aslcompiler.l
${LEX} ${LFLAGS} -PAslCompiler -o${.TARGET} ${.ALLSRC}
-aslcompilerparse.c: aslcompiler.y
- ${YACC} ${YFLAGS} -pAslCompiler -o${.TARGET} ${.ALLSRC}
+.ORDER: aslcompilerparse.c aslcompilerparse.h
+aslcompilerparse.c aslcompilerparse.h: aslcompiler.y
+ ${YACC} ${YFLAGS} -pAslCompiler -oaslcompilerparse.c ${.ALLSRC}
-aslcompiler.y.h: aslcompilerparse.c
- mv -f aslcompilerparse.h ${.TARGET}
+aslcompiler.y.h: aslcompilerparse.h
+ ln -f ${.ALLSRC} ${.TARGET}
dtparserlex.c: dtparser.l
${LEX} ${LFLAGS} -PDtParser -o${.TARGET} ${.ALLSRC}
-dtparserparse.c: dtparser.y
- ${YACC} ${YFLAGS} -pDtParser -o${.TARGET} ${.ALLSRC}
+.ORDER: dtparserparse.c dtparserparse.h
+dtparserparse.c dtparserparse.h: dtparser.y
+ ${YACC} ${YFLAGS} -pDtParser -odtparserparse.c ${.ALLSRC}
-dtparser.y.h: dtparserparse.c
- mv -f dtparserparse.h ${.TARGET}
+dtparser.y.h: dtparserparse.h
+ ln -f ${.ALLSRC} ${.TARGET}
.include <bsd.prog.mk>
More information about the svn-src-head
mailing list