1 AM_CPPFLAGS = -I $(top_srcdir)/include -I $(top_srcdir)
3 DEFS = -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DASAN_HAS_EXCEPTIONS=1 -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 -DASAN_NEEDS_SEGV=1
4 AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -Wno-c99-extensions
5 ACLOCAL_AMFLAGS = -I m4
7 toolexeclib_LTLIBRARIES = libasan.la
11 asan_interceptors.cc \
18 asan_thread_registry.cc \
21 asan_malloc_linux.cc \
29 libasan_la_SOURCES = $(asan_files)
30 libasan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la $(top_builddir)/interception/libinterception.la $(top_builddir)/../libstdc++-v3/src/libstdc++.la
31 libasan_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lpthread -ldl
33 # Work around what appears to be a GNU make bug handling MAKEFLAGS
34 # values defined in terms of make variables, as is the case for CC and
35 # friends when we are called from the top level Makefile.
37 "AR_FLAGS=$(AR_FLAGS)" \
38 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
40 "CXXFLAGS=$(CXXFLAGS)" \
41 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
42 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
43 "INSTALL=$(INSTALL)" \
44 "INSTALL_DATA=$(INSTALL_DATA)" \
45 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
46 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
47 "JC1FLAGS=$(JC1FLAGS)" \
48 "LDFLAGS=$(LDFLAGS)" \
49 "LIBCFLAGS=$(LIBCFLAGS)" \
50 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
52 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
53 "PICFLAG=$(PICFLAG)" \
54 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
56 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
57 "exec_prefix=$(exec_prefix)" \
58 "infodir=$(infodir)" \
61 "includedir=$(includedir)" \
67 "LIBCFLAGS=$(LIBCFLAGS)" \
69 "PICFLAG=$(PICFLAG)" \
75 ## ################################################################