]> sjero.net Git - wget/commitdiff
[svn] Various fixes by David Fritz.
authorhniksic <devnull@localhost>
Sun, 9 May 2004 21:08:38 +0000 (14:08 -0700)
committerhniksic <devnull@localhost>
Sun, 9 May 2004 21:08:38 +0000 (14:08 -0700)
* windows/Makefile.src.bor: Fix broken build rule.  Add clean target.

* windows/Makefile.top.bor: Use tabs instead of spaces.  Ignore
errors in clean rules.  Use lowercase filenames when building
distribution .zip archive.

* windows/config.h.bor:  Don't define HAVE_UINT32_T.

* windows/Makefile.doc: Fix remaining instance of build rules
indented with spaces instead of tabs.

* windows/Makefile.src: Update copyright year.

* windows/Makefile.top: Update copyright year.

* windows/config.h.mingw (WGET_USE_STDARG, HAVE_SIG_ATOMIC_T): Define.

* windows/config.h.ms (HAVE_STRPBRK, HAVE_LIMITS_H)
(HAVE_LOCALE_H): Define.

* windows/Makefile.watcom: Add /I. to CFLAGS.  Remove reference to
specific Wget version from linker flags.  Add missing
dependencies.

ChangeLog
windows/Makefile.doc
windows/Makefile.src
windows/Makefile.src.bor
windows/Makefile.top
windows/Makefile.top.bor
windows/Makefile.watcom
windows/config.h.bor
windows/config.h.mingw
windows/config.h.ms

index 0da0206392cd300a2cbd9fe4f67fda09c52167e0..a95f837e8909ffbd8d3538a4602302a7827a0fc2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2004-05-09  David Fritz  <zeroxdf@att.net>
+
+       * windows/Makefile.src.bor: Fix broken build rule.  Add clean target.
+
+       * windows/Makefile.top.bor: Use tabs instead of spaces.  Ignore
+       errors in clean rules.  Use lowercase filenames when building
+       distribution .zip archive.
+
+       * windows/config.h.bor:  Don't define HAVE_UINT32_T.
+
+       * windows/Makefile.doc: Fix remaining instance of build rules
+       indented with spaces instead of tabs.
+
+       * windows/Makefile.src: Update copyright year.
+
+       * windows/Makefile.top: Update copyright year.
+
+       * windows/config.h.mingw (WGET_USE_STDARG, HAVE_SIG_ATOMIC_T): Define.
+
+       * windows/config.h.ms (HAVE_STRPBRK, HAVE_LIMITS_H)
+       (HAVE_LOCALE_H): Define.
+
+       * windows/Makefile.watcom: Add /I. to CFLAGS.  Remove reference to
+       specific Wget version from linker flags.  Add missing
+       dependencies.
+
 2004-02-09  David Fritz  <zeroxdf@att.net>
 
        * configure.bat.in: Don't clear the screen.
 2004-02-09  David Fritz  <zeroxdf@att.net>
 
        * configure.bat.in: Don't clear the screen.
index cff926fe20d7d8bfbdf15b8cc018911208ac0cea..0c6ded5fa210016072b5eda07b84443f2c9c9d14 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for `wget' utility
 # Makefile for `wget' utility
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -71,9 +71,9 @@ $(MAN): $(WGETPOD)
        $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
 
 $(WGETHLP): $(WGETTEXI) $(SAMPLERCTEXI)
        $(POD2MAN) --center="GNU Wget" --release="GNU Wget @VERSION@" $? > $@
 
 $(WGETHLP): $(WGETTEXI) $(SAMPLERCTEXI)
-        $(MAKEINFO) --no-validate --no-warn --force \
+       $(MAKEINFO) --no-validate --no-warn --force \
 --hpj wget.hpj --output wget.rtf $(WGETTEXI)
 --hpj wget.hpj --output wget.rtf $(WGETTEXI)
-        hcrtf -xn wget.hpj
+       hcrtf -xn wget.hpj
 
 clean:
        $(RM) *.bak
 
 clean:
        $(RM) *.bak
index 6a6b5afca6bf901390f80b986fb260769d8c8f37..c4946eb0a1d7d05aa1e6bff1db6bd63bb9a56c37 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for `wget' utility for MSVC
 # Makefile for `wget' utility for MSVC
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 3457a10cfe08e3487f4f06850716de20f8db7010..e01c087cbac76e10287d9b615d6e66d1d48a6c91 100644 (file)
@@ -1,6 +1,7 @@
 ## Compiler, linker, and lib stuff
 ## Makefile for use with Borland C++ for Win32 executable.
 
 ## Compiler, linker, and lib stuff
 ## Makefile for use with Borland C++ for Win32 executable.
 
