| 1 |
$! makeskt.com: this is the command script for VMS machines |
| 2 |
$! |
| 3 |
$! Simple Sockets Library Authors: Dr. Charles E. Campbell, Jr. |
| 4 |
$! Terry McRoberts |
| 5 |
$! |
| 6 |
$! This com script assumes that you have already placed all of the |
| 7 |
$! files in the target directory with subdirectories |
| 8 |
$! EXE.DIR HDR.DIR EXAMPLES.DIR |
| 9 |
$! |
| 10 |
$ define lnk$library sys$library:vaxcrtl |
| 11 |
$ dr:='F$DIRECTORY() |
| 12 |
$ assign 'dr' sockets: |
| 13 |
$ set def [.HDR] |
| 14 |
$ dr:='F$DIRECTORY() |
| 15 |
$ assign 'dr' C$INCLUDE |
| 16 |
$ set def [-] |
| 17 |
$! |
| 18 |
$! *** Library Generation *** |
| 19 |
$! |
| 20 |
$ write sys$output "Begin Simple Sockets Library compilation" |
| 21 |
$ cc Saccept.c |
| 22 |
$ cc Sclose.c |
| 23 |
$ cc Sgets.c |
| 24 |
$ cc Sinit.c |
| 25 |
$ cc Smaskwait.c |
| 26 |
$ cc Smkskt.c |
| 27 |
$ cc Sopen.c |
| 28 |
$ cc Sopenv.c |
| 29 |
$ cc Speek.c |
| 30 |
$ cc Speername.c |
| 31 |
$ cc Sprintf.c |
| 32 |
$ cc Sprtskt.c |
| 33 |
$ cc Sputs.c |
| 34 |
$ cc Sread.c |
| 35 |
$ cc Sreadbytes.c |
| 36 |
$ cc Srmsrvr.c |
| 37 |
$ cc Sscanf.c |
| 38 |
$ cc Stest.c |
| 39 |
$ cc Stimeoutwait.c |
| 40 |
$ cc Svprintf.c |
| 41 |
$ cc Swait.c |
| 42 |
$ cc Swrite.c |
| 43 |
$ cc error.c |
| 44 |
$ cc fopenv.c |
| 45 |
$ cc outofmem.c |
| 46 |
$ cc rdcolor.c |
| 47 |
$ cc sprt.c |
| 48 |
$ cc srmtrblk.c |
| 49 |
$ cc stpblk.c |
| 50 |
$ cc stpnxt.c |
| 51 |
$ cc strnxtfmt.c |
| 52 |
$! |
| 53 |
$ write sys$output "Creating Simple Sockets Library now" |
| 54 |
$ lib/create simpleskts *.obj |
| 55 |
$ delete *.obj;* |
| 56 |
$ set def [.EXE] |
| 57 |
$! |
| 58 |
$! *** Executable Generation *** |
| 59 |
$! |
| 60 |
$ write sys$output "Compiling sktdbg" |
| 61 |
$ cc sktdbg.c |
| 62 |
$ write sys$output "Linking sktdbg" |
| 63 |
$ link sktdbg,sockets:simpleskts/lib,sys$library:ucx$ipc/lib |
| 64 |
$! |
| 65 |
$ write sys$output "Compiling spm" |
| 66 |
$ cc spm.c |
| 67 |
$ write sys$output "Linking spm" |
| 68 |
$ link spm,sockets:simpleskts/lib,sys$library:ucx$ipc/lib |
| 69 |
$! |
| 70 |
$ write sys$output "Compiling spmtable" |
| 71 |
$ cc spmtable.c |
| 72 |
$ write sys$output "Linking spmtable" |
| 73 |
$ link spmtable,sockets:simpleskts/lib,sys$library:ucx$ipc/lib |
| 74 |
$! |
| 75 |
$ write sys$output "Compiling srmsrvr" |
| 76 |
$ cc srmsrvr.c |
| 77 |
$ write sys$output "Linking srmsrvr" |
| 78 |
$ link srmsrvr,sockets:simpleskts/lib,sys$library:ucx$ipc/lib |
| 79 |
$ set def [-] |
| 80 |
$ write sys$output "The Simple Sockets Library is now Available" |