This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java parser intentionally in builddir?


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]