| 1 |
@echo off |
| 2 |
echo Windows 95 Batch file: makes the Simple Sockets Library from a |
| 3 |
echo MSDOS console |
| 4 |
echo Batch file for Borland C++ v5.0 or better |
| 5 |
echo |
| 6 |
echo Authors: Charles E. Campbell, Jr. |
| 7 |
echo Terry McRoberts |
| 8 |
echo --------------------------------------------------------------- |
| 9 |
echo |
| 10 |
|
| 11 |
rem This batch file already assumes that the files have been gunzip'ped and |
| 12 |
rem untar'red. It creates a smplskts.lib; you will also want to have |
| 13 |
rem its header files in your -I list when compiling. |
| 14 |
|
| 15 |
rem Compile the Simple Sockets Library |
| 16 |
echo Compiling Simple Sockets Library |
| 17 |
for %%f in (*.c) do bcc32 -c -vi- -w-aus -w-csu -w-pia -I. -w-vnu -I.\HDR %%f |
| 18 |
|
| 19 |
rem Build smplskts.lib Library |
| 20 |
echo Building smplskts.lib |
| 21 |
for %%f in (*.obj) do tlib /C smplskts +%%f |
| 22 |
|
| 23 |
rem Compile and link SSL utilities and PortMaster (Spm) |
| 24 |
echo Compiling and linking SSL utilities |
| 25 |
cd EXE |
| 26 |
for %%f in (*.c) do bcc32 -Ot -vi- -w-aus -w-csu -w-pia -I..\HDR %%f ..\smplskts.lib |
| 27 |
mv *.exe .. |
| 28 |
cd .. |
| 29 |
|
| 30 |
rem Cleanup |
| 31 |
del *.bak |
| 32 |
del *.obj |
| 33 |
del EXE\*.obj |
| 34 |
|
| 35 |
rem Final Note |
| 36 |
echo |
| 37 |
echo --------------------------------------------------------------- |
| 38 |
echo |
| 39 |
echo Utilities and the PortMaster (Spm) are in COSMIC\*.exe |
| 40 |
echo The Simple Sockets library is in COSMIC\smplskts.lib |
| 41 |
echo Try out the examples, too! |
| 42 |
echo |
| 43 |
echo Best of luck, |
| 44 |
echo Charles E. Campbell |