patch-callgrind_tests_Makefile_in 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. --- valgrind-3.7.0.orig/callgrind/tests/Makefile.in 2011-11-05 12:26:49.000000000 +0100
  2. +++ valgrind-3.7.0/callgrind/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. @@ -55,7 +54,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. clreq_SOURCES = clreq.c
  24. clreq_OBJECTS = clreq.$(OBJEXT)
  25. clreq_LDADD = $(LDADD)
  26. @@ -69,7 +67,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. @@ -85,37 +82,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. @@ -198,6 +167,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. @@ -335,10 +305,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. @@ -428,9 +398,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
  92. exit 1;; \
  93. esac; \
  94. done; \
  95. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign callgrind/tests/Makefile'; \
  96. - $(am__cd) $(top_srcdir) && \
  97. - $(AUTOMAKE) --foreign callgrind/tests/Makefile
  98. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign callgrind/tests/Makefile'; \
  99. + cd $(top_srcdir) && \
  100. + $(AUTOMAKE) --foreign callgrind/tests/Makefile
  101. .PRECIOUS: Makefile
  102. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  103. @case '$?' in \
  104. @@ -448,7 +418,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. @@ -474,14 +443,14 @@ 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. @@ -510,7 +479,7 @@ $(RECURSIVE_TARGETS):
  127. else \
  128. local_target="$$target"; \
  129. fi; \
  130. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  131. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  132. || eval $$failcom; \
  133. done; \
  134. if test "$$dot_seen" = "no"; then \
  135. @@ -544,16 +513,16 @@ $(RECURSIVE_CLEAN_TARGETS):
  136. else \
  137. local_target="$$target"; \
  138. fi; \
  139. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  140. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  141. || eval $$failcom; \
  142. done && test -z "$$fail"
  143. tags-recursive:
  144. list='$(SUBDIRS)'; for subdir in $$list; do \
  145. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  146. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  147. done
  148. ctags-recursive:
  149. list='$(SUBDIRS)'; for subdir in $$list; do \
  150. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  151. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  152. done
  153. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  154. @@ -568,7 +537,7 @@ tags: TAGS
  155. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  156. $(TAGS_FILES) $(LISP)
  157. - set x; \
  158. + tags=; \
  159. here=`pwd`; \
  160. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  161. include_option=--etags-include; \
  162. @@ -580,7 +549,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  163. list='$(SUBDIRS)'; for subdir in $$list; do \
  164. if test "$$subdir" = .; then :; else \
  165. test ! -f $$subdir/TAGS || \
  166. - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  167. + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  168. fi; \
  169. done; \
  170. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  171. @@ -589,34 +558,29 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  172. done | \
  173. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  174. END { if (nonempty) { for (i in files) print i; }; }'`; \
  175. - shift; \
  176. - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  177. + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  178. test -n "$$unique" || unique=$$empty_fix; \
  179. - if test $$# -gt 0; then \
  180. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  181. - "$$@" $$unique; \
  182. - else \
  183. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  184. - $$unique; \
  185. - fi; \
  186. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  187. + $$tags $$unique; \
  188. fi
  189. ctags: CTAGS
  190. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  191. $(TAGS_FILES) $(LISP)
  192. + tags=; \
  193. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  194. unique=`for i in $$list; do \
  195. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  196. done | \
  197. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  198. END { if (nonempty) { for (i in files) print i; }; }'`; \
  199. - test -z "$(CTAGS_ARGS)$$unique" \
  200. + test -z "$(CTAGS_ARGS)$$tags$$unique" \
  201. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  202. - $$unique
  203. + $$tags $$unique
  204. GTAGS:
  205. here=`$(am__cd) $(top_builddir) && pwd` \
  206. - && $(am__cd) $(top_srcdir) \
  207. - && gtags -i $(GTAGS_ARGS) "$$here"
  208. + && cd $(top_srcdir) \
  209. + && gtags -i $(GTAGS_ARGS) $$here
  210. distclean-tags:
  211. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  212. @@ -637,44 +601,29 @@ distdir: $(DISTFILES)
  213. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  214. if test -d $$d/$$file; then \
  215. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  216. - if test -d "$(distdir)/$$file"; then \
  217. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  218. - fi; \
  219. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  220. - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  221. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  222. + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  223. fi; \
  224. - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  225. + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  226. else \
  227. - test -f "$(distdir)/$$file" \
  228. - || cp -p $$d/$$file "$(distdir)/$$file" \
  229. + test -f $(distdir)/$$file \
  230. + || cp -p $$d/$$file $(distdir)/$$file \
  231. || exit 1; \
  232. fi; \
  233. done
  234. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  235. + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  236. if test "$$subdir" = .; then :; else \
  237. test -d "$(distdir)/$$subdir" \
  238. || $(MKDIR_P) "$(distdir)/$$subdir" \
  239. || exit 1; \
  240. - fi; \
  241. - done
  242. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  243. - if test "$$subdir" = .; then :; else \
  244. - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  245. - $(am__relativize); \
  246. - new_distdir=$$reldir; \
  247. - dir1=$$subdir; dir2="$(top_distdir)"; \
  248. - $(am__relativize); \
  249. - new_top_distdir=$$reldir; \
  250. - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  251. - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  252. - ($(am__cd) $$subdir && \
  253. + distdir=`$(am__cd) $(distdir) && pwd`; \
  254. + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  255. + (cd $$subdir && \
  256. $(MAKE) $(AM_MAKEFLAGS) \
  257. - top_distdir="$$new_top_distdir" \
  258. - distdir="$$new_distdir" \
  259. + top_distdir="$$top_distdir" \
  260. + distdir="$$distdir/$$subdir" \
  261. am__remove_distdir=: \
  262. am__skip_length_check=: \
  263. - am__skip_mode_fix=: \
  264. distdir) \
  265. || exit 1; \
  266. fi; \
  267. @@ -706,7 +655,6 @@ clean-generic:
  268. distclean-generic:
  269. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  270. - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  271. maintainer-clean-generic:
  272. @echo "This command is intended for maintainers to use"
  273. @@ -780,8 +728,8 @@ ps-am:
  274. uninstall-am:
  275. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
  276. - ctags-recursive install-am install-strip tags-recursive
  277. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  278. + install-strip
  279. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  280. all all-am check check-am check-local clean \
  281. @@ -866,7 +814,6 @@ clean-noinst_DSYMS:
  282. check-local: build-noinst_DSYMS
  283. clean-local: clean-noinst_DSYMS
  284. -
  285. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  286. # Otherwise a system limit (for SysV at least) may be exceeded.
  287. .NOEXPORT: