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