echoping/SRC/Makefile.am

66 lines
1.7 KiB
Makefile
Raw Normal View History

## Process this file with automake to produce Makefile.in
2000-04-17 11:36:29 +00:00
# $Id$
2000-04-13 09:19:23 +00:00
bin_PROGRAMS = echoping
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-13 09:19:23 +00:00
echoping_LDADD =
DOCS=DETAILS
2000-04-13 09:19:23 +00:00
2001-03-16 15:07:47 +00:00
TESTS=test-echoping-local test-echoping-remote
MORE_TESTS=test-echoping-proxy test-echoping-icp test-echoping-crypto test-echoping-tos
2000-06-25 14:23:00 +00:00
test: check
tests: check
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
2001-03-11 12:49:53 +00:00
debug:
$(MAKE) CFLAGS='-g -O0'
upload: dist
2001-01-26 14:39:32 +00:00
@echo "Have you updated ChangeLog and tagged (cvs tag RELEASE_x_x_x) everything?"
@echo "If so, make upload-force"
upload-force: dist
2001-01-26 14:39:32 +00:00
scp $(distdir).tar.gz bortz@ftp.internatif.org:'~ftp/pub/unix/echoping'
2001-02-14 10:13:18 +00:00
rm -f upload.log
ncftpput -d upload.log upload.sourceforge.net /incoming $(distdir).tar.gz
2000-11-06 13:30:41 +00:00
EXTRA_DIST = $(man_MANS) $(TESTS) $(DOCS) $(MORE_TESTS)
## Otherwise, we depend on GNUmake, but for CVS users, not for regular
## tarball users
##AUTOMAKE_OPTIONS = no-dependencies