-SUBDIRS = interception sanitizer_common asan
+ACLOCAL_AMFLAGS = -I .. -I ../config
+
+if TSAN_SUPPORTED
+SUBDIRS = interception sanitizer_common lsan asan tsan ubsan
+else
+SUBDIRS = interception sanitizer_common lsan asan ubsan
+endif
+
+if USING_MAC_INTERPOSE
+SUBDIRS = sanitizer_common lsan asan ubsan
+endif
# Work around what appears to be a GNU make bug handling MAKEFLAGS
# values defined in terms of make variables, as is the case for CC and
"includedir=$(includedir)" \
"AR=$(AR)" \
"AS=$(AS)" \
- "CC=$(CC)" \
- "CXX=$(CXX)" \
"LD=$(LD)" \
"LIBCFLAGS=$(LIBCFLAGS)" \
"NM=$(NM)" \