| 1 |
$ !===================================================================== |
| 2 |
$ ! Command file to build bibclean on DEC Alpha OpenVMS 1.5 |
| 3 |
$ ! [07-Oct-1993] |
| 4 |
$ !===================================================================== |
| 5 |
$ CFLAGS :== "/DEBUG=ALL /NOOPTIMIZE /WARNING /STANDARD=PORTABLE" |
| 6 |
$ CFLAGS :== " /OPTIMIZE /WARNING /STANDARD=PORTABLE" |
| 7 |
$ ! We use /noshareable so the .exe file is independent of VMS release |
| 8 |
$ ! numbers |
| 9 |
$ LFLAGS := "/debug /noshareable" |
| 10 |
$ LFLAGS := "/noshareable" |
| 11 |
$ write sys$error "============================================================" |
| 12 |
$ write sys$error "Compiling bibclean.c: Expect 0 messages" |
| 13 |
$ cc 'CFLAGS' bibclean.c |
| 14 |
$ write sys$error "============================================================" |
| 15 |
$ write sys$error "Compiling fndfil.c: Expect 0 messages" |
| 16 |
$ cc 'CFLAGS' fndfil.c |
| 17 |
$ write sys$error "============================================================" |
| 18 |
$ write sys$error "Compiling match.c: Expect 0 messages" |
| 19 |
$ cc 'CFLAGS' match.c |
| 20 |
$ write sys$error "============================================================" |
| 21 |
$ write sys$error "Compiling romtol.c: Expect 0 messages" |
| 22 |
$ cc 'CFLAGS' romtol.c |
| 23 |
$ write sys$error "============================================================" |
| 24 |
$ write sys$error "Compiling vaxvms.c: Expect 0 messages" |
| 25 |
$ cc 'CFLAGS' vaxvms.c |
| 26 |
$ write sys$error "============================================================" |
| 27 |
$ write sys$error "Compiling vmswild.c: Expect 0 messages" |
| 28 |
$ ! NB: It is ESSENTIAL to have /standard=vaxc here, overriding |
| 29 |
$ ! /standard=portable |
| 30 |
$ cc 'CFLAGS' /standard=vaxc vmswild.c |
| 31 |
$ write sys$error "============================================================" |
| 32 |
$ write sys$error "Linking bibclean: Expect 3 %W messages about memchr(), memcmp(), and system()--ignore them" |
| 33 |
$ link /exe=bibclean.exe 'LFLAGS' - |
| 34 |
bibclean.obj, fndfil.obj, match.obj, romtol.obj, - |
| 35 |
vaxvms.obj, vmswild.obj, - |
| 36 |
sys$library:vaxcrtl.olb/lib |