]>
Commit | Line | Data |
---|---|---|
a2479b3d L |
1 | ACLOCAL_AMFLAGS = -I .. -I ../config |
2 | ||
2675305b YG |
3 | sanincludedir = $(libdir)/gcc/$(target_alias)/$(gcc_version)/include/sanitizer |
4 | ||
5 | nodist_saninclude_HEADERS = | |
6 | ||
4a7eaf5f | 7 | if SANITIZER_SUPPORTED |
c915a581 | 8 | SUBDIRS = sanitizer_common |
2675305b YG |
9 | nodist_saninclude_HEADERS += \ |
10 | include/sanitizer/common_interface_defs.h | |
c915a581 JJ |
11 | if !USING_MAC_INTERPOSE |
12 | SUBDIRS += interception | |
cd0be65c | 13 | endif |
c915a581 JJ |
14 | if LIBBACKTRACE_SUPPORTED |
15 | SUBDIRS += libbacktrace | |
16 | endif | |
bdfc619e | 17 | SUBDIRS += lsan asan ubsan |
2675305b YG |
18 | nodist_saninclude_HEADERS += \ |
19 | include/sanitizer/lsan_interface.h \ | |
5d3805fc JJ |
20 | include/sanitizer/asan_interface.h \ |
21 | include/sanitizer/tsan_interface.h | |
c915a581 JJ |
22 | if TSAN_SUPPORTED |
23 | SUBDIRS += tsan | |
8c4d267c | 24 | endif |
4a7eaf5f | 25 | endif |
8c4d267c | 26 | |
666ee4d6 | 27 | ## May be used by toolexeclibdir. |
3c36aa6b | 28 | gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER) |
666ee4d6 | 29 | |
b488a2c7 L |
30 | # Work around what appears to be a GNU make bug handling MAKEFLAGS |
31 | # values defined in terms of make variables, as is the case for CC and | |
32 | # friends when we are called from the top level Makefile. | |
33 | AM_MAKEFLAGS = \ | |
34 | "AR_FLAGS=$(AR_FLAGS)" \ | |
35 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
36 | "CFLAGS=$(CFLAGS)" \ | |
37 | "CXXFLAGS=$(CXXFLAGS)" \ | |
38 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ | |
39 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
40 | "INSTALL=$(INSTALL)" \ | |
41 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
42 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
43 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ | |
44 | "JC1FLAGS=$(JC1FLAGS)" \ | |
45 | "LDFLAGS=$(LDFLAGS)" \ | |
46 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
47 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ | |
48 | "MAKE=$(MAKE)" \ | |
49 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ | |
50 | "PICFLAG=$(PICFLAG)" \ | |
51 | "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ | |
52 | "SHELL=$(SHELL)" \ | |
53 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
54 | "exec_prefix=$(exec_prefix)" \ | |
55 | "infodir=$(infodir)" \ | |
56 | "libdir=$(libdir)" \ | |
57 | "prefix=$(prefix)" \ | |
58 | "includedir=$(includedir)" \ | |
59 | "AR=$(AR)" \ | |
60 | "AS=$(AS)" \ | |
61 | "LD=$(LD)" \ | |
62 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
63 | "NM=$(NM)" \ | |
64 | "PICFLAG=$(PICFLAG)" \ | |
65 | "RANLIB=$(RANLIB)" \ | |
66 | "DESTDIR=$(DESTDIR)" | |
67 | ||
e8adb21b L |
68 | MAKEOVERRIDES= |
69 | ||
35814b03 JJ |
70 | nodist_toolexeclib_HEADERS = libsanitizer.spec |
71 | ||
f35db108 WM |
72 | ## ################################################################ |
73 | ||
22e05272 | 74 | include $(top_srcdir)/../multilib.am |