The NetBSD yacc man page indicates that it's POSIX.2 compliant, and
doesn't say that -o is an extension, so I'm hoping it is safe to use.
With this, I did a bunch of 'make -j9' and didn't lose.
Index: Makefile.in
===================================================================
RCS file: /milter-greylist/milter-greylist/Makefile.in,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 Makefile.in
--- Makefile.in 26 Sep 2008 23:35:44 -0000 1.64
+++ Makefile.in 3 Oct 2008 23:30:03 -0000
@@ -144,8 +144,7 @@ realclean: clean
.l.c:
${LEX} -o$@ $<
.y.c:
- ${YACC} -p`echo $@|${SED} 's/^\([^_]\{1,\}_\).*$$/\1/'` $<
- ${MV} y.tab.c $@
+ ${YACC} -p`echo $@|${SED} 's/^\([^_]\{1,\}_\).*$$/\1/'` $< -o $@
# This is a target for debugging
start: milter-greylist
doesn't say that -o is an extension, so I'm hoping it is safe to use.
With this, I did a bunch of 'make -j9' and didn't lose.
Index: Makefile.in
===================================================================
RCS file: /milter-greylist/milter-greylist/Makefile.in,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 Makefile.in
--- Makefile.in 26 Sep 2008 23:35:44 -0000 1.64
+++ Makefile.in 3 Oct 2008 23:30:03 -0000
@@ -144,8 +144,7 @@ realclean: clean
.l.c:
${LEX} -o$@ $<
.y.c:
- ${YACC} -p`echo $@|${SED} 's/^\([^_]\{1,\}_\).*$$/\1/'` $<
- ${MV} y.tab.c $@
+ ${YACC} -p`echo $@|${SED} 's/^\([^_]\{1,\}_\).*$$/\1/'` $< -o $@
# This is a target for debugging
start: milter-greylist