]> sjero.net Git - wget/blobdiff - src/Makefile.in
[svn] Removed string_t.c from the list of source files in Makefiles.
[wget] / src / Makefile.in
index 862e64879a7244a2f585849418287fbabe88f720..da7bab417cc51df347ebffd78a4d2eebf81ba26e 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
+# In addition, as a special exception, the Free Software Foundation
+# gives permission to link the code of its release of Wget with the
+# OpenSSL project's "OpenSSL" library (or with modified versions of it
+# that use the same license as the "OpenSSL" library), and distribute
+# the linked executables.  You must obey the GNU General Public License
+# in all respects for all of the code used other than "OpenSSL".  If you
+# modify this file, you may extend this exception to your version of the
+# file, but you are not obligated to do so.  If you do not wish to do
+# so, delete this exception statement from your version.
+
 #
 # Version: @VERSION@
 #
 
 SHELL = /bin/sh
 
+top_builddir = ..
+
 top_srcdir = @top_srcdir@
 srcdir     = @srcdir@
 VPATH      = @srcdir@
@@ -33,6 +45,8 @@ bindir       = @bindir@
 sysconfdir   = @sysconfdir@
 localedir    = $(prefix)/share/locale
 
+DESTDIR      =
+
 CC       = @CC@
 CPPFLAGS = @CPPFLAGS@
 # The following line is losing on some versions of make!
@@ -42,24 +56,28 @@ LDFLAGS  = @LDFLAGS@
 LIBS     = @LIBS@
 exeext   = @exeext@
 
-INCLUDES = -I. -I$(srcdir)
+INCLUDES = -I. -I$(srcdir) @SSL_INCLUDES@
 
 COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS)  $(DEFS) $(CFLAGS)
-LINK    = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+LINK    = @LIBTOOL@ --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
 INSTALL = @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 RM = rm -f
 ETAGS = etags
 
 # Conditional compiles
-ALLOCA = @ALLOCA@
-MD5_OBJ = @MD5_OBJ@
-OPIE_OBJ = @OPIE_OBJ@
-
-OBJ = $(ALLOCA) cmpt$o connect$o fnmatch$o ftp$o ftp-basic$o  \
-      ftp-ls$o $(OPIE_OBJ) getopt$o headers$o host$o html$o   \
-      http$o init$o log$o main$o $(MD5_OBJ) netrc$o rbuf$o    \
-      recur$o retr$o url$o utils$o version$o
+ALLOCA     = @ALLOCA@
+MD5_OBJ    = @MD5_OBJ@
+OPIE_OBJ   = @OPIE_OBJ@
+SSL_OBJ    = @SSL_OBJ@
+GETOPT_OBJ = @GETOPT_OBJ@
+
+OBJ = $(ALLOCA) cmpt$o connect$o convert$o cookies$o              \
+      ftp$o ftp-basic$o ftp-ls$o $(OPIE_OBJ) $(GETOPT_OBJ) hash$o \
+      host$o html-parse$o html-url$o http$o init$o      \
+      log$o main$o $(MD5_OBJ) netrc$o progress$o recur$o   \
+      res$o retr$o safe-ctype$o snprintf$o $(SSL_OBJ) url$o       \
+      utils$o version$o xmalloc$o 
 
 .SUFFIXES:
 .SUFFIXES: .c .o ._c ._o
@@ -100,24 +118,25 @@ install: install.bin
 uninstall: uninstall.bin
 
 install.bin: wget$(exeext)
-       $(top_srcdir)/mkinstalldirs $(bindir)
-       $(INSTALL_PROGRAM) wget$(exeext) $(bindir)/wget$(exeext)
+       $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+       $(INSTALL_PROGRAM) wget$(exeext) $(DESTDIR)$(bindir)/wget$(exeext)
 
 uninstall.bin:
-       $(RM) $(bindir)/wget$(exeext)
+       $(RM) $(DESTDIR)$(bindir)/wget$(exeext)
 
 #
 # Dependencies for cleanup
 #
 
 clean:
-       $(RM) *.o wget$(exeext) *~ *.bak core $(ANSI2KNR) *._o *._c
+       $(RM) *.o wget$(exeext) *~ *.bak core core.[0-9]* $(ANSI2KNR) *._o *._c
+       $(RM) -r .libs
 
 distclean: clean
        $(RM) Makefile config.h
 
 realclean: distclean
-       $(RM) TAGS
+       $(RM) TAGS config.h.in
 
 #
 # Dependencies for maintenance
