]> sjero.net Git - wget/blob - windows/Makefile.top
Updated ChangeLogs for license exemptions.
[wget] / windows / Makefile.top
1 # Makefile for `Wget' utility
2 # Copyright (C) 1995, 1996, 1997, 2004, 2007 Free Software Foundation, Inc.
3
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 # Additional permission under GNU GPL version 3 section 7
18
19 # If you modify this program, or any covered work, by linking or
20 # combining it with the OpenSSL project's OpenSSL library (or a
21 # modified version of that library), containing parts covered by the
22 # terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
23 # grants you additional permission to convey the resulting work.
24 # Corresponding Source for a non-source form of such a combination
25 # shall include the source code for the parts of OpenSSL used as well
26 # as that of the covered work.
27
28 RM = -del
29 CP = copy
30
31 # flags passed to recursive makes in subdirectories
32
33 # subdirectories in the distribution
34 SUBDIRS = src doc #util
35
36 # default target
37 all: Makefile $(SUBDIRS)
38
39 $(SUBDIRS): FORCE
40         cd $@
41         $(MAKE)
42         cd ..
43
44 FORCE:
45
46 # install everything
47 install:
48         echo Just do it.
49
50 clean:          clean-recursive         clean-top
51 distclean:      distclean-recursive     distclean-top
52 realclean:      realclean-recursive     realclean-top
53
54 clean-top:
55         $(RM) *.bak
56         $(RM) *.zip
57
58 distclean-top: clean-top
59         $(RM) Makefile
60         $(RM) config.h
61
62 realclean-top: distclean-top
63
64 clean-recursive distclean-recursive realclean-recursive:
65         cd src
66         $(MAKE) $(@:-recursive=)
67         cd ..\\doc
68         $(MAKE) $(@:-recursive=)
69         cd ..
70
71 bindist: wget.zip
72
73 wget.zip: $(SUBDIRS)
74         $(RM) wget.zip
75         $(RM) cacert.pem
76         src\wget http://curl.haxx.se/ca/cacert.pem
77         zip -Djl9 wget.zip AUTHORS COPYING INSTALL MAILING-LIST NEWS README doc/sample.wgetrc 
78         zip -Dj9 wget.zip src/wget.exe doc/wget.hlp cacert.pem 
79         zip -Dj9 wget.zip c:\openssl\bin\libeay32.dll c:\openssl\bin\ssleay32.dll c:\openssl\bin\msvcr80.dll