source: project/release/3/graph-ssa/trunk/graph-ssa.setup @ 11135

Last change on this file since 11135 was 11135, checked in by Ivan Raikov, 12 years ago

Imported graph-ssa sources.

File size: 711 bytes
Line 
1
2(define has-exports? (string>=? (chicken-version) "2.310"))
3
4(define (dynld-name fn)         
5  (make-pathname #f fn ##sys#load-dynamic-extension))   
6
7(compile -O2 -d0 -s -o ,(dynld-name "graph-ssa")
8         ,@(if has-exports? '(-check-imports -emit-exports graph-ssa.exports) '())
9         ssa.scm -lchicken -ldl)
10
11(run (csi -qbs ssa-eggdoc.scm > graph-ssa.html))
12
13(install-extension
14
15  ; Name of your extension:
16  'graph-ssa
17
18  ; Files to install for your extension:
19  `(,(dynld-name "graph-ssa")
20    ,@(if has-exports? '("graph-ssa.exports") (list)) )
21
22  ; Assoc list with properties for your extension:
23  `((version 1.0)
24    (documentation "graph-ssa.html")
25    ,@(if has-exports? `((exports "graph-ssa.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.