# 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) @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