source: project/release/3/mat5-lib/trunk/mat5-lib.setup @ 10719

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

Updated to .setup files and glpk eggdoc.

File size: 732 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 "mat5-lib")
8         ,@(if has-exports? '(-check-imports -emit-exports mat5-lib.exports) '())
9         mat5-lib.scm -lchicken -ldl -lm)
10
11(run (csi -qbs mat5-lib-eggdoc.scm > mat5-lib.html))
12
13(install-extension
14
15  ; Name of your extension:
16  'mat5-lib
17
18  ; Files to install for your extension:
19  `(,(dynld-name "mat5-lib") ;"mat5-lib.html"
20    ,@(if has-exports? '("mat5-lib.exports") (list)) )
21
22  ; Assoc list with properties for your extension:
23  '((version 1.9)
24    (documentation "mat5-lib.html")
25    ,@(if has-exports? `((exports "mat5-lib.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.