]> sjero.net Git - wget/blob - windows/Makefile.top.bor
Automated merge with file:/home/micah/devel/wget/eleven
[wget] / windows / Makefile.top.bor
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 # In addition, as a special exception, the Free Software Foundation
18 # gives permission to link the code of its release of Wget with the
19 # OpenSSL project's "OpenSSL" library (or with modified versions of it
20 # that use the same license as the "OpenSSL" library), and distribute
21 # the linked executables.  You must obey the GNU General Public License
22 # in all respects for all of the code used other than "OpenSSL".  If you
23 # modify this file, you may extend this exception to your version of the
24 # file, but you are not obligated to do so.  If you do not wish to do
25 # so, delete this exception statement from your version.
26
27 RM = -del
28 CP = copy
29
30 # flags passed to recursive makes in subdirectories
31
32 # subdirectories in the distribution
33 SUBDIRS = src doc #util
34
35 # default target
36 all: Makefile $(SUBDIRS)
37
38 $(SUBDIRS): 
39         cd $@
40         $(MAKEDIR)\$(MAKE)
41         cd ..
42
43 # install everything
44 install:
45         echo Just do it.
46
47 clean:          clean-recursive         clean-top
48 distclean:      distclean-recursive     distclean-top
49 realclean:      realclean-recursive     realclean-top
50
51 clean-top:
52         $(RM) *.bak
53         $(RM) *.zip
54
55 distclean-top: clean-top
56         $(RM) Makefile
57         $(RM) config.h
58
59 realclean-top: distclean-top
60
61 clean-recursive distclean-recursive realclean-recursive:
62         cd src
63         $(MAKEDIR)\$(MAKE) $(@:-recursive=)
64         cd ..\doc
65         $(MAKEDIR)\$(MAKE) $(@:-recursive=)
66         cd ..
67
68 bindist: wget.zip
69
70 wget.zip: $(SUBDIRS)
71         $(RM) wget.zip
72         $(RM) cacert.pem
73         src\wget http://curl.haxx.se/ca/cacert.pem
74         zip -Djl9 wget.zip AUTHORS COPYING INSTALL MAILING-LIST NEWS README doc/sample.wgetrc 
75         zip -Dj9 wget.zip src/wget.exe doc/wget.hlp cacert.pem 
76         zip -Dj9 wget.zip c:\openssl\bin\libeay32.dll c:\openssl\bin\ssleay32.dll c:\openssl\bin\msvcr80.dll
77