]>
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 | |
17 | SUBDIRS += lsan asan ubsan | |
2675305b YG |
18 | nodist_saninclude_HEADERS += \ |
19 | include/sanitizer/lsan_interface.h \ | |
20 | include/sanitizer/asan_interface.h | |
c915a581 JJ |
21 | if TSAN_SUPPORTED |
22 | SUBDIRS += tsan | |
8c4d267c | 23 | endif |
4a7eaf5f | 24 | endif |
8c4d267c | 25 | |
666ee4d6 YG |
26 | ## May be used by toolexeclibdir. |
27 | gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) | |
28 | ||
b488a2c7 L |
29 | # Work around what appears to be a GNU make bug handling MAKEFLAGS |
30 | # values defined in terms of make variables, as is the case for CC and | |
31 | # friends when we are called from the top level Makefile. | |
32 | AM_MAKEFLAGS = \ | |
33 | "AR_FLAGS=$(AR_FLAGS)" \ | |
34 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | |
35 | "CFLAGS=$(CFLAGS)" \ | |
36 | "CXXFLAGS=$(CXXFLAGS)" \ | |
37 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ | |
38 | "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ | |
39 | "INSTALL=$(INSTALL)" \ | |
40 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
41 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
42 | "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ | |
43 | "JC1FLAGS=$(JC1FLAGS)" \ | |
44 | "LDFLAGS=$(LDFLAGS)" \ | |
45 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
46 | "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ | |
47 | "MAKE=$(MAKE)" \ | |
48 | "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ | |
49 | "PICFLAG=$(PICFLAG)" \ | |
50 | "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ | |
51 | "SHELL=$(SHELL)" \ | |
52 | "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ | |
53 | "exec_prefix=$(exec_prefix)" \ | |
54 | "infodir=$(infodir)" \ | |
55 | "libdir=$(libdir)" \ | |
56 | "prefix=$(prefix)" \ | |
57 | "includedir=$(includedir)" \ | |
58 | "AR=$(AR)" \ | |
59 | "AS=$(AS)" \ | |
60 | "LD=$(LD)" \ | |
61 | "LIBCFLAGS=$(LIBCFLAGS)" \ | |
62 | "NM=$(NM)" \ | |
63 | "PICFLAG=$(PICFLAG)" \ | |
64 | "RANLIB=$(RANLIB)" \ | |
65 | "DESTDIR=$(DESTDIR)" | |
66 | ||
e8adb21b L |
67 | MAKEOVERRIDES= |
68 | ||
35814b03 JJ |
69 | nodist_toolexeclib_HEADERS = libsanitizer.spec |
70 | ||
f35db108 WM |
71 | ## ################################################################ |
72 |