home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 3.ddi / NOVELL / MAKESRV.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-04-18  |  855 b   |  38 lines

  1. echo off
  2.  
  3. rem check syntax
  4. if XX%1==XX goto usage
  5. if %1==S goto small
  6. if %1==s goto small
  7. if %1==C goto compact
  8. if %1==c goto compact
  9. echo ************
  10. echo SYNTAX ERROR
  11. echo ************
  12. :usage
  13. echo Program to build Novell c-tree VAP server
  14. echo *****:
  15. echo usage: MAKESRV {S or C}
  16. echo *****:
  17. echo where S=small & C=compact
  18. echo The libary and object files are created in
  19. echo sub-directory nSRV (eg. SSRV for small model).
  20. echo The lib file is named CTSLIB.LIB
  21. goto done
  22. :small
  23. ren ..\ctcomm.h ctcomm.sav
  24. copy ctcomm.h ../v
  25. if not exist SSRV\*.* md SSRV
  26. make MM=S D=SSRV CM=/AS AM=SMALL makesrv.mak
  27. goto restore
  28. :compact
  29. ren ..\ctcomm.h ctcomm.sav
  30. copy ctcomm.h ../v
  31. if not exist CSRV\*.* md CSRV
  32. make MM=C D=CSRV CM=/AC AM=COMPACT makesrv.mak
  33. goto restore
  34. :restore
  35. del ..\ctcomm.h
  36. ren ..\ctcomm.sav ctcomm.h
  37. :done
  38.