Changeset 14394 in project for release/4/fpio/trunk/fpio.setup


Ignore:
Timestamp:
04/23/09 06:25:38 (11 years ago)
Author:
Ivan Raikov
Message:

fpio ported to Chicken 4

File:
1 edited

Legend:

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

    r10575 r14394  
    1 
    2 (define has-exports? (string>=? (chicken-version) "2.310"))
     1;; -*- Hen -*-
    32
    43(define (dynld-name fn)         
     
    76(run (make))
    87
    9 (compile -O2 -d0 -s -o ,(dynld-name "fpio")  -I.
    10          ,@(if has-exports? '(-check-imports -emit-exports fpio.exports) '())
    11          fpio.scm gdtoa.a)
     8(compile -O2 -d0 -I. -s fpio.scm gdtoa.a -j fpio)
     9(compile -O2 -d0 -s fpio.import.scm)
    1210
    1311(install-extension
     
    1715
    1816  ; Files to install for your extension:
    19   `(,(dynld-name "fpio")
    20     ,@(if has-exports? '("fpio.exports") (list)) )
     17  `(,(dynld-name "fpio") ,(dynld-name "fpio.import") )
    2118
    2219  ; Assoc list with properties for your extension:
    23   `((version 1.2)
     20  `((version 1.3)
    2421    (documentation "fpio.html")
    25     ,@(if has-exports? `((exports "fpio.exports")) (list)) ))
     22    ))
     23
Note: See TracChangeset for help on using the changeset viewer.