1# Makefile for `Wget' utility
2# Copyright (C) 1995, 1996, 1997, 2007, 2008, 2009 Free Software
3# 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# Additional permission under GNU GPL version 3 section 7
19
20# If you modify this program, or any covered work, by linking or
21# combining it with the OpenSSL project's OpenSSL library (or a
22# modified version of that library), containing parts covered by the
23# terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
24# grants you additional permission to convey the resulting work.
25# Corresponding Source for a non-source form of such a combination
26# shall include the source code for the parts of OpenSSL used as well
27# as that of the covered work.
28
29# Makefile for building WGET.EXE and WGET.HLP using MinGW GCC/Win32 compiler.
30
31SRC_DIR = src
32DOC_DIR = doc
33
34all: ${SRC_DIR} ${DOC_DIR}
35
36${SRC_DIR}: FORCE
37	@echo -----------------------------------------------------------
38	@echo = If you would like to build WGET.EXE without SSL support,
39	@echo = please issue the following commands.
40	@echo =  [1] cd $@
41	@echo =  [2] ${MAKE}
42	@echo =  [3] cd ..
43	@echo = --------------------
44	@echo = If you would like to build WGET.EXE with SSL support,
45	@echo = please follow the instructions below.
46	@echo =  [1] cd $@
47	@echo =  [2] Check the value of OPENSSL_PATH in Makefile and
48	@echo =      correct it if it is not the OpenSSL installed directory.
49	@echo =  [3] ${MAKE} SSL=1
50	@echo =  [4] cd ..
51	@echo -----------------------------------------------------------
52
53${DOC_DIR}: FORCE
54	@echo -----------------------------------------------------------
55	@echo = Please issue the following commands to obtain WGET.HLP.
56	@echo =  [1] cd $@
57	@echo =  [2] ${MAKE}
58	@echo =  [3] cd ..
59	@echo -----------------------------------------------------------
60
61FORCE:
62