Skip site navigation (1) Skip section navigation (2)

Re: Makefile for parser

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Makefile for parser
Date: 2000-06-27 14:05:11
Message-ID: 3958B497.C6535736@alumni.caltech.edu (view raw or flat)
Thread:
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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-06-27 14:14:37
Subject: Re: SQL99 functions
Previous:From: Zeugswetter Andreas SBDate: 2000-06-27 13:52:01
Subject: AW: Proposal: More flexible backup/restore via pg_dump

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group