Re: [COMMITTERS] pgsql-server: PostgreSQL extension makefile framework - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [COMMITTERS] pgsql-server: PostgreSQL extension makefile framework
Date
Msg-id 200408111855.01814.peter_e@gmx.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql-server: PostgreSQL extension makefile framework  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: [COMMITTERS] pgsql-server: PostgreSQL extension makefile
List pgsql-hackers
Am Dienstag, 10. August 2004 17:55 schrieb Fabien COELHO:
> (1) all makefiles in contrib include directly "src/Makefile.global" which
>     is generated by configure, although it is already included by the
>     "src/makefiles/pgxs.mk" makefile anyway, so it seems to me that it
>     is useless because redundant?

No, because you need Makefile.global to define top_srcdir, which is needed to 
find pgxs.mk.  You changed all top_srcdir to top_builddir, which is wrong.

> (2) only static includes are used, so I cannot use "pg_config --pgxs"
>     approach to install a contrib against an already compiled postgresql?
>     basically, you drop the USE_PGXS stuff for dynamic configuration
>     of contrib makefiles, and I have found no replacement.

I don't see the point of that.  If you have a PostgreSQL source tree, you can 
install the contribs right there.  How else would you do it?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Harald Fuchs
Date:
Subject: Re: Add Missing From?
Next
From: Fabien COELHO
Date:
Subject: Re: pg_dump 'die_on_errors'