]> sjero.net Git - wget/commitdiff
imported patch vms-overlay
authorSteven Schweda <sms@antinode.info>
Sat, 9 Jan 2010 23:24:02 +0000 (15:24 -0800)
committerSteven Schweda <sms@antinode.info>
Sat, 9 Jan 2010 23:24:02 +0000 (15:24 -0800)
34 files changed:
lib/DESCRIP_DEPS.MMS [new file with mode: 0644]
lib/DESCRIP_MODS.MMS [new file with mode: 0644]
lib/DESCRIP_SRC.MMS [new file with mode: 0644]
md5/DESCRIP_DEPS.MMS [new file with mode: 0644]
md5/DESCRIP_MODS.MMS [new file with mode: 0644]
md5/DESCRIP_SRC.MMS [new file with mode: 0644]
src/DESCRIP_DEPS.MMS [new file with mode: 0644]
src/DESCRIP_MODS.MMS [new file with mode: 0644]
src/DESCRIP_SRC.MMS [new file with mode: 0644]
src/decc_ver.c [new file with mode: 0644]
src/main.c
src/vms.c
vms/COLLECT_DEPS.COM
vms/CONFIG_EXTRACT.COM [new file with mode: 0644]
vms/DESCRIP.MMS
vms/DESCRIP_CONFIG.MMS [deleted file]
vms/DESCRIP_DEPS.MMS [deleted file]
vms/DESCRIP_MKDEPS.MMS
vms/DESCRIP_SRC.MMS
vms/DESCRIP_SRC_CMN.MMS [new file with mode: 0644]
vms/DESCRIP_SRC_FLAGS.MMS [new file with mode: 0644]
vms/VMS-WGET.COM [deleted file]
vms/VMS_NOTES.TXT
vms/WGET.HLP
vms/WGET.OPT [deleted file]
vms/WGET_SSL.OPT [deleted file]
vms/WGET_SSL_HP.OPT
vms/WGET_SSL_O.OPT [new file with mode: 0644]
vms/alloca.h [new file with mode: 0644]
vms/config.h_vms
vms/decc_ver.c [deleted file]
vms/stdint.h [new file with mode: 0644]
vms/vms.h
vms/vms_name_fix.sh [deleted file]

diff --git a/lib/DESCRIP_DEPS.MMS b/lib/DESCRIP_DEPS.MMS
new file mode 100644 (file)
index 0000000..014cb19
--- /dev/null
@@ -0,0 +1,48 @@
+#
+# Wget for VMS - MMS (or MMK) Source Dependency File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_DEPS
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+[.$(DEST)]C-CTYPE.OBJ : [-.LIB]C-CTYPE.C
+[.$(DEST)]C-CTYPE.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]C-CTYPE.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]ERROR.OBJ : [-.LIB]ERROR.C
+[.$(DEST)]ERROR.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]ERROR.OBJ : [-.LIB]ERROR.H
+[.$(DEST)]EXITFAIL.OBJ : [-.LIB]EXITFAIL.C
+[.$(DEST)]EXITFAIL.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]EXITFAIL.OBJ : [-.LIB]EXITFAIL.H
+[.$(DEST)]GETOPT.OBJ : [-.LIB]GETOPT.C
+[.$(DEST)]GETOPT.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]GETOPT.OBJ : [-.LIB.$(DEST)]GETOPT.H
+[.$(DEST)]GETOPT.OBJ : [-.LIB]GETTEXT.H
+[.$(DEST)]GETOPT.OBJ : [-.LIB]GETOPT_INT.H
+[.$(DEST)]GETOPT1.OBJ : [-.LIB]GETOPT1.C
+[.$(DEST)]GETOPT1.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]GETOPT1.OBJ : [-.LIB.$(DEST)]GETOPT.H
+[.$(DEST)]GETOPT1.OBJ : [-.LIB]GETOPT_INT.H
+[.$(DEST)]QUOTE.OBJ : [-.LIB]QUOTE.C
+[.$(DEST)]QUOTE.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]QUOTE.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]QUOTE.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]QUOTEARG.OBJ : [-.LIB]QUOTEARG.C
+[.$(DEST)]QUOTEARG.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]QUOTEARG.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]QUOTEARG.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]QUOTEARG.OBJ : [-.LIB]GETTEXT.H
+[.$(DEST)]XALLOC-DIE.OBJ : [-.LIB]XALLOC-DIE.C
+[.$(DEST)]XALLOC-DIE.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]XALLOC-DIE.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]XALLOC-DIE.OBJ : [-.LIB]ERROR.H
+[.$(DEST)]XALLOC-DIE.OBJ : [-.LIB]EXITFAIL.H
+[.$(DEST)]XALLOC-DIE.OBJ : [-.LIB]GETTEXT.H
+[.$(DEST)]XMALLOC.OBJ : [-.LIB]XMALLOC.C
+[.$(DEST)]XMALLOC.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]XMALLOC.OBJ : [-.LIB]XALLOC.H
diff --git a/lib/DESCRIP_MODS.MMS b/lib/DESCRIP_MODS.MMS
new file mode 100644 (file)
index 0000000..4e0237f
--- /dev/null
@@ -0,0 +1,26 @@
+#                                               15 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Object Module List File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_SRC
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+# Object library modules.
+
+MODS_OBJS_LIB_LIB = \
+ C-CTYPE=[.$(DEST)]C-CTYPE.OBJ \
+ ERROR=[.$(DEST)]ERROR.OBJ \
+ EXITFAIL=[.$(DEST)]EXITFAIL.OBJ \
+ GETOPT=[.$(DEST)]GETOPT.OBJ \
+ GETOPT1=[.$(DEST)]GETOPT1.OBJ \
+ QUOTE=[.$(DEST)]QUOTE.OBJ \
+ QUOTEARG=[.$(DEST)]QUOTEARG.OBJ \
+ XALLOC-DIE=[.$(DEST)]XALLOC-DIE.OBJ \
+ XMALLOC=[.$(DEST)]XMALLOC.OBJ
+
diff --git a/lib/DESCRIP_SRC.MMS b/lib/DESCRIP_SRC.MMS
new file mode 100644 (file)
index 0000000..35c4647
--- /dev/null
@@ -0,0 +1,35 @@
+#                                               15 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Source Description File.
+#
+
+# Default target identifier.
+
+TARGET_LIB = 1
+
+# Common source description file.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_CMN.MMS
+
+# C compiler defines.
+
+CDEFS_SPEC =
+
+CDEFS = $(CDEFS_CMN) $(CDEFS_SPEC)
+
+# Other C compiler options.
+
+CFLAGS_INCL = /include = \
+ ([], [.$(DEST)], [-.$(DIR_SRC).$(DEST)], [-.$(DIR_VMS)])
+
+CFLAGS_SPEC = /prefix_library_entries = \
+ (all_entries, except = (getopt, optarg, opterr, optind, optopt))
+
+# Define CFLAGS and LINKFLAGS.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_FLAGS.MMS
+
+# Object library modules.
+
+.INCLUDE DESCRIP_MODS.MMS
+
diff --git a/md5/DESCRIP_DEPS.MMS b/md5/DESCRIP_DEPS.MMS
new file mode 100644 (file)
index 0000000..8073eed
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Wget for VMS - MMS (or MMK) Source Dependency File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_DEPS
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+[.$(DEST)]MD5.OBJ : [-.MD5]MD5.C
+[.$(DEST)]MD5.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]MD5.OBJ : [-.MD5]MD5.H
+[.$(DEST)]MD5.OBJ : [-.VMS]STDINT.H
diff --git a/md5/DESCRIP_MODS.MMS b/md5/DESCRIP_MODS.MMS
new file mode 100644 (file)
index 0000000..7f7fbdd
--- /dev/null
@@ -0,0 +1,18 @@
+#                                               15 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Object Module List File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_SRC
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+# Object library modules.
+
+MODS_OBJS_LIB_MD5 = \
+ MD5=[.$(DEST)]MD5.OBJ
+
diff --git a/md5/DESCRIP_SRC.MMS b/md5/DESCRIP_SRC.MMS
new file mode 100644 (file)
index 0000000..4805338
--- /dev/null
@@ -0,0 +1,34 @@
+#                                               15 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Source Description File.
+#
+
+# Default target identifier.
+
+TARGET_MD5 = 1
+
+# Common source description file.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_CMN.MMS
+
+# C compiler defines.
+
+CDEFS_SPEC =
+
+CDEFS = $(CDEFS_CMN) $(CDEFS_SPEC)
+
+# Other C compiler options.
+
+CFLAGS_INCL = /include = ([], [.$(DEST)], \
+ [-.$(DIR_SRC)], [-.$(DIR_SRC).$(DEST)], [-.$(DIR_VMS)])
+
+CFLAGS_SPEC = /prefix_library_entries = all_entries
+
+# Define CFLAGS and LINKFLAGS.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_FLAGS.MMS
+
+# Object library modules.
+
+.INCLUDE DESCRIP_MODS.MMS
+
diff --git a/src/DESCRIP_DEPS.MMS b/src/DESCRIP_DEPS.MMS
new file mode 100644 (file)
index 0000000..30732b5
--- /dev/null
@@ -0,0 +1,663 @@
+#
+# Wget for VMS - MMS (or MMK) Source Dependency File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_DEPS
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]BUILD_INFO.C
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]WGET.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]LOG.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]BUILD_INFO.OBJ : [-.SRC]IRI.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]CMPT.C
+[.$(DEST)]CMPT.OBJ : [-.SRC]WGET.H
+[.$(DEST)]CMPT.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]CMPT.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]CMPT.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]CMPT.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]CMPT.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]LOG.H
+[.$(DEST)]CMPT.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]CMPT.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]CMPT.OBJ : [-.SRC]IRI.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]CONNECT.C
+[.$(DEST)]CONNECT.OBJ : [-.SRC]WGET.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]CONNECT.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]CONNECT.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]CONNECT.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]CONNECT.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]LOG.H
+[.$(DEST)]CONNECT.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]CONNECT.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]IRI.H
+[.$(DEST)]CONNECT.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]HOST.H
+[.$(DEST)]CONNECT.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]CONNECT.H
+[.$(DEST)]CONNECT.OBJ : [-.SRC]HASH.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]CONVERT.C
+[.$(DEST)]CONVERT.OBJ : [-.SRC]WGET.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]CONVERT.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]CONVERT.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]CONVERT.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]CONVERT.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]LOG.H
+[.$(DEST)]CONVERT.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]CONVERT.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]IRI.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]CONVERT.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]URL.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]RECUR.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]HASH.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]PTIMER.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]RES.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]HTML-URL.H
+[.$(DEST)]CONVERT.OBJ : [-.SRC]CSS-URL.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]COOKIES.C
+[.$(DEST)]COOKIES.OBJ : [-.SRC]WGET.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]COOKIES.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]COOKIES.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]COOKIES.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]COOKIES.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]LOG.H
+[.$(DEST)]COOKIES.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]COOKIES.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]IRI.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]HASH.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]COOKIES.H
+[.$(DEST)]COOKIES.OBJ : [-.SRC]HTTP.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]CSS-URL.C
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]WGET.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]CSS-URL.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]CSS-URL.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]CSS-URL.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]CSS-URL.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]LOG.H
+[.$(DEST)]CSS-URL.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]CSS-URL.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]IRI.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]WGET.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]CONVERT.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]HTML-URL.H
+[.$(DEST)]CSS-URL.OBJ : [-.SRC]CSS-TOKENS.H
+[.$(DEST)]CSS.OBJ : [-.SRC]CSS.C
+[.$(DEST)]CSS.OBJ : [-.SRC]CSS-T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-MD5.OBJ : [-.SRC]LOG.H
+[.$(DEST)]GEN-MD5.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]GEN-MD5.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]GEN-MD5.OBJ : [-.SRC]IRI.H
+[.$(DEST)]GEN-MD5.OBJ : [-.SRC]GEN-MD5.H
+[.$(DEST)]GEN-MD5.OBJ : [-.MD5]MD5.H
+[.$(DEST)]GEN-MD5.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]HASH.OBJ : [-.SRC]HASH.C
+[.$(DEST)]HASH.OBJ : [-.SRC]WGET.H
+[.$(DEST)]HASH.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]HASH.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]HASH.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]HASH.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]HASH.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]HASH.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]HASH.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]HASH.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]HASH.OBJ : [-.SRC]LOG.H
+[.$(DEST)]HASH.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]HASH.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]HASH.OBJ : [-.SRC]IRI.H
+[.$(DEST)]HASH.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]HASH.OBJ : [-.SRC]HASH.H
+[.$(DEST)]HOST.OBJ : [-.SRC]HOST.C
+[.$(DEST)]HOST.OBJ : [-.SRC]WGET.H
+[.$(DEST)]HOST.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]HOST.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]HOST.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]HOST.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]HOST.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]HOST.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]HOST.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]HOST.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]HOST.OBJ : [-.SRC]LOG.H
+[.$(DEST)]HOST.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]HOST.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]HOST.OBJ : [-.SRC]IRI.H
+[.$(DEST)]HOST.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]HOST.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]HOST.OBJ : [-.SRC]HOST.H
+[.$(DEST)]HOST.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]HOST.OBJ : [-.SRC]URL.H
+[.$(DEST)]HOST.OBJ : [-.SRC]HASH.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HTML-PARSE.C
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]WGET.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]LOG.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]IRI.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HTML-PARSE.H
+[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HASH.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]HTML-URL.C
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]WGET.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]HTML-URL.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]HTML-URL.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]HTML-URL.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]HTML-URL.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]LOG.H
+[.$(DEST)]HTML-URL.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]HTML-URL.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]IRI.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]HTML-PARSE.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]URL.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]HASH.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]CONVERT.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]RECUR.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]HTML-URL.H
+[.$(DEST)]HTML-URL.OBJ : [-.SRC]CSS-URL.H
+[.$(DEST)]HTTP-NTLM.OBJ : [-.SRC]HTTP-NTLM.C
+[.$(DEST)]HTTP-NTLM.OBJ : [-.SRC]WGET.H
+[.$(DEST)]HTTP-NTL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J : [-.SRC]WGET.H
+[.$(DEST)]NETRC.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]NETRC.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]NETRC.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]NETRC.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]NETRC.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]LOG.H
+[.$(DEST)]NETRC.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]NETRC.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]IRI.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]NETRC.H
+[.$(DEST)]NETRC.OBJ : [-.SRC]INIT.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]OPENSSL.C
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]WGET.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]OPENSSL.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]OPENSSL.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]OPENSSL.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]OPENSSL.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]LOG.H
+[.$(DEST)]OPENSSL.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]OPENSSL.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]IRI.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]CONNECT.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]HOST.H
+[.$(DEST)]OPENSSL.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]URL.H
+[.$(DEST)]OPENSSL.OBJ : [-.SRC]SSL.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]PROGRESS.C
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]WGET.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]PROGRESS.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]PROGRESS.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]PROGRESS.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]PROGRESS.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]LOG.H
+[.$(DEST)]PROGRESS.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]PROGRESS.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]IRI.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]PROGRESS.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]RETR.H
+[.$(DEST)]PROGRESS.OBJ : [-.SRC]URL.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]PTIMER.C
+[.$(DEST)]PTIMER.OBJ : [-.SRC]WGET.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]PTIMER.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]PTIMER.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]PTIMER.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]PTIMER.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]LOG.H
+[.$(DEST)]PTIMER.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]PTIMER.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]IRI.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]PTIMER.OBJ : [-.SRC]PTIMER.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]RECUR.C
+[.$(DEST)]RECUR.OBJ : [-.SRC]WGET.H
+[.$(DEST)]RECUR.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]RECUR.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]RECUR.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]RECUR.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]RECUR.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]LOG.H
+[.$(DEST)]RECUR.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]RECUR.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]IRI.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]URL.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]RECUR.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]RETR.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]FTP.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]HOST.H
+[.$(DEST)]RECUR.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]HASH.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]RES.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]CONVERT.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]HTML-URL.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]CSS-URL.H
+[.$(DEST)]RECUR.OBJ : [-.SRC]SPIDER.H
+[.$(DEST)]RES.OBJ : [-.SRC]RES.C
+[.$(DEST)]RES.OBJ : [-.SRC]WGET.H
+[.$(DEST)]RES.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]RES.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]RES.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]RES.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]RES.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]RES.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]RES.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]RES.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]RES.OBJ : [-.SRC]LOG.H
+[.$(DEST)]RES.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]RES.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]RES.OBJ : [-.SRC]IRI.H
+[.$(DEST)]RES.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]RES.OBJ : [-.SRC]HASH.H
+[.$(DEST)]RES.OBJ : [-.SRC]URL.H
+[.$(DEST)]RES.OBJ : [-.SRC]RETR.H
+[.$(DEST)]RES.OBJ : [-.SRC]RES.H
+[.$(DEST)]RETR.OBJ : [-.SRC]RETR.C
+[.$(DEST)]RETR.OBJ : [-.SRC]WGET.H
+[.$(DEST)]RETR.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]RETR.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]RETR.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]RETR.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]RETR.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]RETR.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]RETR.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]RETR.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]RETR.OBJ : [-.SRC]LOG.H
+[.$(DEST)]RETR.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]RETR.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]RETR.OBJ : [-.SRC]IRI.H
+[.$(DEST)]RETR.OBJ : [-.SRC]EXITS.H
+[.$(DEST)]RETR.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]RETR.OBJ : [-.SRC]RETR.H
+[.$(DEST)]RETR.OBJ : [-.SRC]URL.H
+[.$(DEST)]RETR.OBJ : [-.SRC]PROGRESS.H
+[.$(DEST)]RETR.OBJ : [-.SRC]RECUR.H
+[.$(DEST)]RETR.OBJ : [-.SRC]FTP.H
+[.$(DEST)]RETR.OBJ : [-.SRC]HOST.H
+[.$(DEST)]RETR.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]RETR.OBJ : [-.SRC]HTTP.H
+[.$(DEST)]RETR.OBJ : [-.SRC]CONNECT.H
+[.$(DEST)]RETR.OBJ : [-.SRC]HASH.H
+[.$(DEST)]RETR.OBJ : [-.SRC]CONVERT.H
+[.$(DEST)]RETR.OBJ : [-.SRC]PTIMER.H
+[.$(DEST)]RETR.OBJ : [-.SRC]HTML-URL.H
+[.$(DEST)]SNPRINTF.OBJ : [-.SRC]SNPRINTF.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)]SPIDER.OBJ : [-.SRC]SPIDER.H
+[.$(DEST)]SPIDER.OBJ : [-.SRC]URL.H
+[.$(DEST)]SPIDER.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]SPIDER.OBJ : [-.SRC]HASH.H
+[.$(DEST)]SPIDER.OBJ : [-.SRC]RES.H
+[.$(DEST)]URL.OBJ : [-.SRC]URL.C
+[.$(DEST)]URL.OBJ : [-.SRC]WGET.H
+[.$(DEST)]URL.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]URL.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]URL.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]URL.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]URL.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]URL.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]URL.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]URL.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]URL.OBJ : [-.SRC]LOG.H
+[.$(DEST)]URL.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]URL.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]URL.OBJ : [-.SRC]IRI.H
+[.$(DEST)]URL.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]URL.OBJ : [-.SRC]URL.H
+[.$(DEST)]URL.OBJ : [-.SRC]HOST.H
+[.$(DEST)]URL.OBJ : [-.VMS]VMS_IP.H
+[.$(DEST)]URL.OBJ : [-.VMS]VMS.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]UTILS.C
+[.$(DEST)]UTILS.OBJ : [-.SRC]WGET.H
+[.$(DEST)]UTILS.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]UTILS.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]UTILS.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]UTILS.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]UTILS.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]LOG.H
+[.$(DEST)]UTILS.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]UTILS.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]IRI.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]UTILS.H
+[.$(DEST)]UTILS.OBJ : [-.SRC]HASH.H
+[.$(DEST)]UTILS.OBJ : [-.VMS]VMS.H
+[.$(DEST)]VMS.OBJ : [-.SRC]VMS.C
+[.$(DEST)]VMS.OBJ : [-.VMS]VMS.H
+[.$(DEST)]VMS.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]VMS.OBJ : [-.SRC]WGET.H
+[.$(DEST)]VMS.OBJ : [-.SRC.$(DEST)]CONFIG.H
+[.$(DEST)]VMS.OBJ : [-.SRC]SYSDEP.H
+[.$(DEST)]VMS.OBJ : [-.VMS]STDINT.H
+[.$(DEST)]VMS.OBJ : [-.SRC]GETTEXT.H
+[.$(DEST)]VMS.OBJ : [-.LIB]C-CTYPE.H
+[.$(DEST)]VMS.OBJ : [-.SRC]OPTIONS.H
+[.$(DEST)]VMS.OBJ : [-.VMS]ALLOCA.H
+[.$(DEST)]VMS.OBJ : [-.LIB]XALLOC.H
+[.$(DEST)]VMS.OBJ : [-.SRC]LOG.H
+[.$(DEST)]VMS.OBJ : [-.LIB]QUOTE.H
+[.$(DEST)]VMS.OBJ : [-.LIB]QUOTEARG.H
+[.$(DEST)]VMS.OBJ : [-.SRC]IRI.H
+[.$(DEST)]VMS.OBJ : [-.SRC]UTILS.H
diff --git a/src/DESCRIP_MODS.MMS b/src/DESCRIP_MODS.MMS
new file mode 100644 (file)
index 0000000..449fa29
--- /dev/null
@@ -0,0 +1,59 @@
+#                                               21 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Object Module List File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_SRC
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+# Object library modules.
+
+MODS_OBJS_LIB_SRC_NOSSL = \
+ BUILD_INFO=[.$(DEST)]BUILD_INFO.OBJ \
+ CMPT=[.$(DEST)]CMPT.OBJ \
+ CONNECT=[.$(DEST)]CONNECT.OBJ \
+ CONVERT=[.$(DEST)]CONVERT.OBJ \
+ COOKIES=[.$(DEST)]COOKIES.OBJ \
+ CSS-URL=[.$(DEST)]CSS-URL.OBJ \
+ CSS=[.$(DEST)]CSS.OBJ \
+ EXITS=[.$(DEST)]EXITS.OBJ \
+ FTP-BASIC=[.$(DEST)]FTP-BASIC.OBJ \
+ FTP-LS=[.$(DEST)]FTP-LS.OBJ \
+ FTP-OPIE=[.$(DEST)]FTP-OPIE.OBJ \
+ FTP=[.$(DEST)]FTP.OBJ \
+ GEN-MD5=[.$(DEST)]GEN-MD5.OBJ \
+ HASH=[.$(DEST)]HASH.OBJ \
+ HOST=[.$(DEST)]HOST.OBJ \
+ HTML-PARSE=[.$(DEST)]HTML-PARSE.OBJ \
+ HTML-URL=[.$(DEST)]HTML-URL.OBJ \
+ HTTP-NTLM=[.$(DEST)]HTTP-NTLM.OBJ \
+ HTTP=[.$(DEST)]HTTP.OBJ \
+ INIT=[.$(DEST)]INIT.OBJ \
+ LOG=[.$(DEST)]LOG.OBJ \
+ MAIN=[.$(DEST)]MAIN.OBJ \
+ NETRC=[.$(DEST)]NETRC.OBJ \
+ PROGRESS=[.$(DEST)]PROGRESS.OBJ \
+ PTIMER=[.$(DEST)]PTIMER.OBJ \
+ RECUR=[.$(DEST)]RECUR.OBJ \
+ RES=[.$(DEST)]RES.OBJ \
+ RETR=[.$(DEST)]RETR.OBJ \
+ SNPRINTF=[.$(DEST)]SNPRINTF.OBJ \
+ SPIDER=[.$(DEST)]SPIDER.OBJ \
+ URL=[.$(DEST)]URL.OBJ \
+ UTILS=[.$(DEST)]UTILS.OBJ \
+ VMS=[.$(DEST)]VMS.OBJ \
+
+.IFDEF CDEFS_SSL                # CDEFS_SSL
+MODS_OBJS_LIB_SRC_SSL = \
+ OPENSSL=[.$(DEST)]OPENSSL.OBJ
+.ELSE                           # CDEFS_SSL
+MODS_OBJS_LIB_SRC_SSL =
+.ENDIF                          # CDEFS_SSL [else]
+
+MODS_OBJS_LIB_SRC = $(MODS_OBJS_LIB_SRC_NOSSL) $(MODS_OBJS_LIB_SRC_SSL)
+
diff --git a/src/DESCRIP_SRC.MMS b/src/DESCRIP_SRC.MMS
new file mode 100644 (file)
index 0000000..dd9d8fa
--- /dev/null
@@ -0,0 +1,35 @@
+#                                               23 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Source Description File.
+#
+
+# Default target identifier.
+
+TARGET_SRC = 1
+
+# Common source description file.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_CMN.MMS
+
+# C compiler defines.
+
+CDEFS_SPEC =
+
+CDEFS = $(CDEFS_CMN) $(CDEFS_SPEC)
+
+# Other C compiler options.
+
+CFLAGS_INCL = /include = ([], [.$(DEST)], \
+ [-.$(DIR_LIB)], [-.$(DIR_LIB).$(DEST)], [-.$(DIR_MD5)], [-.$(DIR_VMS)])
+
+CFLAGS_SPEC = /prefix_library_entries = \
+ (all_entries, except = (utime $(UTNP)))
+
+# Define CFLAGS and LINKFLAGS.
+
+.INCLUDE [-.VMS]DESCRIP_SRC_FLAGS.MMS
+
+# Object library modules.
+
+.INCLUDE DESCRIP_MODS.MMS
+
diff --git a/src/decc_ver.c b/src/decc_ver.c
new file mode 100644 (file)
index 0000000..8d9e514
--- /dev/null
@@ -0,0 +1,30 @@
+#include <stdio.h>
+
+int main( void)
+{
+#ifdef __VMS_VERSION
+printf( " __VMS_VERSION: >%s<.\n", __VMS_VERSION);
+#else /* def __VMS_VERSION */
+printf( " __VMS_VERSION: (undefined)<.\n");
+#endif /* def __VMS_VERSION [else] */
+
+#ifdef __VMS_VER
+printf( " __VMS_VER  = %d.\n", __VMS_VER);
+#else /* def __VMS_VER */
+printf( " __VMS_VER  = (undefined).\n");
+#endif /* def __VMS_VER [else] */
+
+#ifdef __DECC_VER
+printf( " __DECC_VER = %d.\n", __DECC_VER);
+#else /* def __DECC_VER */
+printf( " __DECC_VER = (undefined).\n");
+#endif /* def __DECC_VER */
+
+#ifdef __CRTL_VER
+printf( " __CRTL_VER = %d.\n", __CRTL_VER);
+#else /* def __CRTL_VER */
+printf( " __CRTL_VER = (undefined).\n");
+#endif /* def __CRTL_VER */
+
+return 0;
+}
index fe4cac7a9045294a00dfbdc3eb0f0a97218bb79d..fda7d0f3a20f732932fd5480abe49a04fda5b28a 100644 (file)
@@ -825,13 +825,15 @@ print_version (void)
                         MAX_CHARS_PER_LINE);
 #endif /* def ENABLE_NLS */
 