+RM=-del
 CC=bcc32
 LINK=ilink32
 
 CC=bcc32
 LINK=ilink32
 
@@ -21,7 +22,7 @@ wget.exe: $(OBJS)
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
   $(LINK) @&&|
 $(LFLAGS) -Tpe -ap -c +
 $(LIBDIR)\c0x32.obj+
-cmpt.obj
+cmpt.obj+
 connect.obj+
 convert.obj+
 cookies.obj+
 connect.obj+
 convert.obj+
 cookies.obj+
@@ -50,8 +51,8 @@ safe-ctype.obj+
 url.obj+
 utils.obj+
 version.obj+
 url.obj+
 utils.obj+
 version.obj+
-xmalloc.obj+
-$<,$*
+xmalloc.obj,+
+$<,$*,+
 $(LIBDIR)\import32.lib+
 $(LIBDIR)\cw32.lib
 
 $(LIBDIR)\import32.lib+
 $(LIBDIR)\cw32.lib
 
@@ -59,6 +60,18 @@ $(LIBDIR)\cw32.lib
 
 |
 
 
 |
 
+
+#
+# Dependencies for cleanup
+#
+
+clean:
+       $(RM) *.bak
+       $(RM) *.obj
+       $(RM) *.exe
+       $(RM) *.map
+       $(RM) *.tds
+
 o = .obj
 
 !include "..\windows\wget.dep"
 o = .obj
 
 !include "..\windows\wget.dep"
index 69b8df19a45c824647c6e49fdf444e90c5905194..619c74b7083ef7b8101784f6d981d6b67701c8ca 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for `Wget' utility
 # Makefile for `Wget' utility
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
index 172e80198c48a23771a311549b9ca2b539e09835..e264f6c70f0173e6f946eb03afe7c46aa18b8957 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for `Wget' utility
 # Makefile for `Wget' utility
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
 # file, but you are not obligated to do so.  If you do not wish to do
 # so, delete this exception statement from your version.
 
 # file, but you are not obligated to do so.  If you do not wish to do
 # so, delete this exception statement from your version.
 
-RM = del
+RM = -del
 CP = copy
 
 # flags passed to recursive makes in subdirectories
 CP = copy
 
 # flags passed to recursive makes in subdirectories
@@ -37,39 +37,39 @@ SUBDIRS = src doc #util
 all: Makefile $(SUBDIRS)
 
 $(SUBDIRS): 
 all: Makefile $(SUBDIRS)
 
 $(SUBDIRS): 
-        cd $@
-        $(MAKE)
-        cd ..
+       cd $@
+       $(MAKE)
+       cd ..
 
 # install everything
 install:
 
 # install everything
 install:
-        echo Just do it.
+       echo Just do it.
 
 clean:         clean-recursive         clean-top
 distclean:     distclean-recursive     distclean-top
 realclean:     realclean-recursive     realclean-top
 
 clean-top:
 
 clean:         clean-recursive         clean-top
 distclean:     distclean-recursive     distclean-top
 realclean:     realclean-recursive     realclean-top
 
 clean-top:
-        $(RM) *.bak
-        $(RM) *.zip
+       $(RM) *.bak
+       $(RM) *.zip
 
 distclean-top: clean-top
 
 distclean-top: clean-top
-        $(RM) Makefile
-        $(RM) config.h
+       $(RM) Makefile
+       $(RM) config.h
 
 realclean-top: distclean-top
 
 clean-recursive distclean-recursive realclean-recursive:
 
 realclean-top: distclean-top
 
 clean-recursive distclean-recursive realclean-recursive:
-        cd src
-        $(MAKE) $(@:-recursive=)
-        cd ..\\doc
-        $(MAKE) $(@:-recursive=)
-        cd ..
+       cd src
+       $(MAKE) $(@:-recursive=)
+       cd ..\\doc
+       $(MAKE) $(@:-recursive=)
+       cd ..
 
 bindist: wget.zip
 
 wget.zip: $(SUBDIRS)
 
 bindist: wget.zip
 
 wget.zip: $(SUBDIRS)
