Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / libsanitizer / interception / Makefile.am
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)
5
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 -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros
8 AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
9 ACLOCAL_AMFLAGS = -I m4
10
11 noinst_LTLIBRARIES = libinterception.la
12
13 interception_files = \
14         interception_linux.cc \
15         interception_mac.cc \
16         interception_win.cc \
17         interception_type_test.cc
18
19 libinterception_la_SOURCES = $(interception_files)
20
21 # Work around what appears to be a GNU make bug handling MAKEFLAGS
22 # values defined in terms of make variables, as is the case for CC and
23 # friends when we are called from the top level Makefile.
24 AM_MAKEFLAGS = \
25         "AR_FLAGS=$(AR_FLAGS)" \
26         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
27         "CFLAGS=$(CFLAGS)" \
28         "CXXFLAGS=$(CXXFLAGS)" \
29         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
30         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
31         "INSTALL=$(INSTALL)" \
32         "INSTALL_DATA=$(INSTALL_DATA)" \
33         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
34         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
35         "JC1FLAGS=$(JC1FLAGS)" \
36         "LDFLAGS=$(LDFLAGS)" \
37         "LIBCFLAGS=$(LIBCFLAGS)" \
38         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
39         "MAKE=$(MAKE)" \
40         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
41         "PICFLAG=$(PICFLAG)" \
42         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
43         "SHELL=$(SHELL)" \
44         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
45         "exec_prefix=$(exec_prefix)" \
46         "infodir=$(infodir)" \
47         "libdir=$(libdir)" \
48         "prefix=$(prefix)" \
49         "includedir=$(includedir)" \
50         "AR=$(AR)" \
51         "AS=$(AS)" \
52         "LD=$(LD)" \
53         "LIBCFLAGS=$(LIBCFLAGS)" \
54         "NM=$(NM)" \
55         "PICFLAG=$(PICFLAG)" \
56         "RANLIB=$(RANLIB)" \
57         "DESTDIR=$(DESTDIR)"
58
59 MAKEOVERRIDES=
60
61 ## ################################################################
62