postgresql/src/test/modules/Makefile
Tom Lane 13c98bdfc4 Fix assorted portability issues in commit 896fcdb23.
Some platforms require libssl to be linked explicitly in the new
SSL test module.  Borrow contrib/sslinfo's code for that.

Since src/test/modules/Makefile now has a variable SUBDIRS list,
it needs to follow the ALWAYS_SUBDIRS protocol for that (cf.
comments in Makefile.global.in).

Blindly try to fix MSVC build failures by adding PGDLLIMPORT.
2020-03-25 19:37:30 -04:00

35 lines
654 B
Makefile

# src/test/modules/Makefile
subdir = src/test/modules
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
SUBDIRS = \
brin \
commit_ts \
dummy_index_am \
dummy_seclabel \
snapshot_too_old \
test_bloomfilter \
test_ddl_deparse \
test_extensions \
test_ginpostinglist \
test_integerset \
test_misc \
test_parser \
test_pg_dump \
test_predtest \
test_rbtree \
test_rls_hooks \
test_shm_mq \
unsafe_tests \
worker_spi
ifeq ($(with_openssl),yes)
SUBDIRS += ssl_passphrase_callback
else
ALWAYS_SUBDIRS += ssl_passphrase_callback
endif
$(recurse)
$(recurse_always)