gcc-dg.exp (dg-build-dso): Reset dg-do-what-default to compile.
[gcc.git] / libsanitizer / Makefile.am
1 ACLOCAL_AMFLAGS = -I .. -I ../config
2
3 if SANITIZER_SUPPORTED
4 SUBDIRS = sanitizer_common
5 if !USING_MAC_INTERPOSE
6 SUBDIRS += interception
7 endif
8 if LIBBACKTRACE_SUPPORTED
9 SUBDIRS += libbacktrace
10 endif
11 SUBDIRS += lsan asan ubsan
12 if TSAN_SUPPORTED
13 SUBDIRS += tsan
14 endif
15 endif
16
17 ## May be used by toolexeclibdir.
18 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
19
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.
23 AM_MAKEFLAGS = \
24 "AR_FLAGS=$(AR_FLAGS)" \
25 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
26 "CFLAGS=$(CFLAGS)" \
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)" \
38 "MAKE=$(MAKE)" \
39 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
40 "PICFLAG=$(PICFLAG)" \
41 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
42 "SHELL=$(SHELL)" \
43 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
44 "exec_prefix=$(exec_prefix)" \
45 "infodir=$(infodir)" \
46 "libdir=$(libdir)" \
47 "prefix=$(prefix)" \
48 "includedir=$(includedir)" \
49 "AR=$(AR)" \
50 "AS=$(AS)" \
51 "LD=$(LD)" \
52 "LIBCFLAGS=$(LIBCFLAGS)" \
53 "NM=$(NM)" \
54 "PICFLAG=$(PICFLAG)" \
55 "RANLIB=$(RANLIB)" \
56 "DESTDIR=$(DESTDIR)"
57
58 MAKEOVERRIDES=
59
60 nodist_toolexeclib_HEADERS = libsanitizer.spec
61
62 ## ################################################################
63