1 # 29 January 2008. SMS.
3 # MMS or MMK description file for Wget 1.11.
5 # The default target, EXE, builds the architecture-specific Wget
6 # executable (and the DECC_VER.EXE diagnostic executable).
10 # HELP [.VMS]WGET.HLB help library.
12 # CLEAN deletes architecture-specific files, but leaves any
13 # individual source dependency files and the help library.
15 # CLEAN_ALL deletes all generated files, except the main (collected)
16 # source dependency file.
18 # CLEAN_EXE deletes only the architecture-specific executable.
19 # Handy if all you wish to do is re-link the executable.
22 # Include the source file lists (among other data).
25 .INCLUDE [-.VMS]descrip_src.mms
27 # DECC_VER diagnostic program.
28 DECC_VER_OBJ = [.$(DEST)]DECC_VER.OBJ
32 WGET_EXE = [.$(DEST)]WGET.EXE
33 DECC_VER_EXE = [.$(DEST)]DECC_VER.EXE
35 EXE = $(WGET_EXE) $(DECC_VER_EXE)
37 # HELP library and source file.
42 # Link the executables (default target).
46 @ write sys$output " ""$<"" is ready."
49 $(WGET_EXE) : $(OBJS) $(MAIN_OPT) $(IP_OPT)
50 define /user_mode odir [.$(DEST)]
51 $(LINK) $(LINKFLAGS) $(MAIN_OPT) /options $(IP_LINK_OPT) -
54 $(DECC_VER_OBJ) : [-.VMS]DECC_VER.C
56 $(DECC_VER_EXE) : $(DECC_VER_OBJ)
57 $(LINK) $(LINKFLAGS) $(MMS$SOURCE)
59 # Create the HELP library (HELP target).
63 @ write sys$output " ""$<"" is ready."
67 LIBRARY /CREATE /HELP $@ $<
69 # CLEAN target. Delete the [.$(DEST)] directory and everything in it.
72 if (f$search( "[.$(DEST)]*.*") .nes. "") then -
73 delete [.$(DEST)]*.*;*
74 if (f$search( "$(DEST).dir") .nes. "") then -
75 set protection = w:d $(DEST).dir;*
76 if (f$search( "$(DEST).dir") .nes. "") then -
79 # CLEAN_ALL target. Delete:
80 # The [.$(DEST)] directories and everything in them.
81 # All help-related derived files,
83 # All individual C dependency files.
85 # Comprehensive dependency file.
88 if (f$search( "[.ALPHA*]*.*") .nes. "") then -
90 if (f$search( "ALPHA*.dir", 1) .nes. "") then -
91 set protection = w:d ALPHA*.dir;*
92 if (f$search( "ALPHA*.dir", 2) .nes. "") then -
94 if (f$search( "[.IA64*]*.*") .nes. "") then -
96 if (f$search( "IA64*.dir", 1) .nes. "") then -
97 set protection = w:d IA64*.dir;*
98 if (f$search( "IA64*.dir", 2) .nes. "") then -
100 if (f$search( "[.VAX*]*.*") .nes. "") then -
102 if (f$search( "VAX*.dir", 1) .nes. "") then -
103 set protection = w:d VAX*.dir;*
104 if (f$search( "VAX*.dir", 2) .nes. "") then -
106 if (f$search( "$(CONFIG_H)") .nes. "") then -
107 delete /log /noconfirm $(CONFIG_H);*
108 if (f$search( "$(HLB)") .nes. "") then -
109 delete /log /noconfirm $(HLB);*
110 if (f$search( "*.MMSD") .nes. "") then -
112 @ write sys$output ""
113 @ write sys$output "Note: This procedure will not"
114 @ write sys$output " DELETE [.VMS]DESCRIP_DEPS.MMS;*"
116 "You may choose to, but a recent version of MMS (V3.5 or newer?) is"
118 "needed to regenerate it. (It may also be recovered from the original"
120 "distribution kit.) See [.VMS]DESCRIP_MKDEPS.MMS for instructions on"
122 "generating [.VMS]DESCRIP_DEPS.MMS."
123 @ write sys$output ""
125 # CLEAN_EXE target. Delete the executable in [.$(DEST)].
128 if (f$search( "[.$(DEST)]*.exe") .nes. "") then -
129 delete [.$(DEST)]*.exe;*
131 # Include CONFIG.H dependency and rule.
134 .INCLUDE [-.VMS]descrip_config.mms
136 # Include generated source dependencies.
138 INCL_DESCRIP_DEPS = 1
139 .INCLUDE [-.VMS]descrip_deps.mms