]> sjero.net Git - wget/blob - windows/Makefile.top.mingw
Merge from mainline
[wget] / windows / Makefile.top.mingw
1 # Makefile for `Wget' utility
2 # Copyright (C) 1995, 1996, 1997, 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 # Makefile for building WGET.EXE and WGET.HLP using MinGW GCC/Win32 compiler.
28
29 SRC_DIR = src
30 DOC_DIR = doc
31
32 all: ${SRC_DIR} ${DOC_DIR}
33
34 ${SRC_DIR}: FORCE
35         @echo -----------------------------------------------------------
36         @echo = If you would like to build WGET.EXE without SSL support,
37         @echo = please issue the following commands.
38         @echo =  [1] cd $@
39         @echo =  [2] ${MAKE}
40         @echo =  [3] cd ..
41         @echo = --------------------
42         @echo = If you would like to build WGET.EXE with SSL support,
43         @echo = please follow the instructions below.
44         @echo =  [1] cd $@
45         @echo =  [2] Check the value of OPENSSL_PATH in Makefile and
46         @echo =      correct it if it is not the OpenSSL installed directory.
47         @echo =  [3] ${MAKE} SSL=1
48         @echo =  [4] cd ..
49         @echo -----------------------------------------------------------
50
51 ${DOC_DIR}: FORCE
52         @echo -----------------------------------------------------------
53         @echo = Please issue the following commands to obtain WGET.HLP.
54         @echo =  [1] cd $@
55         @echo =  [2] ${MAKE}
56         @echo =  [3] cd ..
57         @echo -----------------------------------------------------------
58
59 FORCE: