source: project/release/3/nemo/trunk/nemo.setup @ 11844

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

More renaming.

File size: 2.1 KB
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 -d2 -O -s -o ,(dynld-name "oru-core")
9         ,@(if has-exports? '(-check-imports -emit-exports oru-core.exports) '())
10         oru.scm)
11
12
13(install-extension
14
15  ; Name of your extension:
16  'oru-core
17
18  ; Files to install for your extension:
19  `(,(dynld-name "oru-core")
20    ,@(if has-exports? '("oru-core.exports") (list)) )
21
22  ; Assoc list with properties for your extension:
23  `((version 1.0)
24    ;(documentation "oru.html")
25    ,@(if has-exports? `((exports "oru-core.exports")) (list)) ))
26
27
28(install-extension
29 'oru-macros
30 `("oru-macros.scm" )
31 `((version 1.0)
32   (syntax)
33   (require-at-runtime oru-core)))
34
35
36
37
38(compile -d2 -O -s -extension -o ,(dynld-name "oru-nmodl")
39         ,@(if has-exports? '(-check-imports -emit-exports oru-nmodl.exports) '())
40         nmodl.scm)
41
42(install-extension
43
44  ; Name of your extension:
45  'oru-nmodl
46
47  ; Files to install for your extension:
48  `(,(dynld-name "oru-nmodl") 
49    ,@(if has-exports? '("oru-nmodl.exports") (list)) )
50
51  ; Assoc list with properties for your extension:
52  `((version 1.0)
53    ,@(if has-exports? `((exports "oru-nmodl.exports")) (list)) ))
54
55
56(compile -d2 -O -s -extension -o ,(dynld-name "oru-nmodl")
57         ,@(if has-exports? '(-check-imports -emit-exports oru-nmodl.exports) '())
58         nmodl.scm)
59
60(install-extension
61
62  ; Name of your extension:
63  'oru-nmodl
64
65  ; Files to install for your extension:
66  `(,(dynld-name "oru-nmodl") 
67    ,@(if has-exports? '("oru-nmodl.exports") (list)) )
68
69  ; Assoc list with properties for your extension:
70  `((version 1.0)
71    ,@(if has-exports? `((exports "oru-nmodl.exports")) (list)) ))
72
73
74(compile -d2 -O -s -o ,(dynld-name "oru-hh")
75         ,@(if has-exports? '(-check-imports -emit-exports oru-hh.exports) '())
76         extensions/oru-hh.scm)
77
78
79(install-extension
80
81  ; Name of your extension:
82  'oru-hh
83
84  ; Files to install for your extension:
85  `(,(dynld-name "oru-hh") 
86    ,@(if has-exports? '("oru-hh.exports") (list)) )
87
88  ; Assoc list with properties for your extension:
89  `((version 1.0)
90    ,@(if has-exports? `((exports "oru-hh.exports")) (list)) ))
91
Note: See TracBrowser for help on using the repository browser.