]> sjero.net Git - wget/blobdiff - src/Makefile.in
[svn] Implemented breadth-first retrieval.
[wget] / src / Makefile.in
index 27cf75a79b6edebc93c9fd5641e7a3185efd4e3f..4d60cc1f4defbd084d7ecbe64fe045ef54da1c26 100644 (file)
@@ -21,6 +21,8 @@
 
 SHELL = /bin/sh
 
+top_builddir = ..
+
 top_srcdir = @top_srcdir@
 srcdir     = @srcdir@
 VPATH      = @srcdir@
@@ -33,6 +35,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,25 +46,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@ $(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) ftpparse$o getopt$o hash$o         \
-      headers$o host$o html-parse$o html-url$o http$o init$o  \
-      log$o main$o $(MD5_OBJ) netrc$o rbuf$o recur$o retr$o   \
-      snprintf$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 cookies$o fnmatch$o ftp$o        \
+      ftp-basic$o ftp-ls$o $(OPIE_OBJ) $(GETOPT_OBJ) hash$o       \
+      headers$o host$o html-parse$o html-url$o http$o init$o      \
+      log$o main$o $(MD5_OBJ) netrc$o progress$o rbuf$o recur$o   \
+      res$o retr$o safe-ctype$o snprintf$o $(SSL_OBJ) url$o       \
+      utils$o version$o
 
 .SUFFIXES:
 .SUFFIXES: .c .o ._c ._o
@@ -101,11 +108,11 @@ 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
@@ -136,29 +143,32 @@ TAGS: *.c *.h
 
 cmpt$o: wget.h
 connect$o: wget.h connect.h host.h
+cookies$o: wget.h cookies.h hash.h url.h utils.h
 fnmatch$o: wget.h fnmatch.h
 ftp-basic$o: wget.h utils.h rbuf.h connect.h host.h
 ftp-ls$o: wget.h utils.h ftp.h url.h
-ftp-opie$o: wget.h md5.h
+ftp-opie$o: wget.h
 ftp$o: wget.h utils.h url.h rbuf.h retr.h ftp.h connect.h host.h fnmatch.h netrc.h
-getopt$o: wget.h getopt.h
 hash$o: wget.h utils.h hash.h
 headers$o: wget.h connect.h rbuf.h headers.h
 host$o: wget.h utils.h host.h url.h hash.h
 html-parse$o: wget.h html-parse.h
 html-url$o: wget.h html-parse.h url.h utils.h
 html$o: wget.h url.h utils.h ftp.h
-http$o: wget.h utils.h url.h host.h rbuf.h retr.h headers.h connect.h fnmatch.h netrc.h md5.h
+http$o: wget.h utils.h url.h host.h rbuf.h retr.h headers.h cookies.h connect.h fnmatch.h netrc.h
 init$o: wget.h utils.h init.h host.h recur.h netrc.h
 log$o: wget.h utils.h
-main$o: wget.h utils.h getopt.h init.h retr.h recur.h host.h
-md5$o: wget.h md5.h
+main$o: wget.h utils.h init.h retr.h recur.h host.h cookies.h
+gnu-md5$o: wget.h gnu-md5.h
 mswindows$o: wget.h url.h
 netrc$o: wget.h utils.h netrc.h init.h
+progress$o: wget.h progress.h utils.h retr.h
 rbuf$o: wget.h rbuf.h connect.h
 recur$o: wget.h url.h recur.h utils.h retr.h ftp.h fnmatch.h host.h hash.h
+res$o: wget.h utils.h hash.h url.h retr.h res.h
 retr$o: wget.h utils.h retr.h url.h recur.h ftp.h host.h connect.h hash.h
 snprintf$o:
+safe-ctype$o: safe-ctype.h
 url$o: wget.h utils.h url.h host.h
 utils$o: wget.h utils.h fnmatch.h hash.h
 version$o: