mirror of https://github.com/postgres/postgres
> > The patch adds missing the "libpgport.a" file to the installation under > "install-all-headers". It is needed by some contribs. I install the > library in "pkglibdir", but I was wondering whether it should be "libdir"? > I was wondering also whether it would make sense to have a "libpgport.so"? > > It fixes various macros which are used by contrib makefiles, especially > libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are > needed to > > It adds the ability to test and use PGXS with contribs, with "make > USE_PGXS=1". Without the macro, this is exactly as before, there should be > no difference, esp. wrt the vpath feature that seemed broken by previous > submission. So it should not harm anybody, and it is useful at least to me. > > It fixes some inconsistencies in various contrib makefiles > (useless override, ":=" instead of "="). Fabien COELHOREL8_0_STABLE
parent
ff8e5526dd
commit
ee85595d46
@ -1,10 +1,14 @@ |
||||
# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.2 2003/11/29 19:51:34 pgsql Exp $
|
||||
|
||||
subdir = contrib/dbmirror
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.3 2004/08/20 20:13:03 momjian Exp $
|
||||
|
||||
MODULES = pending
|
||||
DOCS = README.dbmirror
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/dbmirror
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,9 +1,13 @@ |
||||
subdir = contrib/dbsize
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
|
||||
MODULES = dbsize
|
||||
DATA_built = dbsize.sql
|
||||
DOCS = README.dbsize
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/dbsize
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,12 +1,16 @@ |
||||
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.13 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/earthdistance
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.14 2004/08/20 20:13:03 momjian Exp $
|
||||
|
||||
MODULES = earthdistance
|
||||
DATA_built = earthdistance.sql
|
||||
DOCS = README.earthdistance
|
||||
REGRESS = earthdistance
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/earthdistance
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,12 +1,16 @@ |
||||
# $PostgreSQL: pgsql/contrib/fulltextindex/Makefile,v 1.12 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/fulltextindex
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/fulltextindex/Makefile,v 1.13 2004/08/20 20:13:04 momjian Exp $
|
||||
|
||||
MODULES = fti
|
||||
DATA_built = fti.sql
|
||||
DOCS = README.fti
|
||||
SCRIPTS = fti.pl
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/fulltextindex
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,11 +1,15 @@ |
||||
# $PostgreSQL: pgsql/contrib/isbn_issn/Makefile,v 1.12 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/isbn_issn
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/isbn_issn/Makefile,v 1.13 2004/08/20 20:13:04 momjian Exp $
|
||||
|
||||
MODULES = isbn_issn
|
||||
DATA_built = isbn_issn.sql
|
||||
DOCS = README.isbn_issn
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/isbn_issn
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,12 +1,16 @@ |
||||
# $PostgreSQL: pgsql/contrib/lo/Makefile,v 1.12 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/lo
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/lo/Makefile,v 1.13 2004/08/20 20:13:05 momjian Exp $
|
||||
|
||||
MODULES = lo
|
||||
DATA_built = lo.sql
|
||||
DATA = lo_drop.sql lo_test.sql
|
||||
DOCS = README.lo
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/lo
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,11 +1,15 @@ |
||||
# $PostgreSQL: pgsql/contrib/miscutil/Makefile,v 1.17 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/miscutil
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/miscutil/Makefile,v 1.18 2004/08/20 20:13:05 momjian Exp $
|
||||
|
||||
MODULES = misc_utils
|
||||
DATA_built = misc_utils.sql
|
||||
DOCS = README.misc_utils
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/miscutil
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,11 +1,15 @@ |
||||
# $PostgreSQL: pgsql/contrib/noupdate/Makefile,v 1.10 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/noupdate
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/noupdate/Makefile,v 1.11 2004/08/20 20:13:05 momjian Exp $
|
||||
|
||||
MODULES = noup
|
||||
DATA_built = noup.sql
|
||||
DOCS = README.noup
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/noupdate
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,12 +1,16 @@ |
||||
# $PostgreSQL: pgsql/contrib/pg_logger/Makefile,v 1.3 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/pg_logger
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/pg_logger/Makefile,v 1.4 2004/08/20 20:13:06 momjian Exp $
|
||||
|
||||
PROGRAM = pg_logger
|
||||
OBJS = pg_logger.o
|
||||
|
||||
DOCS = README.pg_logger
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/pg_logger
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,12 +1,16 @@ |
||||
# $PostgreSQL: pgsql/contrib/rtree_gist/Makefile,v 1.4 2003/11/29 19:51:35 pgsql Exp $
|
||||
|
||||
subdir = contrib/rtree_gist
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/rtree_gist/Makefile,v 1.5 2004/08/20 20:13:07 momjian Exp $
|
||||
|
||||
MODULES = rtree_gist
|
||||
DATA_built = rtree_gist.sql
|
||||
DOCS = README.rtree_gist
|
||||
REGRESS = rtree_gist
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/rtree_gist
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,11 +1,15 @@ |
||||
# $PostgreSQL: pgsql/contrib/string/Makefile,v 1.17 2003/11/29 19:51:36 pgsql Exp $
|
||||
|
||||
subdir = contrib/string
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/string/Makefile,v 1.18 2004/08/20 20:13:08 momjian Exp $
|
||||
|
||||
MODULES = string_io
|
||||
DATA_built = string_io.sql
|
||||
DOCS = README.string_io
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/string
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,10 +1,14 @@ |
||||
subdir = contrib/tablefunc
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
|
||||
MODULES = tablefunc
|
||||
DATA_built = tablefunc.sql
|
||||
DOCS = README.tablefunc
|
||||
REGRESS = tablefunc
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/tablefunc
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,9 +1,13 @@ |
||||
# $PostgreSQL: pgsql/contrib/tips/Makefile,v 1.6 2003/11/29 19:51:36 pgsql Exp $
|
||||
# $PostgreSQL: pgsql/contrib/tips/Makefile,v 1.7 2004/08/20 20:13:08 momjian Exp $
|
||||
|
||||
DOCS = README.apachelog
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/tips
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
|
||||
DOCS = README.apachelog
|
||||
|
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
@ -1,11 +1,15 @@ |
||||
# $PostgreSQL: pgsql/contrib/userlock/Makefile,v 1.17 2003/11/29 19:51:36 pgsql Exp $
|
||||
|
||||
subdir = contrib/userlock
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
# $PostgreSQL: pgsql/contrib/userlock/Makefile,v 1.18 2004/08/20 20:13:09 momjian Exp $
|
||||
|
||||
MODULES = user_locks
|
||||
DATA_built = user_locks.sql
|
||||
DOCS = README.user_locks
|
||||
|
||||
ifdef USE_PGXS |
||||
PGXS = $(shell pg_config --pgxs)
|
||||
include $(PGXS) |
||||
else |
||||
subdir = contrib/userlock
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
include $(top_srcdir)/contrib/contrib-global.mk |
||||
endif |
||||
|
Loading…
Reference in new issue