2002-09-25 13:00:29 +00:00
|
|
|
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
2000-04-17 11:47:57 +00:00
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
2000-04-17 11:47:57 +00:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
SHELL = @SHELL@
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
DESTDIR =
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
2000-09-27 05:38:29 +00:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
2000-04-17 11:47:57 +00:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
2001-03-16 14:32:52 +00:00
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
2000-04-17 11:47:57 +00:00
|
|
|
CC = @CC@
|
2003-11-05 12:14:01 +00:00
|
|
|
HAVE_LIB = @HAVE_LIB@
|
|
|
|
LIB = @LIB@
|
|
|
|
LTLIB = @LTLIB@
|
2000-04-17 11:47:57 +00:00
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
|
|
|
|
bin_PROGRAMS = echoping
|
2000-06-15 19:28:21 +00:00
|
|
|
man_MANS = echoping.1
|
2000-09-27 05:38:29 +00:00
|
|
|
echoping_SOURCES = echoping.c error.c readline.c writen.c util.c http.c icp.c HTParse.c echoping.h icp.h HTParse.h smtp.c
|
2000-04-17 11:47:57 +00:00
|
|
|
echoping_LDADD =
|
2000-09-27 05:38:29 +00:00
|
|
|
DOCS = DETAILS
|
2000-04-17 14:43:43 +00:00
|
|
|
|
2001-03-16 15:07:47 +00:00
|
|
|
TESTS = test-echoping-local test-echoping-remote
|
2002-10-03 20:27:09 +00:00
|
|
|
MORE_TESTS = test-echoping-proxy test-echoping-icp test-echoping-crypto test-echoping-tos test-echoping-ipv6
|
2000-06-25 18:55:56 +00:00
|
|
|
|
2000-11-06 14:14:14 +00:00
|
|
|
EXTRA_DIST = $(man_MANS) $(TESTS) $(DOCS) $(MORE_TESTS)
|
2000-04-17 11:47:57 +00:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
2000-04-17 13:11:31 +00:00
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
2000-04-17 11:47:57 +00:00
|
|
|
CONFIG_HEADER = config.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
echoping_OBJECTS = echoping.o error.o readline.o writen.o util.o http.o \
|
2000-09-27 05:38:29 +00:00
|
|
|
icp.o HTParse.o smtp.o
|
2000-04-17 11:47:57 +00:00
|
|
|
echoping_DEPENDENCIES =
|
|
|
|
echoping_LDFLAGS =
|
|
|
|
CFLAGS = @CFLAGS@
|
2000-09-27 05:38:29 +00:00
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
CCLD = $(CC)
|
|
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
2000-06-15 19:28:21 +00:00
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
MANS = $(man_MANS)
|
|
|
|
|
|
|
|
NROFF = nroff
|
2000-09-27 05:38:29 +00:00
|
|
|
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
|
|
|
|
Makefile.am Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 \
|
2001-03-16 14:32:52 +00:00
|
|
|
config.guess config.h.in config.sub configure configure.in install-sh \
|
|
|
|
missing mkinstalldirs
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = tar
|
2000-09-27 05:38:29 +00:00
|
|
|
GZIP_ENV = --best
|
2000-11-04 13:00:23 +00:00
|
|
|
DEP_FILES = .deps/HTParse.P .deps/echoping.P .deps/error.P .deps/http.P \
|
|
|
|
.deps/icp.P .deps/readline.P .deps/smtp.P .deps/util.P .deps/writen.P
|
2000-04-17 11:47:57 +00:00
|
|
|
SOURCES = $(echoping_SOURCES)
|
|
|
|
OBJECTS = $(echoping_OBJECTS)
|
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
all: all-redirect
|
2000-04-17 11:47:57 +00:00
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .S .c .o .s
|
2000-09-27 05:38:29 +00:00
|
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
2000-11-04 13:00:23 +00:00
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
|
2000-04-17 11:47:57 +00:00
|
|
|
|
2000-11-04 13:00:23 +00:00
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
2000-04-17 11:47:57 +00:00
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(ACLOCAL_M4): configure.in acinclude.m4
|
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
2002-09-25 13:00:29 +00:00
|
|
|
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
|
2000-04-17 11:47:57 +00:00
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
config.h: stamp-h
|
2000-09-27 05:38:29 +00:00
|
|
|
@if test ! -f $@; then \
|
|
|
|
rm -f stamp-h; \
|
|
|
|
$(MAKE) stamp-h; \
|
|
|
|
else :; fi
|
2000-04-17 11:47:57 +00:00
|
|
|
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
|
|
|
$(SHELL) ./config.status
|
2000-09-27 05:38:29 +00:00
|
|
|
@echo timestamp > stamp-h 2> /dev/null
|
2000-04-17 11:47:57 +00:00
|
|
|
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
2000-09-27 05:38:29 +00:00
|
|
|
@if test ! -f $@; then \
|
|
|
|
rm -f $(srcdir)/stamp-h.in; \
|
|
|
|
$(MAKE) $(srcdir)/stamp-h.in; \
|
|
|
|
else :; fi
|
2000-04-17 11:47:57 +00:00
|
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
|
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
2000-09-27 05:38:29 +00:00
|
|
|
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
mostlyclean-hdr:
|
|
|
|
|
|
|
|
clean-hdr:
|
|
|
|
|
|
|
|
distclean-hdr:
|
|
|
|
-rm -f config.h
|
|
|
|
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
|
|
|
|
clean-binPROGRAMS:
|
|
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
2000-09-27 05:38:29 +00:00
|
|
|
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
|
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
2000-04-17 11:47:57 +00:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-binPROGRAMS:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
2000-09-27 05:38:29 +00:00
|
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
2000-04-17 11:47:57 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
|
|
|
echoping: $(echoping_OBJECTS) $(echoping_DEPENDENCIES)
|
|
|
|
@rm -f echoping
|
|
|
|
$(LINK) $(echoping_LDFLAGS) $(echoping_OBJECTS) $(echoping_LDADD) $(LIBS)
|
|
|
|
|
2000-06-15 19:28:21 +00:00
|
|
|
install-man1:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
|
|
else file=$$i; fi; \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-man1:
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
install-man: $(MANS)
|
|
|
|
@$(NORMAL_INSTALL)
|
2000-09-27 05:38:29 +00:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
2000-06-15 19:28:21 +00:00
|
|
|
uninstall-man:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2000-09-27 05:38:29 +00:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
2000-06-15 19:28:21 +00:00
|
|
|
|
2000-04-17 11:47:57 +00:00
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
2000-09-27 05:38:29 +00:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
2000-04-17 11:47:57 +00:00
|
|
|
here=`pwd` && cd $(srcdir) \
|
2000-09-27 05:38:29 +00:00
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
|
|
|
-rm -rf $(distdir)
|
2000-09-27 05:38:29 +00:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
2000-04-17 11:47:57 +00:00
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
2000-09-27 05:38:29 +00:00
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -rf $(distdir)
|
2000-09-27 05:38:29 +00:00
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
2000-04-17 11:47:57 +00:00
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2000-09-27 05:38:29 +00:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
2000-09-27 05:38:29 +00:00
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
-rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
-chmod 777 $(distdir)
|
2000-11-04 13:00:23 +00:00
|
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
|
|
top_distdir=`cd $(distdir) && pwd`; \
|
|
|
|
distdir=`cd $(distdir) && pwd`; \
|
|
|
|
cd $(top_srcdir) \
|
|
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
|
2000-04-17 11:47:57 +00:00
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
d=$(srcdir); \
|
2000-09-27 05:38:29 +00:00
|
|
|
if test -d $$d/$$file; then \
|
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
|
|
fi; \
|
2000-04-17 11:47:57 +00:00
|
|
|
done
|
2000-11-04 13:00:23 +00:00
|
|
|
|
|
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
|
|
|
|
|
|
|
-include $(DEP_FILES)
|
|
|
|
|
|
|
|
mostlyclean-depend:
|
|
|
|
|
|
|
|
clean-depend:
|
|
|
|
|
|
|
|
distclean-depend:
|
|
|
|
-rm -rf .deps
|
|
|
|
|
|
|
|
maintainer-clean-depend:
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
@echo '$(COMPILE) -c $<'; \
|
|
|
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm .deps/$(*F).pp
|
|
|
|
|
|
|
|
%.lo: %.c
|
|
|
|
@echo '$(LTCOMPILE) -c $<'; \
|
|
|
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
|
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
|
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
|
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
|
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
|
|
|
>> .deps/$(*F).P; \
|
|
|
|
rm -f .deps/$(*F).pp
|
2000-06-25 14:23:00 +00:00
|
|
|
check-TESTS: $(TESTS)
|
|
|
|
@failed=0; all=0; \
|
|
|
|
srcdir=$(srcdir); export srcdir; \
|
|
|
|
for tst in $(TESTS); do \
|
|
|
|
if test -f $$tst; then dir=.; \
|
|
|
|
else dir="$(srcdir)"; fi; \
|
|
|
|
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
|
|
|
all=`expr $$all + 1`; \
|
|
|
|
echo "PASS: $$tst"; \
|
|
|
|
elif test $$? -ne 77; then \
|
|
|
|
all=`expr $$all + 1`; \
|
|
|
|
failed=`expr $$failed + 1`; \
|
|
|
|
echo "FAIL: $$tst"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
if test "$$failed" -eq 0; then \
|
|
|
|
banner="All $$all tests passed"; \
|
|
|
|
else \
|
|
|
|
banner="$$failed of $$all tests failed"; \
|
|
|
|
fi; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
test "$$failed" -eq 0
|
2000-09-27 05:38:29 +00:00
|
|
|
info-am:
|
|
|
|
info: info-am
|
|
|
|
dvi-am:
|
|
|
|
dvi: dvi-am
|
|
|
|
check-am: all-am
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
|
|
check: check-am
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-am
|
|
|
|
all-recursive-am: config.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
|
|
|
|
install-exec-am: install-binPROGRAMS
|
|
|
|
install-exec: install-exec-am
|
|
|
|
|
|
|
|
install-data-am: install-man
|
|
|
|
install-data: install-data-am
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-am
|
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
|
|
|
uninstall: uninstall-am
|
|
|
|
all-am: Makefile $(PROGRAMS) $(MANS) config.h
|
|
|
|
all-redirect: all-am
|
2000-04-17 11:47:57 +00:00
|
|
|
install-strip:
|
2000-09-27 05:38:29 +00:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
2000-04-17 11:47:57 +00:00
|
|
|
installdirs:
|
2000-09-27 05:38:29 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
2000-04-17 11:47:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
2000-09-27 05:38:29 +00:00
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2000-09-27 05:38:29 +00:00
|
|
|
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
2000-11-04 13:00:23 +00:00
|
|
|
mostlyclean-compile mostlyclean-tags mostlyclean-depend \
|
2000-04-17 11:47:57 +00:00
|
|
|
mostlyclean-generic
|
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
|
|
|
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
|
2000-11-04 13:00:23 +00:00
|
|
|
clean-depend clean-generic mostlyclean-am
|
2000-04-17 11:47:57 +00:00
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
clean: clean-am
|
|
|
|
|
|
|
|
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
2000-11-04 13:00:23 +00:00
|
|
|
distclean-tags distclean-depend distclean-generic \
|
|
|
|
clean-am
|
2000-09-27 05:38:29 +00:00
|
|
|
|
|
|
|
distclean: distclean-am
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -f config.status
|
|
|
|
|
2000-09-27 05:38:29 +00:00
|
|
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
2000-04-17 11:47:57 +00:00
|
|
|
maintainer-clean-compile maintainer-clean-tags \
|
2000-11-04 13:00:23 +00:00
|
|
|
maintainer-clean-depend maintainer-clean-generic \
|
|
|
|
distclean-am
|
2000-04-17 11:47:57 +00:00
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
2000-09-27 05:38:29 +00:00
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
2000-04-17 11:47:57 +00:00
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
|
|
|
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
|
|
|
|
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
|
|
|
|
mostlyclean-compile distclean-compile clean-compile \
|
2000-06-15 19:28:21 +00:00
|
|
|
maintainer-clean-compile install-man1 uninstall-man1 install-man \
|
|
|
|
uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
|
2000-11-04 13:00:23 +00:00
|
|
|
maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
|
|
|
|
clean-depend maintainer-clean-depend check-TESTS info-am info dvi-am \
|
|
|
|
dvi check check-am installcheck-am installcheck all-recursive-am \
|
|
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
|
|
|
install uninstall-am uninstall all-redirect all-am all installdirs \
|
2000-06-25 14:23:00 +00:00
|
|
|
mostlyclean-generic distclean-generic clean-generic \
|
|
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
2000-04-17 11:47:57 +00:00
|
|
|
|
2000-06-25 14:23:00 +00:00
|
|
|
test: check
|
|
|
|
tests: check
|
2000-04-17 11:47:57 +00:00
|
|
|
|
2001-03-16 15:07:47 +00:00
|
|
|
fulltest: test moretest
|
|
|
|
|
|
|
|
moretests: moretest
|
|
|
|
moretest: $(MORE_TESTS)
|
|
|
|
@failed=0; all=0; \
|
|
|
|
srcdir=$(srcdir); export srcdir; \
|
|
|
|
for tst in $(MORE_TESTS); do \
|
|
|
|
if test -f $$tst; then dir=.; \
|
|
|
|
else dir="$(srcdir)"; fi; \
|
|
|
|
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
|
|
|
all=`expr $$all + 1`; \
|
|
|
|
echo "PASS: $$tst"; \
|
|
|
|
elif test $$? -ne 77; then \
|
|
|
|
all=`expr $$all + 1`; \
|
|
|
|
failed=`expr $$failed + 1`; \
|
|
|
|
echo "FAIL: $$tst"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
if test "$$failed" -eq 0; then \
|
|
|
|
banner="All $$all tests passed"; \
|
|
|
|
else \
|
|
|
|
banner="$$failed of $$all tests failed"; \
|
|
|
|
fi; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
test "$$failed" -eq 0
|
|
|
|
|
2002-09-25 13:00:29 +00:00
|
|
|
internal_test: internal_tests
|
|
|
|
internal_tests: internal_tests.o $(echoping_OBJECTS)
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $< util.o
|
|
|
|
./internal_tests
|
|
|
|
|
2001-03-11 12:49:53 +00:00
|
|
|
debug:
|
2002-10-03 14:59:37 +00:00
|
|
|
$(MAKE) DEBUG=1 CFLAGS='-g -O0'
|
2001-03-11 12:49:53 +00:00
|
|
|
|
2001-01-26 10:30:50 +00:00
|
|
|
upload: dist
|
2001-01-26 14:39:32 +00:00
|
|
|
@echo "Have you updated ChangeLog and tagged (cvs tag RELEASE_x_x_x) everything?"
|
2001-01-26 10:30:50 +00:00
|
|
|
@echo "If so, make upload-force"
|
|
|
|
|
|
|
|
upload-force: dist
|
2002-10-10 11:16:51 +00:00
|
|
|
scp $(distdir).tar.gz bortzmeyer@ftp.internatif.org:'~ftp/pub/unix/echoping'
|
2001-02-14 10:13:18 +00:00
|
|
|
rm -f upload.log
|
2001-01-26 10:30:50 +00:00
|
|
|
ncftpput -d upload.log upload.sourceforge.net /incoming $(distdir).tar.gz
|
|
|
|
|
2000-04-17 11:47:57 +00:00
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|