]> sjero.net Git - wget/blobdiff - windows/Makefile.src
[svn] Also depend on config.h.
[wget] / windows / Makefile.src
index 04ce91e61707453e7da8b265665dc6c972d7df23..b1df66309fb13254354d6a08b0ca84ebbf4671f0 100644 (file)
@@ -32,8 +32,7 @@
 !ifndef NO_SSL
 SSLDEFS        = /DHAVE_SSL
 SSLLIBS        = libeay32.lib ssleay32.lib
-SSLSRC = gen_sslfunc.c
-SSLOBJ = gen_sslfunc$o
+SSLOBJ = openssl$o http-ntlm$o
 !endif
 
 o = .obj
@@ -67,18 +66,11 @@ CFLAGS      = $(CFLAGS) /GL
 LDFLAGS        = $(LDFLAGS) /ltcg:status
 !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 version.c xmalloc.c mswindows.c \
-      gen-md5.c gnu-md5.c log.c string.c $(SSLSRC)
-
 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 \
       html-parse$o html-url$o progress$o retr$o recur$o res$o url$o cookies$o \
-      init$o utils$o main$o version$o xmalloc$o mswindows$o \
-      gen-md5$o gnu-md5$o log$o string$o $(SSLOBJ)
+      init$o utils$o main$o ptimer$o version$o xmalloc$o mswindows$o \
+      gen-md5$o gnu-md5$o log$o $(SSLOBJ)
 
 .SUFFIXES: .c .obj
 
@@ -92,6 +84,11 @@ wget.exe: $(OBJ)
        $(LD) @<< $(LDFLAGS) /out:$@ $(OBJ) $(LIBS)
 <<
 
+$(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 cleanup
@@ -111,8 +108,3 @@ distclean: clean
 
 realclean: distclean
        $(RM) TAGS
-
-# Dependencies:
-
-!include "..\windows\wget.dep"
-