Обсуждение: Contrib Makefiles

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

Contrib Makefiles

От
"Magnus Hagander"
Дата:
A couple of the Makefiles in contrib don't define OBJS= as standard,
instead they define SRCS= and then a makefile rule for OBJS= that does a
replacement on that.

Is there any actual reason for that? If not, could the attached patch
please be applied to make them all look the same. I'm working on getting
the vcbuild stuff to properly build the contrib modules, and it would be
a whole lot easier if they all looked the same :)

(patch not actually tested on this box because I don't have msys
working, but it makes them look like the other ones..)

//Magnus

Вложения

Re: Contrib Makefiles

От
Tom Lane
Дата:
"Magnus Hagander" <mha@sollentuna.net> writes:
> A couple of the Makefiles in contrib don't define OBJS= as standard,
> instead they define SRCS= and then a makefile rule for OBJS= that does a
> replacement on that.

> Is there any actual reason for that?

Can't see one.

> If not, could the attached patch
> please be applied to make them all look the same.

Done, but what about pgcrypto?  You may not have a choice but to have a
special case for that one, though, seeing it builds its list on the fly.

            regards, tom lane