Changeset 14465 in project for release/4/treap/trunk/treap.setup


Ignore:
Timestamp:
04/27/09 02:22:35 (10 years ago)
Author:
Ivan Raikov
Message:

treap and rb-tree copied to release/4 branch and ported to Chicken 4

Location:
release/4/treap
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/treap/trunk/treap.setup

    r6634 r14465  
    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 -O2 -d0 -s
    8          ,@(if has-exports? '(-check-imports -emit-exports treap.exports) '())
    9          treap.scm -lchicken -ldl -lm)
     6(compile -O -d2 -s treap.scm -j treap)
     7(compile -O -d2 -s treap.import.scm)
     8
    109
    1110(run (csi -qbs treap-eggdoc.scm > treap.html))
     
    1716
    1817  ; Files to install for your extension:
    19   `(,(dynld-name "treap") "treap.html"
    20     ,@(if has-exports? '("treap.exports") (list)) )
     18  `(,(dynld-name "treap") ,(dynld-name "treap.import") "treap.html")
     19 
     20  ; Assoc list with properties for your extension:
     21  '((version 1.5)
     22    (documentation "treap.html")
     23    ))
    2124
    22 
    23   ; Assoc list with properties for your extension:
    24   '((version 1.4)
    25     (documentation "treap.html")
    26     ,@(if has-exports? `((exports "treap.exports")) (list)) ))
    27 
Note: See TracChangeset for help on using the changeset viewer.