This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: java parser intentionally in builddir?
- To: egcs at cygnus dot com, robertl at dgii dot com
- Subject: Re: java parser intentionally in builddir?
- From: mrs at wrs dot com (Mike Stump)
- Date: Mon, 19 Oct 1998 14:15:11 -0700
> Date: Fri, 16 Oct 1998 15:56:10 -0500
> From: Robert Lipe <robertl@dgii.com>
> The gcc/java Makefile.in is different than all the other languages
> in that a prebuilt parser isn't in the srcdir and it looks like it's
> intentionally build in the builddir.
I like the idea of unifying the two to get all the benefits of both
schemes, that way, we can forever get rid of the problem. Something like:
parse.c: $(srcdir)/parse.y
if [ -r $(srcdir)/parse.c -a
$(srcdir)/parse.c -nt $(srcdir)/parse.y ]; then
cp $(srcdir)/parse.c .
else
$(BISCON) ...
fi
We can then do this is all the lanage front ends.