patch-Makefile_in 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. --- valgrind-3.7.0.orig/Makefile.in 2011-11-05 12:26:55.000000000 +0100
  2. +++ valgrind-3.7.0/Makefile.in 2013-07-23 12:27:52.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. @@ -63,7 +62,6 @@ mkinstalldirs = $(install_sh) -d
  19. CONFIG_HEADER = config.h
  20. CONFIG_CLEAN_FILES = valgrind.spec valgrind.pc glibc-2.X.supp \
  21. drd/scripts/download-and-build-splash2
  22. -CONFIG_CLEAN_VPATH_FILES =
  23. SCRIPTS = $(dist_noinst_SCRIPTS)
  24. SOURCES =
  25. DIST_SOURCES =
  26. @@ -79,65 +77,25 @@ am__vpath_adj = case $$p in \
  27. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  28. *) f=$$p;; \
  29. esac;
  30. -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  31. -am__install_max = 40
  32. -am__nobase_strip_setup = \
  33. - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  34. -am__nobase_strip = \
  35. - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  36. -am__nobase_list = $(am__nobase_strip_setup); \
  37. - for p in $$list; do echo "$$p $$p"; done | \
  38. - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  39. - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  40. - if (++n[$$2] == $(am__install_max)) \
  41. - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  42. - END { for (dir in files) print dir, files[dir] }'
  43. -am__base_list = \
  44. - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  45. - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  46. +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  47. am__installdirs = "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkglibdir)" \
  48. "$(DESTDIR)$(pkgincludedir)"
  49. +pkgconfigDATA_INSTALL = $(INSTALL_DATA)
  50. +pkglibDATA_INSTALL = $(INSTALL_DATA)
  51. DATA = $(dist_noinst_DATA) $(pkgconfig_DATA) $(pkglib_DATA)
  52. +pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  53. HEADERS = $(pkginclude_HEADERS)
  54. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  55. distclean-recursive maintainer-clean-recursive
  56. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  57. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  58. - distdir dist dist-all distcheck
  59. ETAGS = etags
  60. CTAGS = ctags
  61. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  62. distdir = $(PACKAGE)-$(VERSION)
  63. top_distdir = $(distdir)
  64. am__remove_distdir = \
  65. - { test ! -d "$(distdir)" \
  66. - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  67. - && rm -fr "$(distdir)"; }; }
  68. -am__relativize = \
  69. - dir0=`pwd`; \
  70. - sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  71. - sed_rest='s,^[^/]*/*,,'; \
  72. - sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  73. - sed_butlast='s,/*[^/]*$$,,'; \
  74. - while test -n "$$dir1"; do \
  75. - first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  76. - if test "$$first" != "."; then \
  77. - if test "$$first" = ".."; then \
  78. - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  79. - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  80. - else \
  81. - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  82. - if test "$$first2" = "$$first"; then \
  83. - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  84. - else \
  85. - dir2="../$$dir2"; \
  86. - fi; \
  87. - dir0="$$dir0"/"$$first"; \
  88. - fi; \
  89. - fi; \
  90. - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  91. - done; \
  92. - reldir="$$dir2"
  93. + { test ! -d $(distdir) \
  94. + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  95. + && rm -fr $(distdir); }; }
  96. DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
  97. GZIP_ENV = --best
  98. distuninstallcheck_listfiles = find . -type f -print
  99. @@ -224,6 +182,7 @@ VERSION = @VERSION@
  100. VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@
  101. VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@
  102. VGCONF_OS = @VGCONF_OS@
  103. +VGCONF_PLATFORM_ARM_ARCH = @VGCONF_PLATFORM_ARM_ARCH@
  104. VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@
  105. VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@
  106. VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@
  107. @@ -362,10 +321,10 @@ AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_
  108. AM_CCASFLAGS_PPC64_LINUX = $(AM_CPPFLAGS_PPC64_LINUX) @FLAG_M64@ -g
  109. AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
  110. AM_CFLAGS_ARM_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \
  111. - $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
  112. + $(AM_CFLAGS_BASE) @VGCONF_PLATFORM_ARM_ARCH@
  113. AM_CCASFLAGS_ARM_LINUX = $(AM_CPPFLAGS_ARM_LINUX) @FLAG_M32@ \
  114. - -marm -mcpu=cortex-a8 -g
  115. + @VGCONF_PLATFORM_ARM_ARCH@ -g
  116. AM_FLAG_M3264_X86_DARWIN = -arch i386
  117. AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \
  118. @@ -500,15 +459,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
  119. @for dep in $?; do \
  120. case '$(am__configure_deps)' in \
  121. *$$dep*) \
  122. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  123. - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  124. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  125. + cd $(srcdir) && $(AUTOMAKE) --foreign \
  126. && exit 0; \
  127. exit 1;; \
  128. esac; \
  129. done; \
  130. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  131. - $(am__cd) $(top_srcdir) && \
  132. - $(AUTOMAKE) --foreign Makefile
  133. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  134. + cd $(top_srcdir) && \
  135. + $(AUTOMAKE) --foreign Makefile
  136. .PRECIOUS: Makefile
  137. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  138. @case '$?' in \
  139. @@ -524,10 +483,9 @@ $(top_builddir)/config.status: $(top_src
  140. $(SHELL) ./config.status --recheck
  141. $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  142. - $(am__cd) $(srcdir) && $(AUTOCONF)
  143. + cd $(srcdir) && $(AUTOCONF)
  144. $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  145. - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  146. -$(am__aclocal_m4_deps):
  147. + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  148. config.h: stamp-h1
  149. @if test ! -f $@; then \
  150. @@ -539,7 +497,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_bu
  151. @rm -f stamp-h1
  152. cd $(top_builddir) && $(SHELL) ./config.status config.h
  153. $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  154. - ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  155. + cd $(top_srcdir) && $(AUTOHEADER)
  156. rm -f stamp-h1
  157. touch $@
  158. @@ -556,63 +514,54 @@ drd/scripts/download-and-build-splash2:
  159. install-pkgconfigDATA: $(pkgconfig_DATA)
  160. @$(NORMAL_INSTALL)
  161. test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  162. - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  163. - for p in $$list; do \
  164. + @list='$(pkgconfig_DATA)'; for p in $$list; do \
  165. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  166. - echo "$$d$$p"; \
  167. - done | $(am__base_list) | \
  168. - while read files; do \
  169. - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  170. - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  171. + f=$(am__strip_dir) \
  172. + echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  173. + $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  174. done
  175. uninstall-pkgconfigDATA:
  176. @$(NORMAL_UNINSTALL)
  177. - @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  178. - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  179. - test -n "$$files" || exit 0; \
  180. - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  181. - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  182. + @list='$(pkgconfig_DATA)'; for p in $$list; do \
  183. + f=$(am__strip_dir) \
  184. + echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  185. + rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  186. + done
  187. install-pkglibDATA: $(pkglib_DATA)
  188. @$(NORMAL_INSTALL)
  189. test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  190. - @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \
  191. - for p in $$list; do \
  192. + @list='$(pkglib_DATA)'; for p in $$list; do \
  193. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  194. - echo "$$d$$p"; \
  195. - done | $(am__base_list) | \
  196. - while read files; do \
  197. - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkglibdir)'"; \
  198. - $(INSTALL_DATA) $$files "$(DESTDIR)$(pkglibdir)" || exit $$?; \
  199. + f=$(am__strip_dir) \
  200. + echo " $(pkglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
  201. + $(pkglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  202. done
  203. uninstall-pkglibDATA:
  204. @$(NORMAL_UNINSTALL)
  205. - @list='$(pkglib_DATA)'; test -n "$(pkglibdir)" || list=; \
  206. - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  207. - test -n "$$files" || exit 0; \
  208. - echo " ( cd '$(DESTDIR)$(pkglibdir)' && rm -f" $$files ")"; \
  209. - cd "$(DESTDIR)$(pkglibdir)" && rm -f $$files
  210. + @list='$(pkglib_DATA)'; for p in $$list; do \
  211. + f=$(am__strip_dir) \
  212. + echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
  213. + rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
  214. + done
  215. install-pkgincludeHEADERS: $(pkginclude_HEADERS)
  216. @$(NORMAL_INSTALL)
  217. test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
  218. - @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  219. - for p in $$list; do \
  220. + @list='$(pkginclude_HEADERS)'; for p in $$list; do \
  221. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  222. - echo "$$d$$p"; \
  223. - done | $(am__base_list) | \
  224. - while read files; do \
  225. - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
  226. - $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
  227. + f=$(am__strip_dir) \
  228. + echo " $(pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  229. + $(pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
  230. done
  231. uninstall-pkgincludeHEADERS:
  232. @$(NORMAL_UNINSTALL)
  233. - @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
  234. - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  235. - test -n "$$files" || exit 0; \
  236. - echo " ( cd '$(DESTDIR)$(pkgincludedir)' && rm -f" $$files ")"; \
  237. - cd "$(DESTDIR)$(pkgincludedir)" && rm -f $$files
  238. + @list='$(pkginclude_HEADERS)'; for p in $$list; do \
  239. + f=$(am__strip_dir) \
  240. + echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
  241. + rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
  242. + done
  243. # This directory's subdirectories are mostly independent; you can cd
  244. # into them and run `make' without going through this Makefile.
  245. @@ -638,7 +587,7 @@ $(RECURSIVE_TARGETS):
  246. else \
  247. local_target="$$target"; \
  248. fi; \
  249. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  250. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  251. || eval $$failcom; \
  252. done; \
  253. if test "$$dot_seen" = "no"; then \
  254. @@ -672,16 +621,16 @@ $(RECURSIVE_CLEAN_TARGETS):
  255. else \
  256. local_target="$$target"; \
  257. fi; \
  258. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  259. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  260. || eval $$failcom; \
  261. done && test -z "$$fail"
  262. tags-recursive:
  263. list='$(SUBDIRS)'; for subdir in $$list; do \
  264. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  265. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  266. done
  267. ctags-recursive:
  268. list='$(SUBDIRS)'; for subdir in $$list; do \
  269. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  270. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  271. done
  272. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  273. @@ -696,7 +645,7 @@ tags: TAGS
  274. TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  275. $(TAGS_FILES) $(LISP)
  276. - set x; \
  277. + tags=; \
  278. here=`pwd`; \
  279. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  280. include_option=--etags-include; \
  281. @@ -708,7 +657,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  282. list='$(SUBDIRS)'; for subdir in $$list; do \
  283. if test "$$subdir" = .; then :; else \
  284. test ! -f $$subdir/TAGS || \
  285. - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  286. + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  287. fi; \
  288. done; \
  289. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  290. @@ -717,41 +666,36 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
  291. done | \
  292. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  293. END { if (nonempty) { for (i in files) print i; }; }'`; \
  294. - shift; \
  295. - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  296. + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  297. test -n "$$unique" || unique=$$empty_fix; \
  298. - if test $$# -gt 0; then \
  299. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  300. - "$$@" $$unique; \
  301. - else \
  302. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  303. - $$unique; \
  304. - fi; \
  305. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  306. + $$tags $$unique; \
  307. fi
  308. ctags: CTAGS
  309. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  310. $(TAGS_FILES) $(LISP)
  311. + tags=; \
  312. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  313. unique=`for i in $$list; do \
  314. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  315. done | \
  316. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  317. END { if (nonempty) { for (i in files) print i; }; }'`; \
  318. - test -z "$(CTAGS_ARGS)$$unique" \
  319. + test -z "$(CTAGS_ARGS)$$tags$$unique" \
  320. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  321. - $$unique
  322. + $$tags $$unique
  323. GTAGS:
  324. here=`$(am__cd) $(top_builddir) && pwd` \
  325. - && $(am__cd) $(top_srcdir) \
  326. - && gtags -i $(GTAGS_ARGS) "$$here"
  327. + && cd $(top_srcdir) \
  328. + && gtags -i $(GTAGS_ARGS) $$here
  329. distclean-tags:
  330. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  331. distdir: $(DISTFILES)
  332. $(am__remove_distdir)
  333. - test -d "$(distdir)" || mkdir "$(distdir)"
  334. + test -d $(distdir) || mkdir $(distdir)
  335. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  336. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  337. list='$(DISTFILES)'; \
  338. @@ -767,55 +711,39 @@ distdir: $(DISTFILES)
  339. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  340. if test -d $$d/$$file; then \
  341. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  342. - if test -d "$(distdir)/$$file"; then \
  343. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  344. - fi; \
  345. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  346. - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  347. - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  348. + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  349. fi; \
  350. - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  351. + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  352. else \
  353. - test -f "$(distdir)/$$file" \
  354. - || cp -p $$d/$$file "$(distdir)/$$file" \
  355. + test -f $(distdir)/$$file \
  356. + || cp -p $$d/$$file $(distdir)/$$file \
  357. || exit 1; \
  358. fi; \
  359. done
  360. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  361. + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  362. if test "$$subdir" = .; then :; else \
  363. test -d "$(distdir)/$$subdir" \
  364. || $(MKDIR_P) "$(distdir)/$$subdir" \
  365. || exit 1; \
  366. - fi; \
  367. - done
  368. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  369. - if test "$$subdir" = .; then :; else \
  370. - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  371. - $(am__relativize); \
  372. - new_distdir=$$reldir; \
  373. - dir1=$$subdir; dir2="$(top_distdir)"; \
  374. - $(am__relativize); \
  375. - new_top_distdir=$$reldir; \
  376. - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  377. - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  378. - ($(am__cd) $$subdir && \
  379. + distdir=`$(am__cd) $(distdir) && pwd`; \
  380. + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  381. + (cd $$subdir && \
  382. $(MAKE) $(AM_MAKEFLAGS) \
  383. - top_distdir="$$new_top_distdir" \
  384. - distdir="$$new_distdir" \
  385. + top_distdir="$$top_distdir" \
  386. + distdir="$$distdir/$$subdir" \
  387. am__remove_distdir=: \
  388. am__skip_length_check=: \
  389. - am__skip_mode_fix=: \
  390. distdir) \
  391. || exit 1; \
  392. fi; \
  393. done
  394. - -test -n "$(am__skip_mode_fix)" \
  395. - || find "$(distdir)" -type d ! -perm -755 \
  396. + -find "$(distdir)" -type d ! -perm -755 \
  397. -exec chmod u+rwx,go+rx {} \; -o \
  398. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  399. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  400. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  401. - || chmod -R a+r "$(distdir)"
  402. + || chmod -R a+r $(distdir)
  403. dist-gzip: distdir
  404. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  405. $(am__remove_distdir)
  406. @@ -827,10 +755,6 @@ dist-lzma: distdir
  407. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  408. $(am__remove_distdir)
  409. -dist-xz: distdir
  410. - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  411. - $(am__remove_distdir)
  412. -
  413. dist-tarZ: distdir
  414. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  415. $(am__remove_distdir)
  416. @@ -855,29 +779,25 @@ dist dist-all: distdir
  417. distcheck: dist
  418. case '$(DIST_ARCHIVES)' in \
  419. *.tar.gz*) \
  420. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  421. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  422. *.tar.bz2*) \
  423. - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  424. + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  425. *.tar.lzma*) \
  426. - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  427. - *.tar.xz*) \
  428. - xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  429. + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  430. *.tar.Z*) \
  431. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  432. *.shar.gz*) \
  433. - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  434. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  435. *.zip*) \
  436. unzip $(distdir).zip ;;\
  437. esac
  438. - chmod -R a-w $(distdir); chmod a+w $(distdir)
  439. + chmod -R a-w $(distdir); chmod u+w $(distdir)
  440. mkdir $(distdir)/_build
  441. mkdir $(distdir)/_inst
  442. chmod a-w $(distdir)
  443. - test -d $(distdir)/_build || exit 0; \
  444. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  445. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  446. - && am__cwd=`pwd` \
  447. - && $(am__cd) $(distdir)/_build \
  448. + && cd $(distdir)/_build \
  449. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  450. $(DISTCHECK_CONFIGURE_FLAGS) \
  451. && $(MAKE) $(AM_MAKEFLAGS) \
  452. @@ -899,15 +819,13 @@ distcheck: dist
  453. && rm -rf "$$dc_destdir" \
  454. && $(MAKE) $(AM_MAKEFLAGS) dist \
  455. && rm -rf $(DIST_ARCHIVES) \
  456. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  457. - && cd "$$am__cwd" \
  458. - || exit 1
  459. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  460. $(am__remove_distdir)
  461. @(echo "$(distdir) archives ready for distribution: "; \
  462. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  463. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  464. distuninstallcheck:
  465. - @$(am__cd) '$(distuninstallcheck_dir)' \
  466. + @cd $(distuninstallcheck_dir) \
  467. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  468. || { echo "ERROR: files left after uninstall:" ; \
  469. if test -n "$(DESTDIR)"; then \
  470. @@ -955,7 +873,6 @@ clean-generic:
  471. distclean-generic:
  472. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  473. - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  474. maintainer-clean-generic:
  475. @echo "This command is intended for maintainers to use"
  476. @@ -1031,15 +948,14 @@ ps-am:
  477. uninstall-am: uninstall-pkgconfigDATA uninstall-pkgincludeHEADERS \
  478. uninstall-pkglibDATA
  479. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  480. - ctags-recursive install install-am install-strip \
  481. - tags-recursive
  482. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  483. + install-strip
  484. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  485. all all-am all-local am--refresh check check-am clean \
  486. clean-generic clean-local ctags ctags-recursive dist dist-all \
  487. - dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
  488. - dist-zip distcheck distclean distclean-generic distclean-hdr \
  489. + dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip \
  490. + distcheck distclean distclean-generic distclean-hdr \
  491. distclean-tags distcleancheck distdir distuninstallcheck dvi \
  492. dvi-am html html-am info info-am install install-am \
  493. install-data install-data-am install-dvi install-dvi-am \
  494. @@ -1146,7 +1062,6 @@ all-local: default.supp
  495. clean-local:
  496. rm -rf $(inplacedir)
  497. -
  498. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  499. # Otherwise a system limit (for SysV at least) may be exceeded.
  500. .NOEXPORT: