source: project/release/3/nemo/tags/1.0/nemo.setup @ 12028

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

Created release 1.0

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