Coming attractions: VPATH build; make variables issue

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Coming attractions: VPATH build; make variables issue
Date: 2000-10-18 17:20:38
Message-ID: Pine.LNX.4.21.0010181911000.3228-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've just successfully completed an out of the box VPATH build of
PostgreSQL (i.e., putting the object files in a different directory
structure than the source files). It should be ready to go within the
next few days.

This is an opportune time to sort out the use of the make variables
CPPFLAGS and CFLAGS, which are used interchangeably in some places.
Unfortunately, this would mean having to fix each of the targets

dep depend:
$(CC) -MM $(CFLAGS) *.c >depend

(because the preprocessor options like -I and -D would be in CPPFLAGS).
I can install a hook to make this work specially without need to fix each
file, but that would require GNU make 3.76 for those using `make depend'.
I think this should not bother anyone too much, but I'm just letting you
know. (Of course, `make depend' is obsolescent anyway.)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-10-18 17:21:54 Re: Coming attractions: VPATH build; make variables issue
Previous Message Tom Lane 2000-10-18 16:39:29 Re: time stops within transaction