-  format_and_print_line (compile_title,
-                        compilation_string,
-                        MAX_CHARS_PER_LINE);
+  if (compilation_string != NULL)
+    format_and_print_line (compile_title,
+                           compilation_string,
+                           MAX_CHARS_PER_LINE);
 
-  format_and_print_line (link_title,
-                        link_string,
-                        MAX_CHARS_PER_LINE);
+  if (link_string != NULL)
+    format_and_print_line (link_title,
+                           link_string,
+                           MAX_CHARS_PER_LINE);
 
   printf ("\n");
   /* TRANSLATORS: When available, an actual copyright character
@@ -869,11 +871,16 @@ main (int argc, char **argv)
   i18n_initialize ();
 
   /* Construct the name of the executable, without the directory part.  */
+#ifdef __VMS
+  /* On VMS, lose the "dev:[dir]" prefix and the ".EXE;nnn" suffix. */
+  exec_name = vms_basename (argv[0]);
+#else /* def __VMS */
   exec_name = strrchr (argv[0], PATH_SEPARATOR);
   if (!exec_name)
     exec_name = argv[0];
   else
     ++exec_name;
+#endif /* def __VMS [else] */
 
 #ifdef WINDOWS
   /* Drop extension (typically .EXE) from executable filename. */
index 8104d1377705e431da94eb3eb98eacdbd4e5fa05..c65eb94da097c8184cd2310264689312b3ecbd20 100644 (file)
--- a/src/vms.c
+++ b/src/vms.c
  *
  *----------------------------------------------------------------------
  *
+ *       vms_basename()
+ *
+ *    Returns the basename from a VMS file spec.
+ *
+ *----------------------------------------------------------------------
+ *
+ *       vms_getpass().
+ *
+ *    VMS-specific substitute for GNU getpass().
+ *
+ *----------------------------------------------------------------------
+ *
  *       vms_ver()
  *
  *    Returns (run-time) VMS version string.
@@ -33,7 +45,7 @@
  *
  *   Simplifies a fancy URL-derived file name into an ODS2- or
  *   ODS5-compatible file name.
- *
+ *    
  *----------------------------------------------------------------------
  *
  *       utime()
@@ -64,6 +76,7 @@
 
 #include <ctype.h>
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
 #include <atrdef.h>
 #include <descrip.h>
+#include <dcdef.h>
 #include <dvidef.h>
 #include <fibdef.h>
 #include <iodef.h>
 #include <rms.h>
 #include <stsdef.h>
 #include <syidef.h>
+#include <ttdef.h>
 #include <lib$routines.h>
 #include <starlet.h>
 
