2012-11-14 01:02:12 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I .. -I ../config
|
|
|
|
|
2014-05-14 10:33:45 +02:00
|
|
|
sanincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include/sanitizer
|
|
|
|
|
|
|
|
nodist_saninclude_HEADERS =
|
|
|
|
|
2014-01-23 15:32:05 +01:00
|
|
|
if SANITIZER_SUPPORTED
|
2014-01-09 19:13:39 +01:00
|
|
|
SUBDIRS = sanitizer_common
|
2014-05-14 10:33:45 +02:00
|
|
|
nodist_saninclude_HEADERS += \
|
|
|
|
include/sanitizer/common_interface_defs.h
|
2014-01-09 19:13:39 +01:00
|
|
|
if !USING_MAC_INTERPOSE
|
|
|
|
SUBDIRS += interception
|
2012-11-22 23:03:11 +01:00
|
|
|
endif
|
2014-01-09 19:13:39 +01:00
|
|
|
if LIBBACKTRACE_SUPPORTED
|
|
|
|
SUBDIRS += libbacktrace
|
|
|
|
endif
|
|
|
|
SUBDIRS += lsan asan ubsan
|
2014-05-14 10:33:45 +02:00
|
|
|
nodist_saninclude_HEADERS += \
|
|
|
|
include/sanitizer/lsan_interface.h \
|
|
|
|
include/sanitizer/asan_interface.h
|
2014-01-09 19:13:39 +01:00
|
|
|
if TSAN_SUPPORTED
|
|
|
|
SUBDIRS += tsan
|
2012-12-04 08:00:35 +01:00
|
|
|
endif
|
2014-01-23 15:32:05 +01:00
|
|
|
endif
|
2012-12-04 08:00:35 +01:00
|
|
|
|
2013-12-05 10:56:03 +01:00
|
|
|
## May be used by toolexeclibdir.
|
2017-01-17 10:38:48 +01:00
|
|
|
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
2013-12-05 10:56:03 +01:00
|
|
|
|
2012-12-12 16:41:36 +01:00
|
|
|
# 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
|
|
|
|
# friends when we are called from the top level Makefile.
|
|
|
|
AM_MAKEFLAGS = \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
|
|
|
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
|
|
|
|
"JC1FLAGS=$(JC1FLAGS)" \
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
|
|
|
|
"MAKE=$(MAKE)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
|
|
|
"SHELL=$(SHELL)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"infodir=$(infodir)" \
|
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"includedir=$(includedir)" \
|
|
|
|
"AR=$(AR)" \
|
|
|
|
"AS=$(AS)" \
|
|
|
|
"LD=$(LD)" \
|
|
|
|
"LIBCFLAGS=$(LIBCFLAGS)" \
|
|
|
|
"NM=$(NM)" \
|
|
|
|
"PICFLAG=$(PICFLAG)" \
|
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"DESTDIR=$(DESTDIR)"
|
|
|
|
|
2012-12-12 15:36:27 +01:00
|
|
|
MAKEOVERRIDES=
|
|
|
|
|
2013-11-29 13:30:36 +01:00
|
|
|
nodist_toolexeclib_HEADERS = libsanitizer.spec
|
|
|
|
|
2012-11-12 16:53:47 +01:00
|
|
|
## ################################################################
|
|
|
|
|