Debian Codegraph @

install/unix/make_vms

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # @(#)make_vms.sh 19.1 (ESO-IPG) 02/25/03 13:51:11
3 # .TYPE command
4 # .NAME make_vms.sh
5 # .LANGUAGE shell script
6 # .ENVIRONMENT Unix Systems. Executable under SHELL and C-SHELL
7 # .COMMENTS
8 # .REMARKS
9 # .AUTHOR Carlos Guirao
10 # .VERSION 1.0 881003 Implementation
11 # .VERSION 1.1 890712 take out graylib.a KB
12 # .VERSION 2.1 901102 New directory structure.
13 # .VERSION 2.2 911003 Removing makefile.com first.
14
15 FILTER=`dirnamescip-shell system . . dirname. $0`/switch_filter
16 #FILTER=$MIDASHOME/$MIDVERS/install/vms/switch_filter
17
18 rmscip-shell system . . rm. -f makefile.com
19
20 # Print header for makefile.com file
21 dir=`pwdscip-shell system . . pwd. | sedscip-shell system . . sed. -e 's/^.*midas/midas/' -e 's/\//\./g'`
22 dir=`echoscip-shell system . . echo. [$dir] | trscip-shell system . . tr. "[a-z]" "[A-Z]"`
23 echoscip-shell system . . echo. '$ !++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++' \
24 | teescip-shell system . . tee. makefile.com
25 echoscip-shell system . . echo. '$ !' | teescip-shell system . . tee. -a makefile.com
26 echoscip-shell system . . echo. '$ ! .COPYRIGHT (c) 1991 European Southern Observatory' \
27 | teescip-shell system . . tee. -a makefile.com
28 echoscip-shell system . . echo. '$ ! .ENVIRONMENT VMS' | teescip-shell system . . tee. -a makefile.com
29 echoscip-shell system . . echo. '$ ! .AUTHOR Carlos Guirao - [ESO/IPG]' | teescip-shell system . . tee. -a makefile.com
30 echoscip-shell system . . echo. '$ ! .IDENT MAKEFILE.COM' | teescip-shell system . . tee. -a makefile.com
31 echoscip-shell system . . echo. '$ ! .COMMENTS Compile/link procedure in' $dir | teescip-shell system . . tee. -a makefile.com
32 echoscip-shell system . . echo. '$ ! .REMARKS Automatically generated in Unix with make.vms command' \
33 | teescip-shell system . . tee. -a makefile.com
34 echoscip-shell system . . echo. "$ ! .DATE `datescip-shell system . . date.`" | teescip-shell system . . tee. -a makefile.com
35 echoscip-shell system . . echo. '$ !' | teescip-shell system . . tee. -a makefile.com
36 echoscip-shell system . . echo. '$ !++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++' \
37 | teescip-shell system . . tee. -a makefile.com
38 echoscip-shell system . . echo. '$ !' | teescip-shell system . . tee. -a makefile.com
39 echoscip-shell system . . echo. '$ SET NOON' | teescip-shell system . . tee. -a makefile.com
40 echoscip-shell system . . echo. '$ VERIFY = F$VERIFY(1)' | teescip-shell system . . tee. -a makefile.com
41 rmscip-shell system . . rm. -rf .hidden
42 mkdirscip-shell system . . mkdir. .hidden
43 chmodscip-shell system . . chmod. g+w .hidden
44 mvscip-shell system . . mv. `makescip-shell system . . make. -n clean | grepscip-shell system . . grep. "rm -f" | sedscip-shell system . . sed. 's/rm -f//'` .hidden >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
45 makescip-shell system . . make. SYS_PREFIX=vms OSSYS="" VMSLIB="ip8lib.a" XWLIB="xlink.opt" LD77=ldvms LDCC=ldvms -n | $FILTER | teescip-shell system . . tee. -a makefile.com
46 echoscip-shell system . . echo. '$ IF VERIFY .EQ. 0 THEN SET NOVERIFY' | teescip-shell system . . tee. -a makefile.com
47 mvscip-shell system . . mv. .hidden/* . >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
48 rmscip-shell system . . rm. -rf .hidden