+2001-05-14 Herold Heiko <Heiko.Herold@previnet.it>
+
+ * windows/Makefile.src: Update for SSL.
+
2001-05-14 Csaba Raduly <csaba.raduly@sophos.com>
* windows/Makefile.watcom: Updated.
# Version: 1.4.4
#
+#Uncomment these if you have openssl available
+#SSLDEFS = /DHAVE_SSL
+#SSLLIBS = libeay32.lib ssleay32.lib
+#SSLSRC = gen_sslfunc.c
+#SSLOBJ = gen_sslfunc$o
+
SHELL = command
VPATH = .
INCLUDES = /I.
-COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEBUGCF) $(DEFS) $(CFLAGS)
+COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEBUGCF) $(DEFS) $(SSLDEFS) $(CFLAGS)
LINK = $(LD) $(LDFLAGS) $(DEBUGLF) /out:$@
#INSTALL = @INSTALL@
SRC = cmpt.c safe-ctype.c connect.c host.c http.c netrc.c ftp-basic.c ftp.c \
ftp-ls.c ftp-opie.c getopt.c hash.c headers.c html-parse.c html-url.c \
retr.c recur.c url.c cookies.c init.c utils.c main.c version.c \
- mswindows.c fnmatch.c md5.c rbuf.c log.c
+ mswindows.c fnmatch.c md5.c rbuf.c log.c $(SSLSRC)
OBJ = cmpt$o safe-ctype$o connect$o host$o http$o netrc$o ftp-basic$o ftp$o \
ftp-ls$o ftp-opie$o getopt$o hash$o headers$o html-parse$o html-url$o \
retr$o recur$o url$o cookies$o init$o utils$o main$o version$o \
- mswindows$o fnmatch$o md5$o rbuf$o log$o
+ mswindows$o fnmatch$o md5$o rbuf$o log$o $(SSLOBJ)
.SUFFIXES: .c .obj
wget: wget.exe
wget.exe: $(OBJ)
- $(LD) @<< $(LDFLAGS) $(DEBUGLF) /out:$@ $(LIBS) $(OBJ)
+ $(LD) @<< $(LDFLAGS) $(DEBUGLF) /out:$@ $(LIBS) $(SSLLIBS) $(OBJ)
<<
ren wget.exe WGET.EXE
available at <URL:ftp://sunsite.dk/projects/wget/makeinfo.zip>. This
copy of makeinfo is from the miktxt 1.10 archive available from ctan.
+To configure Wget with VC++ with ssl support first get openssl,
+compile it and install relevant headers and libraries where your
+compiler can find them; then uncomment the SSL related lines in
+windows\Makefile.src; then follow the normal instructions
+(configure.bat and so on).
+Usually at runtime some openssl libraries (currently ssleay32.dll and
+libeay32.dll) will need to be available in your environment PATH.
+
Windows contributors:
* Darko Budor <dbudor@zesoi.fer.hr> -- the initial work on the Windows