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