home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 3.ddi / OS2LAN / MAKESRV.CMD < prev    next >
Encoding:
Text File  |  1989-04-18  |  1.1 KB  |  43 lines

  1. echo off
  2. rem -------------------------------------
  3. rem script to build server for ctree
  4. rem MAKESRV { S, M or C} where
  5. rem letter is model size.  The server
  6. rem is named ctsrvr.exe and is in
  7. rem directory { SSRV, MSRV or CSRV}
  8. rem -------------------------------------
  9.  
  10. rem check syntax
  11. if XX%1==XX goto usage
  12. if %1==S goto small
  13. if %1==s goto small
  14. if %1==M goto medium
  15. if %1==m goto medium
  16. if %1==C goto compact
  17. if %1==c goto compact
  18. echo ************
  19. echo SYNTAX ERROR
  20. echo ************
  21. :usage
  22. echo Program to build server for c-tree under Netbios
  23. echo *****:
  24. echo usage: MAKESRV {S or C}
  25. echo *****:
  26. echo where S=small & C=compact
  27. echo The server (CTSRVR.EXE) is created in
  28. echo directory nSRV (eg. SSRV for small model).
  29. goto done
  30. :small
  31. if not exist SSRV\*.* md SSRV
  32. make RUNT=SLIBCE D=SSRV CM=/AS AM=SMALL makesrv.mak
  33. goto done
  34. :medium
  35. if not exist MSRV\*.* md MSRV
  36. make RUNT=MLIBCE D=MSRV CM=/AM makesrv.mak
  37. goto done
  38. :compact
  39. if not exist CSRV\*.* md CSRV
  40. make RUNT=CLIBCE D=CSRV CM=/AC AM=COMPACT CP=/CP:1 makesrv.mak
  41. goto done
  42. :done
  43.