home *** CD-ROM | disk | FTP | other *** search
- .key DEST,INCLUDE/K,INSTALL/S,TARGET/F/K
- ;;; $Id: compile.lib,v 1.4 1994/05/02 19:27:00 jraja Exp $
- ;;;
- ;;; Compile NETLIB and USRLIB for SAS C
- ;;;
- ;;; Copyright (c) 1993 AmiTCP-Group, <AmiTCP-Group@hut.fi>
- ;;; Helsinki University of Technology, Finland.
- ;;;
- ;;; Created : Thu Oct 14 01:59:00 1993 ppessi
- ;;; Last modified: Wed Mar 9 11:39:50 1994 jraja
- ;;;
- ;;; $Log: compile.lib,v $
- ;;; Revision 1.4 1994/05/02 19:27:00 jraja
- ;;; removed usrlib compilation.
- ;;;
- ;;; Revision 1.3 1994/03/09 09:42:17 jraja
- ;;; Added rpclib compilation.
- ;;;
- ;;; Revision 1.2 1994/02/25 15:15:05 ppessi
- ;;; Added usrlib subdirectory
- ;;;
- ;;; Revision 1.1 1993/11/23 18:43:12 ppessi
- ;;; Initial revision
- ;;;
- .bra {
- .ket }
- .def DEST "AmiTCP:"
-
- If NOT {INCLUDE$IsNotGiven} EQ IsNotGiven
- If Exists "{INCLUDE}"
- assign netinclude: {INCLUDE}
- ENDIF
- Else
- Assign Netinclude: exists > nil:
- If WARN
- echo "The NETINCLUDE: does not exist"
- echo "Can't continue"
- quit
- Endif
- Endif
-
- cd netlib
- If NOT {INSTALL$Z} EQ Z
- smake -k DEST={DEST} INSTALL-ALL {TARGET$ALL}
- Else
- smake -k DEST={DEST} {TARGET$ALL}
- Endif
- cd /
-
- cd rpclib
- smake -k DEST={DEST} {INSTALL} {TARGET}
- cd /
-