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