Re: [HACKERS] Re: AWL: PostgreSQL ODBC. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: AWL: PostgreSQL ODBC.
Date
Msg-id 6615.909514136@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: AWL: PostgreSQL ODBC.  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
"Thomas G. Lockhart" <lockhart@alumni.caltech.edu> writes:
> Actually, I don't know why the Makefile.shlib needs anything
> platform-specific other than perhaps helping with the naming conventions
> for libraries. If the LDFLAGS_SL was in the platform template then
> Makefile.shlib wouldn't need anything in that regard, right?

You're right, much of that stuff could be shoved out into the
Makefile.port files.  Maybe all of it --- does anyone know GNU Make's
substitution rules well enough to know whether

shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)

can appear *before* NAME and so forth get defined?  If so, the
library naming rule could be defined by Makefile.port too.  I was
being conservative when I wrote Makefile.shlib, but I'm not sure
that the order of declarations it recommends is really essential.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] make install fails in perl5 ...
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: Configure problem, redux (was Re: TCL installation troubles)