home *** CD-ROM | disk | FTP | other *** search
- .k ""
- ; Install-script for "Henrik Nordstroms Compiler-Interface for Edge"
- ; $VER: install 1.2 (05-Mar-93 00:28:02)
- ECHO "This script will Copy a number of Edge ARexx macros to REXX:"
- ECHO "A Compiler-menu to EdgePrg: And install ECHO: handler on SYS:"
- ECHO "(Copy handler to SYS:L, and Install mountentry in DEVS:Mountlist"
- ECHO "or DEVS:DOSDrivers) If installed in DEVS:Mountlist, a corresponding"
- ECHO "Mount-command will be added to your s:User-Startup"
- ECHO "Se EchoHandler/EchoHandler.doc for more info about ECHO:*n"
- ECHO "NOTE: EdgePrg: is assigned by Edge at startup, so you must run Edge"
- ECHO " before you execute this install-script!!*n"
-
- failat 21
-
- ASK "Automatic install?"
-
- if warn
- copy Rexx REXX:
- assign T$$: ""
- cd rexx:
- assign >nil: SC: exists
- if not warn
- echo " SAS/C Version 6"
- copy hn_addprotos_sc6.edge hn_addprotos.edge
- copy hn_build_sc6.edge hn_build.edge
- copy hn_compile_c_sc6.edge hn_compile_c.edge
- copy hn_createproject_sc6.edge hn_createproject.edge
- copy hn_link_sc6.edge hn_link.edge
- copy hn_readerr_c_sc6.edge hn_readerr_c.edge
- else
- assign >nil: LC: exists
- if not warn
- echo " SAS/C version 5"
- copy hn_addprotos_sc5.edge hn_addprotos.edge
- copy hn_build_sc5.edge hn_build.edge
- copy hn_compile_c_sc5.edge hn_compile_c.edge
- copy hn_createproject_sc5.edge hn_createproject.edge
- copy hn_link_sc5.edge hn_link.edge
- copy hn_readerr_c_sc5.edge hn_readerr_c.edge
- else
- copy hn_link_sc5.edge hn_link.edge
- copy hn_build_generic.edge hn_build.edge
- echo " SAS/C not found, generic version used."
- echo " no errorparsing included."
- echo " Write your own hn_readerr_<ext>.edge files"
- endif
- endif
- cd T$$:
- assign T$$:
- ECHO " ARexx macros installed"
-
- copy edge.compiler.menu(%) to edgeprg:
- echo >>edgeprg:edge.menus "*n;** Compiler-menu*ninclude *"edge.compiler.menu*""
- echo " compiler menu installed"
-
- copy echohandler/EchoHandler(%) to L:
- if exists DEVS:DOSDrivers
- copy echohandler/echo(%|.info) to devs:DOSDrivers/
- else
- type echohandler/MountList.ECHO >>devs:Mountlist
- ECHO " MountEntry added to DEVS:Mountlist"
- echo >>s:User-Startup "*n;** Mount ECHO: handler used by Edge CompilerInterface*nMount ECHO:"
- echo " Mount ECHO: added to s:User-Startup"
- echo " ECHO: handler installed"
- endif
- mount ECHO:
- else
- ASK "Install ARexx macros?"
- if warn
- copy Rexx REXX:
- assign T$$: ""
- cd rexx:
- assign >nil: SC: exists
- if not warn
- copy hn_addprotos_sc6.edge hn_addprotos.edge
- copy hn_build_sc6.edge hn_build.edge
- copy hn_compile_c_sc6.edge hn_compile_c.edge
- copy hn_createproject_sc6.edge hn_createproject.edge
- copy hn_link_sc6.edge hn_link.edge
- copy hn_readerr_c_sc6.edge hn_readerr_c.edge
- echo " SAS/C Version 6"
- else
- assign >nil: LC: exists
- if not warn
- copy hn_addprotos_sc5.edge hn_addprotos.edge
- copy hn_build_sc5.edge hn_build.edge
- copy hn_compile_c_sc5.edge hn_compile_c.edge
- copy hn_createproject_sc5.edge hn_createproject.edge
- copy hn_link_sc5.edge hn_link.edge
- copy hn_readerr_c_sc5.edge hn_readerr_c.edge
- echo " SAS/C version 5"
- else
- copy hn_link_sc5.edge hn_link.edge
- copy hn_build_generic.edge hn_build.edge
- echo " SAS/C not found, generic version used."
- echo " no errorparsing included."
- echo " Write your own hn_readerr_<ext>.edge files"
- endif
- endif
- cd T$$:
- assign T$$:
- endif
- ASK "Install compiler menu?"
- if warn
- copy edge.compiler.menu(%) to edgeprg:
- ASK "Install menu in edge.menus?"
- if warn
- echo >>edgeprg:edge.menus "*n;** Compiler-menu*ninclude *"edge.compiler.menu*""
- echo " compiler menu installed"
- else
- echo "add *"include edge.compiler.menu*" to edgeprg:edge.menus to activate"
- endif
- endif
- ASK "Install ECHO: handler?"
- if warn
- copy echohandler/EchoHandler(%) to L:
- if exists DEVS:DOSDrivers
- copy echohandler/echo(%|.info) to devs:DOSDrivers
- else
- type echohandler/MountList.ECHO >>devs:Mountlist
- ECHO " MountEntry added to DEVS:Mountlist"
- ASK "add *"Mount ECHO:*" to s:User-Startup?"
- if warn
- echo >>s:User-Startup "*n;** Mount ECHO: handler used by Edge CompilerInterface*nMount ECHO:"
- echo " Mount ECHO: added to s:User-Startup"
- endif
- endif
- mount ECHO:
- echo " ECHO: handler installed"
- endif
- endif
-