source: vendor/wget/current/configure.bat.in@ 3754

Last change on this file since 3754 was 3440, checked in by bird, 18 years ago

wget 1.10.2

File size: 2.8 KB
Line 
1@echo off
2rem Configure batch file for `Wget' utility
3rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
4
5rem This program is free software; you can redistribute it and/or modify
6rem it under the terms of the GNU General Public License as published by
7rem the Free Software Foundation; either version 2 of the License, or
8rem (at your option) any later version.
9
10rem This program is distributed in the hope that it will be useful,
11rem but WITHOUT ANY WARRANTY; without even the implied warranty of
12rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13rem GNU General Public License for more details.
14
15rem You should have received a copy of the GNU General Public License
16rem along with this program; if not, write to the Free Software
17rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19rem In addition, as a special exception, the Free Software Foundation
20rem gives permission to link the code of its release of Wget with the
21rem OpenSSL project's "OpenSSL" library (or with modified versions of it
22rem that use the same license as the "OpenSSL" library), and distribute
23rem the linked executables. You must obey the GNU General Public License
24rem in all respects for all of the code used other than "OpenSSL". If you
25rem modify this file, you may extend this exception to your version of the
26rem file, but you are not obligated to do so. If you do not wish to do
27rem so, delete this exception statement from your version.
28
29if .%1 == .--borland goto :borland
30if .%1 == .--mingw goto :mingw
31if .%1 == .--msvc goto :msvc
32if .%1 == .--watcom goto :watcom
33goto :usage
34
35:msvc
36copy windows\config.h.ms src\config.h > nul
37copy windows\Makefile.top Makefile > nul
38copy windows\Makefile.src src\Makefile > nul
39copy windows\Makefile.doc doc\Makefile > nul
40
41echo Type NMAKE to start compiling.
42echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
43echo and then NMAKE.
44goto :end
45
46:borland
47copy windows\config.h.bor src\config.h > nul
48copy windows\Makefile.top.bor Makefile > nul
49copy windows\Makefile.src.bor src\Makefile > nul
50copy windows\Makefile.doc doc\Makefile > nul
51
52echo Type MAKE to start compiling.
53goto :end
54
55:mingw
56copy windows\config.h.mingw src\config.h > nul
57copy windows\Makefile.top.mingw Makefile > nul
58copy windows\Makefile.src.mingw src\Makefile > nul
59copy windows\Makefile.doc doc\Makefile > nul
60
61echo Type mingw32-make to start compiling.
62goto :end
63
64:watcom
65copy windows\config.h.ms src\config.h > nul
66copy windows\Makefile.watcom src\Makefile > nul
67
68@echo Checking environment vars
69@set INCLUDE | find /I "WATCOM"
70@set LIB | find /I "WATCOM"
71@echo If WATCOM directories were not displayed, you need to
72@echo SET INCLUDE and SET LIB to the Watcom directories
73@echo.
74cd src
75@echo Type WMAKE to build
76goto :end
77
78:usage
79echo "Usage: configure [--borland | --mingw | --msvc | --watcom]"
80:end
Note: See TracBrowser for help on using the repository browser.