diff options
Diffstat (limited to 'contrib/dbmirror/Makefile')
-rw-r--r-- | contrib/dbmirror/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/dbmirror/Makefile b/contrib/dbmirror/Makefile index a304739b03..b0f538f8b5 100644 --- a/contrib/dbmirror/Makefile +++ b/contrib/dbmirror/Makefile @@ -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 |