home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- 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 Novell c-tree VAP server
- echo *****:
- echo usage: MAKESRV {S or C}
- echo *****:
- echo where S=small & C=compact
- echo The libary and object files are created in
- echo sub-directory nSRV (eg. SSRV for small model).
- echo The lib file is named CTSLIB.LIB
- goto done
- :small
- ren ..\ctcomm.h ctcomm.sav
- copy ctcomm.h ../v
- if not exist SSRV\*.* md SSRV
- make MM=S D=SSRV CM=/AS AM=SMALL makesrv.mak
- goto restore
- :compact
- ren ..\ctcomm.h ctcomm.sav
- copy ctcomm.h ../v
- if not exist CSRV\*.* md CSRV
- make MM=C D=CSRV CM=/AC AM=COMPACT makesrv.mak
- goto restore
- :restore
- del ..\ctcomm.h
- ren ..\ctcomm.sav ctcomm.h
- :done
-