1 # Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software 6 # Foundation, 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 @HAS_WRITE_STRINGS_WARNING_TRUE@am__append_3 = -Wno-write-strings 58 @COMPILER_IS_CLANG_TRUE@am__append_4 = -Wno-format-extra-args \ 59 @COMPILER_IS_CLANG_TRUE@ -Wno-literal-range \ 60 @COMPILER_IS_CLANG_TRUE@ -Wno-string-plus-int # \ 61 @COMPILER_IS_CLANG_TRUE@ drd/tests/annotate_ignore_rw.c 62 @COMPILER_IS_CLANG_TRUE@am__append_5 = -Wno-unused-private-field # drd/tests/tsan_unittest.cpp 63 @VGCONF_ARCHS_INCLUDE_X86_TRUE@am__append_6 = x86 64 check_PROGRAMS = chdir$(EXEEXT) clreq$(EXEEXT) dlclose$(EXEEXT) \ 65 myprint.so$(EXEEXT) 66 subdir = cachegrind/tests 67 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 68 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 69 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 70 $(ACLOCAL_M4) 71 mkinstalldirs = $(install_sh) -d 72 CONFIG_HEADER = $(top_builddir)/config.h 73 CONFIG_CLEAN_FILES = 74 CONFIG_CLEAN_VPATH_FILES = 75 chdir_SOURCES = chdir.c 76 chdir_OBJECTS = chdir.$(OBJEXT) 77 chdir_LDADD = $(LDADD) 78 clreq_SOURCES = clreq.c 79 clreq_OBJECTS = clreq.$(OBJEXT) 80 clreq_LDADD = $(LDADD) 81 dlclose_SOURCES = dlclose.c 82 dlclose_OBJECTS = dlclose.$(OBJEXT) 83 dlclose_DEPENDENCIES = 84 myprint_so_SOURCES = myprint.c 85 myprint_so_OBJECTS = myprint_so-myprint.$(OBJEXT) 86 myprint_so_LDADD = $(LDADD) 87 myprint_so_LINK = $(CCLD) $(myprint_so_CFLAGS) $(CFLAGS) \ 88 $(myprint_so_LDFLAGS) $(LDFLAGS) -o $@ 89 SCRIPTS = $(dist_noinst_SCRIPTS) 90 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 91 depcomp = $(SHELL) $(top_srcdir)/depcomp 92 am__depfiles_maybe = depfiles 93 am__mv = mv -f 94 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 95 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 96 CCLD = $(CC) 97 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 98 SOURCES = chdir.c clreq.c dlclose.c myprint.c 99 DIST_SOURCES = chdir.c clreq.c dlclose.c myprint.c 100 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 101 html-recursive info-recursive install-data-recursive \ 102 install-dvi-recursive install-exec-recursive \ 103 install-html-recursive install-info-recursive \ 104 install-pdf-recursive install-ps-recursive install-recursive \ 105 installcheck-recursive installdirs-recursive pdf-recursive \ 106 ps-recursive uninstall-recursive 107 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 108 distclean-recursive maintainer-clean-recursive 109 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 110 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 111 distdir 112 ETAGS = etags 113 CTAGS = ctags 114 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 115 am__relativize = \ 116 dir0=`pwd`; \ 117 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 118 sed_rest='s,^[^/]*/*,,'; \ 119 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 120 sed_butlast='s,/*[^/]*$$,,'; \ 121 while test -n "$$dir1"; do \ 122 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 123 if test "$$first" != "."; then \ 124 if test "$$first" = ".."; then \ 125 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 126 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 127 else \ 128 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 129 if test "$$first2" = "$$first"; then \ 130 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 131 else \ 132 dir2="../$$dir2"; \ 133 fi; \ 134 dir0="$$dir0"/"$$first"; \ 135 fi; \ 136 fi; \ 137 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 138 done; \ 139 reldir="$$dir2" 140 ACLOCAL = @ACLOCAL@ 141 AMTAR = @AMTAR@ 142 AR = @AR@ 143 AUTOCONF = @AUTOCONF@ 144 AUTOHEADER = @AUTOHEADER@ 145 AUTOMAKE = @AUTOMAKE@ 146 AWK = @AWK@ 147 BOOST_CFLAGS = @BOOST_CFLAGS@ 148 BOOST_LIBS = @BOOST_LIBS@ 149 CC = @CC@ 150 CCAS = @CCAS@ 151 CCASDEPMODE = @CCASDEPMODE@ 152 CCASFLAGS = @CCASFLAGS@ 153 CCDEPMODE = @CCDEPMODE@ 154 CFLAGS = @CFLAGS@ $(am__append_3) $(am__append_4) 155 CFLAGS_MPI = @CFLAGS_MPI@ 156 CPP = @CPP@ 157 CPPFLAGS = @CPPFLAGS@ 158 CXX = @CXX@ 159 CXXDEPMODE = @CXXDEPMODE@ 160 CXXFLAGS = @CXXFLAGS@ $(am__append_5) 161 CYGPATH_W = @CYGPATH_W@ 162 DEFAULT_SUPP = @DEFAULT_SUPP@ 163 DEFS = @DEFS@ 164 DEPDIR = @DEPDIR@ 165 DIFF = @DIFF@ 166 ECHO_C = @ECHO_C@ 167 ECHO_N = @ECHO_N@ 168 ECHO_T = @ECHO_T@ 169 EGREP = @EGREP@ 170 EXEEXT = @EXEEXT@ 171 FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ 172 FLAG_M32 = @FLAG_M32@ 173 FLAG_M64 = @FLAG_M64@ 174 FLAG_MIPS32 = @FLAG_MIPS32@ 175 FLAG_MIPS64 = @FLAG_MIPS64@ 176 FLAG_MMMX = @FLAG_MMMX@ 177 FLAG_MSSE = @FLAG_MSSE@ 178 FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ 179 FLAG_OCTEON = @FLAG_OCTEON@ 180 FLAG_OCTEON2 = @FLAG_OCTEON2@ 181 FLAG_T_TEXT = @FLAG_T_TEXT@ 182 FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ 183 FLAG_W_EXTRA = @FLAG_W_EXTRA@ 184 FLAG_W_NO_EMPTY_BODY = @FLAG_W_NO_EMPTY_BODY@ 185 FLAG_W_NO_FORMAT_ZERO_LENGTH = @FLAG_W_NO_FORMAT_ZERO_LENGTH@ 186 FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ 187 FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ 188 FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ 189 GDB = @GDB@ 190 GLIBC_VERSION = @GLIBC_VERSION@ 191 GREP = @GREP@ 192 INSTALL = @INSTALL@ 193 INSTALL_DATA = @INSTALL_DATA@ 194 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 195 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 196 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 197 LDFLAGS = @LDFLAGS@ 198 LDFLAGS_MPI = @LDFLAGS_MPI@ 199 LIBOBJS = @LIBOBJS@ 200 LIBS = @LIBS@ 201 LN_S = @LN_S@ 202 LTLIBOBJS = @LTLIBOBJS@ 203 MAINT = @MAINT@ 204 MAKEINFO = @MAKEINFO@ 205 MKDIR_P = @MKDIR_P@ 206 MPI_CC = @MPI_CC@ 207 OBJEXT = @OBJEXT@ 208 PACKAGE = @PACKAGE@ 209 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 210 PACKAGE_NAME = @PACKAGE_NAME@ 211 PACKAGE_STRING = @PACKAGE_STRING@ 212 PACKAGE_TARNAME = @PACKAGE_TARNAME@ 213 PACKAGE_URL = @PACKAGE_URL@ 214 PACKAGE_VERSION = @PACKAGE_VERSION@ 215 PATH_SEPARATOR = @PATH_SEPARATOR@ 216 PERL = @PERL@ 217 PREFERRED_STACK_BOUNDARY = @PREFERRED_STACK_BOUNDARY@ 218 RANLIB = @RANLIB@ 219 SED = @SED@ 220 SET_MAKE = @SET_MAKE@ 221 SHELL = @SHELL@ 222 STRIP = @STRIP@ 223 VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ 224 VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ 225 VERSION = @VERSION@ 226 VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ 227 VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ 228 VGCONF_OS = @VGCONF_OS@ 229 VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ 230 VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ 231 VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ 232 abs_builddir = @abs_builddir@ 233 abs_srcdir = @abs_srcdir@ 234 abs_top_builddir = @abs_top_builddir@ 235 abs_top_srcdir = @abs_top_srcdir@ 236 ac_ct_CC = @ac_ct_CC@ 237 ac_ct_CXX = @ac_ct_CXX@ 238 am__include = @am__include@ 239 am__leading_dot = @am__leading_dot@ 240 am__quote = @am__quote@ 241 am__tar = @am__tar@ 242 am__untar = @am__untar@ 243 bindir = @bindir@ 244 build = @build@ 245 build_alias = @build_alias@ 246 build_cpu = @build_cpu@ 247 build_os = @build_os@ 248 build_vendor = @build_vendor@ 249 builddir = @builddir@ 250 datadir = @datadir@ 251 datarootdir = @datarootdir@ 252 docdir = @docdir@ 253 dvidir = @dvidir@ 254 exec_prefix = @exec_prefix@ 255 host = @host@ 256 host_alias = @host_alias@ 257 host_cpu = @host_cpu@ 258 host_os = @host_os@ 259 host_vendor = @host_vendor@ 260 htmldir = @htmldir@ 261 includedir = @includedir@ 262 infodir = @infodir@ 263 install_sh = @install_sh@ 264 libdir = @libdir@ 265 libexecdir = @libexecdir@ 266 localedir = @localedir@ 267 localstatedir = @localstatedir@ 268 mandir = @mandir@ 269 mkdir_p = @mkdir_p@ 270 oldincludedir = @oldincludedir@ 271 pdfdir = @pdfdir@ 272 prefix = @prefix@ 273 program_transform_name = @program_transform_name@ 274 psdir = @psdir@ 275 sbindir = @sbindir@ 276 sharedstatedir = @sharedstatedir@ 277 srcdir = @srcdir@ 278 sysconfdir = @sysconfdir@ 279 target_alias = @target_alias@ 280 top_build_prefix = @top_build_prefix@ 281 top_builddir = @top_builddir@ 282 top_srcdir = @top_srcdir@ 283 inplacedir = $(top_builddir)/.in_place 284 285 #---------------------------------------------------------------------------- 286 # Flags 287 #---------------------------------------------------------------------------- 288 289 # Baseline flags for all compilations. Aim here is to maximise 290 # performance and get whatever useful warnings we can out of gcc. 291 # -fno-builtin is important for defeating LLVM's idiom recognition 292 # that somehow causes VG_(memset) to get into infinite recursion. 293 AM_CFLAGS_BASE = \ 294 -O2 -g \ 295 -Wall \ 296 -Wmissing-prototypes \ 297 -Wshadow \ 298 -Wpointer-arith \ 299 -Wstrict-prototypes \ 300 -Wmissing-declarations \ 301 @FLAG_W_NO_FORMAT_ZERO_LENGTH@ \ 302 -fno-strict-aliasing \ 303 -fno-builtin 304 305 @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PIC = -fpic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 306 @VGCONF_OS_IS_DARWIN_FALSE@ -fno-builtin 307 308 309 # These flags are used for building the preload shared objects. 310 # The aim is to give reasonable performance but also to have good 311 # stack traces, since users often see stack traces extending 312 # into (and through) the preloads. 313 @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PIC = -dynamic -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ 314 @VGCONF_OS_IS_DARWIN_TRUE@ -mno-dynamic-no-pic -fpic -fPIC \ 315 @VGCONF_OS_IS_DARWIN_TRUE@ -fno-builtin 316 317 318 # Flags for specific targets. 319 # 320 # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. 321 # For building the core, coregrind/Makefile.am files add some extra things. 322 AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ 323 -I$(top_srcdir) \ 324 -I$(top_srcdir)/include \ 325 -I$(top_srcdir)/VEX/pub \ 326 -DVGA_@VGCONF_ARCH_PRI@=1 \ 327 -DVGO_@VGCONF_OS@=1 \ 328 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 329 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 330 331 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ 332 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ 333 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ 334 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ 335 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ 336 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ 337 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ 338 @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 339 340 AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ 341 AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 342 $(AM_CFLAGS_BASE) -fomit-frame-pointer 343 344 AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g 345 AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ 346 AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ @PREFERRED_STACK_BOUNDARY@ \ 347 $(AM_CFLAGS_BASE) -fomit-frame-pointer 348 349 AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g 350 AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ 351 AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) 352 AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g 353 AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ 354 AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 355 AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g 356 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ 357 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ 358 $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 359 360 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ 361 -marm -mcpu=cortex-a8 -g 362 363 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ 364 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) 365 AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g 366 AM_FLAG_M3264_X86_DARWIN = -arch i386 367 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ 368 -mmacosx-version-min=10.5 \ 369 -fno-stack-protector -fno-pic -fno-PIC 370 371 AM_CCASFLAGS_X86_DARWIN = -arch i386 -g 372 AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 373 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ 374 -mmacosx-version-min=10.5 -fno-stack-protector 375 376 AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g 377 AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ 378 AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer 379 AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 380 AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ 381 AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ 382 AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ 383 AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ 384 AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ 385 AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ 386 387 # Flags for the primary target. These must be used to build the 388 # regtests and performance tests. In fact, these must be used to 389 # build anything which is built only once on a dual-arch build. 390 # 391 AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) 392 AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 393 AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 394 AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) 395 @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = 396 @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) 397 398 # Baseline link flags for making vgpreload shared objects. 399 # 400 PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ 401 -Wl,-z,interpose,-z,initfirst $(am__append_1) 402 PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load 403 PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 404 PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 405 PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 406 PRELOAD_LDFLAGS_PPC64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 407 PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 408 PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 409 PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 410 PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 411 PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 412 PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ 413 PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ 414 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ 415 -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ 416 -I$(top_srcdir)/VEX/pub -DVGA_@VGCONF_ARCH_PRI@=1 \ 417 -DVGO_@VGCONF_OS@=1 -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ 418 -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 \ 419 $(am__append_2) 420 421 # Nb: Tools need to augment these flags with an arch-selection option, such 422 # as $(AM_FLAG_M3264_PRI). 423 AM_CFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 424 AM_CXXFLAGS = -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) 425 # Include AM_CPPFLAGS in AM_CCASFLAGS to allow for older versions of 426 # automake; see comments in Makefile.all.am for more detail. 427 AM_CCASFLAGS = $(AM_CPPFLAGS) 428 @VGCONF_OS_IS_DARWIN_TRUE@noinst_DSYMS = $(check_PROGRAMS) 429 SUBDIRS = . $(am__append_6) 430 DIST_SUBDIRS = x86 . 431 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards 432 EXTRA_DIST = \ 433 chdir.vgtest chdir.stderr.exp \ 434 clreq.vgtest clreq.stderr.exp \ 435 dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \ 436 notpower2.vgtest notpower2.stderr.exp \ 437 wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp 438 439 440 # C ones 441 dlclose_LDADD = -ldl 442 @VGCONF_OS_IS_DARWIN_FALSE@myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC 443 @VGCONF_OS_IS_DARWIN_TRUE@myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic 444 myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC 445 all: all-recursive 446 447 .SUFFIXES: 448 .SUFFIXES: .c .o .obj 449 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) 450 @for dep in $?; do \ 451 case '$(am__configure_deps)' in \ 452 *$$dep*) \ 453 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 454 && { if test -f $@; then exit 0; else break; fi; }; \ 455 exit 1;; \ 456 esac; \ 457 done; \ 458 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \ 459 $(am__cd) $(top_srcdir) && \ 460 $(AUTOMAKE) --foreign cachegrind/tests/Makefile 461 .PRECIOUS: Makefile 462 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 463 @case '$?' in \ 464 *config.status*) \ 465 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 466 *) \ 467 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 468 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 469 esac; 470 $(top_srcdir)/Makefile.tool-tests.am $(top_srcdir)/Makefile.all.am: 471 472 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 473 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 474 475 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 476 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 477 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 478 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 479 $(am__aclocal_m4_deps): 480 481 clean-checkPROGRAMS: 482 -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) 483 chdir$(EXEEXT): $(chdir_OBJECTS) $(chdir_DEPENDENCIES) $(EXTRA_chdir_DEPENDENCIES) 484 @rm -f chdir$(EXEEXT) 485 $(LINK) $(chdir_OBJECTS) $(chdir_LDADD) $(LIBS) 486 clreq$(EXEEXT): $(clreq_OBJECTS) $(clreq_DEPENDENCIES) $(EXTRA_clreq_DEPENDENCIES) 487 @rm -f clreq$(EXEEXT) 488 $(LINK) $(clreq_OBJECTS) $(clreq_LDADD) $(LIBS) 489 dlclose$(EXEEXT): $(dlclose_OBJECTS) $(dlclose_DEPENDENCIES) $(EXTRA_dlclose_DEPENDENCIES) 490 @rm -f dlclose$(EXEEXT) 491 $(LINK) $(dlclose_OBJECTS) $(dlclose_LDADD) $(LIBS) 492 myprint.so$(EXEEXT): $(myprint_so_OBJECTS) $(myprint_so_DEPENDENCIES) $(EXTRA_myprint_so_DEPENDENCIES) 493 @rm -f myprint.so$(EXEEXT) 494 $(myprint_so_LINK) $(myprint_so_OBJECTS) $(myprint_so_LDADD) $(LIBS) 495 496 mostlyclean-compile: 497 -rm -f *.$(OBJEXT) 498 499 distclean-compile: 500 -rm -f *.tab.c 501 502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chdir.Po@am__quote@ 503 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clreq.Po@am__quote@ 504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dlclose.Po@am__quote@ 505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/myprint_so-myprint.Po@am__quote@ 506 507 .c.o: 508 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 509 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 510 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 511 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 512 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 513 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< 514 515 .c.obj: 516 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 517 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 518 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 519 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 520 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 521 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 522 523 myprint_so-myprint.o: myprint.c 524 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.o -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c 525 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po 526 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.o' libtool=no @AMDEPBACKSLASH@ 527 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 528 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.o `test -f 'myprint.c' || echo '$(srcdir)/'`myprint.c 529 530 myprint_so-myprint.obj: myprint.c 531 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -MT myprint_so-myprint.obj -MD -MP -MF $(DEPDIR)/myprint_so-myprint.Tpo -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi` 532 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po 533 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.obj' libtool=no @AMDEPBACKSLASH@ 534 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 535 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(myprint_so_CFLAGS) $(CFLAGS) -c -o myprint_so-myprint.obj `if test -f 'myprint.c'; then $(CYGPATH_W) 'myprint.c'; else $(CYGPATH_W) '$(srcdir)/myprint.c'; fi` 536 537 # This directory's subdirectories are mostly independent; you can cd 538 # into them and run `make' without going through this Makefile. 539 # To change the values of `make' variables: instead of editing Makefiles, 540 # (1) if the variable is set in `config.status', edit `config.status' 541 # (which will cause the Makefiles to be regenerated when you run `make'); 542 # (2) otherwise, pass the desired values on the `make' command line. 543 $(RECURSIVE_TARGETS): 544 @fail= failcom='exit 1'; \ 545 for f in x $$MAKEFLAGS; do \ 546 case $$f in \ 547 *=* | --[!k]*);; \ 548 *k*) failcom='fail=yes';; \ 549 esac; \ 550 done; \ 551 dot_seen=no; \ 552 target=`echo $@ | sed s/-recursive//`; \ 553 list='$(SUBDIRS)'; for subdir in $$list; do \ 554 echo "Making $$target in $$subdir"; \ 555 if test "$$subdir" = "."; then \ 556 dot_seen=yes; \ 557 local_target="$$target-am"; \ 558 else \ 559 local_target="$$target"; \ 560 fi; \ 561 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 562 || eval $$failcom; \ 563 done; \ 564 if test "$$dot_seen" = "no"; then \ 565 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 566 fi; test -z "$$fail" 567 568 $(RECURSIVE_CLEAN_TARGETS): 569 @fail= failcom='exit 1'; \ 570 for f in x $$MAKEFLAGS; do \ 571 case $$f in \ 572 *=* | --[!k]*);; \ 573 *k*) failcom='fail=yes';; \ 574 esac; \ 575 done; \ 576 dot_seen=no; \ 577 case "$@" in \ 578 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 579 *) list='$(SUBDIRS)' ;; \ 580 esac; \ 581 rev=''; for subdir in $$list; do \ 582 if test "$$subdir" = "."; then :; else \ 583 rev="$$subdir $$rev"; \ 584 fi; \ 585 done; \ 586 rev="$$rev ."; \ 587 target=`echo $@ | sed s/-recursive//`; \ 588 for subdir in $$rev; do \ 589 echo "Making $$target in $$subdir"; \ 590 if test "$$subdir" = "."; then \ 591 local_target="$$target-am"; \ 592 else \ 593 local_target="$$target"; \ 594 fi; \ 595 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 596 || eval $$failcom; \ 597 done && test -z "$$fail" 598 tags-recursive: 599 list='$(SUBDIRS)'; for subdir in $$list; do \ 600 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 601 done 602 ctags-recursive: 603 list='$(SUBDIRS)'; for subdir in $$list; do \ 604 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 605 done 606 607 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 608 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 609 unique=`for i in $$list; do \ 610 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 611 done | \ 612 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 613 END { if (nonempty) { for (i in files) print i; }; }'`; \ 614 mkid -fID $$unique 615 tags: TAGS 616 617 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 618 $(TAGS_FILES) $(LISP) 619 set x; \ 620 here=`pwd`; \ 621 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 622 include_option=--etags-include; \ 623 empty_fix=.; \ 624 else \ 625 include_option=--include; \ 626 empty_fix=; \ 627 fi; \ 628 list='$(SUBDIRS)'; for subdir in $$list; do \ 629 if test "$$subdir" = .; then :; else \ 630 test ! -f $$subdir/TAGS || \ 631 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 632 fi; \ 633 done; \ 634 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 635 unique=`for i in $$list; do \ 636 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 637 done | \ 638 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 639 END { if (nonempty) { for (i in files) print i; }; }'`; \ 640 shift; \ 641 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 642 test -n "$$unique" || unique=$$empty_fix; \ 643 if test $$# -gt 0; then \ 644 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 645 "$$@" $$unique; \ 646 else \ 647 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 648 $$unique; \ 649 fi; \ 650 fi 651 ctags: CTAGS 652 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 653 $(TAGS_FILES) $(LISP) 654 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 655 unique=`for i in $$list; do \ 656 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 657 done | \ 658 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 659 END { if (nonempty) { for (i in files) print i; }; }'`; \ 660 test -z "$(CTAGS_ARGS)$$unique" \ 661 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 662 $$unique 663 664 GTAGS: 665 here=`$(am__cd) $(top_builddir) && pwd` \ 666 && $(am__cd) $(top_srcdir) \ 667 && gtags -i $(GTAGS_ARGS) "$$here" 668 669 distclean-tags: 670 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 671 672 distdir: $(DISTFILES) 673 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 674 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 675 list='$(DISTFILES)'; \ 676 dist_files=`for file in $$list; do echo $$file; done | \ 677 sed -e "s|^$$srcdirstrip/||;t" \ 678 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 679 case $$dist_files in \ 680 */*) $(MKDIR_P) `echo "$$dist_files" | \ 681 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 682 sort -u` ;; \ 683 esac; \ 684 for file in $$dist_files; do \ 685 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 686 if test -d $$d/$$file; then \ 687 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 688 if test -d "$(distdir)/$$file"; then \ 689 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 690 fi; \ 691 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 692 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 693 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 694 fi; \ 695 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 696 else \ 697 test -f "$(distdir)/$$file" \ 698 || cp -p $$d/$$file "$(distdir)/$$file" \ 699 || exit 1; \ 700 fi; \ 701 done 702 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 703 if test "$$subdir" = .; then :; else \ 704 test -d "$(distdir)/$$subdir" \ 705 || $(MKDIR_P) "$(distdir)/$$subdir" \ 706 || exit 1; \ 707 fi; \ 708 done 709 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 710 if test "$$subdir" = .; then :; else \ 711 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 712 $(am__relativize); \ 713 new_distdir=$$reldir; \ 714 dir1=$$subdir; dir2="$(top_distdir)"; \ 715 $(am__relativize); \ 716 new_top_distdir=$$reldir; \ 717 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 718 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 719 ($(am__cd) $$subdir && \ 720 $(MAKE) $(AM_MAKEFLAGS) \ 721 top_distdir="$$new_top_distdir" \ 722 distdir="$$new_distdir" \ 723 am__remove_distdir=: \ 724 am__skip_length_check=: \ 725 am__skip_mode_fix=: \ 726 distdir) \ 727 || exit 1; \ 728 fi; \ 729 done 730 check-am: all-am 731 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 732 $(MAKE) $(AM_MAKEFLAGS) check-local 733 check: check-recursive 734 all-am: Makefile $(SCRIPTS) 735 installdirs: installdirs-recursive 736 installdirs-am: 737 install: install-recursive 738 install-exec: install-exec-recursive 739 install-data: install-data-recursive 740 uninstall: uninstall-recursive 741 742 install-am: all-am 743 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 744 745 installcheck: installcheck-recursive 746 install-strip: 747 if test -z '$(STRIP)'; then \ 748 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 749 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 750 install; \ 751 else \ 752 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 753 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 754 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 755 fi 756 mostlyclean-generic: 757 758 clean-generic: 759 760 distclean-generic: 761 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 762 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 763 764 maintainer-clean-generic: 765 @echo "This command is intended for maintainers to use" 766 @echo "it deletes files that may require special tools to rebuild." 767 clean: clean-recursive 768 769 clean-am: clean-checkPROGRAMS clean-generic clean-local mostlyclean-am 770 771 distclean: distclean-recursive 772 -rm -rf ./$(DEPDIR) 773 -rm -f Makefile 774 distclean-am: clean-am distclean-compile distclean-generic \ 775 distclean-tags 776 777 dvi: dvi-recursive 778 779 dvi-am: 780 781 html: html-recursive 782 783 html-am: 784 785 info: info-recursive 786 787 info-am: 788 789 install-data-am: 790 791 install-dvi: install-dvi-recursive 792 793 install-dvi-am: 794 795 install-exec-am: 796 797 install-html: install-html-recursive 798 799 install-html-am: 800 801 install-info: install-info-recursive 802 803 install-info-am: 804 805 install-man: 806 807 install-pdf: install-pdf-recursive 808 809 install-pdf-am: 810 811 install-ps: install-ps-recursive 812 813 install-ps-am: 814 815 installcheck-am: 816 817 maintainer-clean: maintainer-clean-recursive 818 -rm -rf ./$(DEPDIR) 819 -rm -f Makefile 820 maintainer-clean-am: distclean-am maintainer-clean-generic 821 822 mostlyclean: mostlyclean-recursive 823 824 mostlyclean-am: mostlyclean-compile mostlyclean-generic 825 826 pdf: pdf-recursive 827 828 pdf-am: 829 830 ps: ps-recursive 831 832 ps-am: 833 834 uninstall-am: 835 836 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ 837 ctags-recursive install-am install-strip tags-recursive 838 839 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 840 all all-am check check-am check-local clean \ 841 clean-checkPROGRAMS clean-generic clean-local ctags \ 842 ctags-recursive distclean distclean-compile distclean-generic \ 843 distclean-tags distdir dvi dvi-am html html-am info info-am \ 844 install install-am install-data install-data-am install-dvi \ 845 install-dvi-am install-exec install-exec-am install-html \ 846 install-html-am install-info install-info-am install-man \ 847 install-pdf install-pdf-am install-ps install-ps-am \ 848 install-strip installcheck installcheck-am installdirs \ 849 installdirs-am maintainer-clean maintainer-clean-generic \ 850 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ 851 ps ps-am tags tags-recursive uninstall uninstall-am 852 853 854 # This used to be required when Vex had a handwritten Makefile. It 855 # shouldn't be needed any more, though. 856 857 #---------------------------------------------------------------------------- 858 # noinst_PROGRAMS and noinst_DSYMS targets 859 #---------------------------------------------------------------------------- 860 861 # On Darwin, for a program 'p', the DWARF debug info is stored in the 862 # directory 'p.dSYM'. This must be generated after the executable is 863 # created, with 'dsymutil p'. We could redefine LINK with a script that 864 # executes 'dsymutil' after linking, but that's a pain. Instead we use this 865 # hook so that every time "make check" is run, we subsequently invoke 866 # 'dsymutil' on all the executables that lack a .dSYM directory, or that are 867 # newer than their corresponding .dSYM directory. 868 build-noinst_DSYMS: $(noinst_DSYMS) 869 for f in $(noinst_DSYMS); do \ 870 if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ 871 echo "dsymutil $$f"; \ 872 dsymutil $$f; \ 873 fi; \ 874 done 875 876 # This is used by coregrind/Makefile.am and Makefile.tool.am for doing 877 # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. 878 # It needs to be depended on by an 'all-local' rule. 879 inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) 880 mkdir -p $(inplacedir); \ 881 for f in $(noinst_PROGRAMS) ; do \ 882 rm -f $(inplacedir)/$$f; \ 883 ln -f -s ../$(subdir)/$$f $(inplacedir); \ 884 done 885 886 # Similar to inplace-noinst_PROGRAMS 887 inplace-noinst_DSYMS: build-noinst_DSYMS 888 mkdir -p $(inplacedir); \ 889 for f in $(noinst_DSYMS); do \ 890 rm -f $(inplacedir)/$$f.dSYM; \ 891 ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ 892 done 893 894 # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing 895 # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. 896 # It needs to be depended on by an 'install-exec-local' rule. 897 install-noinst_PROGRAMS: $(noinst_PROGRAMS) 898 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 899 for f in $(noinst_PROGRAMS); do \ 900 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ 901 done 902 903 # Similar to install-noinst_PROGRAMS. 904 # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with 905 # directories. XXX: not sure whether the resulting permissions will be 906 # correct when using 'cp -R'... 907 install-noinst_DSYMS: build-noinst_DSYMS 908 $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ 909 for f in $(noinst_DSYMS); do \ 910 cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ 911 done 912 913 # This needs to be depended on by a 'clean-local' rule. 914 clean-noinst_DSYMS: 915 for f in $(noinst_DSYMS); do \ 916 rm -rf $$f.dSYM; \ 917 done 918 919 check-local: build-noinst_DSYMS 920 921 clean-local: clean-noinst_DSYMS 922 923 # Tell versions [3.59,3.63) of GNU make to not export all variables. 924 # Otherwise a system limit (for SysV at least) may be exceeded. 925 .NOEXPORT: 926