Home | History | Annotate | Download | only in x86-linux
      1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
      2 # @configure_input@
      3 
      4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
      5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
      6 # Inc.
      7 # This Makefile.in is free software; the Free Software Foundation
      8 # gives unlimited permission to copy and/or distribute it,
      9 # with or without modifications, as long as this notice is preserved.
     10 
     11 # This program is distributed in the hope that it will be useful,
     12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     14 # PARTICULAR PURPOSE.
     15 
     16 @SET_MAKE@
     17 
     18 # This file is used for tool tests, and also in perf/Makefile.am.
     19 
     20 # This file should be included (directly or indirectly) by every
     21 # Makefile.am that builds programs.  And also the top-level Makefile.am.
     22 
     23 #----------------------------------------------------------------------------
     24 # Global stuff
     25 #----------------------------------------------------------------------------
     26 
     27 
     28 VPATH = @srcdir@
     29 pkgdatadir = $(datadir)/@PACKAGE@
     30 pkgincludedir = $(includedir)/@PACKAGE@
     31 pkglibdir = $(libdir)/@PACKAGE@
     32 pkglibexecdir = $(libexecdir)/@PACKAGE@
     33 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
     34 install_sh_DATA = $(install_sh) -c -m 644
     35 install_sh_PROGRAM = $(install_sh) -c
     36 install_sh_SCRIPT = $(install_sh) -c
     37 INSTALL_HEADER = $(INSTALL_DATA)
     38 transform = $(program_transform_name)
     39 NORMAL_INSTALL = :
     40 PRE_INSTALL = :
     41 POST_INSTALL = :
     42 NORMAL_UNINSTALL = :
     43 PRE_UNINSTALL = :
     44 POST_UNINSTALL = :
     45 build_triplet = @build@
     46 host_triplet = @host@
     47 DIST_COMMON = $(dist_noinst_SCRIPTS) $(noinst_HEADERS) \
     48 	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     49 	$(top_srcdir)/Makefile.all.am \
     50 	$(top_srcdir)/Makefile.tool-tests.am
     51 check_PROGRAMS = bug133694$(EXEEXT) int3-x86$(EXEEXT) scalar$(EXEEXT) \
     52 	scalar_exit_group$(EXEEXT) scalar_fork$(EXEEXT) \
     53 	scalar_supp$(EXEEXT) scalar_vfork$(EXEEXT)
     54 subdir = memcheck/tests/x86-linux
     55 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     56 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     57 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
     58 	$(ACLOCAL_M4)
     59 mkinstalldirs = $(install_sh) -d
     60 CONFIG_HEADER = $(top_builddir)/config.h
     61 CONFIG_CLEAN_FILES =
     62 CONFIG_CLEAN_VPATH_FILES =
     63 bug133694_SOURCES = bug133694.c
     64 bug133694_OBJECTS = bug133694.$(OBJEXT)
     65 bug133694_LDADD = $(LDADD)
     66 int3_x86_SOURCES = int3-x86.c
     67 int3_x86_OBJECTS = int3-x86.$(OBJEXT)
     68 int3_x86_LDADD = $(LDADD)
     69 scalar_SOURCES = scalar.c
     70 scalar_OBJECTS = scalar.$(OBJEXT)
     71 scalar_LDADD = $(LDADD)
     72 scalar_exit_group_SOURCES = scalar_exit_group.c
     73 scalar_exit_group_OBJECTS = scalar_exit_group.$(OBJEXT)
     74 scalar_exit_group_LDADD = $(LDADD)
     75 scalar_fork_SOURCES = scalar_fork.c
     76 scalar_fork_OBJECTS = scalar_fork.$(OBJEXT)
     77 scalar_fork_LDADD = $(LDADD)
     78 scalar_supp_SOURCES = scalar_supp.c
     79 scalar_supp_OBJECTS = scalar_supp.$(OBJEXT)
     80 scalar_supp_LDADD = $(LDADD)
     81 scalar_vfork_SOURCES = scalar_vfork.c
     82 scalar_vfork_OBJECTS = scalar_vfork.$(OBJEXT)
     83 scalar_vfork_LDADD = $(LDADD)
     84 SCRIPTS = $(dist_noinst_SCRIPTS)
     85 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
     86 depcomp = $(SHELL) $(top_srcdir)/depcomp
     87 am__depfiles_maybe = depfiles
     88 am__mv = mv -f
     89 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     90 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     91 CCLD = $(CC)
     92 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
     93 SOURCES = bug133694.c int3-x86.c scalar.c scalar_exit_group.c \
     94 	scalar_fork.c scalar_supp.c scalar_vfork.c
     95 DIST_SOURCES = bug133694.c int3-x86.c scalar.c scalar_exit_group.c \
     96 	scalar_fork.c scalar_supp.c scalar_vfork.c
     97 HEADERS = $(noinst_HEADERS)
     98 ETAGS = etags
     99 CTAGS = ctags
    100 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    101 ACLOCAL = @ACLOCAL@
    102 AMTAR = @AMTAR@
    103 AR = @AR@
    104 AUTOCONF = @AUTOCONF@
    105 AUTOHEADER = @AUTOHEADER@
    106 AUTOMAKE = @AUTOMAKE@
    107 AWK = @AWK@
    108 BOOST_CFLAGS = @BOOST_CFLAGS@
    109 BOOST_LIBS = @BOOST_LIBS@
    110 CC = @CC@
    111 CCAS = @CCAS@
    112 CCASDEPMODE = @CCASDEPMODE@
    113 CCASFLAGS = @CCASFLAGS@
    114 CCDEPMODE = @CCDEPMODE@
    115 CFLAGS = @CFLAGS@
    116 CPP = @CPP@
    117 CPPFLAGS = @CPPFLAGS@
    118 CXX = @CXX@
    119 CXXDEPMODE = @CXXDEPMODE@
    120 CXXFLAGS = @CXXFLAGS@
    121 CYGPATH_W = @CYGPATH_W@
    122 DEFAULT_SUPP = @DEFAULT_SUPP@
    123 DEFS = @DEFS@
    124 DEPDIR = @DEPDIR@
    125 DIFF = @DIFF@
    126 ECHO_C = @ECHO_C@
    127 ECHO_N = @ECHO_N@
    128 ECHO_T = @ECHO_T@
    129 EGREP = @EGREP@
    130 EXEEXT = @EXEEXT@
    131 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@
    132 FLAG_M32 = @FLAG_M32@
    133 FLAG_M64 = @FLAG_M64@
    134 FLAG_MAIX32 = @FLAG_MAIX32@
    135 FLAG_MAIX64 = @FLAG_MAIX64@
    136 FLAG_MMMX = @FLAG_MMMX@
    137 FLAG_MSSE = @FLAG_MSSE@
    138 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@
    139 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@
    140 FLAG_W_EXTRA = @FLAG_W_EXTRA@
    141 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@
    142 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@
    143 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@
    144 GDB = @GDB@
    145 GLIBC_VERSION = @GLIBC_VERSION@
    146 GREP = @GREP@
    147 INSTALL = @INSTALL@
    148 INSTALL_DATA = @INSTALL_DATA@
    149 INSTALL_PROGRAM = @INSTALL_PROGRAM@
    150 INSTALL_SCRIPT = @INSTALL_SCRIPT@
    151 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    152 LDFLAGS = @LDFLAGS@
    153 LIBOBJS = @LIBOBJS@
    154 LIBS = @LIBS@
    155 LN_S = @LN_S@
    156 LTLIBOBJS = @LTLIBOBJS@
    157 MAINT = @MAINT@
    158 MAKEINFO = @MAKEINFO@
    159 MKDIR_P = @MKDIR_P@
    160 MPI_CC = @MPI_CC@
    161 OBJEXT = @OBJEXT@
    162 PACKAGE = @PACKAGE@
    163 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    164 PACKAGE_NAME = @PACKAGE_NAME@
    165 PACKAGE_STRING = @PACKAGE_STRING@
    166 PACKAGE_TARNAME = @PACKAGE_TARNAME@
    167 PACKAGE_URL = @PACKAGE_URL@
    168 PACKAGE_VERSION = @PACKAGE_VERSION@
    169 PATH_SEPARATOR = @PATH_SEPARATOR@
    170 PERL = @PERL@
    171 PKG_CONFIG = @PKG_CONFIG@
    172 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@
    173 QTCORE_CFLAGS = @QTCORE_CFLAGS@
    174 QTCORE_LIBS = @QTCORE_LIBS@
    175 RANLIB = @RANLIB@
    176 SED = @SED@
    177 SET_MAKE = @SET_MAKE@
    178 SHELL = @SHELL@
    179 STRIP = @STRIP@
    180 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@
    181 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@
    182 VERSION = @VERSION@
    183 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
    184 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
    185 VGCONF_OS = @VGCONF_OS@
    186 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
    187 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
    188 abs_builddir = @abs_builddir@
    189 abs_srcdir = @abs_srcdir@
    190 abs_top_builddir = @abs_top_builddir@
    191 abs_top_srcdir = @abs_top_srcdir@
    192 ac_ct_CC = @ac_ct_CC@
    193 ac_ct_CXX = @ac_ct_CXX@
    194 am__include = @am__include@
    195 am__leading_dot = @am__leading_dot@
    196 am__quote = @am__quote@
    197 am__tar = @am__tar@
    198 am__untar = @am__untar@
    199 bindir = @bindir@
    200 build = @build@
    201 build_alias = @build_alias@
    202 build_cpu = @build_cpu@
    203 build_os = @build_os@
    204 build_vendor = @build_vendor@
    205 builddir = @builddir@
    206 datadir = @datadir@
    207 datarootdir = @datarootdir@
    208 docdir = @docdir@
    209 dvidir = @dvidir@
    210 exec_prefix = @exec_prefix@
    211 host = @host@
    212 host_alias = @host_alias@
    213 host_cpu = @host_cpu@
    214 host_os = @host_os@
    215 host_vendor = @host_vendor@
    216 htmldir = @htmldir@
    217 includedir = @includedir@
    218 infodir = @infodir@
    219 install_sh = @install_sh@
    220 libdir = @libdir@
    221 libexecdir = @libexecdir@
    222 localedir = @localedir@
    223 localstatedir = @localstatedir@
    224 mandir = @mandir@
    225 mkdir_p = @mkdir_p@
    226 oldincludedir = @oldincludedir@
    227 pdfdir = @pdfdir@
    228 prefix = @prefix@
    229 program_transform_name = @program_transform_name@
    230 psdir = @psdir@
    231 sbindir = @sbindir@
    232 sharedstatedir = @sharedstatedir@
    233 srcdir = @srcdir@
    234 sysconfdir = @sysconfdir@
    235 target_alias = @target_alias@
    236 top_build_prefix = @top_build_prefix@
    237 top_builddir = @top_builddir@
    238 top_srcdir = @top_srcdir@
    239 inplacedir = $(top_builddir)/.in_place
    240 
    241 #----------------------------------------------------------------------------
    242 # Flags
    243 #----------------------------------------------------------------------------
    244 
    245 # Baseline flags for all compilations.  Aim here is to maximise
    246 # performance and get whatever useful warnings we can out of gcc.
    247 AM_CFLAGS_BASE = \
    248 	-O2 -g \
    249 	-Wall \
    250 	-Wmissing-prototypes \
    251 	-Wshadow \
    252 	-Wpointer-arith \
    253 	-Wstrict-prototypes \
    254 	-Wmissing-declarations \
    255 	@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
    256 	-fno-strict-aliasing
    257 
    258 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing
    259 
    260 # These flags are used for building the preload shared objects.
    261 # The aim is to give reasonable performance but also to have good
    262 # stack traces, since users often see stack traces extending 
    263 # into (and through) the preloads.
    264 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \
    265 @VGCONF_OS_IS_DARWIN_TRUE@		-mno-dynamic-no-pic -fpic -fPIC
    266 
    267 
    268 # Flags for specific targets.
    269 #
    270 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs.
    271 # For building the core, coregrind/Makefile.am files add some extra things.
    272 #
    273 # Also: in newer versions of automake (1.10 onwards?) asm files ending with
    274 # '.S' are considered "pre-processed" (as opposed to those ending in '.s')
    275 # and so the CPPFLAGS are passed to the assembler.  But this is not true for
    276 # older automakes (e.g. 1.8.5, 1.9.6), sigh.  So we include
    277 # AM_CPPFLAGS_<PLATFORM> in each AM_CCASFLAGS_<PLATFORM> variable.  This
    278 # means some of the flags are duplicated on systems with newer versions of
    279 # automake, but this does not really matter and seems hard to avoid.
    280 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \
    281 	-I$(top_srcdir) \
    282 	-I$(top_srcdir)/include \
    283 	-I$(top_srcdir)/VEX/pub \
    284 	-DVGA_@VGCONF_ARCH_PRI@=1 \
    285 	-DVGO_@VGCONF_OS@=1 \
    286 	-DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1
    287 
    288 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \
    289 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir) \
    290 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/include \
    291 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-I$(top_srcdir)/VEX/pub \
    292 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGA_@VGCONF_ARCH_SEC@=1 \
    293 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGO_@VGCONF_OS@=1 \
    294 @VGCONF_HAVE_PLATFORM_SEC_TRUE@	-DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1
    295 
    296 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@
    297 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
    298 			 	$(AM_CFLAGS_BASE)
    299 
    300 AM_CCASFLAGS_X86_LINUX = $(AM_CPPFLAGS_X86_LINUX) @FLAG_M32@ -g
    301 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@
    302 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \
    303 				@PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE)
    304 
    305 AM_CCASFLAGS_AMD64_LINUX = $(AM_CPPFLAGS_AMD64_LINUX) @FLAG_M64@ -g
    306 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@
    307 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE)
    308 AM_CCASFLAGS_PPC32_LINUX = $(AM_CPPFLAGS_PPC32_LINUX) @FLAG_M32@ -g
    309 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@
    310 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
    311 AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
    312 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
    313 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
    314 			 	$(AM_CFLAGS_BASE) -marm
    315 
    316 AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ -marm -g
    317 AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@
    318 AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE)
    319 AM_CCASFLAGS_PPC32_AIX5 = $(AM_CPPFLAGS_PPC32_AIX5) \
    320 			    @FLAG_MAIX32@ -mcpu=powerpc -g
    321 
    322 AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@
    323 AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE)
    324 AM_CCASFLAGS_PPC64_AIX5 = $(AM_CPPFLAGS_PPC64_AIX5) \
    325 			    @FLAG_MAIX64@ -mcpu=powerpc64 -g
    326 
    327 AM_FLAG_M3264_X86_DARWIN = -arch i386
    328 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
    329 				-mmacosx-version-min=10.5 \
    330 				-fno-stack-protector -fno-pic -fno-PIC
    331 
    332 AM_CCASFLAGS_X86_DARWIN = $(AM_CPPFLAGS_X86_DARWIN) -arch i386 -g
    333 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64
    334 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \
    335 			    -mmacosx-version-min=10.5 -fno-stack-protector
    336 
    337 AM_CCASFLAGS_AMD64_DARWIN = $(AM_CPPFLAGS_AMD64_DARWIN) -arch x86_64 -g
    338 
    339 # Flags for the primary target.  These must be used to build the
    340 # regtests and performance tests.  In fact, these must be used to
    341 # build anything which is built only once on a dual-arch build.
    342 #
    343 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@)
    344 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    345 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    346 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
    347 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 
    348 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@)
    349 
    350 # Baseline link flags for making vgpreload shared objects.
    351 #
    352 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared -Wl,-z,interpose,-z,initfirst
    353 PRELOAD_LDFLAGS_COMMON_AIX5 = -nodefaultlibs -shared -Wl,-G -Wl,-bnogc
    354 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load
    355 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    356 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    357 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    358 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@
    359 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@
    360 PRELOAD_LDFLAGS_PPC32_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX32@
    361 PRELOAD_LDFLAGS_PPC64_AIX5 = $(PRELOAD_LDFLAGS_COMMON_AIX5)  @FLAG_MAIX64@
    362 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386
    363 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64
    364 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
    365 		-I$(top_srcdir)/coregrind -I$(top_builddir)/include \
    366 		-I$(top_srcdir)/VEX/pub \
    367 		-DVGA_$(VGCONF_ARCH_PRI)=1 \
    368 		-DVGO_$(VGCONF_OS)=1 \
    369 		-DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1
    370 
    371 # Nb: Tools need to augment these flags with an arch-selection option, such
    372 # as $(AM_FLAG_M3264_PRI).
    373 AM_CFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@ $(FLAG_MMMX) \
    374 	$(FLAG_MSSE)
    375 AM_CXXFLAGS = -Winline -Wall -Wshadow -g @FLAG_M32@ $(FLAG_MMMX) \
    376 	$(FLAG_MSSE)
    377 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of
    378 # automake;  see comments in Makefile.all.am for more detail.
    379 AM_CCASFLAGS = $(AM_CPPFLAGS) @FLAG_M32@
    380 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS)
    381 dist_noinst_SCRIPTS = \
    382 	filter_scalar_exit_group \
    383 	filter_stderr
    384 
    385 noinst_HEADERS = scalar.h
    386 EXTRA_DIST = \
    387 	bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
    388 	int3-x86.vgtest int3-x86.stderr.exp int3-x86.stdout.exp \
    389 	scalar.stderr.exp scalar.vgtest \
    390 	scalar_fork.stderr.exp scalar_fork.vgtest \
    391 	scalar_exit_group.stderr.exp \
    392 	scalar_exit_group.vgtest \
    393 	scalar_supp.stderr.exp \
    394 	scalar_supp.vgtest scalar_supp.supp \
    395 	scalar_vfork.stderr.exp scalar_vfork.vgtest
    396 
    397 all: all-am
    398 
    399 .SUFFIXES:
    400 .SUFFIXES: .c .o .obj
    401 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps)
    402 	@for dep in $?; do \
    403 	  case '$(am__configure_deps)' in \
    404 	    *$$dep*) \
    405 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
    406 	        && { if test -f $@; then exit 0; else break; fi; }; \
    407 	      exit 1;; \
    408 	  esac; \
    409 	done; \
    410 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign memcheck/tests/x86-linux/Makefile'; \
    411 	$(am__cd) $(top_srcdir) && \
    412 	  $(AUTOMAKE) --foreign memcheck/tests/x86-linux/Makefile
    413 .PRECIOUS: Makefile
    414 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    415 	@case '$?' in \
    416 	  *config.status*) \
    417 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    418 	  *) \
    419 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    420 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    421 	esac;
    422 
    423 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    424 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    425 
    426 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
    427 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    428 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    429 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    430 $(am__aclocal_m4_deps):
    431 
    432 clean-checkPROGRAMS:
    433 	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
    434 bug133694$(EXEEXT): $(bug133694_OBJECTS) $(bug133694_DEPENDENCIES) 
    435 	@rm -f bug133694$(EXEEXT)
    436 	$(LINK) $(bug133694_OBJECTS) $(bug133694_LDADD) $(LIBS)
    437 int3-x86$(EXEEXT): $(int3_x86_OBJECTS) $(int3_x86_DEPENDENCIES) 
    438 	@rm -f int3-x86$(EXEEXT)
    439 	$(LINK) $(int3_x86_OBJECTS) $(int3_x86_LDADD) $(LIBS)
    440 scalar$(EXEEXT): $(scalar_OBJECTS) $(scalar_DEPENDENCIES) 
    441 	@rm -f scalar$(EXEEXT)
    442 	$(LINK) $(scalar_OBJECTS) $(scalar_LDADD) $(LIBS)
    443 scalar_exit_group$(EXEEXT): $(scalar_exit_group_OBJECTS) $(scalar_exit_group_DEPENDENCIES) 
    444 	@rm -f scalar_exit_group$(EXEEXT)
    445 	$(LINK) $(scalar_exit_group_OBJECTS) $(scalar_exit_group_LDADD) $(LIBS)
    446 scalar_fork$(EXEEXT): $(scalar_fork_OBJECTS) $(scalar_fork_DEPENDENCIES) 
    447 	@rm -f scalar_fork$(EXEEXT)
    448 	$(LINK) $(scalar_fork_OBJECTS) $(scalar_fork_LDADD) $(LIBS)
    449 scalar_supp$(EXEEXT): $(scalar_supp_OBJECTS) $(scalar_supp_DEPENDENCIES) 
    450 	@rm -f scalar_supp$(EXEEXT)
    451 	$(LINK) $(scalar_supp_OBJECTS) $(scalar_supp_LDADD) $(LIBS)
    452 scalar_vfork$(EXEEXT): $(scalar_vfork_OBJECTS) $(scalar_vfork_DEPENDENCIES) 
    453 	@rm -f scalar_vfork$(EXEEXT)
    454 	$(LINK) $(scalar_vfork_OBJECTS) $(scalar_vfork_LDADD) $(LIBS)
    455 
    456 mostlyclean-compile:
    457 	-rm -f *.$(OBJEXT)
    458 
    459 distclean-compile:
    460 	-rm -f *.tab.c
    461 
    462 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bug133694.Po@am__quote@
    463 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int3-x86.Po@am__quote@
    464 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar.Po@am__quote@
    465 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_exit_group.Po@am__quote@
    466 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_fork.Po@am__quote@
    467 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_supp.Po@am__quote@
    468 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scalar_vfork.Po@am__quote@
    469 
    470 .c.o:
    471 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
    472 @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
    473 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    474 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    475 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
    476 
    477 .c.obj:
    478 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
    479 @am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
    480 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    481 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    482 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
    483 
    484 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    485 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    486 	unique=`for i in $$list; do \
    487 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    488 	  done | \
    489 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    490 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    491 	mkid -fID $$unique
    492 tags: TAGS
    493 
    494 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    495 		$(TAGS_FILES) $(LISP)
    496 	set x; \
    497 	here=`pwd`; \
    498 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    499 	unique=`for i in $$list; do \
    500 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    501 	  done | \
    502 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    503 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    504 	shift; \
    505 	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
    506 	  test -n "$$unique" || unique=$$empty_fix; \
    507 	  if test $$# -gt 0; then \
    508 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    509 	      "$$@" $$unique; \
    510 	  else \
    511 	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    512 	      $$unique; \
    513 	  fi; \
    514 	fi
    515 ctags: CTAGS
    516 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    517 		$(TAGS_FILES) $(LISP)
    518 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    519 	unique=`for i in $$list; do \
    520 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    521 	  done | \
    522 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    523 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
    524 	test -z "$(CTAGS_ARGS)$$unique" \
    525 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    526 	     $$unique
    527 
    528 GTAGS:
    529 	here=`$(am__cd) $(top_builddir) && pwd` \
    530 	  && $(am__cd) $(top_srcdir) \
    531 	  && gtags -i $(GTAGS_ARGS) "$$here"
    532 
    533 distclean-tags:
    534 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    535 
    536 distdir: $(DISTFILES)
    537 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    538 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    539 	list='$(DISTFILES)'; \
    540 	  dist_files=`for file in $$list; do echo $$file; done | \
    541 	  sed -e "s|^$$srcdirstrip/||;t" \
    542 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
    543 	case $$dist_files in \
    544 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
    545 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
    546 			   sort -u` ;; \
    547 	esac; \
    548 	for file in $$dist_files; do \
    549 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
    550 	  if test -d $$d/$$file; then \
    551 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
    552 	    if test -d "$(distdir)/$$file"; then \
    553 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    554 	    fi; \
    555 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
    556 	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
    557 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
    558 	    fi; \
    559 	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
    560 	  else \
    561 	    test -f "$(distdir)/$$file" \
    562 	    || cp -p $$d/$$file "$(distdir)/$$file" \
    563 	    || exit 1; \
    564 	  fi; \
    565 	done
    566 check-am: all-am
    567 	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
    568 	$(MAKE) $(AM_MAKEFLAGS) check-local
    569 check: check-am
    570 all-am: Makefile $(SCRIPTS) $(HEADERS)
    571 installdirs:
    572 install: install-am
    573 install-exec: install-exec-am
    574 install-data: install-data-am
    575 uninstall: uninstall-am
    576 
    577 install-am: all-am
    578 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    579 
    580 installcheck: installcheck-am
    581 install-strip:
    582 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
    583 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
    584 	  `test -z '$(STRIP)' || \
    585 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
    586 mostlyclean-generic:
    587 
    588 clean-generic:
    589 
    590 distclean-generic:
    591 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    592 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    593 
    594 maintainer-clean-generic:
    595 	@echo "This command is intended for maintainers to use"
    596 	@echo "it deletes files that may require special tools to rebuild."
    597 clean: clean-am
    598 
    599 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am
    600 
    601 distclean: distclean-am
    602 	-rm -rf ./$(DEPDIR)
    603 	-rm -f Makefile
    604 distclean-am: clean-am distclean-compile distclean-generic \
    605 	distclean-tags
    606 
    607 dvi: dvi-am
    608 
    609 dvi-am:
    610 
    611 html: html-am
    612 
    613 html-am:
    614 
    615 info: info-am
    616 
    617 info-am:
    618 
    619 install-data-am:
    620 
    621 install-dvi: install-dvi-am
    622 
    623 install-dvi-am:
    624 
    625 install-exec-am:
    626 
    627 install-html: install-html-am
    628 
    629 install-html-am:
    630 
    631 install-info: install-info-am
    632 
    633 install-info-am:
    634 
    635 install-man:
    636 
    637 install-pdf: install-pdf-am
    638 
    639 install-pdf-am:
    640 
    641 install-ps: install-ps-am
    642 
    643 install-ps-am:
    644 
    645 installcheck-am:
    646 
    647 maintainer-clean: maintainer-clean-am
    648 	-rm -rf ./$(DEPDIR)
    649 	-rm -f Makefile
    650 maintainer-clean-am: distclean-am maintainer-clean-generic
    651 
    652 mostlyclean: mostlyclean-am
    653 
    654 mostlyclean-am: mostlyclean-compile mostlyclean-generic
    655 
    656 pdf: pdf-am
    657 
    658 pdf-am:
    659 
    660 ps: ps-am
    661 
    662 ps-am:
    663 
    664 uninstall-am:
    665 
    666 .MAKE: check-am install-am install-strip
    667 
    668 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
    669 	clean-checkPROGRAMS clean-generic clean-local ctags distclean \
    670 	distclean-compile distclean-generic distclean-tags distdir dvi \
    671 	dvi-am html html-am info info-am install install-am \
    672 	install-data install-data-am install-dvi install-dvi-am \
    673 	install-exec install-exec-am install-html install-html-am \
    674 	install-info install-info-am install-man install-pdf \
    675 	install-pdf-am install-ps install-ps-am install-strip \
    676 	installcheck installcheck-am installdirs maintainer-clean \
    677 	maintainer-clean-generic mostlyclean mostlyclean-compile \
    678 	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
    679 	uninstall-am
    680 
    681 
    682 # This used to be required when Vex had a handwritten Makefile.  It
    683 # shouldn't be needed any more, though.
    684 
    685 #----------------------------------------------------------------------------
    686 # noinst_PROGRAMS and noinst_DSYMS targets
    687 #----------------------------------------------------------------------------
    688 
    689 # On Darwin, for a program 'p', the DWARF debug info is stored in the
    690 # directory 'p.dSYM'.  This must be generated after the executable is
    691 # created, with 'dsymutil p'.  We could redefine LINK with a script that
    692 # executes 'dsymutil' after linking, but that's a pain.  Instead we use this
    693 # hook so that every time "make check" is run, we subsequently invoke
    694 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are
    695 # newer than their corresponding .dSYM directory.
    696 build-noinst_DSYMS: $(noinst_DSYMS)
    697 	for f in $(noinst_DSYMS); do \
    698 	  if [ ! -e $$f.dSYM  -o  $$f -nt $$f.dSYM ] ; then \
    699 	      echo "dsymutil $$f"; \
    700 	      dsymutil $$f; \
    701 	  fi; \
    702 	done
    703 
    704 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing
    705 # "in-place" installs.  It copies $(noinst_PROGRAMS) into $inplacedir.
    706 # It needs to be depended on by an 'all-local' rule.
    707 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS)
    708 	mkdir -p $(inplacedir); \
    709 	for f in $(noinst_PROGRAMS) ; do \
    710 	  rm -f $(inplacedir)/$$f; \
    711 	  ln -f -s ../$(subdir)/$$f $(inplacedir); \
    712 	done
    713 
    714 # Similar to inplace-noinst_PROGRAMS
    715 inplace-noinst_DSYMS: build-noinst_DSYMS
    716 	mkdir -p $(inplacedir); \
    717 	for f in $(noinst_DSYMS); do \
    718 	  rm -f $(inplacedir)/$$f.dSYM; \
    719 	  ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \
    720 	done
    721 
    722 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
    723 # "make install".  It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/.
    724 # It needs to be depended on by an 'install-exec-local' rule.
    725 install-noinst_PROGRAMS: $(noinst_PROGRAMS)
    726 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
    727 	for f in $(noinst_PROGRAMS); do \
    728 	  $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
    729 	done
    730 
    731 # Similar to install-noinst_PROGRAMS.
    732 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
    733 # directories.  XXX: not sure whether the resulting permissions will be
    734 # correct when using 'cp -R'...
    735 install-noinst_DSYMS: build-noinst_DSYMS
    736 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir); \
    737 	for f in $(noinst_DSYMS); do \
    738 	  cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
    739 	done
    740 
    741 # This needs to be depended on by a 'clean-local' rule.
    742 clean-noinst_DSYMS:
    743 	for f in $(noinst_DSYMS); do \
    744 	  rm -rf $$f.dSYM; \
    745 	done
    746 
    747 check-local: build-noinst_DSYMS
    748 
    749 clean-local: clean-noinst_DSYMS
    750 
    751 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    752 # Otherwise a system limit (for SysV at least) may be exceeded.
    753 .NOEXPORT:
    754