Make parallel build more safer.

Reviewed by:	tijl
This commit is contained in:
Jung-uk Kim 2012-03-07 23:57:49 +00:00
parent 17a46b474f
commit 012faf16c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232676

View File

@ -75,19 +75,21 @@ CLEANFILES= aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
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>