Re: Makefile for parser

Thomas Lockhart <lockhart@alumni.caltech.edu>

From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hackers List <pgsql-hackers@postgresql.org>
Date: 2000-06-27T14:05:11Z
Lists: pgsql-hackers
> Oh, right, the files in that directory are going to include parse.h
> from the include dir now, instead of ".", aren't they?  I see your
> problem.

Right.

> Probably the rule that installs parse.h into the include tree ought to
> be pushed down from backend/Makefile to backend/parser/Makefile (but
> backend/Makefile still needs to invoke it during its prebuildheaders
> phase).  Maybe likewise for fmgroids.h into backend/utils.

I've got (simple) patches which do this for parse.h. I can see why this
was pushed up, since it is not very clean to have Makefiles putting
their fingers into other places in the tree. But for this case I don't
see a way out.

Peter E?

                       - Thomas