projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d03215
)
Bring sslinfo Makefile up to speed for VPATH and pgxs builds.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 4 Sep 2006 22:22:36 +0000
(22:22 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 4 Sep 2006 22:22:36 +0000
(22:22 +0000)
contrib/sslinfo/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/contrib/sslinfo/Makefile
b/contrib/sslinfo/Makefile
index 4e1caf54329c03b98626ee3fb9fd19242c1610ad..33032e5d64b52a121b9305586e9d868dee9a4351 100644
(file)
--- a/
contrib/sslinfo/Makefile
+++ b/
contrib/sslinfo/Makefile
@@
-1,9
+1,13
@@
-subdir = contrib/sslinfo
-top_builddir = ../..
-include $(top_builddir)/src/Makefile.global
-
MODULES = sslinfo
DATA_built = sslinfo.sql
DOC = README.pgsslinfo
-include ../contrib-global.mk
+ifdef USE_PGXS
+PGXS := $(shell pg_config --pgxs)
+include $(PGXS)
+else
+subdir = contrib/sslinfo
+top_builddir = ../..
+include $(top_builddir)/src/Makefile.global
+include $(top_srcdir)/contrib/contrib-global.mk
+endif