patch-cachegrind_tests_Makefile_in 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. --- valgrind-3.7.0.orig/cachegrind/tests/Makefile.in 2011-11-05 12:26:49.000000000 +0100
  2. +++ valgrind-3.7.0/cachegrind/tests/Makefile.in 2013-07-23 12:27:53.000000000 +0200
  3. @@ -1,4 +1,4 @@
  4. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  5. +# Makefile.in generated by automake 1.10.3 from Makefile.am.
  6. # @configure_input@
  7. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  8. @@ -26,9 +26,8 @@
  9. VPATH = @srcdir@
  10. pkgdatadir = $(datadir)/@PACKAGE@
  11. -pkgincludedir = $(includedir)/@PACKAGE@
  12. pkglibdir = $(libdir)/@PACKAGE@
  13. -pkglibexecdir = $(libexecdir)/@PACKAGE@
  14. +pkgincludedir = $(includedir)/@PACKAGE@
  15. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  16. install_sh_DATA = $(install_sh) -c -m 644
  17. install_sh_PROGRAM = $(install_sh) -c
  18. @@ -57,7 +56,6 @@ am__configure_deps = $(am__aclocal_m4_de
  19. mkinstalldirs = $(install_sh) -d
  20. CONFIG_HEADER = $(top_builddir)/config.h
  21. CONFIG_CLEAN_FILES =
  22. -CONFIG_CLEAN_VPATH_FILES =
  23. chdir_SOURCES = chdir.c
  24. chdir_OBJECTS = chdir.$(OBJEXT)
  25. chdir_LDADD = $(LDADD)
  26. @@ -76,7 +74,6 @@ SCRIPTS = $(dist_noinst_SCRIPTS)
  27. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
  28. depcomp = $(SHELL) $(top_srcdir)/depcomp
  29. am__depfiles_maybe = depfiles
  30. -am__mv = mv -f
  31. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  32. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  33. CCLD = $(CC)
  34. @@ -92,37 +89,9 @@ RECURSIVE_TARGETS = all-recursive check-
  35. ps-recursive uninstall-recursive
  36. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  37. distclean-recursive maintainer-clean-recursive
  38. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  39. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  40. - distdir
  41. ETAGS = etags
  42. CTAGS = ctags
  43. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  44. -am__relativize = \
  45. - dir0=`pwd`; \
  46. - sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  47. - sed_rest='s,^[^/]*/*,,'; \
  48. - sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  49. - sed_butlast='s,/*[^/]*$$,,'; \
  50. - while test -n "$$dir1"; do \
  51. - first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  52. - if test "$$first" != "."; then \
  53. - if test "$$first" = ".."; then \
  54. - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  55. - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  56. - else \
  57. - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  58. - if test "$$first2" = "$$first"; then \
  59. - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  60. - else \
  61. - dir2="../$$dir2"; \
  62. - fi; \
  63. - dir0="$$dir0"/"$$first"; \
  64. - fi; \
  65. - fi; \
  66. - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  67. - done; \
  68. - reldir="$$dir2"
  69. ACLOCAL = @ACLOCAL@
  70. AMTAR = @AMTAR@
  71. AR = @AR@
  72. @@ -205,6 +174,7 @@ VERSION = @VERSION@
  73. VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
  74. VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
  75. VGCONF_OS = @VGCONF_OS@
  76. +VGCONF_PLATFORM_ARM_ARCH = @VGCONF_PLATFORM_ARM_ARCH@
  77. VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
  78. VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
  79. VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
  80. @@ -342,10 +312,10 @@ AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_
  81. AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
  82. AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
  83. AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
  84. - $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
  85. + $(AM_CFLAGS_BASE) @VGCONF_PLATFORM_ARM_ARCH@
  86. AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ \
  87. - -marm -mcpu=cortex-a8 -g
  88. + @VGCONF_PLATFORM_ARM_ARCH@ -g
  89. AM_FLAG_M3264_X86_DARWIN = -arch i386
  90. AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
  91. @@ -433,9 +403,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
  92. exit 1;; \
  93. esac; \
  94. done; \
  95. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \
  96. - $(am__cd) $(top_srcdir) && \
  97. - $(AUTOMAKE) --foreign cachegrind/tests/Makefile
  98. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cachegrind/tests/Makefile'; \
  99. + cd $(top_srcdir) && \
  100. + $(AUTOMAKE) --foreign cachegrind/tests/Makefile
  101. .PRECIOUS: Makefile
  102. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  103. @case '$?' in \
  104. @@ -453,7 +423,6 @@ $(top_srcdir)/configure: @MAINTAINER_MOD
  105. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  107. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  108. -$(am__aclocal_m4_deps):
  109. clean-checkPROGRAMS:
  110. -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
  111. @@ -483,28 +452,28 @@ distclean-compile:
  112. .c.o:
  113. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  114. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  115. +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  116. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  117. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  118. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  119. .c.obj:
  120. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  121. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  122. +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  123. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  124. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  125. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  126. myprint_so-myprint.o: myprint.c
  127. @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
  128. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
  129. +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
  130. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.o' libtool=no @AMDEPBACKSLASH@
  131. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  132. @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
  133. myprint_so-myprint.obj: myprint.c
  134. @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`
  135. -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
  136. +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/myprint_so-myprint.Tpo $(DEPDIR)/myprint_so-myprint.Po
  137. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='myprint.c' object='myprint_so-myprint.obj' libtool=no @AMDEPBACKSLASH@
  138. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  139. @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`
  140. @@ -533,7 +502,7 @@ $(RECURSIVE_TARGETS):
  141. else \
  142. local_target="$$target"; \
  143. fi; \
  144. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  145. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  146. || eval $$failcom; \
  147. done; \
  148. if test "$$dot_seen" = "no"; then \
  149. @@ -567,16 +536,16 @@ $(RECURSIVE_CLEAN_TARGETS):
  150. else \
  151. local_target="$$target"; \
  152. fi; \
  153. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  154. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  155. || eval $$failcom; \
  156. done && test -z "$$fail"
  157. tags-recursive:
  158. list='$(SUBDIRS)'; for subdir in $$list; do \
  159. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  160. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  161. done
  162. ctags-recursive:
  163. list='$(SUBDIRS)'; for subdir in $$list; do \
  164. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  165. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  166. done
  167. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  168. @@ -591,7 +560,7 @@ tags: TAGS
  169. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  170. $(TAGS_FILES) $(LISP)
  171. - set x; \
  172. + tags=; \
  173. here=`pwd`; \
  174. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  175. include_option=--etags-include; \
  176. @@ -603,7 +572,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  177. list='$(SUBDIRS)'; for subdir in $$list; do \
  178. if test "$$subdir" = .; then :; else \
  179. test ! -f $$subdir/TAGS || \
  180. - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  181. + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  182. fi; \
  183. done; \
  184. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  185. @@ -612,34 +581,29 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  186. done | \
  187. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  188. END { if (nonempty) { for (i in files) print i; }; }'`; \
  189. - shift; \
  190. - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  191. + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  192. test -n "$$unique" || unique=$$empty_fix; \
  193. - if test $$# -gt 0; then \
  194. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  195. - "$$@" $$unique; \
  196. - else \
  197. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  198. - $$unique; \
  199. - fi; \
  200. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  201. + $$tags $$unique; \
  202. fi
  203. ctags: CTAGS
  204. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  205. $(TAGS_FILES) $(LISP)
  206. + tags=; \
  207. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  208. unique=`for i in $$list; do \
  209. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  210. done | \
  211. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  212. END { if (nonempty) { for (i in files) print i; }; }'`; \
  213. - test -z "$(CTAGS_ARGS)$$unique" \
  214. + test -z "$(CTAGS_ARGS)$$tags$$unique" \
  215. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  216. - $$unique
  217. + $$tags $$unique
  218. GTAGS:
  219. here=`$(am__cd) $(top_builddir) && pwd` \
  220. - && $(am__cd) $(top_srcdir) \
  221. - && gtags -i $(GTAGS_ARGS) "$$here"
  222. + && cd $(top_srcdir) \
  223. + && gtags -i $(GTAGS_ARGS) $$here
  224. distclean-tags:
  225. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  226. @@ -660,44 +624,29 @@ distdir: $(DISTFILES)
  227. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  228. if test -d $$d/$$file; then \
  229. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  230. - if test -d "$(distdir)/$$file"; then \
  231. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  232. - fi; \
  233. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  234. - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  235. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  236. + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  237. fi; \
  238. - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  239. + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  240. else \
  241. - test -f "$(distdir)/$$file" \
  242. - || cp -p $$d/$$file "$(distdir)/$$file" \
  243. + test -f $(distdir)/$$file \
  244. + || cp -p $$d/$$file $(distdir)/$$file \
  245. || exit 1; \
  246. fi; \
  247. done
  248. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  249. + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  250. if test "$$subdir" = .; then :; else \
  251. test -d "$(distdir)/$$subdir" \
  252. || $(MKDIR_P) "$(distdir)/$$subdir" \
  253. || exit 1; \
  254. - fi; \
  255. - done
  256. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  257. - if test "$$subdir" = .; then :; else \
  258. - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  259. - $(am__relativize); \
  260. - new_distdir=$$reldir; \
  261. - dir1=$$subdir; dir2="$(top_distdir)"; \
  262. - $(am__relativize); \
  263. - new_top_distdir=$$reldir; \
  264. - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  265. - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  266. - ($(am__cd) $$subdir && \
  267. + distdir=`$(am__cd) $(distdir) && pwd`; \
  268. + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  269. + (cd $$subdir && \
  270. $(MAKE) $(AM_MAKEFLAGS) \
  271. - top_distdir="$$new_top_distdir" \
  272. - distdir="$$new_distdir" \
  273. + top_distdir="$$top_distdir" \
  274. + distdir="$$distdir/$$subdir" \
  275. am__remove_distdir=: \
  276. am__skip_length_check=: \
  277. - am__skip_mode_fix=: \
  278. distdir) \
  279. || exit 1; \
  280. fi; \
  281. @@ -729,7 +678,6 @@ clean-generic:
  282. distclean-generic:
  283. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  284. - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  285. maintainer-clean-generic:
  286. @echo "This command is intended for maintainers to use"
  287. @@ -803,8 +751,8 @@ ps-am:
  288. uninstall-am:
  289. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
  290. - ctags-recursive install-am install-strip tags-recursive
  291. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  292. + install-strip
  293. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  294. all all-am check check-am check-local clean \
  295. @@ -889,7 +837,6 @@ clean-noinst_DSYMS:
  296. check-local: build-noinst_DSYMS
  297. clean-local: clean-noinst_DSYMS
  298. -
  299. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  300. # Otherwise a system limit (for SysV at least) may be exceeded.
  301. .NOEXPORT: