+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