~ubuntu-branches/debian/jessie/mtr/jessie

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Robert Woodcock
  • Date: 2008-04-16 19:38:12 UTC
  • mfrom: (1.2.1 upstream) (5.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080416193812-c9tw92dcxlc5gg0y
Tags: 0.73-1
New upstream version

Show diffs side-by-side

added added

removed removed

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