$Id: INSTALL,v 1.5 1995/08/30 06:22:52 skimu Exp $

	X-SCM 2.xx Notes for Installation.

=====================================================================
A     Installing X-SCM.
--------------------------------------------------------------
A.1   If your SCM does not have dynamic linking feature,
      you need libscm.a of SCM4e2 or later.

A.2   Edit Makefile to suit your system.
      If your system is _not_ HP-UX and you are doing with dynamic
      linking, you must add rules for shared libraries.

A.3a1 In the case you want to do with dynamic linking,
      generate shared libraries.
      For example in HP-UX, type,

	% make strvec.sl xaw.sl xm.sl

A.3a2  If successfull, copy objects to (implementation-vicinity).
       For example, in my case,

	% cp strvec.sl xaw.sl xm.sl /usr/local/scm

A.3b1 In the case without dynamic linking,
      Type as follows to generate xawscm and xmscm command.

	% make xmscm xawscm

A.3b2  If successfull, copy objects where in $PATH.

	% cp xmscm xawscm /usr/local/bin


A.4   copy scm library codes to SLIB directory (library-vicinity).

        % cp *.scm /usr/local/lib/slib

A.5  Add following lines to your `ScmInit.scm'.
;;
(define add-feature-to-catalog
  (lambda (feature filename)
    (set! *catalog* 
	  (acons feature filename *catalog*))))
;; X-SCM
(define x-scm:vicinity (lambda () "/x/y/xscm/"))
(let ((add-x-scm-feature
      (lambda (f n)
	(add-feature-to-catalog  f (in-vicinity (x-scm:vicinity) n)))))
  (add-x-scm-feature 'x11    "x11.scm")    
  (add-x-scm-feature 'xevent "xevent.scm") 
  (add-x-scm-feature 'xt     "xt.scm")     
  (add-x-scm-feature 'xm     "xm.scm")     
  (add-x-scm-feature 'xmsubs "xmsubs.scm") 
  (add-x-scm-feature 'xaw    "xaw.scm")    
  (add-x-scm-feature 'xpm    "xpm.scm")    
  (add-x-scm-feature 'stringvector "strvec"))


A.6  Play with examples..

	% cd example
	% cp XScmTest.ad.jp ~/XScmTest
	% ../xawscm -f tree.scm
         or
	% scmlit -f tree.scm


;; EOF
