Re: Makefile for parser - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: Makefile for parser
Date
Msg-id 3958B497.C6535736@alumni.caltech.edu
Whole thread Raw
In response to Makefile for parser  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Responses Re: Makefile for parser  (Peter Eisentraut <peter_e@gmx.net>)
List 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


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: SQL99 functions
Next
From: Tom Lane
Date:
Subject: Re: SQL99 functions