Concretize gimple_call_set_fntype
[official-gcc.git] / libsanitizer / lsan / Makefile.am
blob7a508c12686606534664f56422e0653330136bbc
1 AM_CPPFLAGS = -I $(top_srcdir)/include -I $(top_srcdir)
2  
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 noinst_LTLIBRARIES = libsanitizer_lsan.la
12 if LSAN_SUPPORTED
13 toolexeclib_LTLIBRARIES = liblsan.la
14 endif
16 sanitizer_lsan_files = \
17         lsan_common.cc \
18         lsan_common_linux.cc
20 lsan_files = \
21         $(sanitizer_lsan_files) \
22         lsan.cc \
23         lsan_allocator.cc \
24         lsan_interceptors.cc \
25         lsan_preinit.cc \
26         lsan_thread.cc
28 libsanitizer_lsan_la_SOURCES = $(sanitizer_lsan_files)
30 liblsan_la_SOURCES = $(lsan_files)
31 liblsan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la $(top_builddir)/interception/libinterception.la
32 if LIBBACKTRACE_SUPPORTED
33 liblsan_la_LIBADD += $(top_builddir)/libbacktrace/libsanitizer_libbacktrace.la
34 endif
35 liblsan_la_LIBADD += $(LIBSTDCXX_RAW_CXX_LDFLAGS)
36 liblsan_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(link_liblsan)
38 # Work around what appears to be a GNU make bug handling MAKEFLAGS
39 # values defined in terms of make variables, as is the case for CC and
40 # friends when we are called from the top level Makefile.
41 AM_MAKEFLAGS = \
42         "AR_FLAGS=$(AR_FLAGS)" \
43         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
44         "CFLAGS=$(CFLAGS)" \
45         "CXXFLAGS=$(CXXFLAGS)" \
46         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
47         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
48         "INSTALL=$(INSTALL)" \
49         "INSTALL_DATA=$(INSTALL_DATA)" \
50         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
51         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
52         "JC1FLAGS=$(JC1FLAGS)" \
53         "LDFLAGS=$(LDFLAGS)" \
54         "LIBCFLAGS=$(LIBCFLAGS)" \
55         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
56         "MAKE=$(MAKE)" \
57         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
58         "PICFLAG=$(PICFLAG)" \
59         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
60         "SHELL=$(SHELL)" \
61         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
62         "exec_prefix=$(exec_prefix)" \
63         "infodir=$(infodir)" \
64         "libdir=$(libdir)" \
65         "prefix=$(prefix)" \
66         "includedir=$(includedir)" \
67         "AR=$(AR)" \
68         "AS=$(AS)" \
69         "LD=$(LD)" \
70         "LIBCFLAGS=$(LIBCFLAGS)" \
71         "NM=$(NM)" \
72         "PICFLAG=$(PICFLAG)" \
73         "RANLIB=$(RANLIB)" \
74         "DESTDIR=$(DESTDIR)"
76 MAKEOVERRIDES=
78 ## ################################################################