source: project/random-mtzig/trunk/random-mtzig.setup @ 6750

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

Added binomial distribution procedures.

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