source: project/release/3/strictly-pretty/tags/1.2/strictly-pretty.setup @ 12061

Last change on this file since 12061 was 12061, checked in by Ivan Raikov, 13 years ago

Created release 1.2

File size: 699 bytes
Line 
1; -*- Hen -*-
2
3(define has-exports? (string>=? (chicken-version) "2.310"))
4
5(define (dynld-name fn)         
6  (make-pathname #f fn ##sys#load-dynamic-extension))   
7
8(compile  -O2 -d0 -s
9         ,@(if has-exports? '(-check-imports -emit-exports strictly-pretty.exports) '())
10         strictly-pretty.scm -lchicken -ldl -lm)
11
12(install-extension
13
14  ; Name of your extension:
15  'strictly-pretty
16
17  ; Files to install for your extension:
18  `(,(dynld-name "strictly-pretty")
19    ,@(if has-exports? '("strictly-pretty.exports") (list)) )
20
21  ; Assoc list with properties for your extension:
22  '((version 1.2)
23    (documentation "strictly-pretty.html")
24    ,@(if has-exports? `((exports "strictly-pretty.exports")) (list)) ))
Note: See TracBrowser for help on using the repository browser.