From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | cedric(at)2ndquadrant(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Makefiles don't seem to remember to rebuild everything anymore |
Date: | 2012-12-17 18:23:04 |
Message-ID: | 28542.1355768584@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> I suppose that you are not using automatic dependency mode, so you are
> seeing the change just now with the recent introduction of global
> .SECONDARY.
True.
> This is working correctly, as far as make is concerned. There is no
> configuration knob in make that says, build all the files you can think
> of even though they are not required for the target I gave you.
Meh. I don't agree that parser/gram.o is "not required" when I'm asking
to build the postgres executable. The fact that making the latter
actually fails, as per Pavan's observation, should convince you of that
too.
Now perhaps this is not make's fault so much as a lack of adequate
dependency specifications. It may be that we can still use .SECONDARY
if we add the $(OBJS) lists as explicit targets of "make all" in backend
directories, but I'm not sure how invasive that would be.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2012-12-17 18:30:10 | Re: XLByte* usage |
Previous Message | Tom Lane | 2012-12-17 18:16:47 | Re: XLByte* usage |