@@ -133,26 +152,47 @@ TAGS: *.c *.h
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-cmpt$o: config.h wget.h sysdep.h options.h
-connect$o: config.h wget.h sysdep.h options.h connect.h host.h
-fnmatch$o: config.h wget.h sysdep.h options.h fnmatch.h
-ftp-basic$o: config.h wget.h sysdep.h options.h utils.h rbuf.h connect.h host.h
-ftp-ls$o: config.h wget.h sysdep.h options.h utils.h ftp.h rbuf.h
-ftp-opie$o: config.h wget.h sysdep.h options.h md5.h
-ftp$o: config.h wget.h sysdep.h options.h utils.h url.h rbuf.h retr.h ftp.h html.h connect.h host.h fnmatch.h netrc.h
-getopt$o: wget.h sysdep.h options.h
-headers$o: config.h wget.h sysdep.h options.h connect.h rbuf.h headers.h
-host$o: config.h wget.h sysdep.h options.h utils.h host.h url.h
-html$o: config.h wget.h sysdep.h options.h url.h utils.h ftp.h rbuf.h html.h
-http$o: config.h wget.h sysdep.h options.h utils.h url.h host.h rbuf.h retr.h headers.h connect.h fnmatch.h netrc.h
-init$o: config.h wget.h sysdep.h options.h utils.h init.h host.h recur.h netrc.h
-log$o: config.h wget.h sysdep.h options.h utils.h
-main$o: config.h wget.h sysdep.h options.h utils.h getopt.h init.h retr.h rbuf.h recur.h host.h
-md5$o: wget.h sysdep.h options.h md5.h
-mswindows$o: config.h winsock.h wget.h sysdep.h options.h url.h
-netrc$o: wget.h sysdep.h options.h utils.h netrc.h init.h
-rbuf$o: config.h wget.h sysdep.h options.h rbuf.h connect.h
-recur$o: config.h wget.h sysdep.h options.h url.h recur.h utils.h retr.h rbuf.h ftp.h fnmatch.h host.h
-retr$o: config.h wget.h sysdep.h options.h utils.h retr.h rbuf.h url.h recur.h ftp.h host.h connect.h
-url$o: config.h wget.h sysdep.h options.h utils.h url.h host.h html.h
-utils$o: config.h wget.h sysdep.h options.h utils.h fnmatch.h
+alloca$o:
+cmpt$o: wget.h sysdep.h options.h safe-ctype.h
+connect$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h host.h
+convert$o: wget.h convert.h url.h recur.h utils.h hash.h
+cookies$o: wget.h sysdep.h options.h safe-ctype.h cookies.h hash.h url.h utils.h
+ftp-basic$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h \
+       host.h ftp.h
+ftp-ls$o: wget.h sysdep.h options.h safe-ctype.h utils.h ftp.h host.h \
+       url.h
+ftp-opie$o: wget.h sysdep.h options.h safe-ctype.h gen-md5.h
+ftp$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h retr.h \
+       ftp.h host.h connect.h netrc.h
+gen-md5$o: wget.h sysdep.h options.h safe-ctype.h gen-md5.h
+gen_sslfunc$o: wget.h sysdep.h options.h safe-ctype.h utils.h connect.h host.h \
+       url.h
+getopt$o: wget.h sysdep.h options.h safe-ctype.h getopt.h
+gnu-md5$o: wget.h sysdep.h options.h safe-ctype.h gnu-md5.h
+hash$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h
+host$o: wget.h sysdep.h options.h safe-ctype.h utils.h host.h url.h hash.h
+html-parse$o: wget.h sysdep.h options.h safe-ctype.h html-parse.h
+html-url$o: wget.h sysdep.h options.h safe-ctype.h html-parse.h url.h utils.h
+http$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h host.h \
+       retr.h connect.h host.h netrc.h gen_sslfunc.h \
+       cookies.h gen-md5.h
+init$o: wget.h sysdep.h options.h safe-ctype.h utils.h init.h host.h recur.h \
+       netrc.h cookies.h progress.h
+log$o: wget.h sysdep.h options.h safe-ctype.h utils.h
+main$o: wget.h sysdep.h options.h safe-ctype.h utils.h init.h retr.h \
+       recur.h host.h cookies.h url.h progress.h gen_sslfunc.h getopt.h
+gnu-md5$o: wget.h sysdep.h options.h safe-ctype.h gnu-md5.h
+mswindows$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h
+netrc$o: wget.h sysdep.h options.h safe-ctype.h utils.h netrc.h init.h
+progress$o: wget.h sysdep.h options.h safe-ctype.h progress.h utils.h retr.h
+recur$o: wget.h sysdep.h options.h safe-ctype.h url.h recur.h utils.h retr.h \
+       ftp.h host.h hash.h
+res$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h url.h retr.h res.h
+retr$o: wget.h sysdep.h options.h safe-ctype.h utils.h retr.h url.h \
+       recur.h ftp.h host.h connect.h hash.h
+safe-ctype$o: safe-ctype.h
+snprintf$o: safe-ctype.h
+url$o: wget.h sysdep.h options.h safe-ctype.h utils.h url.h host.h hash.h
+utils$o: wget.h sysdep.h options.h safe-ctype.h utils.h hash.h
+version$o:
+xmalloc$o: wget.h xmalloc.h