1
0

patch-Makefile 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- mtr-0.75.orig/Makefile 2008-09-19 11:32:05.000000000 +0200
  3. +++ mtr-0.75/Makefile 2008-10-10 15:03:22.000000000 +0200
  4. @@ -1,16 +1,748 @@
  5. +# Makefile.in generated by automake 1.9.6 from Makefile.am.
  6. +# Makefile. Generated from Makefile.in by configure.
  7. -#
  8. -# This is an attempt on simplifying the compilation of mtr to a simple "make".
  9. -#
  10. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  11. +# 2003, 2004, 2005 Free Software Foundation, Inc.
  12. +# This Makefile.in is free software; the Free Software Foundation
  13. +# gives unlimited permission to copy and/or distribute it,
  14. +# with or without modifications, as long as this notice is preserved.
  15. -firstrule:
  16. - ./configure
  17. - $(MAKE)
  18. +# This program is distributed in the hope that it will be useful,
  19. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  20. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  21. +# PARTICULAR PURPOSE.
  22. -clean:
  23. - rm -f *.o *~ core
  24. -distclean: clean
  25. - rm -f mtr config.cache config.status config.log \
  26. - stamp-h stamp-h[0-9]* TAGS ID
  27. +srcdir = .
  28. +top_srcdir = .
  29. +
  30. +pkgdatadir = $(datadir)/mtr
  31. +pkglibdir = $(libdir)/mtr
  32. +pkgincludedir = $(includedir)/mtr
  33. +top_builddir = .
  34. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  35. +INSTALL = /usr/bin/install -c
  36. +install_sh_DATA = $(install_sh) -c -m 644
  37. +install_sh_PROGRAM = $(install_sh) -c
  38. +install_sh_SCRIPT = $(install_sh) -c
  39. +INSTALL_HEADER = $(INSTALL_DATA)
  40. +transform = $(program_transform_name)
  41. +NORMAL_INSTALL = :
  42. +PRE_INSTALL = :
  43. +POST_INSTALL = :
  44. +NORMAL_UNINSTALL = :
  45. +PRE_UNINSTALL = :
  46. +POST_UNINSTALL = :
  47. +sbin_PROGRAMS = mtr$(EXEEXT)
  48. +subdir = .
  49. +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  50. + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  51. + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
  52. + TODO config.guess config.sub depcomp install-sh missing \
  53. + mkinstalldirs
  54. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  55. +am__aclocal_m4_deps = $(top_srcdir)/configure.in
  56. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  57. + $(ACLOCAL_M4)
  58. +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  59. + configure.lineno configure.status.lineno
  60. +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  61. +CONFIG_HEADER = config.h
  62. +CONFIG_CLEAN_FILES =
  63. +am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
  64. +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  65. +PROGRAMS = $(sbin_PROGRAMS)
  66. +am_mtr_OBJECTS = mtr.$(OBJEXT) net.$(OBJEXT) dns.$(OBJEXT) \
  67. + raw.$(OBJEXT) split.$(OBJEXT) display.$(OBJEXT) \
  68. + report.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT) \
  69. + select.$(OBJEXT)
  70. +mtr_OBJECTS = $(am_mtr_OBJECTS)
  71. +mtr_LDADD = $(LDADD)
  72. +DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
  73. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  74. +am__depfiles_maybe = depfiles
  75. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  76. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  77. +CCLD = $(CC)
  78. +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  79. +SOURCES = $(mtr_SOURCES) $(EXTRA_mtr_SOURCES)
  80. +DIST_SOURCES = $(mtr_SOURCES) $(EXTRA_mtr_SOURCES)
  81. +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  82. + html-recursive info-recursive install-data-recursive \
  83. + install-exec-recursive install-info-recursive \
  84. + install-recursive installcheck-recursive installdirs-recursive \
  85. + pdf-recursive ps-recursive uninstall-info-recursive \
  86. + uninstall-recursive
  87. +man8dir = $(mandir)/man8
  88. +NROFF = nroff
  89. +MANS = $(man_MANS)
  90. +ETAGS = etags
  91. +CTAGS = ctags
  92. +DIST_SUBDIRS = $(SUBDIRS)
  93. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  94. +distdir = $(PACKAGE)-$(VERSION)
  95. +top_distdir = $(distdir)
  96. +am__remove_distdir = \
  97. + { test ! -d $(distdir) \
  98. + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  99. + && rm -fr $(distdir); }; }
  100. +DIST_ARCHIVES = $(distdir).tar.gz
  101. +GZIP_ENV = --best
  102. +distuninstallcheck_listfiles = find . -type f -print
  103. +distcleancheck_listfiles = find . -type f -print
  104. +ACLOCAL = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run aclocal-1.9
  105. +AMDEP_FALSE =
  106. +AMDEP_TRUE = #
  107. +AMTAR = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run tar
  108. +AUTOCONF = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run autoconf
  109. +AUTOHEADER = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run autoheader
  110. +AUTOMAKE = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run automake-1.9
  111. +AWK = gawk
  112. +CC = /home/wbrodkorb/openadk/cross_x86/host/bin/i586-linux-uclibc-gcc
  113. +CCDEPMODE = depmode=none
  114. +CFLAGS = -fwrapv -fno-ident -O2 -pipe -march=i586 -funit-at-a-time -Wall -Wno-pointer-sign
  115. +CPP = /home/wbrodkorb/openadk/cross_x86/host/bin/i586-linux-uclibc-gcc -E
  116. +CPPFLAGS = -isystem /home/wbrodkorb/openadk/cross_x86/target/include -isystem /home/wbrodkorb/openadk/cross_x86/target/usr/include -DNDEBUG
  117. +CURSES_OBJ = curses.o
  118. +CYGPATH_W = echo
  119. +DEFS = -DHAVE_CONFIG_H
  120. +DEPDIR = .deps
  121. +ECHO_C =
  122. +ECHO_N = -n
  123. +ECHO_T =
  124. +EGREP = /bin/grep -E
  125. +EXEEXT =
  126. +GREP = /bin/grep
  127. +GTK_CFLAGS =
  128. +GTK_LIBS =
  129. +GTK_OBJ =
  130. +INSTALL_DATA = ${INSTALL} -m 644
  131. +INSTALL_PROGRAM = ${INSTALL}
  132. +INSTALL_SCRIPT = ${INSTALL}
  133. +INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
  134. +LDFLAGS = -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbrodkorb/openadk/cross_x86/target/usr/lib -L/home/wbrodkorb/openadk/cross_x86/target/lib -L/home/wbrodkorb/openadk/cross_x86/target/usr/lib
  135. +LIBOBJS =
  136. +LIBS = -lresolv -lm -lncurses
  137. +LTLIBOBJS =
  138. +MAKEINFO = ${SHELL} /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/missing --run makeinfo
  139. +OBJEXT = o
  140. +PACKAGE = mtr
  141. +PACKAGE_BUGREPORT =
  142. +PACKAGE_NAME =
  143. +PACKAGE_STRING =
  144. +PACKAGE_TARNAME =
  145. +PACKAGE_VERSION =
  146. +PATH_SEPARATOR = :
  147. +PKG_CONFIG =
  148. +SET_MAKE =
  149. +SHELL = /bin/bash
  150. +STRIP = i586-linux-strip
  151. +VERSION = 0.75
  152. +ac_ct_CC =
  153. +am__fastdepCC_FALSE =
  154. +am__fastdepCC_TRUE = #
  155. +am__include = include
  156. +am__leading_dot = .
  157. +am__quote =
  158. +am__tar = ${AMTAR} chof - "$$tardir"
  159. +am__untar = ${AMTAR} xf -
  160. +bindir = ${exec_prefix}/bin
  161. +build_alias = i686-linux-gnu
  162. +datadir = /usr/share
  163. +datarootdir = ${prefix}/share
  164. +docdir = ${datarootdir}/doc/${PACKAGE}
  165. +dvidir = ${docdir}
  166. +exec_prefix = ${prefix}
  167. +host_alias = i586-linux
  168. +htmldir = ${docdir}
  169. +includedir = ${prefix}/include
  170. +infodir = ${datarootdir}/info
  171. +install_sh = /home/wbrodkorb/openadk/build_x86/w-mtr-0.75-1/mtr-0.75/install-sh
  172. +libdir = ${exec_prefix}/lib
  173. +libexecdir = /usr/lib
  174. +localedir = ${datarootdir}/locale
  175. +localstatedir = /var
  176. +mandir = /usr/share/man
  177. +mkdir_p = mkdir -p --
  178. +oldincludedir = /usr/include
  179. +pdfdir = ${docdir}
  180. +prefix = /usr
  181. +program_transform_name = s&$$&&;s&^&&
  182. +psdir = ${docdir}
  183. +sbindir = ${exec_prefix}/sbin
  184. +sharedstatedir = ${prefix}/com
  185. +sysconfdir = /etc
  186. +target_alias = i586-linux
  187. +SUBDIRS = img
  188. +man_MANS = mtr.8
  189. +mtr_SOURCES = mtr.c \
  190. + net.c net.h \
  191. + dns.c dns.h \
  192. + raw.c raw.h \
  193. + split.c split.h \
  194. + display.c display.h \
  195. + report.c report.h \
  196. + getopt.c getopt1.c getopt.h \
  197. + select.c select.h \
  198. + mtr-curses.h \
  199. + mtr-gtk.h
  200. +
  201. +EXTRA_mtr_SOURCES = curses.c \
  202. + gtk.c
  203. +
  204. +mtr_DEPENDENCIES = $(GTK_OBJ) $(CURSES_OBJ)
  205. +mtr_LDFLAGS = $(GTK_OBJ) $(CURSES_OBJ)
  206. +EXTRA_DIST = SECURITY mtr.8 Makefile Makefile.dist
  207. +DISTCLEANFILES = *~
  208. +all: config.h
  209. + $(MAKE) $(AM_MAKEFLAGS) all-recursive
  210. +
  211. +.SUFFIXES:
  212. +.SUFFIXES: .c .o .obj
  213. +am--refresh:
  214. + @:
  215. +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  216. + @for dep in $?; do \
  217. + case '$(am__configure_deps)' in \
  218. + *$$dep*) \
  219. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  220. + cd $(srcdir) && $(AUTOMAKE) --foreign \
  221. + && exit 0; \
  222. + exit 1;; \
  223. + esac; \
  224. + done; \
  225. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  226. + cd $(top_srcdir) && \
  227. + $(AUTOMAKE) --foreign Makefile
  228. +.PRECIOUS: Makefile
  229. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  230. + @case '$?' in \
  231. + *config.status*) \
  232. + echo ' $(SHELL) ./config.status'; \
  233. + $(SHELL) ./config.status;; \
  234. + *) \
  235. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  236. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  237. + esac;
  238. +
  239. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  240. + $(SHELL) ./config.status --recheck
  241. +
  242. +$(top_srcdir)/configure: $(am__configure_deps)
  243. + cd $(srcdir) && $(AUTOCONF)
  244. +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  245. + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  246. +
  247. +config.h: stamp-h1
  248. + @if test ! -f $@; then \
  249. + rm -f stamp-h1; \
  250. + $(MAKE) stamp-h1; \
  251. + else :; fi
  252. +
  253. +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  254. + @rm -f stamp-h1
  255. + cd $(top_builddir) && $(SHELL) ./config.status config.h
  256. +$(srcdir)/config.h.in: $(am__configure_deps)
  257. + cd $(top_srcdir) && $(AUTOHEADER)
  258. + rm -f stamp-h1
  259. + touch $@
  260. +
  261. +distclean-hdr:
  262. + -rm -f config.h stamp-h1
  263. +install-sbinPROGRAMS: $(sbin_PROGRAMS)
  264. + @$(NORMAL_INSTALL)
  265. + test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
  266. + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  267. + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  268. + if test -f $$p \
  269. + ; then \
  270. + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  271. + echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
  272. + $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
  273. + else :; fi; \
  274. + done
  275. +
  276. +uninstall-sbinPROGRAMS:
  277. + @$(NORMAL_UNINSTALL)
  278. + @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  279. + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  280. + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
  281. + rm -f "$(DESTDIR)$(sbindir)/$$f"; \
  282. + done
  283. +
  284. +clean-sbinPROGRAMS:
  285. + -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
  286. +mtr$(EXEEXT): $(mtr_OBJECTS) $(mtr_DEPENDENCIES)
  287. + @rm -f mtr$(EXEEXT)
  288. + $(LINK) $(mtr_LDFLAGS) $(mtr_OBJECTS) $(mtr_LDADD) $(LIBS)
  289. +
  290. +mostlyclean-compile:
  291. + -rm -f *.$(OBJEXT)
  292. +
  293. +distclean-compile:
  294. + -rm -f *.tab.c
  295. +
  296. +#include ./$(DEPDIR)/curses.Po
  297. +#include ./$(DEPDIR)/display.Po
  298. +#include ./$(DEPDIR)/dns.Po
  299. +#include ./$(DEPDIR)/getopt.Po
  300. +#include ./$(DEPDIR)/getopt1.Po
  301. +#include ./$(DEPDIR)/gtk.Po
  302. +#include ./$(DEPDIR)/mtr.Po
  303. +#include ./$(DEPDIR)/net.Po
  304. +#include ./$(DEPDIR)/raw.Po
  305. +#include ./$(DEPDIR)/report.Po
  306. +#include ./$(DEPDIR)/select.Po
  307. +#include ./$(DEPDIR)/split.Po
  308. +
  309. +.c.o:
  310. +# if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
  311. +# then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  312. +# source='$<' object='$@' libtool=no
  313. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
  314. + $(COMPILE) -c $<
  315. +
  316. +.c.obj:
  317. +# if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
  318. +# then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
  319. +# source='$<' object='$@' libtool=no
  320. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp)
  321. + $(COMPILE) -c `$(CYGPATH_W) '$<'`
  322. +uninstall-info-am:
  323. +install-man8: $(man8_MANS) $(man_MANS)
  324. + @$(NORMAL_INSTALL)
  325. + test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
  326. + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  327. + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  328. + for i in $$l2; do \
  329. + case "$$i" in \
  330. + *.8*) list="$$list $$i" ;; \
  331. + esac; \
  332. + done; \
  333. + for i in $$list; do \
  334. + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  335. + else file=$$i; fi; \
  336. + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  337. + case "$$ext" in \
  338. + 8*) ;; \
  339. + *) ext='8' ;; \
  340. + esac; \
  341. + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  342. + inst=`echo $$inst | sed -e 's/^.*\///'`; \
  343. + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  344. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  345. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  346. + done
  347. +uninstall-man8:
  348. + @$(NORMAL_UNINSTALL)
  349. + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  350. + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  351. + for i in $$l2; do \
  352. + case "$$i" in \
  353. + *.8*) list="$$list $$i" ;; \
  354. + esac; \
  355. + done; \
  356. + for i in $$list; do \
  357. + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  358. + case "$$ext" in \
  359. + 8*) ;; \
  360. + *) ext='8' ;; \
  361. + esac; \
  362. + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  363. + inst=`echo $$inst | sed -e 's/^.*\///'`; \
  364. + inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  365. + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  366. + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  367. + done
  368. +
  369. +# This directory's subdirectories are mostly independent; you can cd
  370. +# into them and run `make' without going through this Makefile.
  371. +# To change the values of `make' variables: instead of editing Makefiles,
  372. +# (1) if the variable is set in `config.status', edit `config.status'
  373. +# (which will cause the Makefiles to be regenerated when you run `make');
  374. +# (2) otherwise, pass the desired values on the `make' command line.
  375. +$(RECURSIVE_TARGETS):
  376. + @failcom='exit 1'; \
  377. + for f in x $$MAKEFLAGS; do \
  378. + case $$f in \
  379. + *=* | --[!k]*);; \
  380. + *k*) failcom='fail=yes';; \
  381. + esac; \
  382. + done; \
  383. + dot_seen=no; \
  384. + target=`echo $@ | sed s/-recursive//`; \
  385. + list='$(SUBDIRS)'; for subdir in $$list; do \
  386. + echo "Making $$target in $$subdir"; \
  387. + if test "$$subdir" = "."; then \
  388. + dot_seen=yes; \
  389. + local_target="$$target-am"; \
  390. + else \
  391. + local_target="$$target"; \
  392. + fi; \
  393. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  394. + || eval $$failcom; \
  395. + done; \
  396. + if test "$$dot_seen" = "no"; then \
  397. + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  398. + fi; test -z "$$fail"
  399. +
  400. +mostlyclean-recursive clean-recursive distclean-recursive \
  401. +maintainer-clean-recursive:
  402. + @failcom='exit 1'; \
  403. + for f in x $$MAKEFLAGS; do \
  404. + case $$f in \
  405. + *=* | --[!k]*);; \
  406. + *k*) failcom='fail=yes';; \
  407. + esac; \
  408. + done; \
  409. + dot_seen=no; \
  410. + case "$@" in \
  411. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  412. + *) list='$(SUBDIRS)' ;; \
  413. + esac; \
  414. + rev=''; for subdir in $$list; do \
  415. + if test "$$subdir" = "."; then :; else \
  416. + rev="$$subdir $$rev"; \
  417. + fi; \
  418. + done; \
  419. + rev="$$rev ."; \
  420. + target=`echo $@ | sed s/-recursive//`; \
  421. + for subdir in $$rev; do \
  422. + echo "Making $$target in $$subdir"; \
  423. + if test "$$subdir" = "."; then \
  424. + local_target="$$target-am"; \
  425. + else \
  426. + local_target="$$target"; \
  427. + fi; \
  428. + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  429. + || eval $$failcom; \
  430. + done && test -z "$$fail"
  431. +tags-recursive:
  432. + list='$(SUBDIRS)'; for subdir in $$list; do \
  433. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  434. + done
  435. +ctags-recursive:
  436. + list='$(SUBDIRS)'; for subdir in $$list; do \
  437. + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  438. + done
  439. +
  440. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  441. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  442. + unique=`for i in $$list; do \
  443. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  444. + done | \
  445. + $(AWK) ' { files[$$0] = 1; } \
  446. + END { for (i in files) print i; }'`; \
  447. + mkid -fID $$unique
  448. +tags: TAGS
  449. +
  450. +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  451. + $(TAGS_FILES) $(LISP)
  452. + tags=; \
  453. + here=`pwd`; \
  454. + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  455. + include_option=--etags-include; \
  456. + empty_fix=.; \
  457. + else \
  458. + include_option=--include; \
  459. + empty_fix=; \
  460. + fi; \
  461. + list='$(SUBDIRS)'; for subdir in $$list; do \
  462. + if test "$$subdir" = .; then :; else \
  463. + test ! -f $$subdir/TAGS || \
  464. + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  465. + fi; \
  466. + done; \
  467. + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  468. + unique=`for i in $$list; do \
  469. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  470. + done | \
  471. + $(AWK) ' { files[$$0] = 1; } \
  472. + END { for (i in files) print i; }'`; \
  473. + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  474. + test -n "$$unique" || unique=$$empty_fix; \
  475. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  476. + $$tags $$unique; \
  477. + fi
  478. +ctags: CTAGS
  479. +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  480. + $(TAGS_FILES) $(LISP)
  481. + tags=; \
  482. + here=`pwd`; \
  483. + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  484. + unique=`for i in $$list; do \
  485. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  486. + done | \
  487. + $(AWK) ' { files[$$0] = 1; } \
  488. + END { for (i in files) print i; }'`; \
  489. + test -z "$(CTAGS_ARGS)$$tags$$unique" \
  490. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  491. + $$tags $$unique
  492. +
  493. +GTAGS:
  494. + here=`$(am__cd) $(top_builddir) && pwd` \
  495. + && cd $(top_srcdir) \
  496. + && gtags -i $(GTAGS_ARGS) $$here
  497. +
  498. +distclean-tags:
  499. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  500. +
  501. +distdir: $(DISTFILES)
  502. + $(am__remove_distdir)
  503. + mkdir $(distdir)
  504. + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  505. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  506. + list='$(DISTFILES)'; for file in $$list; do \
  507. + case $$file in \
  508. + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  509. + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
  510. + esac; \
  511. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  512. + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
  513. + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
  514. + dir="/$$dir"; \
  515. + $(mkdir_p) "$(distdir)$$dir"; \
  516. + else \
  517. + dir=''; \
  518. + fi; \
  519. + if test -d $$d/$$file; then \
  520. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  521. + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  522. + fi; \
  523. + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  524. + else \
  525. + test -f $(distdir)/$$file \
  526. + || cp -p $$d/$$file $(distdir)/$$file \
  527. + || exit 1; \
  528. + fi; \
  529. + done
  530. + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  531. + if test "$$subdir" = .; then :; else \
  532. + test -d "$(distdir)/$$subdir" \
  533. + || $(mkdir_p) "$(distdir)/$$subdir" \
  534. + || exit 1; \
  535. + distdir=`$(am__cd) $(distdir) && pwd`; \
  536. + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  537. + (cd $$subdir && \
  538. + $(MAKE) $(AM_MAKEFLAGS) \
  539. + top_distdir="$$top_distdir" \
  540. + distdir="$$distdir/$$subdir" \
  541. + distdir) \
  542. + || exit 1; \
  543. + fi; \
  544. + done
  545. + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  546. + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  547. + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  548. + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
  549. + || chmod -R a+r $(distdir)
  550. +dist-gzip: distdir
  551. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  552. + $(am__remove_distdir)
  553. +
  554. +dist-bzip2: distdir
  555. + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  556. + $(am__remove_distdir)
  557. +
  558. +dist-tarZ: distdir
  559. + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  560. + $(am__remove_distdir)
  561. +
  562. +dist-shar: distdir
  563. + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  564. + $(am__remove_distdir)
  565. +
  566. +dist-zip: distdir
  567. + -rm -f $(distdir).zip
  568. + zip -rq $(distdir).zip $(distdir)
  569. + $(am__remove_distdir)
  570. +
  571. +dist dist-all: distdir
  572. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  573. + $(am__remove_distdir)
  574. +
  575. +# This target untars the dist file and tries a VPATH configuration. Then
  576. +# it guarantees that the distribution is self-contained by making another
  577. +# tarfile.
  578. +distcheck: dist
  579. + case '$(DIST_ARCHIVES)' in \
  580. + *.tar.gz*) \
  581. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  582. + *.tar.bz2*) \
  583. + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  584. + *.tar.Z*) \
  585. + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  586. + *.shar.gz*) \
  587. + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  588. + *.zip*) \
  589. + unzip $(distdir).zip ;;\
  590. + esac
  591. + chmod -R a-w $(distdir); chmod a+w $(distdir)
  592. + mkdir $(distdir)/_build
  593. + mkdir $(distdir)/_inst
  594. + chmod a-w $(distdir)
  595. + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  596. + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  597. + && cd $(distdir)/_build \
  598. + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  599. + $(DISTCHECK_CONFIGURE_FLAGS) \
  600. + && $(MAKE) $(AM_MAKEFLAGS) \
  601. + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  602. + && $(MAKE) $(AM_MAKEFLAGS) check \
  603. + && $(MAKE) $(AM_MAKEFLAGS) install \
  604. + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  605. + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  606. + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  607. + distuninstallcheck \
  608. + && chmod -R a-w "$$dc_install_base" \
  609. + && ({ \
  610. + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  611. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  612. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  613. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  614. + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  615. + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  616. + && rm -rf "$$dc_destdir" \
  617. + && $(MAKE) $(AM_MAKEFLAGS) dist \
  618. + && rm -rf $(DIST_ARCHIVES) \
  619. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  620. + $(am__remove_distdir)
  621. + @(echo "$(distdir) archives ready for distribution: "; \
  622. + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  623. + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
  624. +distuninstallcheck:
  625. + @cd $(distuninstallcheck_dir) \
  626. + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  627. + || { echo "ERROR: files left after uninstall:" ; \
  628. + if test -n "$(DESTDIR)"; then \
  629. + echo " (check DESTDIR support)"; \
  630. + fi ; \
  631. + $(distuninstallcheck_listfiles) ; \
  632. + exit 1; } >&2
  633. +distcleancheck: distclean
  634. + @if test '$(srcdir)' = . ; then \
  635. + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  636. + exit 1 ; \
  637. + fi
  638. + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  639. + || { echo "ERROR: files left in build directory after distclean:" ; \
  640. + $(distcleancheck_listfiles) ; \
  641. + exit 1; } >&2
  642. +check-am: all-am
  643. +check: check-recursive
  644. +all-am: Makefile $(PROGRAMS) $(MANS) config.h
  645. +installdirs: installdirs-recursive
  646. +installdirs-am:
  647. + for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
  648. + test -z "$$dir" || $(mkdir_p) "$$dir"; \
  649. + done
  650. +install: install-recursive
  651. +install-exec: install-exec-recursive
  652. +install-data: install-data-recursive
  653. +uninstall: uninstall-recursive
  654. +
  655. +install-am: all-am
  656. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  657. +
  658. +installcheck: installcheck-recursive
  659. +install-strip:
  660. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  661. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  662. + `test -z '$(STRIP)' || \
  663. + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  664. +mostlyclean-generic:
  665. +
  666. +clean-generic:
  667. +
  668. +distclean-generic:
  669. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  670. + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
  671. +
  672. +maintainer-clean-generic:
  673. + @echo "This command is intended for maintainers to use"
  674. + @echo "it deletes files that may require special tools to rebuild."
  675. +clean: clean-recursive
  676. +
  677. +clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am
  678. +
  679. +distclean: distclean-recursive
  680. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  681. + -rm -rf ./$(DEPDIR)
  682. + -rm -f Makefile
  683. +distclean-am: clean-am distclean-compile distclean-generic \
  684. + distclean-hdr distclean-local distclean-tags
  685. +
  686. +dvi: dvi-recursive
  687. +
  688. +dvi-am:
  689. +
  690. +html: html-recursive
  691. +
  692. +info: info-recursive
  693. +
  694. +info-am:
  695. +
  696. +install-data-am: install-man
  697. +
  698. +install-exec-am: install-sbinPROGRAMS
  699. + @$(NORMAL_INSTALL)
  700. + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
  701. +
  702. +install-info: install-info-recursive
  703. +
  704. +install-man: install-man8
  705. +
  706. +installcheck-am:
  707. +
  708. +maintainer-clean: maintainer-clean-recursive
  709. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  710. + -rm -rf $(top_srcdir)/autom4te.cache
  711. + -rm -rf ./$(DEPDIR)
  712. + -rm -f Makefile
  713. +maintainer-clean-am: distclean-am maintainer-clean-generic
  714. +
  715. +mostlyclean: mostlyclean-recursive
  716. +
  717. +mostlyclean-am: mostlyclean-compile mostlyclean-generic
  718. +
  719. +pdf: pdf-recursive
  720. +
  721. +pdf-am:
  722. +
  723. +ps: ps-recursive
  724. +
  725. +ps-am:
  726. +
  727. +uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
  728. +
  729. +uninstall-info: uninstall-info-recursive
  730. +
  731. +uninstall-man: uninstall-man8
  732. +
  733. +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
  734. + check-am clean clean-generic clean-recursive \
  735. + clean-sbinPROGRAMS ctags ctags-recursive dist dist-all \
  736. + dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \
  737. + distclean distclean-compile distclean-generic distclean-hdr \
  738. + distclean-local distclean-recursive distclean-tags \
  739. + distcleancheck distdir distuninstallcheck dvi dvi-am html \
  740. + html-am info info-am install install-am install-data \
  741. + install-data-am install-exec install-exec-am install-exec-hook \
  742. + install-info install-info-am install-man install-man8 \
  743. + install-sbinPROGRAMS install-strip installcheck \
  744. + installcheck-am installdirs installdirs-am maintainer-clean \
  745. + maintainer-clean-generic maintainer-clean-recursive \
  746. + mostlyclean mostlyclean-compile mostlyclean-generic \
  747. + mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
  748. + uninstall uninstall-am uninstall-info-am uninstall-man \
  749. + uninstall-man8 uninstall-sbinPROGRAMS
  750. +
  751. +install-exec-hook:
  752. + chmod u+s $(DESTDIR)$(sbindir)/mtr
  753. +distclean-local:
  754. + (sleep 3; cp Makefile.dist Makefile) &
  755. + rm -f *.orig
  756. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  757. +# Otherwise a system limit (for SysV at least) may be exceeded.
  758. +.NOEXPORT: