source: project/release/3/http/trunk/http.setup @ 9933

Last change on this file since 9933 was 9933, checked in by Kon Lovett, 12 years ago

el 2.5.1 w/ Explict use of SRFI 69. Chgd '(delcare (uses ...' -> '(use ...'

File size: 1.2 KB
Line 
1(define has-exports? (string>=? (chicken-version) "2.310"))
2
3(define libs
4  (if (eq? (build-platform) 'msvc)
5      "-lws2_32"
6      "") )
7
8(make (("http-utils.so" ("http-utils.scm")
9        (run (csc -s -O2 -d1
10               ,@(if has-exports? '(-check-imports -emit-exports http-utils.exports) '())
11               http-utils.scm)))
12       ("http-client.so" ("http-client.scm")
13        (run (csc -s -O2 -d1
14              ,@(if has-exports? '(-check-imports -emit-exports http-client.exports) '())
15              http-client.scm ,libs)))
16       ("http-server.so" ("http-server.scm")
17        (run (csc -s -O2 -d1
18              ,@(if has-exports? '(-check-imports -emit-exports http-server.exports) '())
19              http-server.scm))) )
20  '("http-utils.so" "http-client.so" "http-server.so") )
21
22(install-extension
23 'http
24 '()
25 '((version "2.5.1") ) )
26
27(install-extension
28 'http-utils
29 '("http-utils.so")
30 `((version "2.5.1")
31         ,@(if has-exports? `((exports "http-utils.exports")) '()) ) )
32
33(install-extension
34 'http-client
35 '("http-client.so")
36 `((version "2.5.1")
37         ,@(if has-exports? `((exports "http-client.exports")) '()) ) )
38
39(install-extension
40 'http-server
41 '("http-server.so")
42 `((version "2.5.1")
43         ,@(if has-exports? `((exports "http-server.exports")) '()) ) )
44
Note: See TracBrowser for help on using the repository browser.