1 ACLOCAL_AMFLAGS = -I .. -I ../config
4 SUBDIRS = sanitizer_common
5 if !USING_MAC_INTERPOSE
6 SUBDIRS += interception
8 if LIBBACKTRACE_SUPPORTED
9 SUBDIRS += libbacktrace
11 SUBDIRS += lsan asan ubsan
17 ## May be used by toolexeclibdir.
18 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
20 # Work around what appears to be a GNU make bug handling MAKEFLAGS
21 # values defined in terms of make variables, as is the case for CC and
22 # friends when we are called from the top level Makefile.
24 "AR_FLAGS=$(AR_FLAGS)" \
25 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
27 "CXXFLAGS=$(CXXFLAGS)" \
28 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
29 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
30 "INSTALL=$(INSTALL)" \
31 "INSTALL_DATA=$(INSTALL_DATA)" \
32 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
33 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
34 "JC1FLAGS=$(JC1FLAGS)" \
35 "LDFLAGS=$(LDFLAGS)" \
36 "LIBCFLAGS=$(LIBCFLAGS)" \
37 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
39 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
40 "PICFLAG=$(PICFLAG)" \
41 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
43 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
44 "exec_prefix=$(exec_prefix)" \
45 "infodir=$(infodir)" \
48 "includedir=$(includedir)" \
52 "LIBCFLAGS=$(LIBCFLAGS)" \
54 "PICFLAG=$(PICFLAG)" \
60 nodist_toolexeclib_HEADERS = libsanitizer.spec
62 ## ################################################################