Ignore:
Timestamp:
04/27/09 16:09:05 (10 years ago)
Author:
Ivan Raikov
Message:

ported random-test to Chicken 4

Location:
release/4/random-test
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • release/4/random-test/trunk/random-test.setup

    r6987 r14480  
    1 
    2 (define has-exports? (string>=? (chicken-version) "2.310"))
     1;;;; -*- Hen -*-
    32
    43(define (dynld-name fn)         
    54  (make-pathname #f fn ##sys#load-dynamic-extension))   
    65
    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)
     6(compile  -X easyffi -O2 -d0 -s random-test.scm -j random-test)
     7(compile -O2 -d0 -s random-test.import.scm)
    108
    119(run (csi -qbs random-test-eggdoc.scm > random-test.html))
     
    1715
    1816  ; Files to install for your extension:
    19   `(,(dynld-name "random-test") "random-test.html"
     17  `(,(dynld-name "random-test") ,(dynld-name "random-test.import") "random-test.html"
    2018    "random-test.fig1.png" "random-test.fig2.png" "random-test.fig3.png"
    21     ,@(if has-exports? '("random-test.exports") (list)) )
     19    )
    2220
    2321  ; 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 
     22  '((version 1.7)
     23    (documentation "random-test.html")))
Note: See TracChangeset for help on using the changeset viewer.