Обсуждение: conversion_procs makefiles

Поиск
Список
Период
Сортировка

conversion_procs makefiles

От
Alvaro Herrera
Дата:
I noticed that conversion_procs is sadly single-tasked to build.  I am
wondering if it would be acceptable to rework the Makefile.shlib to have
an option to allow building multiple libs, by creating a rule to collect
libraries to build, and have each conversion_proc Makefile add a target
to that.  Then the whole lot of libraries would be built by a single
non-recursive make pass, instead of the current recursive approach.

I don't have a patch yet but I've been playing with it a bit.  I don't
think I'd have time for 8.3 though.

Objections?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


Re: conversion_procs makefiles

От
Peter Eisentraut
Дата:
Alvaro Herrera wrote:
> I noticed that conversion_procs is sadly single-tasked to build.  I
> am wondering if it would be acceptable to rework the Makefile.shlib
> to have an option to allow building multiple libs, by creating a rule
> to collect libraries to build, and have each conversion_proc Makefile
> add a target to that.  Then the whole lot of libraries would be built
> by a single non-recursive make pass, instead of the current recursive
> approach.

There is certainly room for improvement there.

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