-        $(RM) wget.zip
-        zip -Djl9 wget.zip AUTHORS COPYING INSTALL MACHINES MAILING-LIST NEWS README DOC\\sample.wgetrc
-        zip -Dj9 wget.zip SRC\\WGET.EXE DOC\\WGET.HLP
+       $(RM) wget.zip
+       zip -Djl9 wget.zip AUTHORS COPYING INSTALL MACHINES MAILING-LIST NEWS README doc/sample.wgetrc
+       zip -Dj9 wget.zip src/wget.exe doc/wget.hlp
 
 
index f235c647049217258d2f2a1d13a6e9554df3c9d1..bbd5a89ec69358cd3161cfae1be2fac9f922bc47 100644 (file)
@@ -13,7 +13,7 @@ LINK=wlink
 .BEFORE
        @SET INCLUDE=$(%WATCOM)\h;$(%WATCOM)\h\nt;.
 
 .BEFORE
        @SET INCLUDE=$(%WATCOM)\h;$(%WATCOM)\h\nt;.
 
-LFLAGS=op q sys nt op st=32767 op vers=1.7 op map op de 'GNU wget 1.7dev' de dw op symf
+LFLAGS=op q sys nt op st=32767 op map op de 'GNU Wget' de dw op symf
 #
 # op q              : quiet !
 # sys nt            : producing an NT app
 #
 # op q              : quiet !
 # sys nt            : producing an NT app
@@ -25,7 +25,7 @@ LFLAGS=op q sys nt op st=32767 op vers=1.7 op map op de 'GNU wget 1.7dev' de dw
 # op symf           : place debug info in a separate wget.sym
 #
 
 # op symf           : place debug info in a separate wget.sym
 #
 
-CFLAGS=/zp4 /w4 /fpd /5s /fp5 /bm /mf /bt=nt /DWINDOWS /DHAVE_CONFIG_H
+CFLAGS=/zp4 /w4 /fpd /5s /fp5 /bm /mf /bt=nt /I. /DWINDOWS /DHAVE_CONFIG_H
 #                    ^^^^^^^^ wget will run on NT. We can safely assume a Pentium :-)
 # /zp4= pack structure members with this alignment
 # /d1 = line number debug info
 #                    ^^^^^^^^ wget will run on NT. We can safely assume a Pentium :-)
 # /zp4= pack structure members with this alignment
 # /d1 = line number debug info
@@ -54,7 +54,8 @@ CFLAGS+= /os /d2
 OBJS = cmpt.obj convert.obj connect.obj cookies.obj ftp.obj ftp-basic.obj  &
       ftp-ls.obj ftp-opie.obj getopt.obj hash.obj host.obj html-parse.obj html-url.obj  &
       http.obj init.obj log.obj main.obj gen-md5.obj gnu-md5.obj netrc.obj progress.obj  &
 OBJS = cmpt.obj convert.obj connect.obj cookies.obj ftp.obj ftp-basic.obj  &
       ftp-ls.obj ftp-opie.obj getopt.obj hash.obj host.obj html-parse.obj html-url.obj  &
       http.obj init.obj log.obj main.obj gen-md5.obj gnu-md5.obj netrc.obj progress.obj  &
-      recur.obj res.obj retr.obj safe-ctype.obj url.obj utils.obj version.obj mswindows.obj
+      recur.obj res.obj retr.obj safe-ctype.obj url.obj utils.obj version.obj mswindows.obj &
+      xmalloc.obj
 
 LIBFILES = 
 #
 
 LIBFILES = 
 #
index 2778c109cb6284a49c082ff94f68d3b82bea6b2d..3ce3276036cff37cfef486d57bf622c6cbf7c70d 100644 (file)
@@ -1,5 +1,6 @@
 /* Configuration header file.
 /* Configuration header file.
-   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998, 2004
+   Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -29,9 +30,9 @@
 #ifndef CONFIG_H
 #define CONFIG_H
 
 #ifndef CONFIG_H
 #define CONFIG_H
 
-#define HAVE_SNPRINTF
+#define HAVE_SNPRINTF 1
 
 
-#define HAVE_MEMMOVE
+#define HAVE_MEMMOVE 1
 #define ftruncate chsize
 #define inline __inline
 
 #define ftruncate chsize
 #define inline __inline
 
@@ -78,7 +79,7 @@
 #define USE_DIGEST 1
 
 /* Define if you want the debug output support compiled in.  */
 #define USE_DIGEST 1
 
 /* Define if you want the debug output support compiled in.  */
-#define ENABLE_DEBUG
+#define ENABLE_DEBUG 1
 
 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
 
 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
 #define HAVE_BUILTIN_MD5 1
 
 /* Define if you have the isatty function.  */
 #define HAVE_BUILTIN_MD5 1
 
 /* Define if you have the isatty function.  */
-#define HAVE_ISATTY
+#define HAVE_ISATTY 1
 
 /* Define to the length of short. */
 #define SIZEOF_SHORT 2
 
 /* Define to the length of short. */
 #define SIZEOF_SHORT 2
 #define socklen_t int
 
 /* Define if you have uint32_t.  */
 #define socklen_t int
 
 /* Define if you have uint32_t.  */
