source: project/release/3/fpio/trunk/fpio.setup @ 10575

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

Version increased to 1.2

File size: 638 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(run (make))
8
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)
12
13(install-extension
14
15  ; Name of your extension:
16  'fpio
17
18  ; Files to install for your extension:
19  `(,(dynld-name "fpio")
20    ,@(if has-exports? '("fpio.exports") (list)) )
21
22  ; Assoc list with properties for your extension:
23  `((version 1.2)
24    (documentation "fpio.html")
25    ,@(if has-exports? `((exports "fpio.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.