| 1 |
#------------------------------------------------------------------------- |
| 2 |
# |
| 3 |
# Makefile for src/test |
| 4 |
# |
| 5 |
# Copyright (c) 1994, Regents of the University of California |
| 6 |
# |
| 7 |
# src/test/Makefile |
| 8 |
# |
| 9 |
#------------------------------------------------------------------------- |
| 10 |
|
| 11 |
subdir = src/test |
| 12 |
top_builddir = ../.. |
| 13 |
include $(top_builddir)/src/Makefile.global |
| 14 |
|
| 15 |
SUBDIRS = perl postmaster regress isolation modules authentication recovery subscription |
| 16 |
|
| 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 |
| 29 |
|
| 30 |
# We don't build or execute these by default, but we do want "make |
| 31 |
# clean" etc to recurse into them. (We must filter out those that we |
| 32 |
# have conditionally included into SUBDIRS above, else there will be |
| 33 |
# make confusion.) |
| 34 |
ALWAYS_SUBDIRS = $(filter-out $(SUBDIRS),examples kerberos icu ldap ssl) |
| 35 |
|
| 36 |
# We want to recurse to all subdirs for all standard targets, except that |
| 37 |
# installcheck and install should not recurse into the subdirectory "modules". |
| 38 |
|
| 39 |
recurse_alldirs_targets := $(filter-out installcheck install, $(standard_targets)) |
| 40 |
installable_dirs := $(filter-out modules, $(SUBDIRS)) |
| 41 |
|
| 42 |
$(call recurse,$(recurse_alldirs_targets)) |
| 43 |
$(call recurse,installcheck, $(installable_dirs)) |
| 44 |
$(call recurse,install, $(installable_dirs)) |
| 45 |
|
| 46 |
$(recurse_always) |