| 1 |
! |
| 2 |
! regina on OpenVMS |
| 3 |
! MMS/MMK-makefile |
| 4 |
! |
| 5 |
!.IGNORE ! ignore errors, continue processing, like "make -k" |
| 6 |
! |
| 7 |
.FIRST |
| 8 |
@ write sys$output f$fao("!/==!AS !%D==", - |
| 9 |
"Processing DESCRIP.MMS (Regina) begins at", 0) |
| 10 |
.LAST |
| 11 |
@ write sys$output f$fao("!/==!AS !%D==", - |
| 12 |
"Processing DESCRIP.MMS (Regina) concludes at", 0) |
| 13 |
! |
| 14 |
.IFDEF DEBUGGING |
| 15 |
CC=CC/DECC/DEBUG |
| 16 |
CFLAGS=/NOOPTIMIZE/STANDARD=RELAXED_ANSI89/WARNINGS=DISABLE=(IMPLICITFUNC,cvtdiftypes) - |
| 17 |
/INCLUDE_DIRECTORY=[]/NAMES=SHORTENED/DEFINE=(VMS,HAVE_DIV,HAVE_ARPA_INET_H)/NOLIST/OBJECT=$(MMS$TARGET_NAME).OBJ |
| 18 |
LINK=LINK/DEBUG |
| 19 |
.ELSE |
| 20 |
CC=CC/DECC/NODEBUG |
| 21 |
CFLAGS=/OPTIMIZE/STANDARD=RELAXED_ANSI89/WARNINGS=DISABLE=(IMPLICITFUNC) - |
| 22 |
/INCLUDE_DIRECTORY=[]/NAMES=SHORTENED/DEFINE=(VMS,HAVE_DIV,HAVE_ARPA_INET_H)/OBJECT=$(MMS$TARGET_NAME).OBJ |
| 23 |
LINK=LINK/NODEBUG |
| 24 |
.ENDIF |
| 25 |
! |
| 26 |
! platform dependant, ... |
| 27 |
! |
| 28 |
.IFDEF ALPHA |
| 29 |
.ENDIF |
| 30 |
! |
| 31 |
.IFDEF VAX |
| 32 |
.ENDIF |
| 33 |
LINKFLAGS=/MAP |
| 34 |
! |
| 35 |
!OBJ1=builtin.obj,cmath.obj,cmsfuncs.obj,convert.obj, |
| 36 |
OBJ1=builtin.obj,client.obj,cmath.obj,cmsfuncs.obj,convert.obj, |
| 37 |
OBJ2=dbgfuncs.obj,debug.obj,doscmd.obj,envir.obj,error.obj,expr.obj, |
| 38 |
!OBJ3=extlib.obj,files.obj,funcs.obj, |
| 39 |
OBJ3=files.obj,funcs.obj, |
| 40 |
OBJ4=mt_notmt.obj,rexxbif.obj,instore.obj,extstack.obj,os2funcs.obj, |
| 41 |
OBJ5=interp.obj,interprt.obj,lexsrc.obj,library.obj,macros.obj,memory.obj, |
| 42 |
OBJ6=misc.obj,options.obj,parsing.obj,rexxext.obj,rexxsaa.obj,shell.obj, |
| 43 |
!OBJ6=misc.obj,options.obj,parsing.obj,rexxext.obj,shell.obj, |
| 44 |
OBJ7=signals.obj,stack.obj,strengs.obj,strmath.obj,tracing.obj,unxfuncs.obj, |
| 45 |
.IFDEF DOESNT_HAVE_UNAME |
| 46 |
OBJ8=uname.obj, |
| 47 |
.ELSE |
| 48 |
OBJ8= |
| 49 |
.ENDIF |
| 50 |
OBJ9=vmsfuncs.obj,vmscmd.obj,variable.obj,wrappers.obj,yaccsrc.obj,alloca.obj,arxfuncs.obj |
| 51 |
|
| 52 |
LIB=LIBRARY |
| 53 |
LIBFLAGS=/CREATE regina.olb |
| 54 |
! |
| 55 |
all : rexx.exe, regina.exe, execiser.exe |
| 56 |
! |
| 57 |
rexx.exe : rexx.obj, - |
| 58 |
$(OBJ1)$(OBJ2)$(OBJ3)$(OBJ4)$(OBJ5)$(OBJ6)$(OBJ7)$(OBJ8)$(OBJ9) |
| 59 |
@ write sys$output "Linking $(MMS$TARGET) " |
| 60 |
$(LINK) $(LINKFLAGS) $(MMS$SOURCE_LIST) |
| 61 |
@ write sys$output "Done (linking)." |
| 62 |
! |
| 63 |
regina.exe : regina.obj,regina.olb |
| 64 |
@ write sys$output "Linking $(MMS$TARGET) " |
| 65 |
$(LINK) $(LINKFLAGS) regina.obj,regina.olb/LIBRARY |
| 66 |
@ write sys$output "Done (linking)." |
| 67 |
! |
| 68 |
execiser.exe : execiser.obj,regina.olb |
| 69 |
@ write sys$output "" |
| 70 |
@ write sys$output "Linking $(MMS$TARGET) " |
| 71 |
$(LINK) $(LINKFLAGS) execiser.obj,regina.olb/LIBRARY |
| 72 |
@ write sys$output "Done (linking)." |
| 73 |
! |
| 74 |
regina.olb : drexx.obj,rexxsaa.obj,client.obj - |
| 75 |
$(OBJ1)$(OBJ2)$(OBJ3)$(OBJ4)$(OBJ5)$(OBJ6)$(OBJ7)$(OBJ8)$(OBJ9) |
| 76 |
@ write sys$output "Createing library $(MMS$TARGET) " |
| 77 |
$(LIB) $(LIBFLAGS) $(MMS$SOURCE_LIST) |
| 78 |
@ write sys$output "Done (library)." |
| 79 |
! |
| 80 |
clean : rexx.exe, regina.exe |
| 81 |
@ delete/nolog rexx.exe;*,regina.exe;* |
| 82 |
@ delete/nolog *.obj;* |
| 83 |
@ write sys$output "Done (cleaning)." |
| 84 |
! |
| 85 |
alloca.obj : alloca.c |
| 86 |
@ write sys$output "" |
| 87 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 88 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 89 |
@ write sys$output "Done (compiling)." |
| 90 |
builtin.obj : builtin.c, rexx.h |
| 91 |
@ write sys$output "" |
| 92 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 93 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 94 |
@ write sys$output "Done (compiling)." |
| 95 |
client.obj : client.c, rexx.h |
| 96 |
@ write sys$output "" |
| 97 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 98 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 99 |
@ write sys$output "Done (compiling)." |
| 100 |
cmath.obj : cmath.c, rexx.h |
| 101 |
@ write sys$output "" |
| 102 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 103 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 104 |
@ write sys$output "Done (compiling)." |
| 105 |
cmsfuncs.obj : cmsfuncs.c, rexx.h |
| 106 |
@ write sys$output "" |
| 107 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 108 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 109 |
@ write sys$output "Done (compiling)." |
| 110 |
convert.obj : convert.c, rexx.h |
| 111 |
@ write sys$output "" |
| 112 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 113 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 114 |
@ write sys$output "Done (compiling)." |
| 115 |
dbgfuncs.obj : dbgfuncs.c, rexx.h |
| 116 |
@ write sys$output "" |
| 117 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 118 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 119 |
@ write sys$output "Done (compiling)." |
| 120 |
debug.obj : debug.c, rexx.h |
| 121 |
@ write sys$output "" |
| 122 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 123 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 124 |
@ write sys$output "Done (compiling)." |
| 125 |
doscmd.obj : doscmd.c, rexx.h |
| 126 |
@ write sys$output "" |
| 127 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 128 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 129 |
@ write sys$output "Done (compiling)." |
| 130 |
envir.obj : envir.c, rexx.h |
| 131 |
@ write sys$output "" |
| 132 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 133 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 134 |
@ write sys$output "Done (compiling)." |
| 135 |
error.obj : error.c, rexx.h |
| 136 |
@ write sys$output "" |
| 137 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 138 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 139 |
@ write sys$output "Done (compiling)." |
| 140 |
execiser.obj : execiser.c, rexx.h |
| 141 |
@ write sys$output "" |
| 142 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 143 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 144 |
@ write sys$output "Done (compiling)." |
| 145 |
expr.obj : expr.c, rexx.h |
| 146 |
@ write sys$output "" |
| 147 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 148 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 149 |
@ write sys$output "Done (compiling)." |
| 150 |
extlib.obj : extlib.c, rexx.h |
| 151 |
@ write sys$output "" |
| 152 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 153 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 154 |
@ write sys$output "Done (compiling)." |
| 155 |
extstack.obj : extstack.c, rexx.h |
| 156 |
@ write sys$output "" |
| 157 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 158 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 159 |
@ write sys$output "Done (compiling)." |
| 160 |
files.obj : files.c, rexx.h |
| 161 |
@ write sys$output "" |
| 162 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 163 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 164 |
@ write sys$output "Done (compiling)." |
| 165 |
funcs.obj : funcs.c, rexx.h |
| 166 |
@ write sys$output "" |
| 167 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 168 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 169 |
@ write sys$output "Done (compiling)." |
| 170 |
instore.obj : instore.c, rexx.h |
| 171 |
@ write sys$output "" |
| 172 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 173 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 174 |
@ write sys$output "Done (compiling)." |
| 175 |
interp.obj : interp.c, rexx.h |
| 176 |
@ write sys$output "" |
| 177 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 178 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 179 |
@ write sys$output "Done (compiling)." |
| 180 |
interprt.obj : interprt.c, rexx.h |
| 181 |
@ write sys$output "" |
| 182 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 183 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 184 |
@ write sys$output "Done (compiling)." |
| 185 |
lexsrc.obj : lexsrc.c, rexx.h |
| 186 |
@ write sys$output "" |
| 187 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 188 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 189 |
@ write sys$output "Done (compiling)." |
| 190 |
library.obj : library.c, rexx.h |
| 191 |
@ write sys$output "" |
| 192 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 193 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 194 |
@ write sys$output "Done (compiling)." |
| 195 |
macros.obj : macros.c, rexx.h |
| 196 |
@ write sys$output "" |
| 197 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 198 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 199 |
@ write sys$output "Done (compiling)." |
| 200 |
memory.obj : memory.c, rexx.h |
| 201 |
@ write sys$output "" |
| 202 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 203 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 204 |
@ write sys$output "Done (compiling)." |
| 205 |
misc.obj : misc.c, rexx.h |
| 206 |
@ write sys$output "" |
| 207 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 208 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 209 |
@ write sys$output "Done (compiling)." |
| 210 |
mt_notmt.obj : mt_notmt.c, rexx.h mt.h |
| 211 |
@ write sys$output "" |
| 212 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 213 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 214 |
@ write sys$output "Done (compiling)." |
| 215 |
options.obj : options.c, rexx.h |
| 216 |
@ write sys$output "" |
| 217 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 218 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 219 |
@ write sys$output "Done (compiling)." |
| 220 |
os2funcs.obj : os2funcs.c, rexx.h |
| 221 |
@ write sys$output "" |
| 222 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 223 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 224 |
@ write sys$output "Done (compiling)." |
| 225 |
parsing.obj : parsing.c, rexx.h, strengs.h |
| 226 |
@ write sys$output "" |
| 227 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 228 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 229 |
@ write sys$output "Done (compiling)." |
| 230 |
r2perl.obj : r2perl.c, rexx.h |
| 231 |
@ write sys$output "" |
| 232 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 233 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 234 |
@ write sys$output "Done (compiling)." |
| 235 |
regina.obj : regina.c, rexx.h |
| 236 |
@ write sys$output "" |
| 237 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 238 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 239 |
@ write sys$output "Done (compiling)." |
| 240 |
rexx.obj : rexx.c, rexx.h |
| 241 |
@ write sys$output "" |
| 242 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 243 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 244 |
@ write sys$output "Done (compiling)." |
| 245 |
drexx.obj : rexx.c, rexx.h |
| 246 |
@ write sys$output "" |
| 247 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 248 |
$(CC) $(CFLAGS) /DEFINE=RXLIB $(MMS$SOURCE) |
| 249 |
@ write sys$output "Done (compiling)." |
| 250 |
rexxbif.obj : rexxbif.c, rexx.h |
| 251 |
@ write sys$output "" |
| 252 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 253 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 254 |
@ write sys$output "Done (compiling)." |
| 255 |
rexxext.obj : rexxext.c, rexx.h |
| 256 |
@ write sys$output "" |
| 257 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 258 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 259 |
@ write sys$output "Done (compiling)." |
| 260 |
rexxsaa.obj : rexxsaa.c, configur.h, defs.h, rexx.h |
| 261 |
@ write sys$output "" |
| 262 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 263 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 264 |
@ write sys$output "Done (compiling)." |
| 265 |
shell.obj : shell.c, rexx.h |
| 266 |
@ write sys$output "" |
| 267 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 268 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 269 |
@ write sys$output "Done (compiling)." |
| 270 |
signals.obj : signals.c, rexx.h |
| 271 |
@ write sys$output "" |
| 272 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 273 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 274 |
@ write sys$output "Done (compiling)." |
| 275 |
stack.obj : stack.c, rexx.h |
| 276 |
@ write sys$output "" |
| 277 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 278 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 279 |
@ write sys$output "Done (compiling)." |
| 280 |
strengs.obj : strengs.c, rexx.h |
| 281 |
@ write sys$output "" |
| 282 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 283 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 284 |
@ write sys$output "Done (compiling)." |
| 285 |
strmath.obj : strmath.c, rexx.h |
| 286 |
@ write sys$output "" |
| 287 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 288 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 289 |
@ write sys$output "Done (compiling)." |
| 290 |
tracing.obj : tracing.c, rexx.h |
| 291 |
@ write sys$output "" |
| 292 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 293 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 294 |
@ write sys$output "Done (compiling)." |
| 295 |
unxfuncs.obj : unxfuncs.c, utsname.h, rexx.h |
| 296 |
@ write sys$output "" |
| 297 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 298 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 299 |
@ write sys$output "Done (compiling)." |
| 300 |
variable.obj : variable.c, rexx.h |
| 301 |
@ write sys$output "" |
| 302 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 303 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 304 |
@ write sys$output "Done (compiling)." |
| 305 |
vmscmd.obj : vmscmd.c, rexx.h |
| 306 |
@ write sys$output "" |
| 307 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 308 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 309 |
@ write sys$output "Done (compiling)." |
| 310 |
vmsfuncs.obj : vmsfuncs.c, rexx.h |
| 311 |
@ write sys$output "" |
| 312 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 313 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 314 |
@ write sys$output "Done (compiling)." |
| 315 |
wrappers.obj : wrappers.c, rexx.h |
| 316 |
@ write sys$output "" |
| 317 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 318 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 319 |
@ write sys$output "Done (compiling)." |
| 320 |
yaccsrc.obj : yaccsrc.c, rexx.h |
| 321 |
@ write sys$output "" |
| 322 |
@ write sys$output "Compiling $(MMS$SOURCE) " |
| 323 |
$(CC) $(CFLAGS) $(MMS$SOURCE) |
| 324 |
@ write sys$output "Done (compiling)." |
| 325 |
! -- end of descrip.mms |