* include/bits/allocator.h (operator==, operator!=): Add exception
[official-gcc.git] / libsanitizer / tsan / Makefile.am
blob39ed2529c2c77782236f371286b22a3ff6c53048
1 AM_CPPFLAGS = -I $(top_srcdir) -I $(top_srcdir)/include
3 # May be used by toolexeclibdir.
4 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
6 DEFS = -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
7 AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long  -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros
8 AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
9 ACLOCAL_AMFLAGS = -I m4
11 toolexeclib_LTLIBRARIES = libtsan.la
13 tsan_files = \
14         tsan_clock.cc \
15         tsan_interface_atomic.cc \
16         tsan_mutex.cc \
17         tsan_report.cc \
18         tsan_rtl_thread.cc \
19         tsan_symbolize.cc \
20         tsan_flags.cc \
21         tsan_interface.cc \
22         tsan_platform_linux.cc \
23         tsan_rtl.cc \
24         tsan_stat.cc \
25         tsan_sync.cc \
26         tsan_ignoreset.cc \
27         tsan_interceptors.cc \
28         tsan_md5.cc \
29         tsan_platform_mac.cc \
30         tsan_rtl_mutex.cc \
31         tsan_suppressions.cc \
32         tsan_interface_ann.cc \
33         tsan_mman.cc \
34         tsan_rtl_report.cc \
35         tsan_fd.cc \
36         tsan_interface_java.cc \
37         tsan_mutexset.cc \
38         tsan_symbolize_addr2line_linux.cc \
39         tsan_rtl_amd64.S
41 libtsan_la_SOURCES = $(tsan_files) 
42 libtsan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la $(top_builddir)/interception/libinterception.la
43 if LIBBACKTRACE_SUPPORTED
44 libtsan_la_LIBADD += $(top_builddir)/libbacktrace/libsanitizer_libbacktrace.la
45 endif
46 libtsan_la_LIBADD += $(LIBSTDCXX_RAW_CXX_LDFLAGS)
47 libtsan_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(link_libtsan)
49 # Work around what appears to be a GNU make bug handling MAKEFLAGS
50 # values defined in terms of make variables, as is the case for CC and
51 # friends when we are called from the top level Makefile.
52 AM_MAKEFLAGS = \
53         "AR_FLAGS=$(AR_FLAGS)" \
54         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
55         "CFLAGS=$(CFLAGS)" \
56         "CXXFLAGS=$(CXXFLAGS)" \
57         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
58         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
59         "INSTALL=$(INSTALL)" \
60         "INSTALL_DATA=$(INSTALL_DATA)" \
61         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
62         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
63         "JC1FLAGS=$(JC1FLAGS)" \
64         "LDFLAGS=$(LDFLAGS)" \
65         "LIBCFLAGS=$(LIBCFLAGS)" \
66         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
67         "MAKE=$(MAKE)" \
68         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
69         "PICFLAG=$(PICFLAG)" \
70         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
71         "SHELL=$(SHELL)" \
72         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
73         "exec_prefix=$(exec_prefix)" \
74         "infodir=$(infodir)" \
75         "libdir=$(libdir)" \
76         "prefix=$(prefix)" \
77         "includedir=$(includedir)" \
78         "AR=$(AR)" \
79         "AS=$(AS)" \
80         "LD=$(LD)" \
81         "LIBCFLAGS=$(LIBCFLAGS)" \
82         "NM=$(NM)" \
83         "PICFLAG=$(PICFLAG)" \
84         "RANLIB=$(RANLIB)" \
85         "DESTDIR=$(DESTDIR)"
87 MAKEOVERRIDES=
89 ## ################################################################