source: project/random-test/trunk/random-test.setup @ 6987

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

removed testeez dependency

File size: 825 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  -X easyffi -O2 -d0 -e -s
8         ,@(if has-exports? '(-check-imports -emit-exports random-test.exports) '())
9         random-test.scm -lchicken -ldl -lm)
10
11(run (csi -qbs random-test-eggdoc.scm > random-test.html))
12
13(install-extension
14
15  ; Name of your extension:
16  'random-test
17
18  ; Files to install for your extension:
19  `(,(dynld-name "random-test") "random-test.html"
20    "random-test.fig1.png" "random-test.fig2.png" "random-test.fig3.png"
21    ,@(if has-exports? '("random-test.exports") (list)) )
22
23  ; Assoc list with properties for your extension:
24  '((version 1.6)
25    (documentation "random-test.html")
26    ,@(if has-exports? `((exports "random-test.exports")) (list)) ))
27
Note: See TracBrowser for help on using the repository browser.