2007-11-11 07:59:52 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/sslinfo/Makefile,v 1.10 2007/11/10 23:59:51 momjian Exp $
|
2007-02-10 01:04:00 +08:00
|
|
|
|
2006-09-06 07:15:02 +08:00
|
|
|
MODULE_big = sslinfo
|
|
|
|
OBJS = sslinfo.o
|
2006-09-04 23:07:46 +08:00
|
|
|
DATA_built = sslinfo.sql
|
2006-10-01 02:24:19 +08:00
|
|
|
DATA = uninstall_sslinfo.sql
|
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))
|