2010-09-21 04:08:53 +08:00
|
|
|
# contrib/sslinfo/Makefile
|
2007-02-10 01:04:00 +08:00
|
|
|
|
2006-09-06 07:15:02 +08:00
|
|
|
MODULE_big = sslinfo
|
2014-07-15 02:07:52 +08:00
|
|
|
OBJS = sslinfo.o $(WIN32RES)
|
2011-02-14 09:06:41 +08:00
|
|
|
|
|
|
|
EXTENSION = sslinfo
|
|
|
|
DATA = sslinfo--1.0.sql sslinfo--unpackaged--1.0.sql
|
2014-07-15 02:07:52 +08:00
|
|
|
PGFILEDESC = "sslinfo - information about client SSL certificate"
|
2006-09-04 23:07:46 +08:00
|
|
|
|
2006-09-05 06:22:36 +08:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2006-09-05 06:22:36 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/sslinfo
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
2006-09-06 07:15:02 +08:00
|
|
|
|
2006-09-07 02:30:17 +08:00
|
|
|
SHLIB_LINK += $(filter -lssl -lcrypto -lssleay32 -leay32, $(LIBS))
|