]> sjero.net Git - wget/blobdiff - windows/Makefile.src.bor
[svn] Don't define HAVE_LIMITS_H, Wget no longer uses it.
[wget] / windows / Makefile.src.bor
index 91f982df49fad0c4eab5af8b5a253acebe4621c2..2dbcfccc73a1f7bb94192eefefa6390f634ce87a 100644 (file)
@@ -1,17 +1,19 @@
 ## Compiler, linker, and lib stuff
 ## Makefile for use with Borland C++ for Win32 executable.
 
+RM=-del
 CC=bcc32
 LINK=ilink32
 
 LFLAGS=
-CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -w- -O2
+WARN=-w-8057 -w-8027 -w-8008 -w-8065
+CFLAGS=-DWINDOWS -DHAVE_CONFIG_H -I. -O2 -6 -d -q $(WARN)
 
 ## variables
 OBJS=cmpt.obj connect.obj convert.obj ftp.obj ftp-basic.obj  \
-      ftp-ls.obj ftp-opie.obj getopt.obj headers.obj host.obj html-parse.obj html-url.obj \
+      ftp-ls.obj ftp-opie.obj getopt.obj host.obj html-parse.obj html-url.obj \
       http.obj init.obj log.obj main.obj gnu-md5.obj netrc.obj  \
-      safe-ctype.obj hash.obj progress.obj gen-md5.obj cookies.obj \
+      safe-ctype.obj hash.obj progress.obj ptimer.obj gen-md5.obj cookies.obj \
       recur.obj res.obj retr.obj url.obj utils.obj version.obj xmalloc.obj \
       mswindows.obj
 
@@ -21,7 +23,7 @@ wget.exe: $(OBJS)
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
-cmpt.obj
+cmpt.obj+
 connect.obj+
 convert.obj+
 cookies.obj+
@@ -33,7 +35,6 @@ gen-md5.obj+
 getopt.obj+
 gnu-md5.obj+
 hash.obj+
-headers.obj+
 host.obj+
 html-parse.obj+
 html-url.obj+
@@ -44,6 +45,7 @@ main.obj+
 mswindows.obj+
 netrc.obj+
 progress.obj+
+ptimer.obj+
 recur.obj+
 res.obj+
 retr.obj+
@@ -51,15 +53,33 @@ safe-ctype.obj+
 url.obj+
 utils.obj+
 version.obj+
-xmalloc.obj+
-$<,$*
+xmalloc.obj,+
+$<,$*,+
 $(LIBDIR)\import32.lib+
 $(LIBDIR)\cw32.lib
 
-
+$(OBJS): 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
 
 |
 
-o = .obj
 
-!include "..\windows\wget.dep"
+#
+# Dependencies for cleanup
+#
+
+clean:
+       $(RM) *.bak
+       $(RM) *.obj
+       $(RM) wget.exe
+       $(RM) wget.ilc
+       $(RM) wget.ild
+       $(RM) wget.ilf
+       $(RM) wget.ils
+       $(RM) wget.map
+       $(RM) wget.tds
+
+o = .obj