psql: Improve tab-completion for MERGE.
[pgsql.git] / src / test / Makefile
blobdbd3192874d3375c520ce08a72458b0d98741868
1 #-------------------------------------------------------------------------
3 # Makefile for src/test
5 # Copyright (c) 1994, Regents of the University of California
7 # src/test/Makefile
9 #-------------------------------------------------------------------------
11 subdir = src/test
12 top_builddir = ../..
13 include $(top_builddir)/src/Makefile.global
15 SUBDIRS = perl regress isolation modules authentication recovery subscription
17 ifeq ($(with_icu),yes)
18 SUBDIRS += icu
19 endif
20 ifeq ($(with_gssapi),yes)
21 SUBDIRS += kerberos
22 endif
23 ifeq ($(with_ldap),yes)
24 SUBDIRS += ldap
25 endif
26 ifeq ($(with_ssl),openssl)
27 SUBDIRS += ssl
28 endif
30 # Test suites that are not safe by default but can be run if selected
31 # by the user via the whitespace-separated list in variable PG_TEST_EXTRA.
32 # Export PG_TEST_EXTRA to check it in individual tap tests.
33 export PG_TEST_EXTRA
35 # We don't build or execute these by default, but we do want "make
36 # clean" etc to recurse into them. (We must filter out those that we
37 # have conditionally included into SUBDIRS above, else there will be
38 # make confusion.)
39 ALWAYS_SUBDIRS = $(filter-out $(SUBDIRS),examples kerberos icu ldap ssl)
41 # We want to recurse to all subdirs for all standard targets, except that
42 # installcheck and install should not recurse into the subdirectory "modules".
44 recurse_alldirs_targets := $(filter-out installcheck install, $(standard_targets))
45 installable_dirs := $(filter-out modules, $(SUBDIRS))
47 $(call recurse,$(recurse_alldirs_targets))
48 $(call recurse,installcheck, $(installable_dirs))
49 $(call recurse,install, $(installable_dirs))
51 $(recurse_always)