- Added some tools to detect memory leaks.
[ircu2.10.12-pk.git] / adns / Makefile
1 # Generated automatically from Makefile.in by configure.
2 # Makefile - top-level Makefile
3 #  
4 #  This file is
5 #    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
6 #
7 #  It is part of adns, which is
8 #    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
9 #    Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
10
11 #  This program is free software; you can redistribute it and/or modify
12 #  it under the terms of the GNU General Public License as published by
13 #  the Free Software Foundation; either version 2, or (at your option)
14 #  any later version.
15 #  
16 #  This program is distributed in the hope that it will be useful,
17 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 #  GNU General Public License for more details.
20 #  
21 #  You should have received a copy of the GNU General Public License
22 #  along with this program; if not, write to the Free Software Foundation,
23 #  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
24
25 # Remember to change ADNS_VERSION_STRING in client/client.h too, and
26 # possibly library soname (MAJOR and MINOR in settings.make.in).
27 DISTVERSION=    1.0
28
29 srcdir=         .
30
31 SUBDIRS= src
32
33 build: all
34
35 all install uninstall clean distclean mostlyclean maintainer-clean distprep:
36         set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
37         $(MAKE) $@-here
38
39 all-here install-here uninstall-here distprep-here:     README
40
41 clean-here mostlyclean-here:
42                 rm -f *~ ./#*# core *.orig *.rej adns-*.tar.gz
43                 rm -rf dist_tmp
44
45 distclean-here maintainer-clean-here:   clean-here
46                 rm -f settings.make config.h config.cache config.log config.status
47
48 install-strip:
49         $(MAKE) INSTALL_PROGRAM_FLAGS=-s
50
51 dist_tmp=dist_tmp/adns-$(DISTVERSION)
52 dist:                   distprep
53         rm -rf dist_tmp*
54         mkdir dist_tmp $(dist_tmp)
55         find \( -name CVS -o -name dist_tmp* \) -prune -o -type d -print | \
56                 sed -e 's#.*#mkdir -p $(dist_tmp)/&#' | sh
57         find \( -name CVS -o -name dist_tmp* \) -prune -o -type f -print | \
58                 sed -e 's#.*#ln & $(dist_tmp)/&#' | sh
59         $(MAKE) -C dist_tmp/adns-$(DISTVERSION) distclean
60         cd dist_tmp && tar cf ../$(dist_tmp).tar `basename $(dist_tmp)`
61         gzip -9 $(dist_tmp).tar
62         mv $(dist_tmp).tar.gz .
63
64 README:                 README.html
65         lynx -dump -number_links -cfg=/dev/null $(srcdir)/README.html >README.tmp
66         mv -f README.tmp README
67
68 TAGS info dvi:
69         # do nothing