931ce18a83a9abf27071fa6be4b83b94f2647b7c
[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 all install uninstall clean distclean mostlyclean maintainer-clean distprep:
34         set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
35         $(MAKE) $@-here
36
37 all-here install-here uninstall-here distprep-here:     README
38
39 clean-here mostlyclean-here:
40                 rm -f *~ ./#*# core *.orig *.rej adns-*.tar.gz
41                 rm -rf dist_tmp
42
43 distclean-here maintainer-clean-here:   clean-here
44                 rm -f settings.make config.h config.cache config.log config.status
45
46 install-strip:
47         $(MAKE) INSTALL_PROGRAM_FLAGS=-s
48
49 dist_tmp=dist_tmp/adns-$(DISTVERSION)
50 dist:                   distprep
51         rm -rf dist_tmp*
52         mkdir dist_tmp $(dist_tmp)
53         find \( -name CVS -o -name dist_tmp* \) -prune -o -type d -print | \
54                 sed -e 's#.*#mkdir -p $(dist_tmp)/&#' | sh
55         find \( -name CVS -o -name dist_tmp* \) -prune -o -type f -print | \
56                 sed -e 's#.*#ln & $(dist_tmp)/&#' | sh
57         $(MAKE) -C dist_tmp/adns-$(DISTVERSION) distclean
58         cd dist_tmp && tar cf ../$(dist_tmp).tar `basename $(dist_tmp)`
59         gzip -9 $(dist_tmp).tar
60         mv $(dist_tmp).tar.gz .
61
62 README:                 README.html
63         lynx -dump -number_links -cfg=/dev/null ./README.html >README.tmp
64         mv -f README.tmp README
65
66 TAGS info dvi:
67         # do nothing