home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem -------------------------------------
- rem script to build server for ctree
- rem MAKESRV { S or C} where
- rem letter is model size. The server
- rem is named ctsrvr.exe and is in
- rem directory { SSRV or CSRV}
- rem -------------------------------------
-
- rem check syntax
- if XX%1==XX goto usage
- if %1==S goto small
- if %1==s goto small
- if %1==C goto compact
- if %1==c goto compact
- echo ************
- echo SYNTAX ERROR
- echo ************
- :usage
- echo Program to build server for c-tree under Netbios
- echo *****:
- echo usage: MAKESRV {S or C}
- echo *****:
- echo where S=small & C=compact
- echo The server (CTSRVR.EXE) is created in
- echo directory nSRV (eg. SSRV for small model).
- goto done
- :small
- if not exist SSRV\*.* md SSRV
- make D=SSRV CM=/AS AM=SMALL makesrv.mak
- goto done
- :compact
- if not exist CSRV\*.* md CSRV
- make D=CSRV CM=/AC AM=COMPACT CP=/CP:1 makesrv.mak
- goto done
- :done
-