-#define HAVE_UINT32_T */
+/* #define HAVE_UINT32_T */
 
 #endif /* CONFIG_H */
 
 #endif /* CONFIG_H */
index 1db10b246d019a61c377e98de9ad748ce3a03073..d15e46255c3e5e4a75b2388bbfb7162d7a714842 100644 (file)
@@ -1,6 +1,5 @@
-/* src/config.h.  Generated by configure.  */
 /* Configuration header file.
 /* Configuration header file.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001
+   Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2004
    Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
    Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
@@ -38,6 +37,9 @@ so, delete this exception statement from your version.  */
 /* For MinGW GCC/Win32, alloca is defined in the <malloc.h> header file. */
 #include <malloc.h>
 
 /* For MinGW GCC/Win32, alloca is defined in the <malloc.h> header file. */
 #include <malloc.h>
 
+/* Flag that C files should include <stdarg.h>, not <varargs.h>.  */
+#define WGET_USE_STDARG
+
 /* Define to empty if the keyword does not work.  */
 /* #undef const */
 
 /* Define to empty if the keyword does not work.  */
 /* #undef const */
 
@@ -86,6 +88,9 @@ so, delete this exception statement from your version.  */
 /* Define if you want the debug output support compiled in.  */
 #define ENABLE_DEBUG 1
 
 /* Define if you want the debug output support compiled in.  */
 #define ENABLE_DEBUG 1
 
+/* Define to 1 if the system has the type `sig_atomic_t'. */
+#define HAVE_SIG_ATOMIC_T 1
+
 /* Define if you have sys/time.h header.  */
 #define HAVE_SYS_TIME_H 1
 
 /* Define if you have sys/time.h header.  */
 #define HAVE_SYS_TIME_H 1
 
index a31b3e627273c88b02bd054dfcaa456f3e47dd69..56fe81f0406ce4042a482aca7259f7ffff70470d 100644 (file)
@@ -1,5 +1,6 @@
 /* Configuration header file.
 /* Configuration header file.
-   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998, 2004
+   Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -55,7 +56,7 @@
 #define USE_DIGEST 1
 
 /* Define if you want the debug output support compiled in.  */
 #define USE_DIGEST 1
 
 /* Define if you want the debug output support compiled in.  */
-#define ENABLE_DEBUG
+#define ENABLE_DEBUG 1
 
 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
 
 /* Define if you have sys/time.h header. */
 #undef HAVE_SYS_TIME_H
 #define HAVE_STRERROR 1
 
 /* Define if you have the snprintf function.  */
 #define HAVE_STRERROR 1
 
 /* Define if you have the snprintf function.  */
-#define HAVE_SNPRINTF
+#define HAVE_SNPRINTF 1
 
 /* Define if you have the vsnprintf function.  */
 
 /* Define if you have the vsnprintf function.  */
-#define HAVE_VSNPRINTF
+#define HAVE_VSNPRINTF 1
+
+/* Define to 1 if you have the `strpbrk' function. */
+#define HAVE_STRPBRK 1
 
 /* Define if you have the strstr function. */
 #define HAVE_STRSTR 1
 
 /* Define if you have the strstr function. */
 #define HAVE_STRSTR 1
 
 /* None except Digital Mars have sleep/usleep functions */
 #if defined(__DMC__)
 
 /* None except Digital Mars have sleep/usleep functions */
 #if defined(__DMC__)
-#define HAVE_USLEEP
-#define HAVE_SLEEP
+#define HAVE_USLEEP 1
+#define HAVE_SLEEP 1
 #endif
 
 /* Define if you have the <utime.h> header file.  */
 #endif
 
 /* Define if you have the <utime.h> header file.  */
 /* Define if you have the <sys/utime.h> header file.  */
 #define HAVE_SYS_UTIME_H 1
 
 /* Define if you have the <sys/utime.h> header file.  */
 #define HAVE_SYS_UTIME_H 1
 
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
 /* Define if you have the <sys/select.h> header file.  */
 #undef HAVE_SYS_SELECT_H
 
 /* Define if you have the <sys/select.h> header file.  */
 #undef HAVE_SYS_SELECT_H
 
 #undef HAVE_PWD_H
 
 /* Define if you have the <signal.h> header file.  */
 #undef HAVE_PWD_H
 
 /* Define if you have the <signal.h> header file.  */
-#define HAVE_SIGNAL_H
+#define HAVE_SIGNAL_H 1
 
 /* Define to be the name of the operating system.  */
 #define OS_TYPE "Windows"
 
 /* Define to be the name of the operating system.  */
 #define OS_TYPE "Windows"