diff options
Diffstat (limited to 'contrib/tablefunc/Makefile')
| -rw-r--r-- | contrib/tablefunc/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/tablefunc/Makefile b/contrib/tablefunc/Makefile index 9c7381743f..4b87fd95a5 100644 --- a/contrib/tablefunc/Makefile +++ b/contrib/tablefunc/Makefile @@ -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 |
