diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-04 22:22:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-09-04 22:22:36 +0000 |
commit | 5a248cd2e412e7834457059f5fb9cf029d957718 (patch) | |
tree | c905d961d053dc2e370b996c6d04a0fb1a120364 | |
parent | 7d03215f314039a400560cd459587ee99a5df73b (diff) | |
download | postgresql-5a248cd2e412e7834457059f5fb9cf029d957718.tar.gz postgresql-5a248cd2e412e7834457059f5fb9cf029d957718.zip |
Bring sslinfo Makefile up to speed for VPATH and pgxs builds.
-rw-r--r-- | contrib/sslinfo/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/sslinfo/Makefile b/contrib/sslinfo/Makefile index 4e1caf54329..33032e5d64b 100644 --- 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 |