@@ -105,6 +120,55 @@ typedef struct _iosb {
 #include "wget.h"
 #include "utils.h"
 
+
+/* Define macros for use with either NAM or NAML. */
+
+#ifdef NAML$C_MAXRSS            /* NAML is available.  Use it. */
+
+#  define NAM_STRUCT NAML
+
+#  define FAB_OR_NAML( fab, nam) nam
+#  define FAB_OR_NAML_FNA naml$l_long_filename
+#  define FAB_OR_NAML_FNS naml$l_long_filename_size
+
+#  define CC_RMS_NAM cc$rms_naml
+#  define FAB_NAM fab$l_naml
+#  define NAM_ESA naml$l_long_expand
+#  define NAM_ESL naml$l_long_expand_size
+#  define NAM_ESS naml$l_long_expand_alloc
+#  define NAM_RSA naml$l_long_result
+#  define NAM_RSL naml$l_long_result_size
+#  define NAM_RSS naml$l_long_result_alloc
+#  define NAM_MAXRSS NAML$C_MAXRSS
+#  define NAM_NOP naml$b_nop
+#  define NAM_M_SYNCHK NAML$M_SYNCHK
+#  define NAM_B_NAME naml$l_long_name_size
+#  define NAM_L_NAME naml$l_long_name
+
+#else /* def NAML$C_MAXRSS */   /* NAML is not available.  Use NAM. */
+
+#  define NAM_STRUCT NAM
+
+#  define FAB_OR_NAML( fab, nam) fab
+#  define FAB_OR_NAML_FNA fab$l_fna
+#  define FAB_OR_NAML_FNS fab$b_fns
+
+#  define CC_RMS_NAM cc$rms_nam
+#  define FAB_NAM fab$l_nam
+#  define NAM_ESA nam$l_esa
+#  define NAM_ESL nam$b_esl
+#  define NAM_ESS nam$b_ess
+#  define NAM_RSA nam$l_rsa
+#  define NAM_RSL nam$b_rsl
+#  define NAM_RSS nam$b_rss
+#  define NAM_MAXRSS NAM$C_MAXRSS
+#  define NAM_NOP nam$b_nop
+#  define NAM_M_SYNCHK NAM$M_SYNCHK
+#  define NAM_B_NAME nam$b_name
+#  define NAM_L_NAME nam$l_name
+
+#endif /* def NAML$C_MAXRSS */
+
 /*--------------------------------------------------------------------*/
 
 /* Global storage. */
@@ -235,7 +299,7 @@ int dmy_lib$initialize = (int) lib$initialize;
 /*--------------------------------------------------------------------*/
 
 /* vms_arch()
-
+  
       Returns (run-time) VMS architecture string.
 */
 
@@ -269,8 +333,235 @@ return arch;
 
 /*--------------------------------------------------------------------*/
 
-/* vms_vers()
+/* vms_basename()
+ *
+ *    Extract the basename from a VMS file spec.
+ */
+
+char *vms_basename( char *file_spec)
+{
+    /* Static storage for NAM[L], and so on. */
+
+    static struct NAM_STRUCT nam;
+    static char exp_name[ NAM_MAXRSS+ 1];
+    static char res_name[ NAM_MAXRSS+ 1];
+
+    struct FAB fab;
+    int status;
+
+    /* Set up the FAB and NAM[L] blocks. */
+
+    fab = cc$rms_fab;                   /* Initialize FAB. */
+    nam = CC_RMS_NAM;                   /* Initialize NAM[L]. */
+
+    fab.FAB_NAM = &nam;                 /* FAB -> NAM[L] */
+
+#ifdef NAML$C_MAXRSS
+
+    fab.fab$l_dna = (char *) -1;    /* Using NAML for default name. */
+    fab.fab$l_fna = (char *) -1;    /* Using NAML for file name. */
+
+#endif /* def NAML$C_MAXRSS */
+
+    /* Arg name and length. */
+    FAB_OR_NAML( fab, nam).FAB_OR_NAML_FNA = file_spec;
+    FAB_OR_NAML( fab, nam).FAB_OR_NAML_FNS = strlen( file_spec);
+
+    nam.NAM_ESA = exp_name;         /* Expanded name. */
+    nam.NAM_ESS = NAM_MAXRSS;       /* Max length. */
+    nam.NAM_RSA = res_name;         /* Resulting name. */
+    nam.NAM_RSS = NAM_MAXRSS;       /* Max length. */
+
+    nam.NAM_NOP = NAM_M_SYNCHK;     /* Syntax-only analysis. */
+
+    /* Parse the file name. */
+    status = sys$parse( &fab);      /* What could go wrong? */
+
+    nam.NAM_L_NAME[ nam.NAM_B_NAME] = '\0';
+
+    return nam.NAM_L_NAME;
+}
+
+/*--------------------------------------------------------------------*/
+
+/* 2009-09-07 SMS.
+ *
+ *       vms_getpass().
+ *
+ *    VMS-specific substitute for GNU getpass().
+ *
+ *       Returns passpord in locally allocated string.
+ */
+
+/* Terminal characteristics buffer structure. */
+typedef struct
+{
+    char class;
+    char type;
+    short page_width;
+    int basic_chars;    /* (The high eight bits are page length.) */
+    int extended_chars;
+} term_chars_t;
+
+/* Enable/disable terminal echo. */
+
+int vms_set_term_echo( int able)
+{
+    int sts;
+    int sts2;
+    short term_chan;
+    $DESCRIPTOR( term_dscr, "SYS$COMMAND");
+    term_chars_t term_chars;
+    static int initial_echo = -1;
+
+    /* Open a channel to the terminal device. */
+    sts = sys$assign( &term_dscr,       /* Terminal device name. */
+                      &term_chan,       /* Channel. */
+                      0,                /* Access mode. */
+                      0);               /* Mailbox. */
+
+    /* Return immediately on failure. */
+    if ((sts& STS$M_SEVERITY) != STS$K_SUCCESS)
+    {
+        errno = EVMSERR;
+        vaxc$errno = sts;
+        return -1;
+    }
+
+    /* Get the current terminal characteristics (mode). */
+    sts = sys$qiow( 0,                          /* Event flag. */
+                    term_chan,                  /* Channel. */
+                    IO$_SENSEMODE,              /* Function. */
+                    0,                          /* IOSB. */
+                    0,                          /* AST address. */
+                    0,                          /* AST parameter. */
+                    &term_chars,                /* P1 = Buffer address. */
+                    sizeof term_chars,          /* P2 = Buffer size. */
+                    0, 0, 0, 0);                /* P3-P6 not used. */
+
+    if ((sts& STS$M_SEVERITY) != STS$K_SUCCESS)
+    {
+        errno = EVMSERR;
+        vaxc$errno = sts;
+    }
+    else if (term_chars.class != DC$_TERM)
+    {
+        errno = ENOTTY;
+    }
+    else
+    {
+        /* Save the initial echo state, to allow proper restoration. */
+        if (initial_echo < 0)
+        {
+            initial_echo = ((term_chars.basic_chars& TT$M_NOECHO) == 0);
+        }
+
+        if (able < 0)
+        {
+           if (initial_echo)
+           {
+               /* Was initially enabled. */
+               able = 1;
+           }
+           else
+           {
+               /* Was initially disabled. */
+               able = 0;
+           }
+        }
 
+        if (able == 0)
+        {
+            /* Disable.  Set the no-echo bit. */
+            term_chars.basic_chars |= TT$M_NOECHO;
+        }
+        else
+        {
+            /* Enable.  Clear the no-echo bit. */
+            term_chars.basic_chars &= ~TT$M_NOECHO;
+        }
+
+        /* Set the terminal characteristics (mode). */
+        sts = sys$qiow( 0,                      /* Event flag. */
+                        term_chan,              /* Channel. */
+                        IO$_SETMODE,            /* Function. */
+                        0,                      /* IOSB. */
+                        0,                      /* AST address. */
+                        0,                      /* AST parameter. */
+                        &term_chars,            /* P1 = Buffer address. */
+                        sizeof term_chars,      /* P2 = Buffer size. */
+                        0, 0, 0, 0);            /* P3-P6 not used. */
+
+        if ((sts& STS$M_SEVERITY) != STS$K_SUCCESS)
+        {
+            errno = EVMSERR;
+            vaxc$errno = sts;
+        }
+        else
+        {
+            /* All is well. */
+            sts = 0;
+        }
+    }
+
+    /* Close the channel to the terminal device. */
+    sts2 = sys$dassgn( term_chan);              /* Channel. */
+    if ((sts2& STS$M_SEVERITY) != STS$K_SUCCESS)
+    {
+        /* If all was not well, leave the old error codes as were. */
+        if (sts == 0)
+        {
+            /* All was well, but DASSGN failed. */
+            errno = EVMSERR;
+            vaxc$errno = sts2;
+            sts = sts2;
+        }
+    }
+    return sts;
+}
+
+static char pw_buf[ PASS_MAX+ 1];
+
+char *vms_getpass( const char *prompt)
+{
+    char *ret;
+    int sts;
+    FILE *sdc;
+
+    ret = NULL;
+
+    sdc = fopen( "SYS$COMMAND", "r");
+    if (sdc != NULL)
+    {
+        sts = vms_set_term_echo( 0);
+        if (sts == 0)
+        {
+            /* Read password string. */
+            if (sts == 0)
+            {
+                fprintf( stdout, "%s", prompt);
+                sts = fread( pw_buf, 1, PASS_MAX, sdc);
+                if ((sts > 0) && (pw_buf[ sts- 1]) == '\n')
+                {
+                    pw_buf[ --sts] = '\0';
+                }
+                else
+                {
+                    pw_buf[ sts = '\0'];
+                }
+                ret = pw_buf;
+            }
+            sts = vms_set_term_echo( -1);
+        }
+        fclose( sdc);
+    }
+    return ret;
+}    
+
+/*--------------------------------------------------------------------*/
+
+/* vms_vers()
+  
       Returns (run-time) VMS version string.
 */
 
@@ -1048,3 +1339,15 @@ localtime_r (t, tp)
 
 #endif /* __CRTL_VER < 70000000 */
 
+/*--------------------------------------------------------------------*/
+
+/*
+ * "version.c" information.
+ */
+
+const char *compilation_string = NULL;
+const char *link_string = NULL;
+const char *version_string = VERSION;
+
+/*--------------------------------------------------------------------*/
+
index 8db4154926f2672306de769f9b7fd608684cfec7..76ef835e7b3b32a0338f70b1b3b23a387054700a 100644 (file)
@@ -1,44 +1,52 @@
-$!                                              12 April 2005.  SMS.
+$!                                              5 December 2006.  SMS.
 $!
-$!    Collect all source file dependencies specified by P2,
-$!    and add P3 prefix.
-$!    Convert absolute dependencies to relative from P4.
-$!    P1 = output file specification.
+$! Common VMS accessory procedure.
 $!
-$! MMS /EXTENDED_SYNTAX can't easily pass a macro invocation for P3, so
+$!    For the product named by P1,
+$!    P2 = output file specification.
+$!    Collect all source file dependencies specified by P3,
+$!    and add P4 prefix to the object file.
+$!    Convert absolute dependencies to relative from one level above P5,
+$!    and add P6 prefix (typically a rooted logical name with ":[").
+$!    Convert "[.P7]" to "[.P4]" in dependencies.
+$!
+$! MMS /EXTENDED_SYNTAX can't easily pass a macro invocation for P4, so
 $! we remove any internal spaces which might have been added to prevent
-$! immediate evaluation of a macro invocation.
+$! immediate evaluation of such a macro invocation.
+$!
+$ prefix = f$edit( p4, "COLLAPSE")
+$ here = f$environment( "DEFAULT")
+$ dev_lose = f$edit( f$parse( p5, , , "DEVICE", "SYNTAX_ONLY"), "UPCASE")
+$ dir_lose = f$edit( f$parse( p5, , , "DIRECTORY", "SYNTAX_ONLY"), "UPCASE")
+$ set default 'dev_lose''dir_lose'
+$ set default [-]
+$ dev_dir_lose = f$environment( "DEFAULT")- "]"
 $!
-$ prefix = f$edit( p3, "COLLAPSE")
+$ p6_last = f$extract( (f$length( p6)- 1), 1, p6)
 $!
-$ dev_lose = f$parse( p4, , , "DEVICE", "SYNTAX_ONLY")
-$ dir_lose = f$parse( p4, , , "DIRECTORY", "SYNTAX_ONLY")
-$ suffix = ".VMS]"
-$ suffix_loc = f$locate( suffix, dir_lose)
-$ if (suffix_loc .lt f$length( dir_lose))
+$ dest = ""
+$ if (p7 .nes. "")
 $ then
-$    dev_dir_lose = dev_lose+ dir_lose- suffix
-$ else
-$    dev_dir_lose = dev_lose+ dir_lose- "]"
+$    dest = ".''p7']"
 $ endif
 $!
-$!!! write sys$output " d_d_l: ""''dev_dir_lose'""."
+$ set default 'here'
 $!
 $! For portability, make the output file record format Stream_LF.
 $!
-$ create /fdl = sys$input 'p1'
+$ create /fdl = sys$input 'p2'
 RECORD
         Carriage_Control carriage_return
         Format stream_lf
 $!
-$ open /read /write /error = end_main deps_out 'p1'
+$ open /read /write /error = end_main deps_out 'p2'
 $ on error then goto loop_main_end
 $!
 $! Include proper-inclusion-check preface.
 $!
-$ incl_macro = "INCL_"+ f$parse( p1, , , "NAME", "SYNTAX_ONLY")
+$ incl_macro = "INCL_"+ f$parse( p2, , , "NAME", "SYNTAX_ONLY")
 $ write deps_out "#"
-$ write deps_out "# Wget for VMS - MMS (or MMK) Source Dependency File."
+$ write deps_out "# ''p1' - MMS (or MMK) Source Dependency File."
 $ write deps_out "#"
 $ write deps_out ""
 $ write deps_out -
@@ -56,13 +64,13 @@ $!
 $! Actual dependencies from individual dependency files.
 $!
 $ loop_main_top:
-$    file = f$search( p2)
+$    file = f$search( p3)
 $    if (file .eqs. "") then goto loop_main_end
 $!
 $    open /read /error = end_subs deps_in 'file'
 $    loop_subs_top:
 $       read /error = loop_subs_end deps_in line
-$       line_reduced = f$edit( line, "COMPRESS, TRIM")
+$       line_reduced = f$edit( line, "COMPRESS, TRIM, UPCASE")
 $       colon = f$locate( " : ", line_reduced)
 $       if (colon .ge. f$length( line_reduced)) then goto loop_subs_top
 $       d_d_l_loc = f$locate( dev_dir_lose, -
@@ -70,9 +78,36 @@ $       d_d_l_loc = f$locate( dev_dir_lose, -
 $       if (d_d_l_loc .eq. 0)
 $       then
 $          front = f$extract( 0, (colon+ 3), line_reduced)
-$          back = f$extract( (colon+ 3+ f$length( dev_dir_lose)), -
+$          back = f$extract( (colon+ 3+ f$length( dev_dir_lose)+ 1), -
             1000, line_reduced)
-$          line = front+ "[-"+ back
+$!
+$!         If specified, replace final ".P7]" with part of P4.
+$!
+$!         This allows a system-specific subdirectory name on a
+$!         dependency file to be replaced with an MMS macro, for
+$!         example, ".ALPHA]" with ".$(DEST)]".
+$!
+$          if (dest .nes. "")
+$          then
+$             dest_dot_loc = f$locate( dest, back)
+$             if (dest_dot_loc .lt. f$length( back))
+$             then
+$                back = f$extract( 0, dest_dot_loc, back)+ -
+                  f$extract( 1, 1000, prefix)+ -
+                  f$extract( (dest_dot_loc+ f$length( dest)), 1000, back)
+$             endif
+$          endif
+$!
+$!         Replace null subdirectory with "000000".
+$!
+$          if (f$length( back) .gt. 0)
+$          then
+$             mid = p6
+$          else
+$             mid = "000000]"
+$          endif
+$!
+$          line = front+ mid+ back
 $          write deps_out "''prefix'"+ "''line'"
 $       endif
 $    goto loop_subs_top
diff --git a/vms/CONFIG_EXTRACT.COM b/vms/CONFIG_EXTRACT.COM
new file mode 100644 (file)
index 0000000..94aaa38
--- /dev/null
@@ -0,0 +1,76 @@
+$!                                              22 September 2009.  SMS.
+$!
+$!    Extract the AC_INIT strings from the "configure.ac" file.
+$!
+$!    P1 = input file spec.
+$!    P2, P3, P4 = logical names to be defined with the extracted text.
+$!
+$! We're expecting to extract the bracketed text from the "[text]"
+$! tokens from a block of text like:
+$!
+$!       AC_INIT([wget],
+$!               [1.12-devel],
+$!               [bug-wget@gnu.org])
+$!
+$! That is, starting with "AC_INIT", and ending with ")".
+$!
+$ file_in_open = 0
+$ ac_init = ""
+$!
+$ on error then goto tidy
+$!
+$ open /error = tidy /read file_in 'p1'
+$ file_in_open = 1
+$ state = 0                     ! Looking for "AC_INIT".
+$!
+$ loop_read:
+$!
+$    read /error = tidy file_in line
+$    line_len = f$length( line)
+$    if (state .eq. 0)
+$    then
+$        if (f$locate( "AC_INIT", line) .lt line_len)
+$        then
+$           ac_init = line
+$           state = 1           ! Looking for ")".
+$        endif
+$    else
+$        if (f$locate( ")", line) .lt line_len)
+$        then
+$           state = 2           ! Found ")".  (Done.)
+$        endif
+$        ac_init = ac_init+ line
+$    endif
+$!
+$ if (state .ne. 2) then goto loop_read
+$!
+$ t1 = f$element( 0, "]", f$element( 1, "[", ac_init))
+$ t2 = f$element( 0, "]", f$element( 2, "[", ac_init))
+$ t3 = f$element( 0, "]", f$element( 3, "[", ac_init))
+$!
+$ if (p2 .nes. "")
+$ then
+$    define 'p2' "''t1'"
+$ else
+$    write sys$output " 1: >''t1'<"
+$ endif
+$!
+$ if (p3 .nes. "")
+$ then
+$    define 'p3' "''t2'"
+$ else
+$    write sys$output " 2: >''t2'<"
+$ endif
+$!
+$ if (p4 .nes. "")
+$ then
+$    define 'p4' "''t3'"
+$ else
+$    write sys$output " 3: >''t3'<"
+$ endif
+$!
+$ tidy:
+$ if (file_in_open)
+$ then
+$    close file_in
+$ endif
index a746b2f9b15401437b7bbb9a40fbdf56fd760016..11c9fd8a8bf310929f76e98bba1b0943ef72b7a3 100644 (file)
-#                                               29 January 2008.  SMS.
+#                                               23 September 2009.  SMS.
 #
-#    MMS or MMK description file for Wget 1.11.
+#    Wget 1.12 for VMS - MMS (or MMK) Description File.
 #
-# The default target, EXE, builds the architecture-specific Wget
-# executable (and the DECC_VER.EXE diagnostic executable).
+# Usage:
 #
-# Other targets:
+#    SET DEFAULT [.directory]   ! [.VMS] to build all products.
+#    MMS /DESCRIPTION = [-.VMS] [/MACRO = (<see_below>)] target
+#
+# Optional macros:
+#
+#    CCOPTS=xxx     Compile with CC options xxx.  For example:
+#                   "CCOPTS=/ARCH=HOST"
+#
+#    CDEFS_USER=xxx  Compile with C macro definition(s) xxx.
+#
+#    DASHD=1        Compile with "-d" option enabled.
+#
+#    DBG=1          Compile with /DEBUG /NOOPTIMIZE.
+#                   Link with /DEBUG /TRACEBACK.
+#                   (Default is /NOTRACEBACK.)
+#
+#    HPSSL=1        Enable HTTPS (and NTLM) support using HP SSL.
+#
+#    LARGE=1        Enable large-file (>2GB) support.  Non-VAX only.
+#
+#    LINKOPTS=xxx   Link with LINK options xxx.  For example:
+#                   "LINKOPTS=/NOINFO"   
 #
-#    HELP       [.VMS]WGET.HLB help library.
+#    LIST=1         Compile with /LIST /SHOW = (ALL, NOMESSAGES).
+#                   Link with /MAP /CROSS_REFERENCE /FULL.
+#
+#    ODS2DU=1       Look for multi-dot file names (like
+#                   "[.lib]getopt^.in.h") using VMSTAR-compatible,
+#                   dot-under, ODS2-conforming names (like
+#                   "[.lib]getopt.in_h").  See also ODS2Z, below.
+#
+#    ODS2UD=1       Look for multi-dot file names (like
+#                   "[.lib]getopt^.in.h") using [Un]Zip-compatible,
+#                   under-dot ODS2-conforming names (like
+#                    "[.lib]getopt_in.h").  Also use this macro if the
+#                   source kit was extracted using VMSTAR with the
+#                   /UNDERDOT ("-u") option.
+#
+#    OSSL=1         Enable HTTPS (and NTLM) support using OpenSSL.
+#
+#
+# The default target, ALL, builds all the product executables.
+#
+# Other targets:
 #
 #    CLEAN      deletes architecture-specific files, but leaves any
-#               individual source dependency files and the help library.
+#               individual source dependency files.
 #
 #    CLEAN_ALL  deletes all generated files, except the main (collected)
-#               source dependency file.
+#               source dependency files.
+#
+#    CLEAN_EXE  deletes only the architecture-specific executables. 
+#               Handy if all you wish to do is re-link the executables.
 #
-#    CLEAN_EXE  deletes only the architecture-specific executable.
-#               Handy if all you wish to do is re-link the executable.
+#    CLEAN_OLB  deletes only the architecture-specific object libraries. 
 #
+#    HELP       creates the HELP library, [.vms]WGET.HLB.
+#
+# Example commands:
+#
+# To build the conventional small-file product using the DEC/Compaq/HP C
+# compiler (Note: DESCRIP.MMS is the default description file name.):
+#
+#    MMS
+#
+# To get the large-file executables (on a non-VAX system):
+#
+#    MMS /MACRO = (DASHD=1, LARGE=1)
+#
+# To delete the architecture-specific generated files for this system
+# type:
+#
+#    MMS /MACRO = (LARGE=1) CLEAN       ! Large-file.
+# or
+#    MMS CLEAN                          ! Small-file.
+#
+# To build a complete small-file product for debug with compiler
+# listings and link maps:
+#
+#    MMS CLEAN
+#    MMS /MACRO = (DBG=1, LIST=1)
+#
+########################################################################
 
-# Include the source file lists (among other data).
+# Include primary product description file.
 
 INCL_DESCRIP_SRC = 1
-.INCLUDE [-.VMS]descrip_src.mms
+.INCLUDE descrip_src.mms
+
+# Required command procedures.
+
+CONFIG_EXTRACT_COM = [-.$(DIR_VMS)]CONFIG_EXTRACT.COM
+
+# Generated header files.
+
+#    Products.
+
+LIB_GETOPT_H = $(DIR_LIB_DEST)GETOPT.H
+SRC_CONFIG_H = $(DIR_SRC_DEST)CONFIG.H
+
+#    Sources.
+
+LIB_GETOPT_H_SRC_DD = [-.$(DIR_LIB)]getopt^.in.h
+LIB_GETOPT_H_SRC_DU = [-.$(DIR_LIB)]getopt.in_h
+LIB_GETOPT_H_SRC_UD = [-.$(DIR_LIB)]getopt_in.h
 
-# DECC_VER diagnostic program.
-DECC_VER_OBJ = [.$(DEST)]DECC_VER.OBJ
+.IFDEF ODS2DU                   # ODS2DU
+LIB_GETOPT_H_SRC = $(LIB_GETOPT_H_SRC_DU)
+.ELSE                           # ODS2DU
+.IFDEF ODS2UD                       # ODS2UD
+LIB_GETOPT_H_SRC = $(LIB_GETOPT_H_SRC_UD)
+.ELSE                               # ODS2UD
+LIB_GETOPT_H_SRC = $(LIB_GETOPT_H_SRC_DD)
+.ENDIF                              # ODS2UD [else]
+.ENDIF                          # ODS2DU [else]
+SRC_CONFIG_H_SRC = [-.$(DIR_VMS)]CONFIG.H_VMS
 
-# Executables.
 
-WGET_EXE = [.$(DEST)]WGET.EXE
-DECC_VER_EXE = [.$(DEST)]DECC_VER.EXE
+# TARGETS.
 
-EXE = $(WGET_EXE) $(DECC_VER_EXE)
+# Default subsidiary targets.
 
-# HELP library and source file.
+# Build LIB object library (default target).
 
-HLB = [-.VMS]WGET.HLB
-HLP = [-.VMS]WGET.HLP
+.IFDEF TARGET_LIB               # TARGET_LIB
 
-# Link the executables (default target).
+SUBSIDIARY = 1
 
-EXE : $(EXE)
+LIBLIB : $(LIB_LIB)
        @ write sys$output ""
-       @ write sys$output "   ""$<"" is ready."
+       @ write sys$output "   LIBLIB done."
        @ write sys$output ""
 
-$(WGET_EXE) : $(OBJS) $(MAIN_OPT) $(IP_OPT)
-       define /user_mode odir [.$(DEST)]
-       $(LINK) $(LINKFLAGS) $(MAIN_OPT) /options $(IP_LINK_OPT) -
-        $(SSL_LINK_OPT)
+$(LIB_LIB) : $(LIB_LIB)($(MODS_OBJS_LIB_LIB))
+       @ write sys$output "$(MMS$TARGET) updated."
+
+.ENDIF                          # TARGET_LIB
+
+
+# Build MD5 object library (default target).
+
+.IFDEF TARGET_MD5               # TARGET_MD5
+
+SUBSIDIARY = 1
+
+LIBMD5 : $(LIB_MD5)
+       @ write sys$output ""
+       @ write sys$output "   LIBMD5 done."
+       @ write sys$output ""
+
+$(LIB_MD5) : $(LIB_MD5)($(MODS_OBJS_LIB_MD5))
+       @ write sys$output "$(MMS$TARGET) updated."
+
+# Special rules for MD5.C on VAX where Compaq C V6.4-005
+# (like, probably, other versions) loops with /optimize = disjoint.
+
+.IFDEF __VAX__                      # __VAX__
+
+[.$(DEST)]MD5.OBJ : MD5.C
+       @ write sys$output "***************************************"
+       @ write sys$output "* Note: Exceptional rule in use here: *"
+       @ write sys$output "***************************************"
+       $(CC) $(CFLAGS) /optimize = nodisjoint /define = ($(CDEFS)) -
+        $(MMS$SOURCE)
+
+.ENDIF                              # __VAX__
+
+.ENDIF                          # TARGET_MD5
+
 
-$(DECC_VER_OBJ) : [-.VMS]DECC_VER.C
+# Build Wget executable or SRC object library (default target).
+
+.IFDEF TARGET_SRC               # TARGET_SRC
+
+SUBSIDIARY = 1
+
+EXES : $(EXES)
+       @ write sys$output ""
+       @ write sys$output "   Wget done."
+       @ write sys$output ""
+
+$(LIB_SRC) : $(LIB_SRC)($(MODS_OBJS_LIB_SRC))
+       @ write sys$output "$(MMS$TARGET) updated."
+
+$(WGET_EXE) : $(LIB_MD5) $(LIB_LIB) $(LIB_SRC)
+       $(LINK) $(LINKFLAGS) -
+        $(LIB_SRC) /library /include = (main), -
+        $(LIB_LIB) /library, -
+        $(LIB_MD5) /library -
+        $(SSL_LINK_OPT)
+        $(LFLAGS_ARCH)
 
 $(DECC_VER_EXE) : $(DECC_VER_OBJ)
-       $(LINK) $(LINKFLAGS) $(MMS$SOURCE)
+       $(LINK) $(LINKFLAGS) -
+        $(DECC_VER_OBJ) -
+        $(LFLAGS_ARCH)
+
+$(DECC_VER_OBJ) : [-.$(DIR_SRC)]DECC_VER.C
 
-# Create the HELP library (HELP target).
+.ENDIF                          # TARGET_SRC
 
-HELP : $(HLB)
+
+# Default global target.
+
+ALL : $(EXES)
+       @ show time
        @ write sys$output ""
-       @ write sys$output "   ""$<"" is ready."
+       @ write sys$output "   ALL done."
+       @ write sys$output ""
+
+# Global rules for executables and object libraries.
+
+.IFDEF TARGET_LIB               # TARGET_LIB
+.ELSE                           # TARGET_LIB
+
+$(LIB_LIB) :
+       dev_dir = f$environment( "DEFAULT")
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(LIB_LIB)
+       set default 'dev_dir'
+       show default
        @ write sys$output ""
 
-$(HLB) : $(HLP)
-       LIBRARY /CREATE /HELP $@ $<
+.ENDIF                          # TARGET_LIB [else]
+
+.IFDEF TARGET_MD5               # TARGET_MD5
+.ELSE                           # TARGET_MD5
+
+$(LIB_MD5) :
+       dev_dir = f$environment( "DEFAULT")
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(LIB_MD5)
+       set default 'dev_dir'
+       show default
+       @ write sys$output ""
+
+.ENDIF                          # TARGET_MD5 [else]
+
+.IFDEF TARGET_SRC               # TARGET_SRC
+.ELSE                           # TARGET_SRC
+
+$(LIB_SRC) :
+       dev_dir = f$environment( "DEFAULT")
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(LIB_SRC)
+       set default 'dev_dir'
+       show default
+       @ write sys$output ""
+
+$(WGET_EXE) :
+        set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+        set default [-.$(DIR_SRC)]
+        show default
+        @ write sys$output ""
+        $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+         $(WGET_EXE)
+
+$(DECC_VER_EXE) :
+        set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+        set default [-.$(DIR_SRC)]
+        show default
+        @ write sys$output ""
+        $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+         $(DECC_VER_EXE)
+
+.ENDIF                          # TARGET_SRC [else]
+
+
 
 # CLEAN target.  Delete the [.$(DEST)] directory and everything in it.
 
+.IFDEF SUBSIDIARY               # SUBSIDIARY
+
 CLEAN :
        if (f$search( "[.$(DEST)]*.*") .nes. "") then -
         delete [.$(DEST)]*.*;*
-       if (f$search( "$(DEST).dir") .nes. "") then -
+       if (f$search( "$(DEST).dir", 1) .nes. "") then -
         set protection = w:d $(DEST).dir;*
-       if (f$search( "$(DEST).dir") .nes. "") then -
+       if (f$search( "$(DEST).dir", 2) .nes. "") then -
         delete $(DEST).dir;*
 
 # CLEAN_ALL target.  Delete:
-#    The [.$(DEST)] directories and everything in them.
-#    All help-related derived files,
-#    CONFIG.H.
+#    The [...$(DEST)] directories and everything in them.
 #    All individual C dependency files.
 # Also mention:
 #    Comprehensive dependency file.
 
 CLEAN_ALL :
-       if (f$search( "[.ALPHA*]*.*") .nes. "") then -
-        delete [.ALPHA*]*.*;*
-       if (f$search( "ALPHA*.dir", 1) .nes. "") then -
-        set protection = w:d ALPHA*.dir;*
-       if (f$search( "ALPHA*.dir", 2) .nes. "") then -
-        delete ALPHA*.dir;*
-       if (f$search( "[.IA64*]*.*") .nes. "") then -
-        delete [.IA64*]*.*;*
-       if (f$search( "IA64*.dir", 1) .nes. "") then -
-        set protection = w:d IA64*.dir;*
-       if (f$search( "IA64*.dir", 2) .nes. "") then -
-        delete IA64*.dir;*
-       if (f$search( "[.VAX*]*.*") .nes. "") then -
-        delete [.VAX*]*.*;*
-       if (f$search( "VAX*.dir", 1) .nes. "") then -
-        set protection = w:d VAX*.dir;*
-       if (f$search( "VAX*.dir", 2) .nes. "") then -
-        delete VAX*.dir;*
-       if (f$search( "$(CONFIG_H)") .nes. "") then -
-        delete /log /noconfirm $(CONFIG_H);*
-       if (f$search( "$(HLB)") .nes. "") then -
-        delete /log /noconfirm $(HLB);*
-       if (f$search( "*.MMSD") .nes. "") then -
-        delete *.MMSD;*
+       @ write sys$output "   SUBS - CLEAN_ALL"
+       show default
+       @ write sys$output ""
+       if (f$search( "[...ALPHA*]*.*") .nes. "") then -
+        delete [...ALPHA*]*.*;*
+       if (f$search( "[...]ALPHA*.dir", 1) .nes. "") then -
+        set protection = w:d [...]ALPHA*.dir;*
+       if (f$search( "[...]ALPHA*.dir", 2) .nes. "") then -
+        delete [...]ALPHA*.dir;*
+       if (f$search( "[...IA64*]*.*") .nes. "") then -
+        delete [...IA64*]*.*;*
+       if (f$search( "[...]IA64*.dir", 1) .nes. "") then -
+        set protection = w:d [...]IA64*.dir;*
+       if (f$search( "[...]IA64*.dir", 2) .nes. "") then -
+        delete [...]IA64*.dir;*
+       if (f$search( "[...VAX*]*.*") .nes. "") then -
+        delete [...VAX*]*.*;*
+       if (f$search( "[...]VAX*.dir", 1) .nes. "") then -
+        set protection = w:d [...]VAX*.dir;*
+       if (f$search( "[...]VAX*.dir", 2) .nes. "") then -
+        delete [...]VAX*.dir;*
+       if (f$search( "[...]*.MMSD") .nes. "") then -
+        delete [...]*.MMSD;*
        @ write sys$output ""
        @ write sys$output "Note:  This procedure will not"
-       @ write sys$output "   DELETE [.VMS]DESCRIP_DEPS.MMS;*"
+       @ write sys$output "   DELETE DESCRIP_DEPS.MMS;*"
        @ write sys$output -
  "You may choose to, but a recent version of MMS (V3.5 or newer?) is"
        @ write sys$output -
  "needed to regenerate it.  (It may also be recovered from the original"
        @ write sys$output -
- "distribution kit.)  See [.VMS]DESCRIP_MKDEPS.MMS for instructions on"
+ "distribution kit.)  See DESCRIP_MKDEPS.MMS for instructions on"
        @ write sys$output -
- "generating [.VMS]DESCRIP_DEPS.MMS."
+ "generating DESCRIP_DEPS.MMS."
+       @ write sys$output ""
+
+# CLEAN_EXE target.  Delete the executables in [.$(DEST)].
+
+CLEAN_EXE :
+       if (f$search( "[.$(DEST)]*.EXE") .nes. "") then -
+        delete [.$(DEST)]*.EXE;*
+
+# CLEAN_OLB target.  Delete the object libraries in [.$(DEST)].
+
+CLEAN_OLB :
+       if (f$search( "[.$(DEST)]*.OLB") .nes. "") then -
+        delete [.$(DEST)]*.OLB;*
+
+.ELSE                           # SUBSIDIARY
+
+.IFDEF MMSTARGETS                   # MMSTARGETS
+
+#
+# MMS (or MMK) with the MMSTARGETS macro needs only one real CLEAN rule.
+#
+
+CLEAN, CLEAN_ALL, CLEAN_EXE, CLEAN_OLB :
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+
+.ELSE                               # MMSTARGETS
+
+#
+# MMK without the MMSTARGETS macro needs more rules.
+#
+
+CLEAN :
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN
+       set default [-.$(DIR_SRC)]
+       show default
        @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN
 
-# CLEAN_EXE target.  Delete the executable in [.$(DEST)].
+CLEAN_ALL :
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_ALL
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_ALL
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_ALL
 
 CLEAN_EXE :
-       if (f$search( "[.$(DEST)]*.exe") .nes. "") then -
-        delete [.$(DEST)]*.exe;*
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_EXE
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_EXE
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_EXE
+
+CLEAN_OLB :
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_OLB
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_OLB
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        CLEAN_OLB
+
+.ENDIF                              # MMSTARGETS [else]
 
-# Include CONFIG.H dependency and rule.
+.ENDIF                          # SUBSIDIARY
 
-INCL_CONFIG_SRC = 1
-.INCLUDE [-.VMS]descrip_config.mms
+DEFAULT :
+       @ write sys$output "No target, specified or default."
+
+HELP : $(WGET_HLB)
+       @ write sys$output ""
+       @ write sys$output "   ""$<"" is ready."
+       @ write sys$output ""
+
+$(WGET_HLB) : $(WGET_HLP)
+       LIBRARY /CREATE /HELP $(MMS$TARGET) $(MMS$SOURCE)
+
+# Default C compile rule.
+
+.C.OBJ :
+       $(CC) $(CFLAGS) /define = ($(CDEFS)) $(MMS$SOURCE)
+
+
+# Generated header files.
+
+GENERATED_HEADERS : $(LIB_GETOPT_H) $(SRC_CONFIG_H)
+       @ write sys$output "$(MMS$TARGET) updated."
+
+# Simply copy "lib/getopt.in.h".
+
+$(LIB_GETOPT_H) : $(LIB_GETOPT_H_SRC)
+       copy $(LIB_GETOPT_H_SRC) $(MMS$TARGET)
+
+# Copy "vms/config.h_vms", and append:
+#    Wget version, and other information extracted from "configure.ac",
+#    Current OS ("VMS"), host architecture, and OS version.
+
+$(SRC_CONFIG_H) : $(SRC_CONFIG_H_SRC) $(CONFIG_EXTRACT_COM)
+       @ @$(CONFIG_EXTRACT_COM) [-]CONFIGURE.AC wget_name wget_vers wget_email
+       @ copy $(SRC_CONFIG_H_SRC) $(MMS$TARGET)
+       @ open /append config_h $(MMS$TARGET)
+       @ write config_h ""
+       @ write config_h "/* Data extracted from ""configure.ac"": */"
+       @ write config_h ""
+       @ write config_h "#define PACKAGE "+ -
+        """''f$trnlnm( "wget_name")'"""
+       @ write config_h "#define PACKAGE_BUGREPORT "+ -
+        """''f$trnlnm( "wget_email")'"""
+       @ write config_h "#define PACKAGE_NAME "+ -
+        """''f$trnlnm( "wget_name")'"""
+       @ write config_h "#define PACKAGE_STRING "+ -
+        """''f$trnlnm( "wget_name")' ''f$trnlnm( "wget_vers")'"""
+       @ write config_h "#define PACKAGE_TARNAME "+ -
+        """''f$trnlnm( "wget_name")'"""
+       @ write config_h "#define PACKAGE_VERSION "+ -
+        """''f$trnlnm( "wget_vers")'"""
+       @ write config_h "#define VERSION "+ -
+        """''f$trnlnm( "wget_vers")'"""
+       @ write config_h ""
+       @ write config_h "/* Build-time info: */"
+       @ write config_h ""
+       @ if (f$getsyi( "hw_model") .lt. 1024) then arch_name = "VAX"
+       @ if (f$getsyi( "hw_model") .ge. 1024) then -
+        arch_name = f$getsyi( "arch_name")
+       @ write config_h "#define OS_TYPE "+ -
+        """VMS ''arch_name' ''f$edit( f$getsyi( ""version""), ""trim"")'"""
+       @ write config_h ""
+       @ close config_h
 
 # Include generated source dependencies.
 
+.IFDEF SUBSIDIARY               # SUBSIDIARY
+
 INCL_DESCRIP_DEPS = 1
-.INCLUDE [-.VMS]descrip_deps.mms
+
+.INCLUDE descrip_deps.mms
+
+.ENDIF                          # SUBSIDIARY
 
diff --git a/vms/DESCRIP_CONFIG.MMS b/vms/DESCRIP_CONFIG.MMS
deleted file mode 100644 (file)
index 2bb5f24..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#                                               28 January 2008.  SMS.
-#
-#    Wget 1.11 for VMS - MMS (or MMK) Config Description File.
-#
-
-# This description file is included by other description files.  It is
-# not intended to be used alone.  Verify proper inclusion.
-
-.IFDEF INCL_CONFIG_SRC
-.ELSE
-$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
-.ENDIF
-
-
-# Use the VMS "config.h".
-
-$(CONFIG_H) : [-.vms]config.h_vms
-       backup /log /new_version [-.vms]config.h_vms;0 $(CONFIG_H)
-
diff --git a/vms/DESCRIP_DEPS.MMS b/vms/DESCRIP_DEPS.MMS
deleted file mode 100644 (file)
index 60f80c1..0000000
+++ /dev/null
@@ -1,469 +0,0 @@
-#
-# Wget for VMS - MMS (or MMK) Source Dependency File.
-#
-
-# This description file is included by other description files.  It is
-# not intended to be used alone.  Verify proper inclusion.
-
-.IFDEF INCL_DESCRIP_DEPS
-.ELSE
-$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
-.ENDIF
-
-[.$(DEST)]CMPT.OBJ : [-.SRC]CMPT.C
-[.$(DEST)]CMPT.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]WGET.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]CMPT.OBJ : [-.SRC]LOG.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]CONNECT.C
-[.$(DEST)]CONNECT.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]CONNECT.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]WGET.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]LOG.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]HOST.H
-[.$(DEST)]CONNECT.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]CONNECT.H
-[.$(DEST)]CONNECT.OBJ : [-.SRC]HASH.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]CONVERT.C
-[.$(DEST)]CONVERT.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]WGET.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]LOG.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]CONVERT.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]URL.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]RECUR.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]HASH.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]PTIMER.H
-[.$(DEST)]CONVERT.OBJ : [-.SRC]RES.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]COOKIES.C
-[.$(DEST)]COOKIES.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]WGET.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]LOG.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]HASH.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]COOKIES.H
-[.$(DEST)]COOKIES.OBJ : [-.SRC]HT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
-[.$(DEST)]HOST.OBJ : [-.SRC]HOST.H
-[.$(DEST)]HOST.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]HOST.OBJ : [-.SRC]URL.H
-[.$(DEST)]HOST.OBJ : [-.SRC]HASH.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HTML-PARSE.C
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]WGET.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]LOG.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HTML-PARSE.H
-[.$(DEST)]HTML-PARSE.OBJ : [-.SRC]HASH.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]HTML-URL.C
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]WGET.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]LOG.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]HTML-PARSE.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]URL.H
-[.$(DEST)]HTML-URL.OBJ : [-.SRC]UTILS.H
-[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HTTP.OBJ : [-.SRC]HOST.H
-[.$(DEST)]HTTP.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]RETR.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]CONNECT.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]NETRC.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]SSL.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]HTTP-NTLM.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]COOKIES.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]GEN-MD5.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]CONVERT.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]SPIDER.H
-[.$(DEST)]HTTP.OBJ : [-.SRC]VERSION.H
-[.$(DEST)]HTTP.OBJ : [-.VMS]VMS.H
-[.$(DEST)]INIT.OBJ : [-.SRC]INIT.C
-[.$(DEST)]INIT.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]INIT.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]INIT.OBJ : [-.SRC]WGET.H
-[.$(DEST)]INIT.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]INIT.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]INIT.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]INIT.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]INIT.OBJ : [-.SRC]LOG.H
-[.$(DEST)]INIT.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]INIT.OBJ : [-.SRC]INIT.H
-[.$(DEST)]INIT.OBJ : [-.SRC]HOST.H
-[.$(DEST)]INIT.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]INIT.OBJ : [-.SRC]NETRC.H
-[.$(DEST)]INIT.OBJ : [-.SRC]PROGRESS.H
-[.$(DEST)]INIT.OBJ : [-.SRC]RECUR.H
-[.$(DEST)]INIT.OBJ : [-.SRC]CONVERT.H
-[.$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S.H
-[.$(DEST)]MAIN.OBJ : [-.SRC]CONVERT.H
-[.$(DEST)]MAIN.OBJ : [-.SRC]SPIDER.H
-[.$(DEST)]MAIN.OBJ : [-.SRC]HTTP.H
-[.$(DEST)]MAIN.OBJ : [-.SRC]GETOPT.H
-[.$(DEST)]MAIN.OBJ : [-.VMS]VMS.H
-[.$(DEST)]MAIN.OBJ : [-.SRC]VERSION.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]NETRC.C
-[.$(DEST)]NETRC.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]WGET.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]LOG.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]NETRC.H
-[.$(DEST)]NETRC.OBJ : [-.SRC]INIT.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]OPENSSL.C
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]WGET.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]LOG.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]CONNECT.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]HOST.H
-[.$(DEST)]OPENSSL.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]URL.H
-[.$(DEST)]OPENSSL.OBJ : [-.SRC]SSL.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]PROGRESS.C
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]WGET.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]LOG.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]PROGRESS.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]PROGRESS.OBJ : [-.SRC]RETR.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]PTIMER.C
-[.$(DEST)]PTIMER.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]WGET.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]LOG.H
-[.$(DEST)]PTIMER.OBJ : [-.SRC]PTIMER.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]RECUR.C
-[.$(DEST)]RECUR.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]WGET.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]LOG.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]URL.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]RECUR.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]RETR.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]FTP.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]HOST.H
-[.$(DEST)]RECUR.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]HASH.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]RES.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]CONVERT.H
-[.$(DEST)]RECUR.OBJ : [-.SRC]SPIDER.H
-[.$(DEST)]RES.OBJ : [-.SRC]RES.C
-[.$(DEST)]RES.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]RES.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]RES.OBJ : [-.SRC]WGET.H
-[.$(DEST)]RES.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]RES.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]RES.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]RES.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]RES.OBJ : [-.SRC]LOG.H
-[.$(DEST)]RES.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]RES.OBJ : [-.SRC]HASH.H
-[.$(DEST)]RES.OBJ : [-.SRC]URL.H
-[.$(DEST)]RES.OBJ : [-.SRC]RETR.H
-[.$(DEST)]RES.OBJ : [-.SRC]RES.H
-[.$(DEST)]RETR.OBJ : [-.SRC]RETR.C
-[.$(DEST)]RETR.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]RETR.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]RETR.OBJ : [-.SRC]WGET.H
-[.$(DEST)]RETR.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]RETR.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]RETR.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]RETR.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]RETR.OBJ : [-.SRC]LOG.H
-[.$(DEST)]RETR.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]RETR.OBJ : [-.SRC]RETR.H
-[.$(DEST)]RETR.OBJ : [-.SRC]PROGRESS.H
-[.$(DEST)]RETR.OBJ : [-.SRC]URL.H
-[.$(DEST)]RETR.OBJ : [-.SRC]RECUR.H
-[.$(DEST)]RETR.OBJ : [-.SRC]FTP.H
-[.$(DEST)]RETR.OBJ : [-.SRC]HOST.H
-[.$(DEST)]RETR.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]RETR.OBJ : [-.SRC]HTTP.H
-[.$(DEST)]RETR.OBJ : [-.SRC]CONNECT.H
-[.$(DEST)]RETR.OBJ : [-.SRC]HASH.H
-[.$(DEST)]RETR.OBJ : [-.SRC]CONVERT.H
-[.$(DEST)]RETR.OBJ : [-.SRC]PTIMER.H
-[.$(DEST)]SAFE-CTYPE.OBJ : [-.SRC]SAFE-CTYPE.C
-[.$(DEST)]SAFE-CTYPE.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]SAFE-CTYPE.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]SAFE-CTYPE.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]SNPRINTF.OBJ : [-.SRC]SNPRINTF.C
-[.$(DEST)]SNPRINTF.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]SNPRINTF.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]SPIDER.C
-[.$(DEST)]SPIDER.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]WGET.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]LOG.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]SPIDER.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]URL.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]HASH.H
-[.$(DEST)]SPIDER.OBJ : [-.SRC]RES.H
-[.$(DEST)]URL.OBJ : [-.SRC]URL.C
-[.$(DEST)]URL.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]URL.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]URL.OBJ : [-.SRC]WGET.H
-[.$(DEST)]URL.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]URL.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]URL.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]URL.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]URL.OBJ : [-.SRC]LOG.H
-[.$(DEST)]URL.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]URL.OBJ : [-.SRC]URL.H
-[.$(DEST)]URL.OBJ : [-.SRC]HOST.H
-[.$(DEST)]URL.OBJ : [-.VMS]VMS_IP.H
-[.$(DEST)]URL.OBJ : [-.VMS]VMS.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]UTILS.C
-[.$(DEST)]UTILS.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]WGET.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]LOG.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]UTILS.H
-[.$(DEST)]UTILS.OBJ : [-.SRC]HASH.H
-[.$(DEST)]UTILS.OBJ : [-.VMS]VMS.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]XMALLOC.C
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]WGET.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]LOG.H
-[.$(DEST)]XMALLOC.OBJ : [-.SRC]HASH.H
-[.$(DEST)]VMS.OBJ : [-.VMS]VMS.C
-[.$(DEST)]VMS.OBJ : [-.VMS]VMS.H
-[.$(DEST)]VMS.OBJ : [-.SRC]CONFIG.H
-[.$(DEST)]VMS.OBJ : [-.SRC]CONFIG-POST.H
-[.$(DEST)]VMS.OBJ : [-.SRC]WGET.H
-[.$(DEST)]VMS.OBJ : [-.SRC]SYSDEP.H
-[.$(DEST)]VMS.OBJ : [-.SRC]SAFE-CTYPE.H
-[.$(DEST)]VMS.OBJ : [-.SRC]OPTIONS.H
-[.$(DEST)]VMS.OBJ : [-.SRC]XMALLOC.H
-[.$(DEST)]VMS.OBJ : [-.SRC]LOG.H
-[.$(DEST)]VMS.OBJ : [-.SRC]UTILS.H
index b7d0bd6c09226095af771980e7dc8cd00644722d..b1e6c4ea758488f264d17dc80c2d9ec64c5500b2 100644 (file)
@@ -1,16 +1,33 @@
-#                                               28 January 2008.  SMS.
+#                                               23 September 2009.  SMS.
 #
