mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Remove manual tracking of dependencies; instead, force a recompile when a header
file changes.
This commit is contained in:
parent
79b1209c41
commit
63dcf343f1
@ -1,3 +1,8 @@
|
|||||||
|
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* Makefile.in: Remove the manually maintained dependency list;
|
||||||
|
make all object files depend on every header.
|
||||||
|
|
||||||
2005-06-20 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-06-20 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* hash.c: Rename "mapping" to "cell" to avoid confusion with the
|
* hash.c: Rename "mapping" to "cell" to avoid confusion with the
|
||||||
|
@ -89,6 +89,18 @@ OBJ = $(ALLOCA) cmpt.o connect.o convert.o cookies.o \
|
|||||||
wget$(exeext): $(OBJ)
|
wget$(exeext): $(OBJ)
|
||||||
$(LINK) $(OBJ) $(LIBS)
|
$(LINK) $(OBJ) $(LIBS)
|
||||||
|
|
||||||
|
# We make object files depend on every header. Rather than attempt to
|
||||||
|
# track dependencies, everything gets recompiled when a header
|
||||||
|
# changes. With a program of Wget's size this doesn't waste much
|
||||||
|
# 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
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dependencies for installing
|
# Dependencies for installing
|
||||||
#
|
#
|
||||||
@ -129,50 +141,3 @@ Makefile: Makefile.in ../config.status
|
|||||||
|
|
||||||
TAGS: *.c *.h
|
TAGS: *.c *.h
|
||||||
-$(ETAGS) *.c *.h
|
-$(ETAGS) *.c *.h
|
||||||
|
|
||||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
||||||
|
|
||||||
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
|
|
||||||
openssl.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 ssl.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 ssl.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
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* Makefile.src, Makefile.src.bor, Makefile.src.mingw: Make OBJS
|
||||||
|
depend on all headers.
|
||||||
|
|
||||||
|
* wget.dep: Removed.
|
||||||
|
|
||||||
2005-04-05 Mauro Tortonesi <mauro@ferrara.linux.it>
|
2005-04-05 Mauro Tortonesi <mauro@ferrara.linux.it>
|
||||||
|
|
||||||
* Makefile.src.mingw: removed string_t.c from list of source files.
|
* Makefile.src.mingw: removed string_t.c from list of source files.
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
!ifndef NO_SSL
|
!ifndef NO_SSL
|
||||||
SSLDEFS = /DHAVE_SSL
|
SSLDEFS = /DHAVE_SSL
|
||||||
SSLLIBS = libeay32.lib ssleay32.lib
|
SSLLIBS = libeay32.lib ssleay32.lib
|
||||||
SSLSRC = openssl.c http-ntlm.c
|
|
||||||
SSLOBJ = openssl$o http-ntlm$o
|
SSLOBJ = openssl$o http-ntlm$o
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@ -67,13 +66,6 @@ CFLAGS = $(CFLAGS) /GL
|
|||||||
LDFLAGS = $(LDFLAGS) /ltcg:status
|
LDFLAGS = $(LDFLAGS) /ltcg:status
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
|
||||||
SRC = cmpt.c safe-ctype.c convert.c connect.c host.c http.c netrc.c \
|
|
||||||
ftp-basic.c ftp.c ftp-ls.c ftp-opie.c getopt.c hash.c \
|
|
||||||
html-parse.c html-url.c progress.c retr.c recur.c res.c url.c cookies.c \
|
|
||||||
init.c utils.c main.c ptimer.c version.c xmalloc.c mswindows.c \
|
|
||||||
gen-md5.c gnu-md5.c log.c $(SSLSRC)
|
|
||||||
|
|
||||||
OBJ = cmpt$o safe-ctype$o convert$o connect$o host$o http$o netrc$o \
|
OBJ = cmpt$o safe-ctype$o convert$o connect$o host$o http$o netrc$o \
|
||||||
ftp-basic$o ftp$o ftp-ls$o ftp-opie$o getopt$o hash$o \
|
ftp-basic$o ftp$o ftp-ls$o ftp-opie$o getopt$o hash$o \
|
||||||
html-parse$o html-url$o progress$o retr$o recur$o res$o url$o cookies$o \
|
html-parse$o html-url$o progress$o retr$o recur$o res$o url$o cookies$o \
|
||||||
@ -92,6 +84,11 @@ wget.exe: $(OBJ)
|
|||||||
$(LD) @<< $(LDFLAGS) /out:$@ $(OBJ) $(LIBS)
|
$(LD) @<< $(LDFLAGS) /out:$@ $(OBJ) $(LIBS)
|
||||||
<<
|
<<
|
||||||
|
|
||||||
|
$(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
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dependencies for cleanup
|
# Dependencies for cleanup
|
||||||
@ -111,8 +108,3 @@ distclean: clean
|
|||||||
|
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
$(RM) TAGS
|
$(RM) TAGS
|
||||||
|
|
||||||
# Dependencies:
|
|
||||||
|
|
||||||
!include "..\windows\wget.dep"
|
|
||||||
|
|
||||||
|
@ -58,7 +58,11 @@ $<,$*,+
|
|||||||
$(LIBDIR)\import32.lib+
|
$(LIBDIR)\import32.lib+
|
||||||
$(LIBDIR)\cw32.lib
|
$(LIBDIR)\cw32.lib
|
||||||
|
|
||||||
|
$(OBJS): 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
|
||||||
|
|
||||||
|
|
|
|
||||||
|
|
||||||
@ -79,5 +83,3 @@ clean:
|
|||||||
$(RM) wget.tds
|
$(RM) wget.tds
|
||||||
|
|
||||||
o = .obj
|
o = .obj
|
||||||
|
|
||||||
!include "..\windows\wget.dep"
|
|
||||||
|
@ -41,6 +41,10 @@ all: wget.exe
|
|||||||
wget.exe: $(OBJS)
|
wget.exe: $(OBJS)
|
||||||
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
|
${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
|
||||||
|
|
||||||
o = ${OBJ_EXT}
|
$(OBJS): 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
|
||||||
|
|
||||||
include ../windows/wget.dep
|
o = ${OBJ_EXT}
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
alloca$o: alloca.c config.h
|
|
||||||
ansi2knr$o: ansi2knr.c config.h
|
|
||||||
cmpt$o: cmpt.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h
|
|
||||||
connect$o: connect.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h connect.h host.h
|
|
||||||
convert$o: convert.c config.h wget.h convert.h url.h recur.h utils.h hash.h
|
|
||||||
cookies$o: cookies.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h cookies.h hash.h url.h utils.h
|
|
||||||
ftp-basic$o: ftp-basic.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h connect.h host.h ftp.h
|
|
||||||
ftp-ls$o: ftp-ls.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h ftp.h url.h
|
|
||||||
ftp-opie$o: ftp-opie.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h gen-md5.h
|
|
||||||
ftp$o: ftp.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h url.h retr.h ftp.h connect.h host.h netrc.h
|
|
||||||
gen-md5$o: gen-md5.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h gen-md5.h
|
|
||||||
openssl$o: openssl.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h connect.h host.h url.h
|
|
||||||
getopt$o: getopt.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h getopt.h
|
|
||||||
gnu-md5$o: gnu-md5.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h gnu-md5.h
|
|
||||||
hash$o: hash.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h hash.h
|
|
||||||
host$o: host.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h host.h url.h hash.h
|
|
||||||
html-parse$o: html-parse.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h html-parse.h
|
|
||||||
html-url$o: html-url.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h html-parse.h url.h utils.h
|
|
||||||
http$o: http.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h url.h host.h retr.h connect.h netrc.h gen-md5.h
|
|
||||||
init$o: init.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h init.h host.h recur.h netrc.h cookies.h progress.h
|
|
||||||
log$o: log.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h
|
|
||||||
main$o: main.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h getopt.h init.h retr.h recur.h host.h ssl.h getopt.h
|
|
||||||
mswindows$o: mswindows.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h url.h
|
|
||||||
netrc$o: netrc.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h netrc.h init.h
|
|
||||||
progress$o: progress.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h retr.h
|
|
||||||
recur$o: recur.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h url.h recur.h utils.h retr.h ftp.h host.h hash.h
|
|
||||||
retr$o: retr.c config.h wget.h sysdep.h mswindows.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.c config.h safe-ctype.h
|
|
||||||
snprintf$o: snprintf.c config.h safe-ctype.h
|
|
||||||
url$o: url.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h url.h host.h hash.h
|
|
||||||
utils$o: utils.c config.h wget.h sysdep.h mswindows.h options.h safe-ctype.h utils.h hash.h
|
|
||||||
version$o: version.c
|
|
||||||
xmalloc$o: wget.h xmalloc.h
|
|
Loading…
Reference in New Issue
Block a user