# Makefile for `wget' utility
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995-2005 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# along with Wget; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
# In addition, as a special exception, the Free Software Foundation
# gives permission to link the code of its release of Wget with the
# The following line is losing on some versions of make!
DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(localedir)\"
CFLAGS = @CFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@ @LIBSSL@
exeext = @exeext@
-INCLUDES = -I. -I$(srcdir) @SSL_INCLUDES@
+INCLUDES = -I. -I$(srcdir)
COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS)
-LINK = @LIBTOOL@ --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
RM = rm -f
# time, and it's a lot safer than attempting to get all the
# dependencies right.
-$(OBJ): config-post.h connect.h convert.h cookies.h ftp.h gen-md5.h \
- getopt.h gnu-md5.h hash.h host.h html-parse.h http-ntlm.h \
- init.h log.h mswindows.h netrc.h options.h progress.h \
- ptimer.h recur.h res.h retr.h safe-ctype.h ssl.h sysdep.h \
- url.h utils.h wget.h xmalloc.h
+$(OBJ): config-post.h config.h connect.h convert.h cookies.h ftp.h \
+ gen-md5.h getopt.h gnu-md5.h hash.h host.h html-parse.h \
+ http-ntlm.h init.h log.h mswindows.h netrc.h options.h \
+ progress.h ptimer.h recur.h res.h retr.h safe-ctype.h ssl.h \
+ sysdep.h url.h utils.h wget.h xmalloc.h
#
# Dependencies for installing
clean:
$(RM) *.o wget$(exeext) *~ *.bak core core.[0-9]*
- $(RM) -r .libs
distclean: clean
$(RM) Makefile config.h