-#    Wget 1.11 for VMS - MMS Dependency Description File.
+#    Wget 1.12 for VMS - MMS Dependency Description File.
 #
 #    MMS /EXTENDED_SYNTAX description file to generate a C source
 #    dependencies file.  Unsightly errors result when /EXTENDED_SYNTAX
-#    is not specified.  Typical usage (from the [...src] directory):
+#    is not specified.  Typical usage:
 #
-#    $ @ [-.VMS]VMS-WGET.COM DEPS [DASHD] [HPSSL|NOSSL] [NOSKIP] [CLEAN|PURGE]
+#    $ MMS /EXTEND /DESCRIP = [-.VMS]DESCRIP_MKDEPS.MMS /SKIP
 #
-# This description file uses this command procedure:
+#    which discards individual source dependency files, or:
 #
-#    [-.VMS]COLLECT_DEPS.COM
+#    $ MMS /EXTEND /DESCRIP = [-.VMS]DESCRIP_MKDEPS.MMS /MACRO = NOSKIP=1
+#
+#    which retains them.  Retaining them can save time when doing code
+#    development.
+#
+#
+# The default target is the comprehensive source dependency file,
+# $(DEPS_FILE) = "DESCRIP_DEPS.MMS".
+#
+# Other targets:
+#
+#    CLEAN      deletes the individual source dependency files,
+#               *.MMSD;*, but leaves the comprehensive source dependency
+#               file.
+#
+#    CLEAN_ALL  deletes all source dependency files, including the
+#               individual *.MMSD;* files and the comprehensive file,
+#               DESCRIP_DEPS.MMS.*.
 #
 # MMK users without MMS will be unable to generate the dependencies file
 # using this description file, however there should be one supplied in
 # will need to recover it from the original distribution kit.
 #
 # Note:  This dependency generation scheme assumes that the dependencies
-# do not depend on host architecture type or other such variables.
+# do not depend on host architecture type or other such variables. 
 # Therefore, no "#include" directive in the C source itself should be
 # conditional on such variables.
 #
-# Note:  For no apparent reason, Wget code uses "system include"
-# brackets (<>) for "config.h", so /MMS_DEPENDENCIES =
-# NOSYSTEM_INCLUDE_FILES is useless here.  Thus, we rely on
-# COLLECT_DEPS.COM to filter out the system includes from the
-# dependencies.
+# This description file uses this command procedure:
+#
+#    [-.VMS]COLLECT_DEPS.COM
 #
-
-# Required command procedures.
-
-COMS = [-.VMS]COLLECT_DEPS.COM
 
 # Include the source file lists (among other data).
 
 INCL_DESCRIP_SRC = 1
-.INCLUDE [-.VMS]descrip_src.mms
+.INCLUDE DESCRIP_SRC.MMS
+
+# Required command procedures.
+
+COLLECT_DEPS = [-.$(DIR_VMS)]COLLECT_DEPS.COM
+
+COMS = $(COLLECT_DEPS)
 
-# The ultimate product, a comprehensive dependency list.
+# The ultimate individual product, a comprehensive dependency list.
 
-DEPS_FILE = [-.VMS]descrip_deps.mms
+DEPS_FILE = DESCRIP_DEPS.MMS
 
 # Detect valid qualifier and/or macro options.
 
@@ -48,9 +65,9 @@ DEPS_FILE = [-.VMS]descrip_deps.mms
 DELETE_MMSD = 1
 .ELSIF NOSKIP
 PURGE_MMSD = 1
-.ELSE
+.ELSE # [complex]
 UNK_MMSD = 1
-.ENDIF
+.ENDIF # [else, complex]
 
 # Dependency suffixes and rules.
 #
@@ -60,7 +77,7 @@ UNK_MMSD = 1
 .SUFFIXES_BEFORE .C .MMSD
 
 .C.MMSD :
-.IF UNK_MMSD
+.IF UNK_MMSD                    # UNK_MMSD
        @ write sys$output -
  "   /SKIP_INTERMEDIATES is expected on the MMS command line."
        @ write sys$output -
@@ -68,32 +85,72 @@ UNK_MMSD = 1
        @ write sys$output -
  "   To retain the .MMSD files, specify ""/MACRO = NOSKIP=1""."
        @ exit %x00000004
-.ENDIF
-       $(CC) /NOOBJECT -
-        /define = ($(CDEFINES)) -
-        $(CFLAGS_INCL) -
-        $(CFLAGS_LIST) -
-        $(CFLAGS_PREFIX) -
-        $(MMS$SOURCE) -
-        /MMS_DEPENDENCIES = (FILE = $(MMS$TARGET))
+.ENDIF                          # UNK_MMSD
+       $(CC) $(CFLAGS_ARCH) $(CFLAGS_INCL) $(CFLAGS_SPEC) -
+        /define = ($(CDEFS)) $(MMS$SOURCE) -
+        /NOLIST /NOOBJECT  /MMS_DEPENDENCIES = (FILE = $(MMS$TARGET))
 
 # List of MMS dependency files.
-# [.$(DEST)]XXX.obj -> XXX
 
-MODS_SRC = $(FILTER-OUT *], $(PATSUBST *]*.obj, *] *, $(OBJS_SRC)))
-MODS_VMS = $(FILTER-OUT *], $(PATSUBST *]*.obj, *] [-.vms]*, $(OBJS_VMS)))
-
-MODS = $(MODS_SRC) $(MODS_VMS)
+# In case it's not obvious...
+# To extract module name lists from object library module=object lists:
+# 1.  Transform "module=[.dest]name.OBJ" into "module=[.dest] name".
+# 2.  For a subdirectory, add "[.subdir]".
+# 3.  Delete "*]" words.
 
 # Complete list of C object dependency file names.
-# XXX -> XXX.mmsd
 
-DEPS = $(FOREACH NAME, $(MODS), $(NAME).mmsd)
+
+#    LIB.
+                               
+.IFDEF MODS_OBJS_LIB_LIB        # MODS_OBJS_LIB_LIB
+
+SUBSIDIARY = 1
+
+MODS_LIB_LIB = $(FILTER-OUT *], \
+ $(PATSUBST *]*.OBJ, *] *, $(MODS_OBJS_LIB_LIB)))
+
+DEPS = $(FOREACH NAME, $(MODS_LIB_LIB), $(NAME).MMSD)
+
+.ENDIF                          # MODS_OBJS_LIB_LIB
+
+
+#    MD5.
+                               
+.IFDEF MODS_OBJS_LIB_MD5        # MODS_OBJS_LIB_MD5
+
+SUBSIDIARY = 1
+
+MODS_LIB_MD5 = $(FILTER-OUT *], \
+ $(PATSUBST *]*.OBJ, *] *, $(MODS_OBJS_LIB_MD5)))
+
+DEPS = $(FOREACH NAME, $(MODS_LIB_MD5), $(NAME).MMSD)
+
+.ENDIF                          # MODS_OBJS_LIB_MD5
+
+
+#    SRC.
+                               
+.IFDEF MODS_OBJS_LIB_SRC        # MODS_OBJS_LIB_SRC
+
+SUBSIDIARY = 1
+
+MODS_LIB_SRC = $(FILTER-OUT *], \
+ $(PATSUBST *]*.OBJ, *] *, $(MODS_OBJS_LIB_SRC)))
+
+DEPS = $(FOREACH NAME, $(MODS_LIB_SRC), $(NAME).MMSD)
+
+.ENDIF                          # MODS_OBJS_LIB_SRC
+
+
+# Rules and actions depend on circumstances, main or subsidiary.
+
+.IFDEF SUBSIDIARY               # SUBSIDIARY
 
 # Default target is the comprehensive dependency list.
 
-$(DEPS_FILE) : $(CONFIG_H) $(DEPS) $(COMS)
-.IF UNK_MMSD
+$(DEPS_FILE) : $(DEPS) $(COMS)
+.IF UNK_MMSD                        # UNK_MMSD
        @ write sys$output -
  "   /SKIP_INTERMEDIATES is expected on the MMS command line."
        @ write sys$output -
@@ -101,56 +158,97 @@ $(DEPS_FILE) : $(CONFIG_H) $(DEPS) $(COMS)
        @ write sys$output -
  "   To retain the individual .MMSD files, specify ""/MACRO = NOSKIP=1""."
        @ exit %x00000004
-.ENDIF
+.ENDIF                              # UNK_MMSD
 #
 #       Note that the space in P3, which prevents immediate macro
 #       expansion, is removed by COLLECT_DEPS.COM.
 #
-        @[-.VMS]collect_deps.com -
-         "$(MMS$TARGET)" "[-...]*.mmsd" "[.$ (DEST)]" -
-        $(MMSDESCRIPTION_FILE)
-        @ write sys$output -
-         "Created a new dependency file: $(MMS$TARGET)"
-.IF DELETE_MMSD
+       @$(COLLECT_DEPS) "Wget for VMS" "$(MMS$TARGET)" -
+        "[...]*.MMSD" "[.$ (DEST)]" $(MMSDESCRIPTION_FILE) -
+        "[-." $(DEST)
        @ write sys$output -
-         "Deleting intermediate .MMSD files..."
-       if (f$search( "*.mmsd;*") .nes. "") then -
-        delete /log *.mmsd;*
-       if (f$search( "[-.vms]*.mmsd;*") .nes. "") then -
-        delete /log [-.vms]*.mmsd;*
-.ELSE
+        "Created a new dependency file: $(MMS$TARGET)"
+.IF DELETE_MMSD                     # DELETE_MMSD
        @ write sys$output -
-         "Purging intermediate .MMSD files..."
-       purge /log *.mmsd, [-.vms]*.mmsd
-.ENDIF
+        "Deleting intermediate .MMSD files..."
+       if (f$search( "[...]*.MMSD") .nes. "") then -
+        delete /log [...]*.MMSD;*
+.ELSE                               # DELETE_MMSD
+       @ write sys$output -
+        "Purging intermediate .MMSD files..."
+       if (f$search( "[...]*.MMSD") .nes. "") then -
+        purge /keep = 2 /log [...]*.MMSD
+.ENDIF                              # DELETE_MMSD [else]
 
-# CLEAN target.
+# CLEAN target.  Delete the individual C dependency files.
 
 CLEAN :
