| 1 |
$ !===================================================================== |
| 2 |
$ ! Command file to build bibclean on VAX VMS (6.1) |
| 3 |
$ ! [02-May-1996] |
| 4 |
$ !===================================================================== |
| 5 |
$ ! This should be set system-wide, but is not on some systems; |
| 6 |
$ ! without it, the compiler cannot find header files. |
| 7 |
$ define /log DECC$LIBRARY_INCLUDE SYS$LIBRARY |
| 8 |
$ ! |
| 9 |
$ CFLAGS :== "/DEBUG=ALL /INCLUDE_DIRECTORY=([],sys$library:) /NOOPTIMIZE /WARNING /STANDARD=PORTABLE" |
| 10 |
$ ! We use /noshareable so the .exe file is independent of VMS release |
| 11 |
$ ! numbers |
| 12 |
$ LFLAGS := "/debug /noshareable" |
| 13 |
$ LFLAGS := "/noshareable" |
| 14 |
$ write sys$error "============================================================" |
| 15 |
$ write sys$error "Compiling bibclean.c" |
| 16 |
$ cc 'CFLAGS' bibclean.c |
| 17 |
$ write sys$error "============================================================" |
| 18 |
$ write sys$error "Compiling chek.c" |
| 19 |
$ cc 'CFLAGS' chek.c |
| 20 |
$ write sys$error "============================================================" |
| 21 |
$ write sys$error "Compiling do.c" |
| 22 |
$ cc 'CFLAGS' do.c |
| 23 |
$ write sys$error "============================================================" |
| 24 |
$ write sys$error "Compiling fix.c" |
| 25 |
$ cc 'CFLAGS' fix.c |
| 26 |
$ write sys$error "============================================================" |
| 27 |
$ write sys$error "Compiling fndfil.c" |
| 28 |
$ cc 'CFLAGS' fndfil.c |
| 29 |
$ write sys$error "============================================================" |
| 30 |
$ write sys$error "Compiling isbn.c" |
| 31 |
$ cc 'CFLAGS' isbn.c |
| 32 |
$ write sys$error "============================================================" |
| 33 |
$ write sys$error "Compiling keybrd.c" |
| 34 |
$ cc 'CFLAGS' keybrd.c |
| 35 |
$ write sys$error "============================================================" |
| 36 |
$ write sys$error "Compiling match.c" |
| 37 |
$ cc 'CFLAGS' match.c |
| 38 |
$ write sys$error "============================================================" |
| 39 |
$ write sys$error "Compiling option.c" |
| 40 |
$ cc 'CFLAGS' option.c |
| 41 |
$ write sys$error "============================================================" |
| 42 |
$ write sys$error "Compiling romtol.c" |
| 43 |
$ cc 'CFLAGS' romtol.c |
| 44 |
$ write sys$error "============================================================" |
| 45 |
$ write sys$error "Compiling strist.c" |
| 46 |
$ cc 'CFLAGS' strist.c |
| 47 |
$ write sys$error "============================================================" |
| 48 |
$ write sys$error "Compiling vaxvms.c" |
| 49 |
$ cc 'CFLAGS' vaxvms.c |
| 50 |
$ write sys$error "============================================================" |
| 51 |
$ write sys$error "Compiling vmswild.c: Expect 16 warnings and 4 informational messages" |
| 52 |
$ cc 'CFLAGS' vmswild.c |
| 53 |
$ write sys$error "============================================================" |
| 54 |
$ write sys$error "Linking bibclean: Expect 1 %W message about system()--ignore it" |
| 55 |
$ link /exe=bibclean.exe 'LFLAGS' - |
| 56 |
bibclean.obj, chek.obj, do.obj, fix.obj, fndfil.obj, - |
| 57 |
isbn.obj, keybrd.obj, match.obj, option.obj, romtol.obj, - |
| 58 |
strist.obj, vaxvms.obj, vmswild.obj, - |
| 59 |
sys$library:vaxcrtl.olb/lib |