source: project/release/3/mat5-lib/tags/1.10/mat5-lib.setup @ 11551

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

Created release 1.10

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