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