-       if (f$search( "$(CONFIG_H)") .nes. "") then -
-        delete /log $(CONFIG_H);*
-       if (f$search( "*.mmsd;*") .nes. "") then -
-        delete /log *.mmsd;*
-       if (f$search( "[-.vms]*.mmsd;*") .nes. "") then -
-        delete /log [-.vms]*.mmsd;*
-       if (f$search( "$(DEPS_FILE);*") .nes. "") then -
-        delete /log $(DEPS_FILE);*
-
-# PURGE target.
-
-PURGE :
-       if (f$search( "$(CONFIG_H);-1") .nes. "") then -
-        purge /log $(CONFIG_H)
-       if (f$search( "*.mmsd;*") .nes. "") then -
-        delete /log *.mmsd;*
-       if (f$search( "[-.vms]*.mmsd;*") .nes. "") then -
-        delete /log [-.vms]*.mmsd;*
-       if (f$search( "$(DEPS_FILE);-1") .nes. "") then -
-        purge /log $(DEPS_FILE)
-
-
-# Include CONFIG.H dependency and rule.
-
-INCL_CONFIG_SRC = 1
-.INCLUDE [-.VMS]descrip_config.mms
+       if (f$search( "[...]*.MMSD") .nes. "") then -
+        delete [...]*.MMSD;*
+
+# CLEAN_ALL target.  Delete:
+#    The individual C dependency files.
+#    The collected source dependency file.
+
+CLEAN_ALL :
+       if (f$search( "[...]*.MMSD") .nes. "") then -
+        delete [...]*.MMSD;*
+       if (f$search( "DESCRIP_DEPS.MMS") .nes. "") then -
+        delete DESCRIP_DEPS.MMS;*
+
+.ELSE                           # SUBSIDIARY
+
+#
+# Main target is the specified target, everywhere.
+#
+# Note that the first actions use the normal description file to create
+# some generated header files, before they are referenced.
+#
+# Generated headers must not be generated for any of the CLEAN* targets,
+# because the CLEAN* actions may remove the required
+# [.INC]DESCRIP_DEPS.MMS file.  The trick/mess here using "TARGET_xxx"
+# does the job.
+#
+TARGET_CLEAN = X
+TARGET_CLEAN_ALL = X
+TARGET_CLEAN_EXE = X
+TARGET_CLEAN_OLB = X
+
+.IFDEF TARGET_$(MMSTARGETS)         # TARGET_xxx
+.ELSE                               # TARGET_xxx
+MAKE_GENERATED_HEADERS = X
+.ENDIF                              # TARGET_xxx [else]
+
+ALL, CLEAN, CLEAN_ALL, CLEAN_EXE, CLEAN_OLB :
+       set default 'f$parse( "$(MMSDESCRIPTION_FILE)", , , "DIRECTORY")'
+       show default
+       @ write sys$output ""
+       $(MMS) /description = [-.VMS]DESCRIP.MMS $(MMSQUALIFIERS) -
+        GENERATED_HEADERS
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+.IFDEF MAKE_GENERATED_HEADERS       # MAKE_GENERATED_HEADERS
+       $(MMS) /description = [-.VMS]DESCRIP.MMS $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+.ENDIF                              # MAKE_GENERATED_HEADERS
+       set default [-.$(DIR_LIB)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+       set default [-.$(DIR_MD5)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+       set default [-.$(DIR_SRC)]
+       show default
+       @ write sys$output ""
+       $(MMS) /description = $(MMSDESCRIPTION_FILE) $(MMSQUALIFIERS) -
+        $(MMSTARGETS)
+
+.ENDIF                          # SUBSIDIARY [else]
 
index ea6f60df06dcd795abd5ae6b5075b426effa69cc..786248c2397a8b82401ae8cda2d30553dd9779f1 100644 (file)
@@ -1,259 +1,9 @@
-#                                               29 January 2008.  SMS.
+#                                               16 September 2009.  SMS.
 #
-#    Wget 1.11 for VMS - MMS (or MMK) Source Description File.
+#    Wget 1.12 for VMS - MMS (or MMK) Source Description File.
 #
 
-# This description file is included by other description files.  It is
-# not intended to be used alone.  Verify proper inclusion.
+ALL_DEST_DIRS_NEEDED = 1
 
-.IFDEF INCL_DESCRIP_SRC
-.ELSE
-$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
-.ENDIF
-
-
-# Define MMK architecture macros when using MMS.
-
-.IFDEF __MMK__                          # __MMK__
-.ELSE                                   # __MMK__
-ALPHA_X_ALPHA = 1
-IA64_X_IA64 = 1
-VAX_X_VAX = 1
-.IFDEF $(MMS$ARCH_NAME)_X_ALPHA             # $(MMS$ARCH_NAME)_X_ALPHA
-__ALPHA__ = 1
-.ENDIF                                      # $(MMS$ARCH_NAME)_X_ALPHA
-.IFDEF $(MMS$ARCH_NAME)_X_IA64              # $(MMS$ARCH_NAME)_X_IA64
-__IA64__ = 1
-.ENDIF                                      # $(MMS$ARCH_NAME)_X_IA64
-.IFDEF $(MMS$ARCH_NAME)_X_VAX               # $(MMS$ARCH_NAME)_X_VAX
-__VAX__ = 1
-.ENDIF                                      # $(MMS$ARCH_NAME)_X_VAX
-.ENDIF                                  # __MMK__
-
-# Analyze architecture-related and option macros.
-
-.IFDEF __ALPHA__                        # __ALPHA__
-DECC = 1
-.IFDEF LARGE                                # LARGE
-DEST = ALPHAL
-.ELSE                                       # LARGE
-DEST = ALPHA
-.ENDIF                                      # LARGE
-.ELSE                                   # __ALPHA__
-.IFDEF __IA64__                             # __IA64__
-DECC = 1
-.IFDEF LARGE                                    # LARGE
-DEST = IA64L
-.ELSE                                           # LARGE
-DEST = IA64
-.ENDIF                                          # LARGE
-.ELSE                                       # __IA64__
-.IFDEF __VAX__                                  # __VAX__
-DEST = VAX
-.ELSE                                           # __VAX__
-DEST = UNK
-UNK_DEST = 1
-.ENDIF                                          # __VAX__
-.ENDIF                                      # __IA64__
-.ENDIF                                  # __ALPHA__
-
-# Check for option problems.
-
-.IFDEF __VAX__                          # __VAX__
-.IFDEF LARGE                                # LARGE
-LARGE_VAX = 1
-.ENDIF                                      # LARGE
-.ENDIF                                  # __VAX__
-
-# Complain if warranted.  Otherwise, show destination directory.
-# Make the destination directory, if necessary.
-
-.IFDEF VMS_VERS                         # VMS_VERS
-.IFDEF UNK_DEST                             # UNK_DEST
-.FIRST
-       @ write sys$output -
- "   Unknown system architecture."
-.IFDEF __MMK__                                  # __MMK__
-       @ write sys$output -
- "   MMK on IA64?  Try adding ""/MACRO = __IA64__""."
-.ELSE                                           # __MMK__
-       @ write sys$output -
- "   MMS too old?  Try adding ""/MACRO = MMS$ARCH_NAME=ALPHA"","
-       @ write sys$output -
- "   or ""/MACRO = MMS$ARCH_NAME=IA64"", or ""/MACRO = MMS$ARCH_NAME=VAX"","
-       @ write sys$output -
- "   as appropriate.  (Or try a newer version of MMS.)"
-.ENDIF                                          # __MMK__
-       @ write sys$output ""
-       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
-.ELSE                                       # UNK_DEST
-.IFDEF LARGE_VAX                                # LARGE_VAX
-.FIRST
-       @ write sys$output -
- "   Macro ""LARGE"" is invalid on VAX."
-       @ write sys$output ""
-       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
-.ELSE                                           # LARGE_VAX
-.FIRST
-       @ write sys$output ""
-       @ write sys$output "   Destination: "
-       @ write sys$output "   "+ -
-          f$extract( 0, (f$length( f$environment( "DEFAULT"))- 1), -
-          f$environment( "DEFAULT")) + ".$(DEST)]"
-       @ write sys$output ""
-       if (f$search( "$(DEST).DIR;1") .eqs. "") then -
-        create /directory [.$(DEST)]
-.ENDIF                                          # LARGE_VAX
-.ENDIF                                      # UNK_DEST
-.ELSE                                   # VMS_VERS
-.FIRST
-       @ write sys$output -
- "   Use VMS-WGET.COM to define the required MMK or MMS macros."
-       @ write sys$output -
- "   It will then run MMS (or MMK)."
-       @ write sys$output ""
-       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
-.ENDIF                                  # VMS_VERS
-
-# UTIME prefix quirk.
-
-.IFDEF __ALPHA__
-UTNP = , __UTC_UTIME
-.ENDIF
-
-.IFDEF __IA64__
-UTNP = , __UTC_UTIME
-.ENDIF
-
-# DEC C and LINK options.
-
-# Main LINK options file.
-
-MAIN_OPT = [-.VMS]wget.opt
-
-### To enable the "-d" command-line debug option, add "ENABLE_DEBUG", as
-### shown (or in CONFIG.H[_VMS]).
-
-.IFDEF DASHD
-BASE_CDEFINES = "HAVE_CONFIG_H", "SYSTEM_WGETRC=""SYSTEM_WGETRC""", \
- "ENABLE_DEBUG"
-.ELSE
-BASE_CDEFINES = "HAVE_CONFIG_H", "SYSTEM_WGETRC=""SYSTEM_WGETRC"""
-.ENDIF
-
-.IFDEF MULTINET
-IP_CDEFINES = , "MULTINET"
-IP_OPT = [-.VMS]wget_multinet.opt
-IP_LINK_OPT = , $(IP_OPT) /OPTIONS
-.ENDIF
-
-.IFDEF DBG
-CFLAGS_DBG = /debug /nooptimize
-LINKFLAGS_DBG = /debug
-.ENDIF
-
-.IFDEF LIST
-CFLAGS_LIST = /list = [.$(DEST)] /show = (all, nomessages)
-LINKFLAGS_LIST = /map = [.$(DEST)] /cross_reference /full
-.ENDIF
-
-.IFDEF LARGE
-LARGE_CDEFINES = , "_LARGEFILE"
-.ENDIF
-
-.IFDEF HPSSL                            # HPSSL
-SSL_CDEFINES = , "HAVE_SSL", "ENABLE_NTLM"
-SSL_LINK_OPT = , [-.VMS]WGET_SSL_HP.OPT /OPTIONS
-.ELSE                                   # HPSSL
-.IFDEF SSL                                  # SSL
-SSL_CDEFINES = , "HAVE_SSL", "ENABLE_NTLM"
-SSL_LINK_OPT = , [-.VMS]WGET_SSL.OPT /OPTIONS
-.ELSE                                       # SSL
-SSL_CDEFINES =
-SSL_LINK_OPT =
-.ENDIF                                      # SSL
-.ENDIF                                  # HPSSL
-
-VER_CDEFINES = , "OS_TYPE=""VMS $(VMS_VERS)"""
-
-CDEFINES = $(BASE_CDEFINES) $(IP_CDEFINES) $(LARGE_CDEFINES) \
- $(SSL_CDEFINES) $(VER_CDEFINES)
-
-CFLAGS_INCL = /include = ([], [-.vms])
-
-CFLAGS_PREFIX = /prefix = (all, except = \
- (getopt, optarg, opterr, optind, optopt, utime $(UTNP)))
-
-CFLAGS = \
- $(CFLAGS_DBG) $(CFLAGS_LIST) \
- /define = ($(CDEFINES)) \
- $(CFLAGS_INCL) \
- $(CFLAGS_PREFIX) \
- /object = $(MMS$TARGET)
-
-LINKFLAGS = $(LINKFLAGS_DBG) $(LINKFLAGS_LIST) \
- /executable = $(MMS$TARGET)
-
-# Object files.
-
-OBJS_NOSSL_SRC = \
- [.$(DEST)]cmpt.obj \
- [.$(DEST)]connect.obj \
- [.$(DEST)]convert.obj \
- [.$(DEST)]cookies.obj \
- [.$(DEST)]ftp.obj \
- [.$(DEST)]ftp-basic.obj \
- [.$(DEST)]ftp-ls.obj \
- [.$(DEST)]ftp-opie.obj \
- [.$(DEST)]gen-md5.obj \
- [.$(DEST)]getopt.obj \
- [.$(DEST)]gnu-md5.obj \
- [.$(DEST)]hash.obj \
- [.$(DEST)]host.obj \
- [.$(DEST)]html-parse.obj \
- [.$(DEST)]html-url.obj \
- [.$(DEST)]http.obj \
- [.$(DEST)]init.obj \
- [.$(DEST)]log.obj \
- [.$(DEST)]main.obj \
- [.$(DEST)]netrc.obj \
- [.$(DEST)]progress.obj \
- [.$(DEST)]ptimer.obj \
- [.$(DEST)]recur.obj \
- [.$(DEST)]res.obj \
- [.$(DEST)]retr.obj \
- [.$(DEST)]safe-ctype.obj \
- [.$(DEST)]snprintf.obj \
- [.$(DEST)]spider.obj \
- [.$(DEST)]url.obj \
- [.$(DEST)]utils.obj \
- [.$(DEST)]xmalloc.obj
-
-OBJS_NOSSL_VMS = \
- [.$(DEST)]vms.obj
-
-OBJS_NOSSL = $(OBJS_NOSSL_SRC) $(OBJS_NOSSL_VMS)
-
-.IFDEF HPSSL                            # HPSSL
-OBJS_SSL = \
- [.$(DEST)]http-ntlm.obj \
- [.$(DEST)]openssl.obj
-.ELSE                                   # HPSSL
-.IFDEF SSL                                  # SSL
-OBJS_SSL = \
- [.$(DEST)]http-ntlm.obj \
- [.$(DEST)]openssl.obj
-.ELSE                                       # SSL
-OBJS_SSL =
-.ENDIF                                      # SSL
-.ENDIF                                  # HPSSL
-
-OBJS = $(OBJS_NOSSL) $(OBJS_SSL)
-
-OBJS_SRC = $(OBJS_NOSSL_SRC) $(OBJS_SSL)
-OBJS_VMS = $(OBJS_NOSSL_VMS)
-
-# Configuration header file.
-
-CONFIG_H = [-.SRC]config.h
+.INCLUDE [-.VMS]DESCRIP_SRC_CMN.MMS
 
diff --git a/vms/DESCRIP_SRC_CMN.MMS b/vms/DESCRIP_SRC_CMN.MMS
new file mode 100644 (file)
index 0000000..3f4beaf
--- /dev/null
@@ -0,0 +1,286 @@
+#                                               26 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Common Source Description File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_SRC
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF # INCL_DESCRIP_SRC
+
+
+# Define MMK architecture macros when using MMS.
+
+.IFDEF __MMK__                  # __MMK__
+.ELSE                           # __MMK__
+ALPHA_X_ALPHA = 1
+IA64_X_IA64 = 1
+VAX_X_VAX = 1
+.IFDEF $(MMS$ARCH_NAME)_X_ALPHA     # $(MMS$ARCH_NAME)_X_ALPHA
+__ALPHA__ = 1
+.ENDIF                              # $(MMS$ARCH_NAME)_X_ALPHA
+.IFDEF $(MMS$ARCH_NAME)_X_IA64      # $(MMS$ARCH_NAME)_X_IA64
+__IA64__ = 1
+.ENDIF                              # $(MMS$ARCH_NAME)_X_IA64
+.IFDEF $(MMS$ARCH_NAME)_X_VAX       # $(MMS$ARCH_NAME)_X_VAX
+__VAX__ = 1
+.ENDIF                              # $(MMS$ARCH_NAME)_X_VAX
+.ENDIF                          # __MMK__ [else]
+
+# Analyze architecture-related and option macros.
+
+.IFDEF __ALPHA__                # __ALPHA__
+DESTM = ALPHA
+.ELSE                           # __ALPHA__
+.IFDEF __IA64__                     # __IA64__
+DESTM = IA64
+.ELSE                               # __IA64__
+.IFDEF __VAX__                          # __VAX__
+DESTM = VAX
+.ELSE                                   # __VAX__
+DESTM = UNK
+UNK_DEST = 1
+.ENDIF                                  # __VAX__ [else]
+.ENDIF                              # __IA64__ [else]
+.ENDIF                          # __ALPHA__ [else]
+
+.IFDEF LARGE                    # LARGE
+.IFDEF __VAX__                      # __VAX__
+DESTL =
+LARGE_VAX = 1
+.ELSE                               # __VAX__
+DESTL = L
+.ENDIF                              # __VAX__ [else]
+.ELSE                           # LARGE
+DESTL =
+.ENDIF                          # LARGE [else]
+
+DEST = $(DESTM)$(DESTL)
+
+# DASHD options.
+
+.IFDEF DASHD                    # DASHD
+CDEFS_DASHD = , "ENABLE_DEBUG"
+.ELSE                           # DASHD
+CDEFS_DASHD =
+.ENDIF                          # DASHD [else]
+
+# DBG options.
+
+.IFDEF DBG                      # DBG
+CFLAGS_DBG = /debug /nooptimize
+LINKFLAGS_DBG = /debug /traceback
+.ELSE                           # DBG
+CFLAGS_DBG =
+LINKFLAGS_DBG = /notraceback
+.ENDIF                          # DBG [else]
+
+# Large-file options.
+
+.IFDEF LARGE                    # LARGE
+CDEFS_LARGE = , "_LARGEFILE"
+.ELSE                           # LARGE
+CDEFS_LARGE =
+.ENDIF                          # LARGE [else]
+
+.IFDEF HPSSL                    # HPSSL
+CDEFS_SSL = , "HAVE_SSL", "ENABLE_NTLM"
+SSL_LINK_OPT = , [-.VMS]WGET_SSL_HP.OPT /OPTIONS
+.IFDEF OSSL                         # OSSL
+HPSSL_OSSL = 1
+.ENDIF                              # OSSL
+.ELSE                           # HPSSL
+.IFDEF OSSL                         # OSSL
+CDEFS_SSL = , "HAVE_LIBSSL", "ENABLE_NTLM"
+SSL_LINK_OPT = , [-.VMS]WGET_SSL_O.OPT /OPTIONS
+.ELSE                               # OSSL
+CDEFS_SSL =
+SSL_LINK_OPT =
+.ENDIF                              # OSSL [else]
+.ENDIF                          # HPSSL [else]
+
+# User-specified options.
+
+.IFDEF CDEFS_USER               # CDEFS_USER
+CDEFS_USR = , $(CDEFS_USER)
+.ELSE                           # CDEFS_USER
+CDEFS_USR =
+.ENDIF                          # CDEFS_USER [else]
+
+
+# Specific DESCRIP_SRC.MMS defines:
+#    CDEFS
+#    CFLAGS_SPEC
+#    CFLAGS_INCL
+
+CDEFS_CMN = VMS $(CDEFS_DASHD) $(CDEFS_LARGE) $(CDEFS_SSL) $(CDEFS_USR)
+
+
+# Absence of MMSDESCRIPTION_FILE.
+.IFDEF MMSDESCRIPTION_FILE      # MMSDESCRIPTION_FILE
+.ELSE                           # MMSDESCRIPTION_FILE
+NO_MMSDESCRIPTION_FILE = 1
+.ENDIF                          # MMSDESCRIPTION_FILE [else]
+
+
+# Subsidiary directory names.  (Note: DEST must be defined first.)
+
+DIR_LIB = LIB
+DIR_LIB_DEST = [-.$(DIR_LIB).$(DEST)]
+DIR_LIB_DEST_FILE = [-.$(DIR_LIB)]$(DEST).DIR;1
+
+DIR_MD5 = MD5
+DIR_MD5_DEST = [-.$(DIR_MD5).$(DEST)]
+DIR_MD5_DEST_FILE = [-.$(DIR_MD5)]$(DEST).DIR;1
+
+DIR_SRC = SRC
+DIR_SRC_DEST = [-.$(DIR_SRC).$(DEST)]
+DIR_SRC_DEST_FILE = [-.$(DIR_SRC)]$(DEST).DIR;1
+
+DIR_VMS = VMS
+
+# Object library names.
+
+LIB_LIB = $(DIR_LIB_DEST)LIBLIB.OLB
+LIB_MD5 = $(DIR_MD5_DEST)LIBMD5.OLB
+LIB_SRC = $(DIR_SRC_DEST)LIBSRC.OLB
+
+# DECC_VER object name.
+
+DECC_VER_OBJ = $(DIR_SRC_DEST)DECC_VER.OBJ
+
+# Executable names.
+
+WGET_EXE = $(DIR_SRC_DEST)WGET.EXE
+DECC_VER_EXE = $(DIR_SRC_DEST)DECC_VER.EXE
+
+EXES = $(WGET_EXE) \
+       $(DECC_VER_EXE)
+
+# Help file names.
+
+WGET_HLB = [-.$(DIR_VMS)]WGET.HLB
+WGET_HLP = [-.$(DIR_VMS)]WGET.HLP
+
+
+# Complain if warranted.  Otherwise, show destination directory.
+# Make the destination directories, if necessary.
+                               
+.IFDEF UNK_DEST                 # UNK_DEST
+.FIRST
+       @ write sys$output -
+ "   Unknown system architecture."
+.IFDEF __MMK__                      # __MMK__
+       @ write sys$output -
+ "   MMK on IA64?  Try adding ""/MACRO = __IA64__""."
+.ELSE                               # __MMK__
+       @ write sys$output -
+ "   MMS too old?  Try adding ""/MACRO = MMS$ARCH_NAME=ALPHA"","
+       @ write sys$output -
+ "   or ""/MACRO = MMS$ARCH_NAME=IA64"", or ""/MACRO = MMS$ARCH_NAME=VAX"","
+       @ write sys$output -
+ "   as appropriate.  (Or try a newer version of MMS.)"
+.ENDIF                              # __MMK__ [else]
+       @ write sys$output ""
+       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
+.ELSE                           # UNK_DEST
+.IFDEF LARGE_VAX                    # LARGE_VAX
+.FIRST
+       @ write sys$output -
+ "   Macro ""LARGE"" is invalid on VAX."
+       @ write sys$output ""
+       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
+.ELSE                               # LARGE_VAX
+.IFDEF HPSSL_OSSL                       # HPSSL_OSSL
+.FIRST
+       @ write sys$output -
+ "   Macro ""HPSSL"" is incompatible with macro ""OSSL""."
+       @ write sys$output ""
+       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
+.ELSE                                   # HPSSL_OSSL
+.IFDEF NO_MMSDESCRIPTION_FILE               # NO_MMSDESCRIPTION_FILE
+.FIRST
+       @ write sys$output -
+ "   Macro ""MMSDESCRIPTION_FILE"" is not defined as required."
+       @ write sys$output -
+ "   MMK, or MMS too old?  Try adding:"
+       @ write sys$output -
+ "   ""/MACRO = MMSDESCRIPTION_FILE=dev:[dir]description_file"","
+       @ write sys$output -
+ "   as appropriate, where ""dev:[dir]description_file"" is the full path"
+       @ write sys$output -
+ "   to the MMS/MMK description file being used (typically ""DESCRIP.MMS"")."
+       @ write sys$output ""
+       I_WILL_DIE_NOW.  /$$$$INVALID$$$$
+.ELSE                                       # NO_MMSDESCRIPTION_FILE
+.FIRST
+       @ show time
+       @ write sys$output "   Destination: [.$(DEST)]"
+       @ write sys$output ""
+       @ ! Define ODS2 symbols (close enough to MMS macros) according
+       @ ! to the actual "getopt.in.h" name.
+       @ if (f$search( "$(LIB_GETOPT_H_SRC_DU)") .nes. "") then -
+          ODS2DU = 1
+       @ if (f$search( "$(LIB_GETOPT_H_SRC_UD)") .nes. "") then -
+          ODS2UD = 1
+       @ if (f$type( ODS2DU) .nes. "") then -
+          write sys$output -
+           "   (Expecting ODS2 dot-under names for multi-dot file names.)"
+       @ if (f$type( ODS2UD).nes. "") then -
+          write sys$output -
+           "   (Expecting ODS2 under-dot names for multi-dot file names.)"
+       @ if ((f$type( ODS2DU) .nes. "") .or. -
+          (f$type( ODS2UD) .nes. "")) then -
+          write sys$output ""
+.IFDEF ALL_DEST_DIRS_NEEDED                     # ALL_DEST_DIRS_NEEDED
+       @ ! Create all destination directories first.
+       if (f$search( "[-.$(DIR_LIB)]$(DEST).DIR;1") .eqs. "") then -
+        create /directory [-.$(DIR_LIB).$(DEST)]
+       if (f$search( "[-.$(DIR_MD5)]$(DEST).DIR;1") .eqs. "") then -
+        create /directory [-.$(DIR_MD5).$(DEST)]
+       if (f$search( "[-.$(DIR_SRC)]$(DEST).DIR;1") .eqs. "") then -
+        create /directory [-.$(DIR_SRC).$(DEST)]
+.ELSE                                           # ALL_DEST_DIRS_NEEDED
+       @ ! Create this specific destination directory first.
+       if (f$search( "$(DEST).DIR;1") .eqs. "") then -
+        create /directory [.$(DEST)]
+.ENDIF                                          # ALL_DEST_DIRS_NEEDED [else]
+.ENDIF                                      # NO_MMSDESCRIPTION_FILE [else]
+.ENDIF                                  # HPSSL_OSSL [else]
+.ENDIF                              # LARGE_VAX [else]
+.ENDIF                          # UNK_DEST [else]
+
+# UTIME prefix quirk.
+
+.IFDEF __ALPHA__
+UTNP = , __UTC_UTIME
+.ENDIF
+
+.IFDEF __IA64__
+UTNP = , __UTC_UTIME
+.ENDIF
+
+# Architecture-specific CC and LINK flags.
+
+.IFDEF __VAX__                  # __VAX__
+CFLAGS_ARCH = /decc
+.ELSE                           # __VAX__
+CFLAGS_ARCH = /float = ieee_float
+.ENDIF                          # __VAX__ [else]
+
+LFLAGS_ARCH =
+
+# LIST options.
+
+.IFDEF LIST                     # LIST
+# Note: Before DEC C V6.0, "/show = [no]messages" will cause trouble.
+CFLAGS_LIST = /list = $*.LIS /show = (all, nomessages)
+LINKFLAGS_LIST = /map = $*.MAP /cross_reference /full
+.ELSE                           # LIST
+CFLAGS_LIST =
+LINKFLAGS_LIST =
+.ENDIF                          # LIST [else]
+
diff --git a/vms/DESCRIP_SRC_FLAGS.MMS b/vms/DESCRIP_SRC_FLAGS.MMS
new file mode 100644 (file)
index 0000000..193fe88
--- /dev/null
@@ -0,0 +1,25 @@
+#                                               20 September 2009.  SMS.
+#
+#    Wget 1.12 for VMS - MMS (or MMK) Flags Source Description File.
+#
+
+# This description file is included by other description files.  It is
+# not intended to be used alone.  Verify proper inclusion.
+
+.IFDEF INCL_DESCRIP_SRC
+.ELSE
+$$$$ THIS DESCRIPTION FILE IS NOT INTENDED TO BE USED THIS WAY.
+.ENDIF
+
+# Common CFLAGS and LINKFLAGS.
+
+CFLAGS = \
+ $(CFLAGS_ARCH) $(CFLAGS_DBG) $(CFLAGS_INCL) $(CFLAGS_LIST) \
+ $(CFLAGS_SPEC) \
+ $(CCOPTS) \
+ /object = $(MMS$TARGET)
+
+LINKFLAGS = \
+ $(LINKFLAGS_DBG) $(LINKFLAGS_LIST) $(LINKOPTS) \
+ /executable = $(MMS$TARGET)
+
diff --git a/vms/VMS-WGET.COM b/vms/VMS-WGET.COM
deleted file mode 100644 (file)
index 46034c3..0000000
+++ /dev/null
@@ -1,308 +0,0 @@
-$!                                              16 November 2006.  SMS.
-$!
-$!    Attempt to build Wget 1.10 automatically, using MMK or MMS.
-$!
-$!    Usage:
-$!
-$!       @ wget_kit_device:[wget_kit_dir.VMS]VMS-WGET.COM -
-$!          [DASHD] [DBG] [HPSSL|NOSSL] [LARGE] [LIST] [MMS] -
-$!          [CLEAN] [CLEAN_ALL] [CLEAN_EXE] [HELP] [MULTINET]
-$!
-$!    To enable the "-d" (diagnostics) Wget command-line option, add
-$! "DASHD" to the command line.
-$!
-$!    To enable large-file (>2GB) support (non-VAX systems), add "LARGE"
-$! to the command line.
-$!
-$!    To build a debug executable, add "DBG" to the command line.
-$!
-$!    To get compiler listing files, add "LIST" to the command line.
-$!
-$!    This procedure prefers MMK to MMS.
-$! To use MMS when both work, add "MMS" to the command line.
-$!
-$!    To prevent automatic detection and use of OpenSSL, add "NOSSL"
-$! to the command line.  This procedure prefers a generic SSL kit to HP
-$! SSL.  If the generic logical names OPENSSL and SSLLIB are defined,
-$! they will be used instead of the HP SSL logical names SSL$INCLUDE
-$! and SYS$SHARE.  To use HP SSL when these generic logical names are
-$! defined, add "HPSSL" to the command line.
-$!
-$!    To build the "CLEAN" target (which deletes all object and
-$! executable files for the current CPU type, add "CLEAN" to the command
-$! line.  Similarly, the "CLEAN_ALL", "CLEAN_EXE" or "HELP" target may be
-$! specified.  For details, see [.VMS]DESCRIP.MMS.
-$!
-$!    The source code contains some old Multinet-specific code which may
-$! be useful for building the program with Multinet on old VMS versions
-$! (probably VMS before V7.x).  With more modern VMS and Multinet, there
-$! should be no need to use any of the old Multinet-specific code.  If
-$! Multinet build problems occur, try adding "MULTINET" to the command
-$! line.  The source code contains no special code for PathWay or
-$! TCPware IP software (or for the DEC/Compaq/HP UCX or TCPIP software).
-$!
-$!
-$!    Special usage for automatic dependency generation (MMS only):
-$!
-$!       @ wget_kit_device:[wget_kit_dir.VMS]VMS-WGET.COM -
-$!          DEPS [DASHD] [HPSSL|NOSSL] [NOSKIP] [CLEAN|PURGE]
-$!
-$!    See the [.VMS]DESCRIP_MKDEPS.MMS description file for more
-$! details.  Specifying the CLEAN target here deletes the dependency
-$! files, not the usual objects and executables.
-$!
-$!    Note that by default, DESCRIP_MKDEPS.MMS will delete the
-$! intermediate *.MMSD dependency files, leaving only the comprehensive
-$! dependency file, DESCRIP_DEPS.MMS.  To preserve the intermediate
-$! files, specify "NOSKIP".
-$!
-$!    Specifying the PURGE target here deletes the intermediate *.MMSD
-$! dependency files, and purges the comprehensive dependency file,
-$! DESCRIP_DEPS.MMS.
-$!
-$!----------------------------------------------------------------------
-$!
-$! Sense the current default directory.
-$!
-$ def_orig = f$environment( "DEFAULT")
-$!
-$! Arrange for clean-up.
-$!
-$ on error then goto clean_up
-$ on control_y then goto clean_up
-$!
-$! Set default to the kit [.SRC] directory.
-$!
-$ proc = f$environment( "PROCEDURE")
-$ proc_dev_dir = -
-   f$parse( proc, , , "DEVICE")+ f$parse( proc, , , "DIRECTORY")
-$ set default 'proc_dev_dir'
-$ set default [-.src]
-$!
-$! Sense the VMS version.
-$!
-$ VMS_VERS = f$edit( f$getsyi( "version"), "trim")
-$!
-$!
-$! Analyze the command-line parameters.
-$!
-$ CMD = ""
-$ DASHD = ""
-$ DBG = ""
-$ DEPS = ""
-$ HPSSL = ""
-$ IP = ""
-$ LARGE = ""
-$ LIST = ""
-$ NOSKIP = ""
-$ NOSSL = ""
-$ TARGET = ""
-$!
-$ I = 0
-$ p_loop_top:
-$!
-$    I = I+ 1
-$    P = P'I'
-$    P = f$edit( P, "TRIM, UPCASE")
-$!
-$    if (P .eqs. "DASHD")
-$    then
-$       DASHD = "DASHD"
-$    else
-$       if (P .eqs. "DBG")
-$       then
-$          DBG = "DBG"
-$       else
-$          if (P .eqs. "DEPS")
-$          then
-$             DEPS = "DEPS"
-$          else
-$             if (P .eqs. "MMS")
-$             then
-$                CMD = "MMS"
-$             else
-$                if (P .eqs. "LARGE")
-$                then
-$                   LARGE = "LARGE"
-$                else
-$                   if (P .eqs. "LIST")
-$                   then
-$                      LIST = "LIST"
-$                   else
-$                      if (P .eqs. "MULTINET")
-$                      then
-$                         IP = "MULTINET"
-$                      else
-$                         if (P .eqs. "NOSKIP")
-$                         then
-$                            NOSKIP = "NOSKIP"
-$                         else
-$                            if (P .eqs. "NOSSL")
-$                            then
-$                               NOSSL = "NOSSL"
-$                            else
-$                               if (P .eqs. "HPSSL")
-$                               then
-$                                  HPSSL = "HPSSL"
-$                               else
-$                                  if (P .nes. "")
-$                                  then
-$                                     TARGET = P
-$                                  else
-$                                     goto p_loop_bottom
-$                                  endif
-$                               endif
-$                            endif
-$                         endif
-$                      endif
-$                   endif
-$                endif
-$             endif
-$          endif
-$       endif
-$    endif
-$!
-$ goto p_loop_top
-$ p_loop_bottom:
-$!
-$! Verify MMK, if not intending to use MMS.  DEPS rquires MMS.
-$! Accept a (non-blank) foreign command symbol "MMK", or the presence of
-$! MMK.EXE on DCL$PATH.
-$!
-$ if (DEPS .eqs. "")
-$ then
-$    if ((CMD .eqs. "") .and. (DEPS .eqs. ""))
-$    then
-$       CMD = "MMS"
-$       M_ = f$type( MMK)
-$       if (M_ .eqs. "")
-$       then
-$          if (f$search( "DCL$PATH:MMK.EXE") .nes. "") then CMD = "MMK"
-$       else
-$          if (f$edit( MMK, "TRIM") .nes. "") then CMD = "MMK"
-$       endif
-$    endif
-$ endif
-$!
-$! Set MMK or MMS macros.
-$!
-$ MACROS = """""VMS_VERS=''VMS_VERS'"""""
-$!
-$ if (DASHD .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''DASHD'=1"""""
-$ endif
-$!
-$ if (DBG .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''DBG'=1"""""
-$ endif
-$!
-$ if (LARGE .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''LARGE'=1"""""
-$ endif
-$!
-$ if (LIST .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''LIST'=1"""""
-$ endif
-$!
-$ if (IP .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''IP'=1"""""
-$ endif
-$!
-$ if (NOSKIP .nes. "")
-$ then
-$    MACROS = MACROS+ ", """"''NOSKIP'=1"""""
-$ endif
-$!
-$ NEED_HP_OPENSSL = 0
-$ if (NOSSL .eqs. "")
-$ then
-$    if (HPSSL .nes. "")
-$    then
-$       if (f$search( "ssl$include:ssl.h") .nes. "")
-$       then
-$          MACROS = MACROS+ ", """"HPSSL=1"""""
-$       endif
-$    else
-$       if (f$search( "openssl:ssl.h") .nes. "")
-$       then
-$          if (f$trnlnm( "OPENSSL") .eqs. "SSL$INCLUDE:")
-$          then
-$             MACROS = MACROS+ ", """"HPSSL=1"""""
-$          else
-$             MACROS = MACROS+ ", """"SSL=1"""""
-$          endif
-$       else
-$          if (f$search( "ssl$include:ssl.h") .nes. "")
-$          then
-$             NEED_HP_OPENSSL = 1
-$             MACROS = MACROS+ ", """"HPSSL=1"""""
-$          endif
-$       endif
-$    endif
-$ endif
-$!
-$ if (MACROS .nes. "")
-$ then
-$    MACROS = "/MACRO = (''MACROS')"
-$ endif
-$!
-$! Compose the MMK or MMS command with the appropriate options.
-$!
-$ if (DEPS .eqs. "")
-$ then
-$    X := 'CMD' /DESCRIPTION = [-.vms]descrip.mms 'MACROS' 'TARGET'
-$ else
-$    CMD = "MMS"
-$    if (NOSKIP .eqs. "")
-$    then
-$       CMD = CMD+ " /SKIP_INTERMEDIATE"
-$    endif
-$    X := 'CMD' /EXTENDED_SYNTAX -
-      /DESCRIPTION = [-.vms]descrip_mkdeps.mms 'MACROS' 'TARGET'
-$ endif
-$!
-$! If using HP SSL, define the logical name OPENSSL.
-$!
-$ if (NEED_HP_OPENSSL)
-$ then
-$    define openssl ssl$include
-$ endif
-$!
-$! If using any SSL, show the openssl definition.
-$!
-$ if (NOSSL .eqs. "")
-$ then
-$    lnm = f$trnlnm( "OPENSSL")
-$    if (lnm .eqs. "")
-$    then
-$       lnm = "(none)"
-$    endif
-$    write sys$output "OPENSSL = "+ lnm
-$ endif
-$!
-$! Show the MMK or MMS command.
-$!
-$ write sys$output X
-$!
-$! Run MMK or MMS with the appropriate options.
-$!
-$ 'X'
-$!
-$ clean_up:
-$!
-$! If using HP SSL, deassign the logical name OPENSSL.
-$!
-$ if (NEED_HP_OPENSSL)
-$ then
-$    deassign openssl
-$ endif
-$!
-$! Restore the original default directory.
-$!
-$ set default 'def_orig'
-$!
index ed4c290dea25e576f28236bcef9b798d6c888a76..e760750b3372260e4be2ac887780ab22c75426ce 100644 (file)
@@ -1,28 +1,16 @@
-                                                29 January 2008.  SMS.
+                                                27 September 2009.  SMS.
 
-                       Wget 1.11 for VMS (1.11a)
-                       =========================
+                          Wget 1.12.X for VMS
+                          ===================
 
 ------------------------------------------------------------------------
 
-      Disclaimer
-      ----------
-
-   No claims of any sort are made herein.  The main Wget developers seem
-indifferent to this effort.  Any suggestions for improving the code in
-the VMS-specific sections are welcome, but low expectations are more
-realistic than high ones.
+   Beginning with Wget version 1.12.X, VMS support is included in the
+main Wget source kit.  This note describes the VMS-specific details
+involved in building and using Wget on VMS.
 
 ------------------------------------------------------------------------
 
-      Description
-      -----------
-
-   This note accompanies a quick VMS port of Wget version 1.10.2, a GNU
-free network utility to retrieve files from the World Wide Web using
-HTTP and FTP.  The most obvious features seem to work, but many have not
-been tested.
-
    Built and tested (slightly) in these environments:
 
 OpenVMS Alpha V7.3-2, HP C V7.3-009, TCPIP V5.4 - ECO 6
@@ -31,580 +19,109 @@ OpenVMS IA64 V8.3, HP C V7.3-018, TCPIP V5.6.
 
 OpenVMS VAX V7.3, Compaq C V6.4-005, TCPIP V5.1.
 
-------------------------------------------------------------------------
-
-      News
-      ----
-
-   Version 1.11a (PRELIMINARY)  2008-01-30
-   ---------------------------------------
-
-- General code update to Wget 1.11.
-
-- Changed to avoid trying "LIST -a" for a VMS FTP server.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.10.2c  2006-11-16
-   ----------------------------
-
-- Changed the code which determines the FTP server type to avoid an
-  ACCVIO if no text was returned in response to a "SYST" inquiry.
-
-- Fixed a command-line parsing problem with the "--ftp-stmlf" option.
-
-- Fixed an unclosed comment (again?) in FTP-LS.C which could have caused
-  problems with ODS5 extended file names.
-
-- Changed VMS-WGET.COM to assume that nothing special is now required
-  for use with the MultiNet IP package.  For obsolete VMS and/or
-  MultiNet versions where the old MultiNet-specific changes are still
-  needed, specify "MULTINET" on the VMS-WGET.COM command line.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.10.2b  2004-12-15
-   ----------------------------
-
-- Changed the "-V" version report to include some host type information.
-
-- Changed the I/O scheme on VMS for progress dots to avoid spurious
-  newline characters when output is directed to a file.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.10.2a  2004-10-13
-   ----------------------------
-
-- General code update to Wget 1.10.2.
-
-- Many legitimate FTP CWD operations on a VMS FTP server failed.  The
-  typical symptom was "No such directory `perfectly/vaild/directory'."
-
-- FTP CWD operations on a VMS FTP server now end with a "CWD []".  For
-  an FTP URL like "ftp://host/a/b/c/d.e" (and contrary to the RFC), Wget
-  uses a UNIX-like directory specification in its CWD command, here,
-  "CWD a/b/c".  This was observed to switch a TCPware FTP server
-  (V5.6-2) into its UNIX emulation mode.  Because Wget checks the system
-  type only once at the beginning of a session, the associated change in
-  directory listing format confused the program.  The typical symptom
-  was "No such file `-rwx---r-x'."  The added "CWD []" command resets
-  the TCPware server to VMS mode, and should be harmless on other VMS
-  FTP servers.
-
-- VMS-WGET.COM now finds MMK when it's on DCL$PATH as well as when a
-  foreign command symbol "MMK" is defined.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.10.1a  2004-09-09
-   ---------------------------
-
-- General code update to Wget 1.10.1.
-
-- VMS-specific files are now in the new [.VMS] directory.
-
-- Changes to VMS-WGET.COM:
-   - New command-line option, LARGE, enables large-file support on
-     non-VAX systems.
-   - VMS-WGET.COM may now be run from any default directory, not only
-     [.SRC].
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.9.1e  2005-09-09
-   --------------------------
-
-- The default User-Agent string on VMS now includes the host
-  architecture and VMS version.  For example, "Wget/1.9.1e (VMS Alpha
-  V7.3-2)".
-
-- Fixed a problem on VMS with an ODS5 destination file system when a
-  URL-derived file name contained an invalid character ("?" or "*").  A
-  typical complaint might look like:
-     Cannot write to `www.foraddift.non/aspx/index.asp?sid=463e'
-     (file specification syntax error).
-  Now, "?" is converted to "!", and "*" to "#".
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.9.1d  2005-06-21
-   --------------------------
-
-- Replaced the remaining instances where ".orig" was appended to a file
-  name.  Now (for VMS), "_orig" is used everywhere (except in the
-  documentation).
-
-- Disabled (for VMS) the code which appended ".nnn" (decimal "nnn") to
-  an output file name to avoid overwriting an existing file.  The file
-  name is now used unchanged, and VMS file versioning is expected to
-  prevent overwriting.  (The multi-dot file names made this way caused
-  I/O errors on ODS2 file systems.)
-
-- Changed to do translation of CR-LF line endings to local line endings
-  for ASCII FTP transfers.
-
-- Changed (on VMS) to use fixed-512 format for binary FTP files.  Added
-  the new "--ftp-stmlf" option ("ftpstmlf on" command) to let the user
-  restore the old behavior, where Stream_LF was used for both ASCII and
-  binary.
-
-- Added (on VMS) a new open callback function which senses (where
-  supported) the process RMS_DEFAULT values for file extend quantity
-  (deq), multi-block count (mbc), and multi-buffer count (mbf), and sets
-  the FAB/RAB parameters accordingly.  The default deq is now much
-  larger than before (16384, was none), and the default mbc is now 127
-  (was none), speeding creation of a large output file.  Explicitly set
-  RMS_DEFAULT values override built-in defaults.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.9.1c  2004-12-15
-   --------------------------
-
-- Added https (SSL) support, changing DESCRIP.MMS and VMS-WGET.COM, and
-  adding WGET_SSL.OPT and WGET_SSL_HP.OPT.  Limited testing was done on
-  Alpha, using HP SSL V1.1-B and OpenSSL version 0.9.7e.  The build
-  procedure automatically enables SSL support if it can find one of the
-  SSL header files.  The details are explained in comments in
-  VMS-WGET.COM, including its new command-line options, HPSSL and NOSSL.
-
-- Changed CONNECT.C to fix some problems with MultiNet TCP/IP software.
-
-   - A build problem related to header files (netdb.h) when compiled
-     with MultiNet.  Typical symptom:
-
-         %CC-E-REDEFSTRUCT, In this declaration, the struct "hostent" is
-         redefined. at line number 178 in module NETDB of text library
-         SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
-
-   - A run-time problem with an FTP URL. Typical symptom:
-
-         accept: bad address
-
-- Changed FTP.C to fix various problems with time-stamping ("-N",
-  "--timestamping") when using an FTP URL.  Some of the misbehavior was
-  specific to a VMS FTP server, but not all.  The typical result was a
-  file with the modification date (and, in some cases, the creation
-  date) left at the date of the download, rather than set to match the
-  date on the server.  Some misleading diagnostic messages also have
-  been corrected.
-
-- Changed FTP-LS.C to fix a typographical error (unclosed comment).
-
-- Changed NETRC.C to fix a potential build problem on non-VMS systems.
-  Adding some VMS-specific code introduced some improper statement
-  ordering, which may generate complaints (or failure) with some C
-  compilers.
-
-- Changed VMS.C to fix a problem with the utime() function (supplied
-  with Wget) when the user specified a non-UNIX file name with the Wget
-  "-O" option.  Typical symptom:
-
-     utime(home_sms:[sms.wget]t.h): error 0
-
-  As the message might suggest, the file date-time was not being set
-  correctly.  With this fix, utime() should work with either a UNIX-like
-  or VMS-like file specification, and it should also set errno properly
-  when it fails, enabling a more informative error message.
-
-- New MMS/MMK description files and associated command procedures enable
-  automatic source dependency generation.  Changed: DESCRIP.MMS and
-  VMS-WGET.COM.  New: DESCRIP_DEPS.MMS, DESCRIP_MKDEPS.MMS,
-  DESCRIP_SRC.MMS, COLLECT_DEPS.COM, and MOD_DEP.COM.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.9.1b  2004-09-28
-   --------------------------
-
-- Changed CONFIG.H_VMS to fix a build problem with C RTL before VMS
-  V7.3-1 with C Runtime ECO V3.0 on Alpha:
-     %LINK-W-NUDFSYMS, 2 undefined symbols:
-     %LINK-I-UDFSYM,         DECC$GXSNPRINTF
-     %LINK-I-UDFSYM,         DECC$GXVSNPRINTF
-     [...]
-
-- Changed VMS.C:
-
-   - Fixed a build problem with C RTL before V7.2:
-        %CC-E-UNDECLARED, In this statement, "DVI$C_ACP_F11V5" is not
-        declared. at line number 262 in file
-        disk:[xxx.WGET-1_9_1A_VMS.SRC]VMS.C;1
-
-   - Fixed a build problem with C RTL before VMS V7.3 with C Runtime ECO
-     2 on Alpha:
-        %CC-I-IMPLICITFUNC, In this statement, the identifier
-        "decc$feature_get_index" is implicitly declared as a function.
-        at line number 155 in file disk:[xxx.WGET-1_9_1A_VMS.SRC]VMS.C;1
-
-        %CC-I-IMPLICITFUNC, In this statement, the identifier
-        "decc$feature_get_value" is implicitly declared as a function.
-        at line number 159 in file disk:[xxx.WGET-1_9_1A_VMS.SRC]VMS.C;1
-
-        %CC-I-IMPLICITFUNC, In this statement, the identifier
-        "decc$feature_set_value" is implicitly declared as a function.
-        at line number 169 in file disk:[xxx.WGET-1_9_1A_VMS.SRC]VMS.C;1
-
-     and the related:
-
-        %LINK-W-NUDFSYMS, 3 undefined symbols:
-        %LINK-I-UDFSYM,         DECC$FEATURE_GET_INDEX
-        %LINK-I-UDFSYM,         DECC$FEATURE_GET_VALUE
-        %LINK-I-UDFSYM,         DECC$FEATURE_SET_VALUE
-        [...]
-
-   - Fixed a build problem with Multinet involving use of both the
-     Multinet-specific and generic netdb.h header files:
-
-        %CC-E-REDEFSTRUCT, In this declaration, the struct "hostent" is
-        redefined. at line number 178 in module NETDB of text library
-        SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1
-
-   - Fixed a typographical error (unclosed comment) which kept the C RTL
-     feature DECC$EFS_CHARSET from being enabled as intended. This
-     caused a run-time problem on non-VAX systems with some ODS5
-     extended file specifications with multiple dots in file names,
-     typically when "-m" ("--mirror"), "-O" ("--output-document"), or
-     "-r" ("--recursive") was used:
-
-        hostname/test/a.B.c: file specification syntax error
-     or
-        test/a.B.c: non-translatable vms error code: 0x186D4
-        rms-f-syn, file specification syntax error
-
-   - Fixed a spurious diagnostic message when doing HTTP and
-     complex FTP transfers:
-
-        utime().  sys$parse() = 00010001.
-
-- Changed FTP.C to fix a variety of problems encountered when using a
-  VMS FTP server.  These problems (not seen in Wget 1.5.3h) were caused
-  mostly by inappropriate code added (in the main Wget development
-  stream) to "help" deal with a VMS FTP server.  Removing this code and
-  reforming the procedure used for getting to relative directories seems
-  to have fixed the problems.  As before, a single-slash URL
-  ("ftp://host/one/two/name.type") will be treated as specifying a
-  relative directory ("one/two"), while a double-slash URL
-  ("ftp://host//one/two/name.type") will be treated as specifying an
-  absolute directory ("/one/two").  As usual, the VMS FTP server will
-  attempt to puzzle out whether "/one/two" should really be interpreted
-  as "one:[two]", but it's better equipped to do it than Wget is.
-
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-   Version 1.9.1a  2004-04-28
-   --------------------------
-
-- Changes to VMS-WGET.COM since Wget 1.5.3h:
-
-   - A separate LIST command-line option now controls compiler listing
-     files.  The DBG option no longer implies compiler listing files.
-     The LIST option also generates a link map with cross-reference.
-
-   - The DBG option may actually work now.
-
-   - Added support for IA64 architecture.
-
-- Changes to DESCRIP.MMS since Wget 1.5.3h:
-
-   - Compiler listing files (.LIS) and link maps (.MAP) are now put into
-     the system-specific directory with the corresponding object files
-     (.OBJ), namely, [.SRC.ALPHA], [.SRC.IA64], or [.SRC.VAX].
-     Previously, they were put into the source directory ([.SRC])
-     itself.
-
-   - CLEAN target now deletes any .LIS and .MAP files.
-
-   - New HELP target creates a Wget help library.
-
-   - The OS_TYPE macro is now defined, including the VMS version.
-
-   - No more complaints like "%MMS-W-MBREDEFILL, Illegal attempt to
-     redefine macro 'CFLAGS'" on old versions of MMS.
-
-   - A separate LIST macro now controls compiler listing files.  The
-     DBG macro no longer implies compiler listing files.
-
-   - New support for IA64 architecture.
-
-- Built-in initialization of some DECC$* run-time options on non-VAX
-  systems.  Currently this behavior is compiled in, so any changes must
-  be made in the VMS.C source file.  These changes have no effect on VAX
-  (or older Alpha) systems where the OS and C run-time support is
-  absent.
-
-   - Command-line case preservation.  Wget for VMS enables the following
-     DECC$* run-time option:
-        DECC$ARGV_PARSE_STYLE
-     With extended command parsing enabled ("SET PROCESS
-     /PARSE_STYLE = EXTENDED"), command-line case is preserved.  This
-     obviates quoting case-sensitive option switches, URLs, and other
-     parameters.
-
-   - Extended file names on ODS5 file systems.  Wget for VMS enables the
-     following DECC$* run-time options:
-        DECC$EFS_CASE_PRESERVE
-        DECC$EFS_CHARSET
-     Thus, if an ODS5 file system is used as the destination for
-     downloaded files, multiple dots will be permitted and case will be
-     preserved in file names.  If an ODS2 file system is used, the same
-     character substitutions will be made as in Wget 1.5.3h, namely,
-     "." -> "_" (where needed), "~" -> "-", and "@" -> "$".
+(__CRTL_VER >= 70000000 is probably required.)
 
 ------------------------------------------------------------------------
 
-      Changes to Source Files
-      -----------------------
-
-   Files new for VMS (all in [.VMS]):
-
-      COLLECT_DEPS.COM   Dependency collector for DESCRIP_MKDEPS.MMS.
-
-      config.h_vms       VMS-specific CONFIG.H.
-
-      decc_ver.c         Diagnostic program to provide build environment
-                         information.
-
-      DESCRIP.MMS        Main MMK or MMS description ("make") file.
-
-      DESCRIP_CONFIG.MMS CONFIG.H description file.
-
-      DESCRIP_DEPS.MMS   Source dependency description file.
-
-      DESCRIP_MKDEPS.MMS Source dependency generator description file.
+      Instructions
+      ------------
 
-      DESCRIP_SRC.MMS    Source list description file.
+   Extract the files from the distribution kit.
 
-      VMS-WGET.COM       DCL procedure to build the executable from the
-                         source, using MMK or MMS (and DESCRIP*.MMS).
+      Note:
+      The Wget builders should work on either an ODS2 or ODS5 disk,
+      although any original multi-dot file names will be adjusted for
+      storage on an ODS2 disk when they are extracted from the kit
+      archive.  Depending on the tools used, an original file named
+      "a.b.c" may be extracted as "A.B_C" ("dot-under" form) or "A_B.C"
+      ("under-dot" form), but the builders should work either way.
 
-      vms.c              Various VMS-specific code: DEC C run-time
-                         initialization, ODS2-ODS5 file system
-                         detection, ODS2 file name adjustment, file open
-                         callback function for better RMS parameters,
-                         "utime()" replacement function, and for VMS
-                         before V7.0, "getpwuid()" and "localtime_r()".
+      The source kit may contain one or more files in the "tests"
+      directory which have names which are too long for an ODS2 disk. 
+      They will cause errors when the kit is unpacked, but these files
+      are not required on VMS.
 
-      vms.h              VMS-specific header file.  For VMS C RTL before
-                         V7.3, replacement for <utime.h>.  For VMS C RTL
-                         before V7.0, replacement for <pwd.h>.
-                         Declarations of replacement data
-                         types/structures and function prototypes for
-                         vms.c.
+   When starting with an official "tar" source kit, the downloaded
+bzip2- or gzip-compressed "tar" archive must be expanded using a bzip2
+or gzip program, and then a program like VMSTAR can be used to extract
+the source tree.  The official source kits tend to have multi-dot file
+names, so the exact file names to use in these steps will depend on how
+the kit was downloaded, whether the work is done on an ODS2 or an ODS5
+disk, and so on.  Thus, the example commands shown below may need some
+adjustment to work in different environments. For example, starting with
+an official ".tar.bz2" kit named "wget-1_12_X_tar.bz2":
 
-      vms_ip.h           IP software type-specific "#include"
-                         directives.  Used by host.c.
+      bzip2 -d wget-1_12_X_tar.bz2
+      vmstar xf wget-1_12_X_tar
 
-      vms_name_fix.sh    UNIX shell script to restore file names after
-                         storage on an ODS2 file system.
+Or, starting with a Zip archive named "wget-1_12_X.zip":
 
-      VMS_NOTES.TXT      These notes.
+      unzip wget-1_12_X.zip
 
-      WGET.HLP           Simple help file.
+   The MMS/MMK builders typically need some help from the user to enable
+the desired optional features, and/or to deal with differences between
+MMK and MMS features.
 
-      WGET.OPT           LINK options file.
+   The builder options (MMS/MMK macros) are described in the main
+builder file, "[.vms]descrip.mms".  Normally, "DASHD=1" is specified, to
+enable the "-d" ("--debug") option.  On a reasonably modern non-VAX
+system, specify "LARGE=1" to enable large-file support.  If HTTPS
+support is desired, then specify either "HPSSL=1" (to use HP's SSL
+product) or "OSSL=1" (to use OpenSSL).
 
-      WGET_MULTINET.OPT  LINK options file supplement for Multinet.
+   MMK or an old version of MMS may need a definition of
+"MMSDESCRIPTION_FILE".  An error message should explain this, if needed.
 
-      WGET_SSL.OPT       LINK options file supplement for OpenSSL.
+   On non-VAX systems, the C compiler may emit some %CC-I-INTCONSTTRUNC
+complaints when compiling "[.src]hash.c", but these should be harmless.
 
-      WGET_SSL_HP.OPT    LINK options file supplement for HP SSL.
+   Executables in VMS kits are normally built using "DASHD=1" and
+"LARGE=1" (except VAX), and with no HTTPS (SSL) support.  Output from
+"wget --version" should reveal which SSL product was used to build Wget. 
+"-https" implies no SSL.  "+https" with "-openssl" implies HP SSL, and
+"+https" with "+openssl" implies OpenSSL.
 
+   Example build commands:
 
-   Files modified for VMS (all in [.SRC]):
+      SET DEFAULT [.wget-1_12_X_vms.vms]    ! Required.
 
-      connect.c         Added code for VMS header files.
+      MMS CLEAN                             ! Delete all product files
+                                            ! for the current (small-file)
+                                            ! architecture.
 
-      convert.c         Changed to use "_orig" instead of ".orig" on VMS
-                        as the file name suffix used for the "-K"
-                        ("--backup-converted") option.
+      MMS /MACRO = LARGE=1 CLEAN            ! Delete all product files
+                                            ! for the current (large-file)
+                                            ! architecture.
 
-      ftp.c             Added code for VMS header files.
-                        Changed to eliminate a spurious -debug message
-                        ("Unrecognized permissions for <directory>").
-                        Changed to eliminate spurious complaints when
-                        recursive downloads hit an empty directory.
-                        Changed to fix various problems dealing with a
-                        VMS FTP server.
-                        Changed to fix various problems with FTP and
-                        time-stamping ("-N").
-                        Changed to distinguish between ASCII and binary
-                        FTP transfers for proper local line endings.
-                        Added (for VMS) VMS-specific file open options.
-
-      ftp.h             Added ftp_dele() function.  (See ftp-basic.c.)
-                        Added an argument to ftp_list() for the FTP
-                        server type.  (See ftp-basic.c.)
-
-      ftp-basic.c       Added ftp_dele() function to accomodate a remote
-                        delete-after-download option.
-                        Changed ftp_list() to avoid trying "LIST -a" for
-                        an VMS FTP server.
-
-      ftp-ls.c          Changed to open the ".listing" file in text
-                        mode, not binary.
-                        Changed VMS FTP DIR-parsing code to tolerate
-                        more variability (leading blank lines).
-                        Added support for the environment variable
-                        "WGET_TIMEZONE_DIFFERENTIAL" for file time
-                        adjustment (as in Wget 1.5.3h for VMS).
-
-      host.c            Added code for VMS header files.
-
-      host.h            Added code for VMS header files.
-
-      http.c            Added code for VMS header files.
-                        Changed to use an OS-specific file name suffix,
-                        "_orig" for VMS, rather than a hard-coded
-                        ".orig".
-                        Added (for VMS) VMS-specific file open options.
-                        Added (for VMS) host type and OS version info to
-                        the default User-Agent string.
-                        Changed "ssl_connect()" to "ssl_connect_wget()"
-                        to avoid conflict with "SSL_connect()".
-                        Added a type cast to remove a
-                        %CC-I-QUESTCOMPARE1 compiler complaint.
-
-      init.c            Changed (on VMS) to use "SYS$LOGIN:.wgetrc" as
-                        the name of the user-specific initialization
-                        file (if "WGETRC" is not defined), and
-                        "SYSTEM_WGETRC" (expected to be a logical name)
-                        as the system-wide initialization file.
-                        Changed to open ".wgetrc" in text mode, not
-                        binary.
-                        Added (for VMS) "--ftp-stmlf" option ("ftpstmlf
-                        on" command to force Stream_LF format (instead
-                        of fixed-512) for binary FTP output files.
-
-      log.c             Changed the I/O scheme on VMS for progress dots
-                        to avoid spurious newline characters when output
-                        is directed to a file.
-
-      main.c            Changed the program identification debug message
-                        ("built on OS_TYPE" instead of "on OS_TYPE"),
-                        and added host information to the "-V" version
-                        report.
-                        Changed to set ODS5 flag if the download
-                        destination is on an ODS5 file system.
-                        Added (for VMS) "--ftp-stmlf" option ("ftpstmlf
-                        on" command to force Stream_LF format (instead
-                        of fixed-512) for binary FTP output files.
-                        Adjusted the help message for -K to say "_orig"
-                        instead of ".orig".  (See convert.c.)
-
-      netrc.c           Changed to use "SYS$LOGIN:.netrc" as the name of
-                        the user name and password file on VMS.
-
-      openssl.c         Changed "ssl_connect()" to "ssl_connect_wget()"
-                        to avoid conflict with "SSL_connect()".
-
-      options.h         Added (for VMS) "--ftp-stmlf" option ("ftpstmlf
-                        on" command to force Stream_LF format (instead
-                        of fixed-512) for binary FTP output files.
-
-      retr.c            Changed to adjust CR-LF line endings in ASCII
-                        FTP data to proper local line endings.
-                        Changed to disable (for VMS) a useless fflush()
-                        which was slowing file I/O.
-
-      retr.h            Changed to accomodate changes for FTP to
-                        distinguish between ASCII and binary FTP
-                        transfers for proper local ASCII line endings.
-
-      ssl.h             Changed "ssl_connect()" to "ssl_connect_wget()"
-                        to avoid conflict with "SSL_connect()".
-
-      url.c             Added code for VMS header files.
-                        Added code to replace unacceptable dots (".")
-                        (and other invalid characters) with underscores
-                        ("_"), tildes ("~") with hyphens ("-"), and at
-                        signs ("@") with dollar signs ("$"),
-                        respectively, in URL-derived file specifications
-                        on ODS2 file systems.
-
-      utils.c           Added VMS-specific code to work around the lack
-                        of "fork()".
-                        Changed to assist ODS2 name reversion.
-                        Added (for VMS) VMS-specific file open options.
-                        Changed to use a macro, UNIQ_SEP, instead of a
-                        hard-coded ".", as the separator character when
-                        adding a decimal "nnn" suffix to a file name to
-                        make it unique.  Not defining UNIQ_SEP, as on
-                        VMS, now disables adding the suffix.  (See
-                        WGET.H.)
-
-      utils.h           Added a declaration of the character properties
-                        look-up table for use in ftp-ls.c.
-
-      version.h         Adapted from version.c.  Changed the version
-                        string from "1.11" to "1.11a".
-
-      wget.h            Added a definition of an OS-specific file name
-                        suffix, ORIG_SFX ("_orig", for VMS), to be used
-                        instead of a hard-coded ".orig".  (See
-                        convert.c, http.c.)
-                        Added a definition of an OS-specific separator
-                        character, UNIQ_SEP, for the decimal "nnn"
-                        version number appended to a file name to make
-                        it unique.  (See utils.c.)
-                        Fixed a defective typedef (affecting small-file
-                        builds).
+      MMS CLEAN_ALL                         ! Delete all product files
+                                            ! for all architectures.
 
-------------------------------------------------------------------------
+      MMS /MACRO = (DASHD=1, LARGE=1)       ! Large-file, no-SSL build.
 
-      Home source URL
-      ---------------
+      MMS /MACRO = (DASHD=1, LARGE=1, HPSSL=1)  ! Add HTTPS support using
+                                                ! HP SSL.
 
-http://www.gnu.org/directory/wget.html
-http://ftp.gnu.org/gnu/wget/
-ftp://ftp.gnu.org/gnu/wget/
+      MMS /MACRO = (DASHD=1, LARGE=1, OSSL=1)   ! Add HTTPS support using
+                                                ! OpenSSL.
 
-------------------------------------------------------------------------
+      DFLT = F$ENVIRONMENT( "DEFAULT")          ! Basic MMK build, with
+      MMK /MACRO = (MMSDESCRIPTION_FILE='DFLT') ! explicit definition of
+      DELETE /SYMBOL DFLT                       ! MMSDESCRIPTION_FILE.
+                                                ! ("dev:[dir]" is enough.)
 
-      Instructions
-      ------------
+      MMS HELP                              ! Create a help library.
+                                            ! (Optional.  See below.)
+                                            
 
-   Extract the files from the distribution kit.  The kit includes
-objects and executables for Alpha, IA64, and VAX, in the corresponding
-host-specific subdirectories.  These builds were done with options
-(explained below) "DASHD", "LARGE" (except VAX), and "NOSSL".
-
-   The command procedure VMS-WGET.COM attempts to determine the CPU
-type, the IP package, and SSL availability.  It defines the appropriate
-macros for MMK or MMS, and then builds the appropriate executable from
-the source:
-
-      SET DEFAULT [.WGET-1_10_2C_VMS.VMS]   ! For convenience.
-      @ VMS-WGET CLEAN  ! Deletes all object, list, map, and executable
-                        ! files for the current CPU type.
-      @ VMS-WGET        ! Copies CONFIG.H_VMS to CONFIG.H, compiles the
-                        ! source files, and links the executable,
-                        ! WGET.EXE.
-                        ! Add "DASHD" to this command line to enable the
-                        ! Wget "-d" command-line option.
-                        ! Add "DBG" to this command line to build a
-                        ! debug executable.
-                        ! Add "LARGE" to enable large-file support on
-                        ! non-VAX systems.
-                        ! Add "LIST" if compiler listing and link map
-                        ! files are desired.
-                        ! Add "MMS" to use MMS instead of MMK when both
-                        ! are available.
-                        ! Add "NOSSL" to inhibit use of any SSL package.
-                        ! Add "HPSSL" to use the HP SSL package when
-                        ! OpenSSL (the default choice) is also available.
-      @ VMS-WGET HELP   ! Creates a help library.  (Optional.  See
-                        ! below.)
 
    Set the symbol for the foreign command:
 
       WGET :== $ actual_device:[actual.directory]WGET.EXE
 
-   A very basic VMS HELP file is supplied in [.DOC]WGET.HLP.  To be
+   A very basic VMS HELP file is supplied in [.VMS]WGET.HLP.  To be
 used, it must be added to a HELP library, either an existing library or
-one just for Wget.  As mentioned above, a new Wget help library may be
-created using the command, "@ VMS-WGET HELP".
+one just for Wget.  As shown in the example above, a new Wget help
+library may be created using the MMS/MMK target "HELP".
 
    When a new HELP library is created, a logical name "HLP$LIBRARY_n"
 may be defined to allow the HELP utility to find it.  See "HELP HELP
@@ -613,7 +130,7 @@ may be defined to allow the HELP utility to find it.  See "HELP HELP
    Try to read the original documentation to learn how to use Wget.  The
 principal differences in this VMS adaptation are:
 
-   "-b" ("background") has no effect.  (It uses "fork()".)
+   The "-b" ("background") option is ignored.  ("-b" uses "fork()".)
 
    Excess dots are replaced by underscores in URL-derived file
 specifications on ODS2 file systems.  For example, on a UNIX system, the
@@ -622,19 +139,3 @@ URL "ftp://ftp.anywhere.org/x.y.z/a.b.c" could produce the local file
 ODS2 file would be "[.FTP_ANYWHERE_ORG.X_Y_Z]A_B.C".  On an ODS5 file
 system, the file would be [.ftp^.anywhere^.org.x^.y^.z]a^.b.c".
 
-------------------------------------------------------------------------
-
-   The accompanying source kit may suffer from storage on an ODS2 file
-system, which does not preserve case or allow multiple dots in a file
-name.  Building this kit should work on VMS, but it may be expected to
-fail on other systems.  To use this kit on a non-VMS system, the files
-may need to be renamed to restore their original mixed-case and/or
-multi-dot names.  The UNIX shell script "vms_name_fix.sh" (or something
-like it) should do the job.
-
-------------------------------------------------------------------------
-
-   Steven M. Schweda               (+1) 651-699-9818  (voice)
-   382 South Warwick Street        sms@antinode.org
-   Saint Paul  MN  55105-2547
-
index 414316ccfec17041032350e42b261a50c7ca0460..a0629a8b656dbad33e3582d007c4a8537c74a0bd 100644 (file)
@@ -1,11 +1,13 @@
 1 WGET
- GNU Wget 1.11a, a non-interactive network retriever.
+ GNU Wget 1.12, a non-interactive network retriever.
  Usage:
         WGET :== $ device:[directory]WGET.EXE  ! Define foreign command.
         WGET [OPTION [...]] [URL [...]]
 
  Mandatory arguments for long options are also mandatory for short options.
 
+ Mail bug reports and suggestions to <bug-wget@gnu.org>.
+
 2 Startup
   -V,  --version           display the version of Wget and exit.
   -h,  --help              print this help.
                                  family, one of IPv6, IPv4, or none.
        --user=USER               set both FTP and HTTP user to USER.
        --password=PASS           set both FTP and HTTP password to PASS.
+       --ask-password            prompt for passwords.
+       --no-iri                  turn off IRI support.
+       --local-encoding=ENC      use ENC as the local encoding for IRIs.
+       --remote-encoding=ENC     use ENC as the default remote encoding.
 
 2 Directories
   -nd  --no-directories           don't create directories.
        --http-user=USER        set HTTP user to USER.
        --http-passwd=PASS      set HTTP password to PASS.
        --no-cache              disallow server-cached data.
-  -E,  --html-extension        save HTML documents with ".html" extension.
+       --default-page=NAME     Change the default page name.  (Normally
+                               this is `index.html'.)
+  -E,  --html-extension        save HTML/CSS docs with proper extensions.
        --ignore-length         ignore "Content-Length" header field.
        --header=STRING         insert STRING among the headers.
+       --max-redirect          maximum redirections allowed per page.
        --proxy-user=USER       set USER as proxy username.
        --proxy-passwd=PASS     set PASS as proxy password.
        --referer=URL           include "Referer: URL" header in HTTP
        --post-file=FILE        use the POST method; send contents of FILE.
        --content-disposition   honor the Content-Disposition header when
                                choosing local file names (EXPERIMENTAL).
+       --auth-no-challenge     send Basic HTTP authentication information
+                               without first waiting for the server's
+                               challenge.
 
 2 HTTPS (SSL/TLS) options:
        --secure-protocol=PR     choose secure protocol, PR, one of: auto,
   -r,  --recursive          recursive download.
   -l,  --level=NUMBER       maximum recursion depth (inf or 0 for infinite).
        --delete-after       delete files locally after downloading them.
-  -k,  --convert-links      make links in downloaded HTML point to local
-                            files.
+  -k,  --convert-links      make links in downloaded HTML or CSS point to
+                            local files.
   -K,  --backup-converted   before converting file X, back up as X_orig.
   -m,  --mirror             shortcut for -r -N -l inf --no-remove-listing.
   -p,  --page-requisites    get all images, etc. needed by HTML page.
        --strict-comments    turn on strict (SGML) handling of HTML comments.
 
 2 Recursive_accept-reject
-  -A,  --accept=LIST               comma-separated list of accepted
-                                   extensions.
-  -R,  --reject=LIST               comma-separated list of rejected
-                                   extensions.
+  -A,  --accept=LIST               comma-sep'd list of accepted extensions.
+  -R,  --reject=LIST               comma-sep'd list of rejected extensions.
   -D,  --domains=LIST              comma-separated list of accepted domains.
        --exclude-domains=LIST      comma-separated list of rejected domains.
        --follow-ftp                follow FTP links from HTML documents.
-       --follow-tags=LIST          comma-separated list of followed HTML
-                                   tags.
-  -G,  --ignore-tags=LIST          comma-separated list of ignored HTML
-                                   tags.
+       --follow-tags=LIST          comma-sep'd list of followed HTML tags.
+  -G,  --ignore-tags=LIST          comma-sep'd list of ignored HTML tags.
   -H,  --span-hosts                go to foreign hosts when recursive.
   -L,  --relative                  follow relative links only.
   -I,  --include-directories=LIST  list of allowed directories.
  In Wget versions before 1.10.1, an FTP destination file was always
  created with Stream_LF format.
 
- A new command-line option, --ftp-stmlf, forces all FTP destination
files to Stream_LF format, as in Wget versions before 1.10.1.
+ A command-line option, --ftp-stmlf, forces all FTP destination files to
+ Stream_LF format, as in Wget versions before 1.10.1.
 
  Add ";type=a" to the end of an FTP URL to specify an ASCII transfer.
 
  that the "FILE" be in Stream_LF format.  (In this case, HTTP 1.0
  requires the length of the request to be known, and the method used to
  determine the size of the file will fail for Variable-length format
- files.)
+ files.) 
diff --git a/vms/WGET.OPT b/vms/WGET.OPT
deleted file mode 100644 (file)
index 859f5cd..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-odir:CMPT.OBJ
-odir:CONNECT.OBJ
-odir:CONVERT.OBJ
-odir:COOKIES.OBJ
-odir:FTP-BASIC.OBJ
-odir:FTP-LS.OBJ
-odir:FTP-OPIE.OBJ
-odir:FTP.OBJ
-odir:GEN-MD5.OBJ
-odir:GETOPT.OBJ
-odir:GNU-MD5.OBJ
-odir:HASH.OBJ
-odir:HOST.OBJ
-odir:HTML-PARSE.OBJ
-odir:HTML-URL.OBJ
-odir:HTTP.OBJ
-odir:INIT.OBJ
-odir:LOG.OBJ
-odir:MAIN.OBJ
-odir:NETRC.OBJ
-odir:PTIMER.OBJ
-odir:PROGRESS.OBJ
-odir:RECUR.OBJ
-odir:RES.OBJ
-odir:RETR.OBJ
-odir:SAFE-CTYPE.OBJ
-odir:SNPRINTF.OBJ
-odir:SPIDER.OBJ
-odir:URL.OBJ
-odir:UTILS.OBJ
-odir:VMS.OBJ
-odir:XMALLOC.OBJ
diff --git a/vms/WGET_SSL.OPT b/vms/WGET_SSL.OPT
deleted file mode 100644 (file)
index 7ceebf4..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-odir:HTTP-NTLM.OBJ
-odir:OPENSSL.OBJ
-SSLLIB:LIBSSL.OLB /LIBRARY
-SSLLIB:LIBCRYPTO.OLB /LIBRARY
index 591573fd373ba38b24fb2aa751cf0f4aa21f3e7e..ea5c58e6b667cb470edfa4edf5df6a32b6c65aed 100644 (file)
@@ -1,4 +1,2 @@
-odir:HTTP-NTLM.OBJ
-odir:OPENSSL.OBJ
 SYS$SHARE:SSL$LIBSSL_SHR32 /SHARE
 SYS$SHARE:SSL$LIBCRYPTO_SHR32 /SHARE
diff --git a/vms/WGET_SSL_O.OPT b/vms/WGET_SSL_O.OPT
new file mode 100644 (file)
index 0000000..2e1578e
--- /dev/null
@@ -0,0 +1,2 @@
+SSLLIB:LIBSSL.OLB /LIBRARY
+SSLLIB:LIBCRYPTO.OLB /LIBRARY
diff --git a/vms/alloca.h b/vms/alloca.h
new file mode 100644 (file)
index 0000000..c5f3276
--- /dev/null
@@ -0,0 +1 @@
+/* Dummy "alloca.h". */
index ae7be462f2bb7cd710c28622eeb1e782c6b27af3..b78e4e3aed277b42a0603900f3558f7c199b9f7e 100644 (file)
@@ -1,5 +1,26 @@
-/* vms/config.h_vms.  VMS-specific config.h for Wget 1.11. */
-/* Hand-edited from Tru64: src/config.h.  Generated by configure. */
+/* vms/config.h_vms.   VMS-specific config.h for Wget 1.12. */
+/* Hand-edited from Solaris: */
+/* src/config.h.  Generated from config.h.in by configure.  */
+/* src/config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define if the compiler is building for multiple architectures of Apple
+   platforms at once. */
+/* #undef AA_APPLE_UNIVERSAL_BUILD */
+
+/* Define to the number of bits in type 'ptrdiff_t'. */
+#define BITSIZEOF_PTRDIFF_T 32
+
+/* Define to the number of bits in type 'sig_atomic_t'. */
+#define BITSIZEOF_SIG_ATOMIC_T 32
+
+/* Define to the number of bits in type 'size_t'. */
+#define BITSIZEOF_SIZE_T 32
+
+/* Define to the number of bits in type 'wchar_t'. */
+#define BITSIZEOF_WCHAR_T 32
+
+/* Define to the number of bits in type 'wint_t'. */
+#define BITSIZEOF_WINT_T 32
 
 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
    systems. This function is required for `alloca.c' support on those systems.
@@ -10,7 +31,8 @@
 /* #undef C_ALLOCA */
 
 /* Define if you want the debug output support compiled in. */
-#define ENABLE_DEBUG 1
+/* VMS builder defines this (or not). */
+/* #define ENABLE_DEBUG 1 */
 
 /* Define if you want the HTTP Digest Authorization compiled in. */
 #define ENABLE_DIGEST 1
 # define ENABLE_IPV6 1
 #endif /* !defined( __VAX) */
 
+/* Define if IRI support is enabled. */
+/* #undef ENABLE_IRI */
+
+/* Define to 1 if translation of program messages to the user's native
+   language is requested. */
+/* #undef ENABLE_NLS */
+
 /* Define if you want the NTLM authorization support compiled in. */
-/* #define ENABLE_NTLM 1 */
+/* #undef ENABLE_NTLM */
 
 /* Define if you want the Opie support for FTP compiled in. */
 #define ENABLE_OPIE 1
 
-/* Define to 1 if you have `alloca', as a function or macro. */
-/* #define HAVE_ALLOCA 1 */
+/* Define to 1 when using the gnulib module getopt-gnu. */
+#define GNULIB_GETOPT_GNU 1
+
+/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
+   may be supplied by this distribution. */
+#define HAVE_ALLOCA 1
 
 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
    */
 /* #define HAVE_ALLOCA_H 1 */
 
 /* VMS alloca.  (_LARGEFILE must be defined before this.) */
-#    include <builtins.h>
-#    define alloca __ALLOCA
+#include <builtins.h>
+#define alloca __ALLOCA
+
+/* Define to 1 if you have the <bp-sym.h> header file. */
+/* #undef HAVE_BP_SYM_H */
 
-/* Define to use built-in MD5. */
+/* Define when using built-in MD5. */
+/* #undef HAVE_BUILTIN_MD5 */
 #define HAVE_BUILTIN_MD5 1
 
 /* Define to 1 if you have the `clock_gettime' function. */
 # define HAVE_CLOCK_GETTIME 1
 #endif /* __CRTL_VER >= 70320000 */
 
+/* Define if the GNU dcgettext() function is already present or preinstalled.
+   */
+/* #undef HAVE_DCGETTEXT */
+
+/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FFLUSH_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `flockfile', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_FLOCKFILE 1 */
+#define HAVE_DECL_FLOCKFILE 0
+
+/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FPUTS_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `funlockfile', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_FUNLOCKFILE 1 */
+#define HAVE_DECL_FUNLOCKFILE 0
+
+/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_GETC_UNLOCKED 1 */
+#define HAVE_DECL_GETC_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
+   don't. */
+#define HAVE_DECL_GETDELIM 0
+
+/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
+   */
+#define HAVE_DECL_GETENV 1
+
+/* Define to 1 if you have the declaration of `getline', and to 0 if you
+   don't. */
+#define HAVE_DECL_GETLINE 0
+
+/* Define to 1 if you have the declaration of `getpass', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_GETPASS 1 */
+#define HAVE_DECL_GETPASS 0
+
+/* Define to 1 if you have the declaration of `h_errno', and to 0 if you
+   don't. */
+#define HAVE_DECL_H_ERRNO 1
+
+/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_PUTC_UNLOCKED 1 */
+#define HAVE_DECL_PUTC_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `strerror', and to 0 if you
+   don't. */
+/* #undef HAVE_DECL_STRERROR */
+#define HAVE_DECL_STRERROR 1
+
+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_STRERROR_R 1 */
+#define HAVE_DECL_STRERROR_R 0
+
+/* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you
+   don't. */
+/* #define HAVE_DECL_STRNCASECMP 1 */
+#if __CRTL_VER >= 70000000
+# define HAVE_STRNCASECMP 1
+#endif /* __CRTL_VER >= 70000000 */
+
+/* Define to 1 if you have the declaration of `__fsetlocking', and to 0 if you
+   don't. */
+/* #define HAVE_DECL___FSETLOCKING 1 */
+#define HAVE_DECL___FSETLOCKING 0
+
 /* Define to 1 if you have the `drand48' function. */
+/* #define HAVE_DRAND48 1 */
 #if __CRTL_VER >= 70000000
 # define HAVE_DRAND48 1
 #endif /* __CRTL_VER >= 70000000 */
 
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if you have the `flockfile' function. */
+/* #define HAVE_FLOCKFILE 1 */
+#define HAVE_FLOCKFILE 0
+
 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
-/* #undef HAVE_FSEEKO */
+/* #define HAVE_FSEEKO 1 */
 #if __CRTL_VER >= 70301000
 # define HAVE_FSEEKO 1
 #endif /* __CRTL_VER >= 70301000 */
 # define HAVE_FTELLO 1
 #endif /* __CRTL_VER >= 70301000 */
 
+/* Define to 1 if you have the `funlockfile' function. */
+/* #define HAVE_FUNLOCKFILE 1 */
+#define HAVE_FUNLOCKFILE 0
+
 /* Define to 1 if you have the `getaddrinfo' function. */
 /* #define HAVE_GETADDRINFO 1 */
 #if __CRTL_VER >= 70300000
 # define HAVE_GETADDRINFO 1
 #endif /* __CRTL_VER >= 70300000 */
 
+/* Define to 1 if you have the `getdelim' function. */
+/* #undef HAVE_GETDELIM */
+
 /* Define to 1 if you have the `gethostbyname' function. */
+/* #undef HAVE_GETHOSTBYNAME */
 #define HAVE_GETHOSTBYNAME 1
 
+/* Define to 1 if you have the <getopt.h> header file. */
+#define HAVE_GETOPT_H 1
+
+/* Define to 1 if you have the `getopt_long_only' function. */
+#define HAVE_GETOPT_LONG_ONLY 1
+
 /* Define to 1 if you have the `getpagesize' function. */
 /* #define HAVE_GETPAGESIZE 1 */
 #if __CRTL_VER >= 70000000
 # define HAVE_GETPAGESIZE 1
 #endif /* __CRTL_VER >= 70000000 */
 
-/* Define to 1 if you have the `gettext' function. */
+/* Define if the GNU gettext() function is already present or preinstalled. */
 /* #undef HAVE_GETTEXT */
 
+/* Define if you have the iconv() function and it works. */
+/* #undef HAVE_ICONV */
+#define HAVE_ICONV 1
+
 /* Define to 1 if you have the `inet_ntoa' function. */
+/* #undef HAVE_INET_NTOA */
 #define HAVE_INET_NTOA 1
 
+/* Define to 1 if the compiler supports one of the keywords 'inline',
+   '__inline__', '__inline' and effectively inlines functions marked as such.
+   */
+#define HAVE_INLINE 1
+
 /* Define to 1 if the system has the type `int64_t'. */
+/* #define HAVE_INT64_T 1 */
 #if !defined( __VAX)
 # define HAVE_INT64_T 1
 #endif /* !defined( __VAX) */
 /* Define to 1 if you have the `isatty' function. */
 #define HAVE_ISATTY 1
 
+/* Define to 1 if you have the `iswcntrl' function. */
+#define HAVE_ISWCNTRL 1
+
+/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
+#define HAVE_LANGINFO_CODESET 1
+
 /* Define to 1 if you have the `dl' library (-ldl). */
-/* #undef HAVE_LIBDL */
+/* #define HAVE_LIBDL 1 */
 
 /* Define if you have the gnutls library. */
 /* #undef HAVE_LIBGNUTLS */
 
-/* Define to 1 if you have the <libintl.h> header file. */
-/* #undef HAVE_LIBINTL_H */
-
 /* Define to 1 if you have the `nsl' library (-lnsl). */
-/* #undef HAVE_LIBNSL */
+/* #define HAVE_LIBNSL 1 */
 
 /* Define to 1 if you have the `rt' library (-lrt). */
 /* #undef HAVE_LIBRT */
 
 /* Define to 1 if you have the `socket' library (-lsocket). */
-/* #undef HAVE_LIBSOCKET */
+/* #define HAVE_LIBSOCKET 1 */
 
 /* Define if you have the ssl library. */
 /* #undef HAVE_LIBSSL */
 
+/* Define to 1 if the system has the type `long long int'. */
+/* #define HAVE_LONG_LONG_INT 1 */
+
+/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
+   config.h and <sys/mman.h>. */
+#define HAVE_MAP_ANONYMOUS 1
+
+/* Define to 1 if you have the `mbrtowc' function. */
+#define HAVE_MBRTOWC 1
+
+/* Define to 1 if you have the `mbsinit' function. */
+#define HAVE_MBSINIT 1
+
+/* Define to 1 if <wchar.h> declares mbstate_t. */
+#define HAVE_MBSTATE_T 1
+
+/* Define to 1 if you have the `mbtowc' function. */
+#define HAVE_MBTOWC 1
+
 /* Define if we're compiling support for MD5. */
 #define HAVE_MD5 1
 
+/* Define to 1 if you have the `memchr' function. */
+#define HAVE_MEMCHR 1
+
 /* Define to 1 if you have the <memory.h> header file. */
 #define HAVE_MEMORY_H 1
 
 /* Define to 1 if you have a working `mmap' system call. */
 #define HAVE_MMAP 1
 
+/* Define to 1 if you have the `mprotect' function. */
+/* #define HAVE_MPROTECT 1 */
+
 /* Define if you have the nanosleep function. */
 /* #define HAVE_NANOSLEEP 1 */
 #if __CRTL_VER >= 70320000
 # define HAVE_NANOSLEEP 1
 #endif /* __CRTL_VER >= 70320000 */
 
-/* Define this if you want the NLS support. */
-/* #undef HAVE_NLS */
-
 /* Define when using OpenSSL MD5. */
 /* #undef HAVE_OPENSSL_MD5 */
 
+/* Define to 1 if you have the <OS.h> header file. */
+/* #undef HAVE_OS_H */
+
 /* Define to 1 if you have the <pwd.h> header file. */
 #define HAVE_PWD_H 1
 
+/* Define to 1 if you have the <random.h> header file. */
+/* #undef HAVE_RANDOM_H */
+
+/* Define if the 'realloc' function is POSIX compliant. */
+#define HAVE_REALLOC_POSIX 1
+
 /* Define to 1 if you have the `sigblock' function. */
+/* #undef HAVE_SIGBLOCK */
 #define HAVE_SIGBLOCK 1
 
+/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
+#define HAVE_SIGNED_SIG_ATOMIC_T 1
+
+/* Define to 1 if 'wchar_t' is a signed integer type. */
+#define HAVE_SIGNED_WCHAR_T 1
+
+/* Define to 1 if 'wint_t' is a signed integer type. */
+#define HAVE_SIGNED_WINT_T 1
+
 /* Define to 1 if you have the `sigsetjmp' function. */
 #define HAVE_SIGSETJMP 1
 
 /* #define HAVE_SOCKADDR_IN6_SCOPE_ID 1 */
 
 /* Define when using Solaris MD5. */
-/* #undef HAVE_SOLARIS_MD5 */
+/* #define HAVE_SOLARIS_MD5 1 */
 
 /* Define to 1 if stdbool.h conforms to C99. */
 /* #undef HAVE_STDBOOL_H */
 # define HAVE_STDBOOL_H 1
 #endif /* defined(__DECC) && __DECC_VER >= 60400000 */
 
+/* Define to 1 if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
 /* Define to 1 if you have the <stdint.h> header file. */
 /* #define HAVE_STDINT_H 1 */
 
+/* Define to 1 if you have the <stdio_ext.h> header file. */
+/* #define HAVE_STDIO_EXT_H 1 */
+
+/* Define to 1 if you have the <stdio.h> header file. */
+#define HAVE_STDIO_H 1
+
 /* Define to 1 if you have the <stdlib.h> header file. */
 #define HAVE_STDLIB_H 1
 
 # define HAVE_STRCASECMP 1
 #endif /* __CRTL_VER >= 70000000 */
 
+/* Define to 1 if you have the `strcasestr' function. */
+/* #undef HAVE_STRCASESTR */
+
 /* Define to 1 if you have the `strdup' function. */
 /* #define HAVE_STRDUP 1 */
 #if __CRTL_VER >= 70000000
 # define HAVE_STRDUP 1
 #endif /* __CRTL_VER >= 70000000 */
 
+/* Define to 1 if you have the `strerror_r' function. */
+/* #define HAVE_STRERROR_R 1 */
+
 /* Define to 1 if you have the <strings.h> header file. */
 /* #define HAVE_STRINGS_H 1 */
 #if __CRTL_VER >= 70000000
 
 /* Define to 1 if you have the `strncasecmp' function. */
 /* #define HAVE_STRNCASECMP 1 */
-/* #define HAVE_STRNCASECMP 1 */
 #if __CRTL_VER >= 70000000
 # define HAVE_STRNCASECMP 1
 #endif /* __CRTL_VER >= 70000000 */
 #define HAVE_STRPTIME 1
 
 /* Define to 1 if you have the `strtoll' function. */
-/* #undef HAVE_STRTOLL */
+/* #define HAVE_STRTOLL 1 */
 #if !defined(_ANSI_C_SOURCE) && !defined(__VAX)
 # define HAVE_STRTOLL 1
 #endif /* !defined(_ANSI_C_SOURCE) && !defined(__VAX) */
 
+/* Define to 1 if the system has the type `struct random_data'. */
+/* #undef HAVE_STRUCT_RANDOM_DATA */
+
 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
 /* #define HAVE_STRUCT_SOCKADDR_IN6 1 */
 
 /* Define to 1 if you have the `symlink' function. */
 /* #define HAVE_SYMLINK 1 */
 
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
+/* #undef HAVE_SYS_BITYPES_H */
+
+/* Define to 1 if you have the <sys/inttypes.h> header file. */
+#define HAVE_SYS_INTTYPES_H 1
+
 /* Define to 1 if you have the <sys/ioctl.h> header file. */
 #define HAVE_SYS_IOCTL_H 1
 
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+/* #undef HAVE_SYS_PARAM_H */
+
 /* Define to 1 if you have the <sys/select.h> header file. */
 /* #define HAVE_SYS_SELECT_H 1 */
 
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #define HAVE_SYS_STAT_H 1
 
 #define HAVE_SYS_TYPES_H 1
 
 /* Define to 1 if you have the <sys/utime.h> header file. */
-/* #undef HAVE_SYS_UTIME_H */
+/* #define HAVE_SYS_UTIME_H 1 */
+
+/* Define to 1 if you have the `tcgetattr' function. */
+/* #define HAVE_TCGETATTR 1 */
+
+/* Define to 1 if you have the `tcsetattr' function. */
+/* #define HAVE_TCSETATTR 1 */
 
 /* Define to 1 if you have the <termios.h> header file. */
 /* #define HAVE_TERMIOS_H 1 */
 /* #undef HAVE_TIMEGM */
 
 /* Define to 1 if the system has the type `uint32_t'. */
-#define HAVE_UINT32_T 1
+/* #define HAVE_UINT32_T 1 */
 
 /* Define to 1 if the system has the type `uintptr_t'. */
 #define HAVE_UINTPTR_T 1
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
 
+/* Define to 1 if the system has the type `unsigned long long int'. */
+/* #define HAVE_UNSIGNED_LONG_LONG_INT 1 */
+
 /* Define to 1 if you have the `usleep' function. */
 #define HAVE_USLEEP 1
 
 /* #undef HAVE_VASPRINTF */
 
 /* Define to 1 if you have the `vsnprintf' function. */
+/* #define HAVE_VSNPRINTF 1 */
 #if (!defined( __VAX)) && (__CRTL_VER >= 70312000)
 # define HAVE_VSNPRINTF 1
 #endif /* (!defined( __VAX)) && (__CRTL_VER >= 70312000) */
 
+/* Define to 1 if you have the <wchar.h> header file. */
+#define HAVE_WCHAR_H 1
+
+/* Define if you have the 'wchar_t' type. */
+#define HAVE_WCHAR_T 1
+
+/* Define to 1 if you have the <wctype.h> header file. */
+#define HAVE_WCTYPE_H 1
+
+/* Define to 1 if you have the `wcwidth' function. */
+#define HAVE_WCWIDTH 1
+
+/* Define to 1 if you have the <winsock2.h> header file. */
+/* #undef HAVE_WINSOCK2_H */
+
+/* Define if you have the 'wint_t' type. */
+#define HAVE_WINT_T 1
+
 /* Define if fnmatch.h can be included. */
 /* #define HAVE_WORKING_FNMATCH_H 1 */
 
 /* Define to 1 if the system has the type `_Bool'. */
-#if defined(__DECC) && __DECC_VER >= 60400000
-# define HAVE__BOOL 1
-#endif /* defined(__DECC) && __DECC_VER >= 60400000 */
+#define HAVE__BOOL 1
+
+/* Define to 1 if you have the `__fsetlocking' function. */
+/* #define HAVE___FSETLOCKING 1 */
+
+/* Define as const if the declaration of iconv() needs const. */
+/* #define ICONV_CONST const */
+
+/* Define to 1 if lseek does not detect pipes. */
+/* #undef LSEEK_PIPE_BROKEN */
+
+/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
+/* #undef MAP_ANONYMOUS */
+
+/* Define if the mbrtowc function has the NULL string argument bug. */
+/* #undef MBRTOWC_NULL_ARG_BUG */
+
+/* Define if the mbrtowc function does not return 0 for a NUL character. */
+/* #undef MBRTOWC_NUL_RETVAL_BUG */
+
+/* Define if the mbrtowc function returns a wrong return value. */
+#define MBRTOWC_RETVAL_BUG 1
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
 
 /* Define to be the name of the operating system. */
-#ifndef OS_TYPE
-# define OS_TYPE "VMS"
-#endif /* OS_TYPE */
+/* #define OS_TYPE "solaris2.10" */
+
+/* Name of package */
+/* #define PACKAGE "wget" */
 
 /* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT ""
+/* #define PACKAGE_BUGREPORT "bug-wget@gnu.org" */
 
 /* Define to the full name of this package. */
-#define PACKAGE_NAME ""
+/* #define PACKAGE_NAME "wget" */
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING ""
+/* #define PACKAGE_STRING "wget 1.12-devel" */
 
 /* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME ""
+/* #define PACKAGE_TARNAME "wget" */
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION ""
+/* #define PACKAGE_VERSION "1.12-devel" */
+
+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
+   'ptrdiff_t'. */
+#define PTRDIFF_T_SUFFIX 
+
+/* Define this to 1 if strerror is broken. */
+/* #undef REPLACE_STRERROR */
+
+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
+   'sig_atomic_t'. */
+#define SIG_ATOMIC_T_SUFFIX 
 
 /* The size of `int', as computed by sizeof. */
 #define SIZEOF_INT 4
 /* The size of `void *', as computed by sizeof. */
 #define SIZEOF_VOID_P 4
 
+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
+   'size_t'. */
+#define SIZE_T_SUFFIX u
+
 /* If using the C implementation of alloca, define if you know the
    direction of stack growth for your system; otherwise it will be
    automatically deduced at runtime.
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
 
-/* Define to 1 if your processor stores words with the most significant byte
-   first (like Motorola and SPARC, unlike Intel and VAX). */
-/* #undef WORDS_BIGENDIAN */
+/* Define to 1 if strerror_r returns char *. */
+/* #undef STRERROR_R_CHAR_P */
 
-/* Define to 1 if on AIX 3.
-   System headers sometimes define this.
-   We just want to avoid a redefinition error message.  */
-#ifndef _ALL_SOURCE
-/* # undef _ALL_SOURCE */
+/* Version number of package */
+/* #define VERSION "1.12-devel" */
+
+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
+   'wchar_t'. */
+#define WCHAR_T_SUFFIX l
+
+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
+   'wint_t'. */
+#define WINT_T_SUFFIX l
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
+#if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+#elif ! defined __LITTLE_ENDIAN__
+/* # undef WORDS_BIGENDIAN */
 #endif
 
+/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
+   `char[]'. */
+#define YYTEXT_POINTER 1
+
 /* Number of bits in a file offset, on hosts where this is settable. */
-/* #undef _FILE_OFFSET_BITS */
+/* #define _FILE_OFFSET_BITS 64 */
 
 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
 /* #undef _LARGEFILE_SOURCE */
 /* Define for large files, on AIX-style hosts. */
 /* #undef _LARGE_FILES */
 
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+   this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
+
+/* Define to 500 only on HP-UX. */
+/* #undef _XOPEN_SOURCE */
+
+/* Enable extensions on AIX 3, Interix.  */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris.  */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop.  */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris.  */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
+
+/* Define to rpl_ if the getopt replacement functions and variables should be
+   used. */
+#define __GETOPT_PREFIX rpl_
+
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
 
+/* Define to a replacement function name for getpass(). */
+/* #define getpass gnu_getpass */
+#define getpass vms_getpass
+
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */
 #ifndef __cplusplus
 /* #undef inline */
+# define inline __inline
 #endif
 
+/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
+   the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
+   earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
+   __APPLE__ && __MACH__ test for MacOS X.
+   __APPLE_CC__ tests for the Apple compiler and its version.
+   __STDC_VERSION__ tests for the C99 mode.  */
+#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
+# define __GNUC_STDC_INLINE__ 1
+#endif
+
+/* Define to a type if <wchar.h> does not define. */
+/* #undef mbstate_t */
+
 /* Define to `int' if <sys/types.h> does not define. */
 /* #undef pid_t */
 
+/* Define to the equivalent of the C99 'restrict' keyword, or to
+   nothing if this is not supported.  Do not define if restrict is
+   supported directly.  */
+#define restrict __restrict__
+/* Work around a bug in Sun C++: it does not support _Restrict, even
+   though the corresponding Sun C compiler does, which causes
+   "#define restrict _Restrict" in the previous line.  Perhaps some future
+   version of Sun C++ will work with _Restrict; if so, it'll probably
+   define __RESTRICT, just as Sun C does.  */
+#if defined __SUNPRO_CC && !defined __RESTRICT
+# define _Restrict
+#endif
+
 /* Define to `unsigned int' if <sys/types.h> does not define. */
 /* #undef size_t */
 
 /* Define to int or size_t on systems without socklen_t. */
+/* #undef socklen_t */
 #define socklen_t size_t
 
+/* Define as a marker that can be attached to function parameter declarations
+   for parameters that are not used.  This helps to reduce warnings, such as
+   from GCC -Wunused-parameter.  */
+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+# define _UNUSED_PARAMETER_ __attribute__ ((__unused__))
+#else
+# define _UNUSED_PARAMETER_
+#endif
+
+
 /* Define to empty if the keyword `volatile' does not work. Warning: valid
    code using `volatile' can become incorrect without. Disable with care. */
 /* #undef volatile */
-
-
-#include "config-post.h"
-
diff --git a/vms/decc_ver.c b/vms/decc_ver.c
deleted file mode 100644 (file)
index 8d9e514..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <stdio.h>
-
-int main( void)
-{
-#ifdef __VMS_VERSION
-printf( " __VMS_VERSION: >%s<.\n", __VMS_VERSION);
-#else /* def __VMS_VERSION */
-printf( " __VMS_VERSION: (undefined)<.\n");
-#endif /* def __VMS_VERSION [else] */
-
-#ifdef __VMS_VER
-printf( " __VMS_VER  = %d.\n", __VMS_VER);
-#else /* def __VMS_VER */
-printf( " __VMS_VER  = (undefined).\n");
-#endif /* def __VMS_VER [else] */
-
-#ifdef __DECC_VER
-printf( " __DECC_VER = %d.\n", __DECC_VER);
-#else /* def __DECC_VER */
-printf( " __DECC_VER = (undefined).\n");
-#endif /* def __DECC_VER */
-
-#ifdef __CRTL_VER
-printf( " __CRTL_VER = %d.\n", __CRTL_VER);
-#else /* def __CRTL_VER */
-printf( " __CRTL_VER = (undefined).\n");
-#endif /* def __CRTL_VER */
-
-return 0;
-}
diff --git a/vms/stdint.h b/vms/stdint.h
new file mode 100644 (file)
index 0000000..b7aa87f
--- /dev/null
@@ -0,0 +1,3 @@
+/* Dummy "stdint.h". */
+
+#include <inttypes.h>
index 05f995bbd8baeee81ffdedd5975c03936a83609e..d65aeda28f8c913d6c22fae0332ab1bc4703dc5d 100644 (file)
--- a/vms/vms.h
+++ b/vms/vms.h
@@ -16,6 +16,7 @@
  *     ods_conform()
  *     set_ods5_dest()
  *     vms_arch()
+ *     vms_basename()
  *     vms_vers()
  *
  *  Global storage:
@@ -78,6 +79,8 @@ int set_ods5_dest( char *path);
 
 char *vms_arch( void);
 
+char *vms_basename( char *file_spec);
+
 char *vms_vers( void);
 
 /* Emergency replacement for <pwd.h> (for VMS CRTL before V7.0). */
diff --git a/vms/vms_name_fix.sh b/vms/vms_name_fix.sh
deleted file mode 100644 (file)
index 5cb2289..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#                                               13 October 2005.  SMS.
-#
-# Wget 1.10.2
-#
-#    Restore original file names after storage on an ODS2 file system.
-#
-mv authors AUTHORS
-mv changelog ChangeLog
-mv changelog.readme ChangeLog.README
-mv configure.bat_in configure.bat.in
-mv copying COPYING
-mv doc/changelog doc/ChangeLog
-mv doc/makefile.in doc/Makefile.in
-mv doc/sample.wgetrc_munged_for_texi_inclusion \
-   doc/sample.wgetrc.munged_for_texi_inclusion
-mv doc/texi2pod.pl_in doc/texi2pod.pl.in
-mv install INSTALL
-mv mailing-list MAILING-LIST
-mv makefile.in Makefile.in
-mv news NEWS
-mv patches PATCHES
-mv po/makefile.in_in po/Makefile.in.in
-mv po/potfiles.in po/POTFILES.in
-mv po/en_gb.po po/en_GB.po
-mv po/pt_br.po po/pt_BR.po
-mv po/zh_cn.po po/zh_CN.po
-mv po/zh_tw.po po/zh_TW.po
-mv readme README
-mv readme.checkout README.checkout
-mv src/changelog src/ChangeLog
-mv src/config.h_in src/config.h.in
-mv src/makefile.in src/Makefile.in
-mv todo TODO
-mv util/makefile.in util/Makefile.in
-mv util/readme util/README
-mv windows/changelog windows/ChangeLog
-mv windows/config.h_bor windows/config.h.bor
-mv windows/config.h_mingw windows/config.h.mingw
-mv windows/config.h_ms windows/config.h.ms
-mv windows/makefile.doc windows/Makefile.doc
-mv windows/makefile.in windows/Makefile.in
-mv windows/makefile.src windows/Makefile.src
-mv windows/makefile.src_bor windows/Makefile.src.bor
-mv windows/makefile.src_mingw windows/Makefile.src.mingw
-mv windows/makefile.top windows/Makefile.top
-mv windows/makefile.top_bor windows/Makefile.top.bor
-mv windows/makefile.top_mingw windows/Makefile.top.mingw
-mv windows/makefile.watcom windows/Makefile.watcom
-mv windows/readme windows/README
-#