1 #-------------------------------------------------------------------------
3 # Makefile for src/test
5 # Copyright (c) 1994, Regents of the University of California
9 #-------------------------------------------------------------------------
13 include $(top_builddir
)/src
/Makefile.global
15 SUBDIRS
= perl regress isolation modules authentication recovery subscription
17 ifeq ($(with_icu
),yes
)
20 ifeq ($(with_gssapi
),yes
)
23 ifeq ($(with_ldap
),yes
)
26 ifeq ($(with_ssl
),openssl
)
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.
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
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
))