projects
/
wildspeed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf4f97
)
Add usage of PG_XS. By Jeff <lewwid@gmail.com>
author
teodor
<teodor>
Fri, 18 Sep 2009 14:56:15 +0000
(14:56 +0000)
committer
teodor
<teodor>
Fri, 18 Sep 2009 14:56:15 +0000
(14:56 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
8d36bf4
..
78d2dc0
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-6,9
+6,13
@@
DATA_built = wildspeed.sql
DATA = uninstall_wildspeed.sql
REGRESS = wildspeed
-
+ifdef USE_PGXS
+PG_CONFIG = pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+else
subdir = contrib/wildspeed
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-
include $(top_srcdir)/contrib/contrib-global.mk
+endif
\ No newline at end of file