projects
/
plantuner.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add plantuner.fix_empty_table GUC variable
[plantuner.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
add40de
..
f2e8350
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,10
+1,15
@@
-subdir = contrib/plantuner
-top_builddir = ../..
-include $(top_builddir)/src/Makefile.global
-
MODULE_big = plantuner
DOCS = README.plantuner
REGRESS = plantuner
OBJS=plantuner.o
MODULE_big = plantuner
DOCS = README.plantuner
REGRESS = plantuner
OBJS=plantuner.o
+ifdef USE_PGXS
+PGXS = $(shell pg_config --pgxs)
+include $(PGXS)
+else
+subdir = contrib/plantuner
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+
include $(top_srcdir)/contrib/contrib-global.mk
include $(top_srcdir)/contrib/contrib-global.mk
+endif