1238901Sandrew# Makefile.in generated automatically by automake 1.4 from Makefile.am
2238901Sandrew
3238901Sandrew# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4238901Sandrew# This Makefile.in is free software; the Free Software Foundation
5238901Sandrew# gives unlimited permission to copy and/or distribute it,
6238901Sandrew# with or without modifications, as long as this notice is preserved.
7238901Sandrew
8238901Sandrew# This program is distributed in the hope that it will be useful,
9238901Sandrew# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10238901Sandrew# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11238901Sandrew# PARTICULAR PURPOSE.
12238901Sandrew
13238901Sandrew
14238901SandrewSHELL = @SHELL@
15238901Sandrew
16238901Sandrewsrcdir = @srcdir@
17238901Sandrewtop_srcdir = @top_srcdir@
18238901SandrewVPATH = @srcdir@
19238901Sandrewprefix = @prefix@
20238901Sandrewexec_prefix = @exec_prefix@
21238901Sandrew
22238901Sandrewbindir = @bindir@
23238901Sandrewsbindir = @sbindir@
24238901Sandrewlibexecdir = @libexecdir@
25238901Sandrewdatadir = @datadir@
26238901Sandrewsysconfdir = @sysconfdir@
27238901Sandrewsharedstatedir = @sharedstatedir@
28238901Sandrewlocalstatedir = @localstatedir@
29238901Sandrewlibdir = @libdir@
30245641Sandrewinfodir = @infodir@
31245641Sandrewmandir = @mandir@
32includedir = @includedir@
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/@PACKAGE@
38pkglibdir = $(libdir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40
41top_builddir = .
42
43ACLOCAL = @ACLOCAL@
44AUTOCONF = @AUTOCONF@
45AUTOMAKE = @AUTOMAKE@
46AUTOHEADER = @AUTOHEADER@
47
48INSTALL = @INSTALL@
49INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = @INSTALL_DATA@
51INSTALL_SCRIPT = @INSTALL_SCRIPT@
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60CC = @CC@
61CPP = @CPP@
62CURSES_OBJ = @CURSES_OBJ@
63GTK_CFLAGS = @GTK_CFLAGS@
64GTK_CONFIG = @GTK_CONFIG@
65GTK_LIBS = @GTK_LIBS@
66GTK_OBJ = @GTK_OBJ@
67MAKEINFO = @MAKEINFO@
68PACKAGE = @PACKAGE@
69VERSION = @VERSION@
70
71SUBDIRS = img
72
73sbin_PROGRAMS = mtr
74man_MANS = mtr.8
75
76mtr_SOURCES = mtr.c               net.c net.h               dns.c dns.h               raw.c raw.h               split.c split.h               display.c display.h               report.c report.h               getopt.c getopt1.c getopt.h               select.c select.h               mtr-curses.h               mtr-gtk.h
77
78EXTRA_mtr_SOURCES = curses.c                     gtk.c
79
80mtr_DEPENDENCIES = $(GTK_OBJ) $(CURSES_OBJ)
81mtr_LDFLAGS = $(GTK_OBJ) $(CURSES_OBJ)
82
83EXTRA_DIST = SECURITY mtr.8 Makefile Makefile.dist
84
85DISTCLEANFILES = *~
86ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
87mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
88CONFIG_HEADER = config.h
89CONFIG_CLEAN_FILES = 
90PROGRAMS =  $(sbin_PROGRAMS)
91
92
93DEFS = @DEFS@ -I. -I$(srcdir) -I.
94CPPFLAGS = @CPPFLAGS@
95LDFLAGS = @LDFLAGS@
96LIBS = @LIBS@
97mtr_OBJECTS =  mtr.o net.o dns.o raw.o split.o display.o report.o \
98getopt.o getopt1.o select.o
99mtr_LDADD = $(LDADD)
100CFLAGS = @CFLAGS@
101COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
102CCLD = $(CC)
103LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
104man8dir = $(mandir)/man8
105MANS = $(man_MANS)
106
107NROFF = nroff
108DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
109Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \
110configure configure.in install-sh missing mkinstalldirs
111
112
113DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
114
115TAR = tar
116GZIP_ENV = --best
117SOURCES = $(mtr_SOURCES) $(EXTRA_mtr_SOURCES)
118OBJECTS = $(mtr_OBJECTS)
119
120all: all-redirect
121.SUFFIXES:
122.SUFFIXES: .S .c .o .s
123$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
124	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
125
126Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
127	cd $(top_builddir) \
128	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
129
130$(ACLOCAL_M4):  configure.in 
131	cd $(srcdir) && $(ACLOCAL)
132
133config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
134	$(SHELL) ./config.status --recheck
135$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
136	cd $(srcdir) && $(AUTOCONF)
137
138config.h: stamp-h
139	@if test ! -f $@; then \
140		rm -f stamp-h; \
141		$(MAKE) stamp-h; \
142	else :; fi
143stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
144	cd $(top_builddir) \
145	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
146	     $(SHELL) ./config.status
147	@echo timestamp > stamp-h 2> /dev/null
148$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
149	@if test ! -f $@; then \
150		rm -f $(srcdir)/stamp-h.in; \
151		$(MAKE) $(srcdir)/stamp-h.in; \
152	else :; fi
153$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
154	cd $(top_srcdir) && $(AUTOHEADER)
155	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
156
157mostlyclean-hdr:
158
159clean-hdr:
160
161distclean-hdr:
162	-rm -f config.h
163
164maintainer-clean-hdr:
165
166mostlyclean-sbinPROGRAMS:
167
168clean-sbinPROGRAMS:
169	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
170
171distclean-sbinPROGRAMS:
172
173maintainer-clean-sbinPROGRAMS:
174
175install-sbinPROGRAMS: $(sbin_PROGRAMS)
176	@$(NORMAL_INSTALL)
177	$(mkinstalldirs) $(DESTDIR)$(sbindir)
178	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
179	  if test -f $$p; then \
180	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
181	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
182	  else :; fi; \
183	done
184
185uninstall-sbinPROGRAMS:
186	@$(NORMAL_UNINSTALL)
187	list='$(sbin_PROGRAMS)'; for p in $$list; do \
188	  rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
189	done
190
191.c.o:
192	$(COMPILE) -c $<
193
194.s.o:
195	$(COMPILE) -c $<
196
197.S.o:
198	$(COMPILE) -c $<
199
200mostlyclean-compile:
201	-rm -f *.o core *.core
202
203clean-compile:
204
205distclean-compile:
206	-rm -f *.tab.c
207
208maintainer-clean-compile:
209
210mtr: $(mtr_OBJECTS) $(mtr_DEPENDENCIES)
211	@rm -f mtr
212	$(LINK) $(mtr_LDFLAGS) $(mtr_OBJECTS) $(mtr_LDADD) $(LIBS)
213
214install-man8:
215	$(mkinstalldirs) $(DESTDIR)$(man8dir)
216	@list='$(man8_MANS)'; \
217	l2='$(man_MANS)'; for i in $$l2; do \
218	  case "$$i" in \
219	    *.8*) list="$$list $$i" ;; \
220	  esac; \
221	done; \
222	for i in $$list; do \
223	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
224	  else file=$$i; fi; \
225	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
226	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
227	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
228	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
229	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
230	done
231
232uninstall-man8:
233	@list='$(man8_MANS)'; \
234	l2='$(man_MANS)'; for i in $$l2; do \
235	  case "$$i" in \
236	    *.8*) list="$$list $$i" ;; \
237	  esac; \
238	done; \
239	for i in $$list; do \
240	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
241	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
242	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
243	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
244	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
245	done
246install-man: $(MANS)
247	@$(NORMAL_INSTALL)
248	$(MAKE) $(AM_MAKEFLAGS) install-man8
249uninstall-man:
250	@$(NORMAL_UNINSTALL)
251	$(MAKE) $(AM_MAKEFLAGS) uninstall-man8
252
253# This directory's subdirectories are mostly independent; you can cd
254# into them and run `make' without going through this Makefile.
255# To change the values of `make' variables: instead of editing Makefiles,
256# (1) if the variable is set in `config.status', edit `config.status'
257#     (which will cause the Makefiles to be regenerated when you run `make');
258# (2) otherwise, pass the desired values on the `make' command line.
259
260@SET_MAKE@
261
262all-recursive install-data-recursive install-exec-recursive \
263installdirs-recursive install-recursive uninstall-recursive  \
264check-recursive installcheck-recursive info-recursive dvi-recursive:
265	@set fnord $(MAKEFLAGS); amf=$$2; \
266	dot_seen=no; \
267	target=`echo $@ | sed s/-recursive//`; \
268	list='$(SUBDIRS)'; for subdir in $$list; do \
269	  echo "Making $$target in $$subdir"; \
270	  if test "$$subdir" = "."; then \
271	    dot_seen=yes; \
272	    local_target="$$target-am"; \
273	  else \
274	    local_target="$$target"; \
275	  fi; \
276	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
277	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
278	done; \
279	if test "$$dot_seen" = "no"; then \
280	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
281	fi; test -z "$$fail"
282
283mostlyclean-recursive clean-recursive distclean-recursive \
284maintainer-clean-recursive:
285	@set fnord $(MAKEFLAGS); amf=$$2; \
286	dot_seen=no; \
287	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
288	  rev="$$subdir $$rev"; \
289	  test "$$subdir" = "." && dot_seen=yes; \
290	done; \
291	test "$$dot_seen" = "no" && rev=". $$rev"; \
292	target=`echo $@ | sed s/-recursive//`; \
293	for subdir in $$rev; do \
294	  echo "Making $$target in $$subdir"; \
295	  if test "$$subdir" = "."; then \
296	    local_target="$$target-am"; \
297	  else \
298	    local_target="$$target"; \
299	  fi; \
300	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
301	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
302	done && test -z "$$fail"
303tags-recursive:
304	list='$(SUBDIRS)'; for subdir in $$list; do \
305	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
306	done
307
308tags: TAGS
309
310ID: $(HEADERS) $(SOURCES) $(LISP)
311	list='$(SOURCES) $(HEADERS)'; \
312	unique=`for i in $$list; do echo $$i; done | \
313	  awk '    { files[$$0] = 1; } \
314	       END { for (i in files) print i; }'`; \
315	here=`pwd` && cd $(srcdir) \
316	  && mkid -f$$here/ID $$unique $(LISP)
317
318TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
319	tags=; \
320	here=`pwd`; \
321	list='$(SUBDIRS)'; for subdir in $$list; do \
322   if test "$$subdir" = .; then :; else \
323	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
324   fi; \
325	done; \
326	list='$(SOURCES) $(HEADERS)'; \
327	unique=`for i in $$list; do echo $$i; done | \
328	  awk '    { files[$$0] = 1; } \
329	       END { for (i in files) print i; }'`; \
330	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
331	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
332
333mostlyclean-tags:
334
335clean-tags:
336
337distclean-tags:
338	-rm -f TAGS ID
339
340maintainer-clean-tags:
341
342distdir = $(PACKAGE)-$(VERSION)
343top_distdir = $(distdir)
344
345# This target untars the dist file and tries a VPATH configuration.  Then
346# it guarantees that the distribution is self-contained by making another
347# tarfile.
348distcheck: dist
349	-rm -rf $(distdir)
350	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
351	mkdir $(distdir)/=build
352	mkdir $(distdir)/=inst
353	dc_install_base=`cd $(distdir)/=inst && pwd`; \
354	cd $(distdir)/=build \
355	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
356	  && $(MAKE) $(AM_MAKEFLAGS) \
357	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
358	  && $(MAKE) $(AM_MAKEFLAGS) check \
359	  && $(MAKE) $(AM_MAKEFLAGS) install \
360	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
361	  && $(MAKE) $(AM_MAKEFLAGS) dist
362	-rm -rf $(distdir)
363	@banner="$(distdir).tar.gz is ready for distribution"; \
364	dashes=`echo "$$banner" | sed s/./=/g`; \
365	echo "$$dashes"; \
366	echo "$$banner"; \
367	echo "$$dashes"
368dist: distdir
369	-chmod -R a+r $(distdir)
370	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
371	-rm -rf $(distdir)
372dist-all: distdir
373	-chmod -R a+r $(distdir)
374	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
375	-rm -rf $(distdir)
376distdir: $(DISTFILES)
377	-rm -rf $(distdir)
378	mkdir $(distdir)
379	-chmod 777 $(distdir)
380	@for file in $(DISTFILES); do \
381	  d=$(srcdir); \
382	  if test -d $$d/$$file; then \
383	    cp -pr $$/$$file $(distdir)/$$file; \
384	  else \
385	    test -f $(distdir)/$$file \
386	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
387	    || cp -p $$d/$$file $(distdir)/$$file || :; \
388	  fi; \
389	done
390	for subdir in $(SUBDIRS); do \
391	  if test "$$subdir" = .; then :; else \
392	    test -d $(distdir)/$$subdir \
393	    || mkdir $(distdir)/$$subdir \
394	    || exit 1; \
395	    chmod 777 $(distdir)/$$subdir; \
396	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
397	      || exit 1; \
398	  fi; \
399	done
400info-am:
401info: info-recursive
402dvi-am:
403dvi: dvi-recursive
404check-am: all-am
405check: check-recursive
406installcheck-am:
407installcheck: installcheck-recursive
408all-recursive-am: config.h
409	$(MAKE) $(AM_MAKEFLAGS) all-recursive
410
411install-exec-am: install-sbinPROGRAMS
412install-exec: install-exec-recursive
413
414install-data-am: install-man
415install-data: install-data-recursive
416
417install-am: all-am
418	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
419install: install-recursive
420uninstall-am: uninstall-sbinPROGRAMS uninstall-man
421uninstall: uninstall-recursive
422all-am: Makefile $(PROGRAMS) $(MANS) config.h
423all-redirect: all-recursive-am
424install-strip:
425	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
426installdirs: installdirs-recursive
427installdirs-am:
428	$(mkinstalldirs)  $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir)/man8
429
430
431mostlyclean-generic:
432
433clean-generic:
434
435distclean-generic:
436	-rm -f Makefile $(CONFIG_CLEAN_FILES)
437	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
438	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
439
440maintainer-clean-generic:
441mostlyclean-am:  mostlyclean-hdr mostlyclean-sbinPROGRAMS \
442		mostlyclean-compile mostlyclean-tags \
443		mostlyclean-generic
444
445mostlyclean: mostlyclean-recursive
446
447clean-am:  clean-hdr clean-sbinPROGRAMS clean-compile clean-tags \
448		clean-generic mostlyclean-am
449
450clean: clean-recursive
451
452distclean-am:  distclean-hdr distclean-sbinPROGRAMS distclean-compile \
453		distclean-tags distclean-generic clean-am \
454		distclean-local
455
456distclean: distclean-recursive
457	-rm -f config.status
458
459maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-sbinPROGRAMS \
460		maintainer-clean-compile maintainer-clean-tags \
461		maintainer-clean-generic distclean-am
462	@echo "This command is intended for maintainers to use;"
463	@echo "it deletes files that may require special tools to rebuild."
464
465maintainer-clean: maintainer-clean-recursive
466	-rm -f config.status
467
468.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
469mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-sbinPROGRAMS \
470maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \
471install-sbinPROGRAMS mostlyclean-compile distclean-compile \
472clean-compile maintainer-clean-compile install-man8 uninstall-man8 \
473install-man uninstall-man install-data-recursive \
474uninstall-data-recursive install-exec-recursive \
475uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
476all-recursive check-recursive installcheck-recursive info-recursive \
477dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
478maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
479distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
480dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
481install-exec-am install-exec install-data-am install-data install-am \
482install uninstall-am uninstall all-redirect all-am all installdirs-am \
483installdirs mostlyclean-generic distclean-generic clean-generic \
484maintainer-clean-generic clean mostlyclean distclean maintainer-clean
485
486install-exec-am: 
487	chmod u+s $(DESTDIR)$(sbindir)/mtr
488distclean-local:
489	cp Makefile.dist Makefile
490	rm -f *.orig
491
492# Tell versions [3.59,3.63) of GNU make to not export all variables.
493# Otherwise a system limit (for SysV at least) may be exceeded.
494.NOEXPORT:
495