]> sjero.net Git - wget/blob - Makefile.am
Merging with previous Makefile.in updates.
[wget] / Makefile.am
1 # Makefile for `Wget' utility
2 # Copyright (C) 1995, 1996, 1997, 2006 Free Software Foundation, Inc.
3 # Copyright (C) 1995, 1996, 1997, 2006, 2007 Free Software Foundation, Inc.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 # In addition, as a special exception, the Free Software Foundation
19 # gives permission to link the code of its release of Wget with the
20 # OpenSSL project's "OpenSSL" library (or with modified versions of it
21 # that use the same license as the "OpenSSL" library), and distribute
22 # the linked executables.  You must obey the GNU General Public License
23 # in all respects for all of the code used other than "OpenSSL".  If you
24 # modify this file, you may extend this exception to your version of the
25 # file, but you are not obligated to do so.  If you do not wish to do
26 # so, delete this exception statement from your version.
27
28 #
29 # Version: @VERSION@
30 #
31
32 # Search for macros in the m4 subdirectory:
33 ACLOCAL_AMFLAGS = -I m4
34
35 # These are used for maintenance only, so they are safe without
36 # special autoconf cruft.
37 RM = rm -f
38
39 # subdirectories in the distribution
40 SUBDIRS = src doc po tests util windows
41
42 test: all
43         cd tests && $(MAKE) $(AM_MAKEFLAGS) $@
44
45 EXTRA_DIST = autogen.sh ChangeLog.README configure.bat MAILING-LIST PATCHES \
46              README.checkout
47
48 #
49 # Cleanup dependencies
50 #
51
52 realclean:      realclean-recursive     realclean-top
53
54 CLEANFILES = *~ *.bak $(DISTNAME).tar.gz
55 distclean-local:
56         $(RM) -r autom4te.cache
57
58 realclean-top: distclean-am
59         $(RM) configure
60
61 realclean-recursive:
62         for subdir in $(SUBDIRS); do \
63            target=`echo $@ | sed s/-recursive//`; \
64            (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) || exit 1; \
65         done