Changeset 14491 in project for release/4/sfht/trunk/sfht.setup


Ignore:
Timestamp:
04/28/09 10:57:45 (10 years ago)
Author:
Ivan Raikov
Message:

sfht ported to Chicken 4

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

Legend:

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

    r6630 r14491  
    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 sfht.exports) '())
    9          sfht.scm -lchicken -ldl -lm)
     6(compile -O2 -d0 -s sfht.scm -j sfht)
     7(compile -O2 -d0 -s sfht.import.scm)
    108
    119(run (csi -qbs sfht-eggdoc.scm > sfht.html))
     
    1715
    1816  ; Files to install for your extension:
    19   `(,(dynld-name "sfht") "sfht.html"
    20     ,@(if has-exports? '("sfht.exports") (list)) )
     17  `(,(dynld-name "sfht") ,(dynld-name "sfht.import") "sfht.html" )
    2118
    2219
    2320  ; Assoc list with properties for your extension:
    24   '((version 2.1)
     21  '((version 2.3)
    2522    (documentation "sfht.html")
    26     ,@(if has-exports? `((exports "sfht.exports")) (list)) ))
     23    ))
    2724
Note: See TracChangeset for help on using the changeset viewer.