forked from philhofer/distill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.sld
99 lines (96 loc) · 2.07 KB
/
package.sld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
(define-library (distill package)
(import
scheme
(srfi 6) ;; string ports
(srfi 12)
(srfi 26) ;; cut
(srfi 39) ;; parameters
(srfi 69) ;; make-hash-table, etc
(distill text)
(distill memo)
(distill eprint)
(distill contract)
(distill coroutine)
(distill kvector)
(distill filepath)
(distill execline)
(distill plan))
(cond-expand
(chicken (import
(chicken type)
(chicken keyword)
(chicken module)
(only (chicken process-context)
executable-pathname)
(only (chicken syntax) define-for-syntax)
(only (chicken string) conc string-translate* string-split)
(only (chicken file) file-exists?)
(only (chicken port)
with-output-to-string
call-with-output-string)
(only (chicken condition) print-error-message)
(only (chicken base) include error flatten when unless o disjoin foldl))))
(cond-expand
(chicken (import-for-syntax
(chicken keyword))))
(export
*this-machine*
bind
patchfiles*
$strip-cmd
config->builder
make-config
config?
expander
configure
package-template
url-translate
cc-package
cmmi-package
libs
binaries
subpackage
$arch
$sysroot
$triple
$build
$native?
$leaf
$cc-toolchain
$cc-tools
$native-toolchain
make-cc-toolchain
cc-toolchain-env
make-cc-env
cc-toolchain-tools
cc-toolchain-libc
triple->arch
triple->sysroot
$make-overrides
$cc-env
$build-triple
$build-toolchain
$cross-compile
$build-CC
$build-LD
$build-CFLAGS
$CC
$CXX
$AR
$LD
$NM
$CFLAGS
$CXXFLAGS
$LDFLAGS
$ARFLAGS
$RANLIB
$READELF
cc-env/build
$cc-env/for-build
$cc-env/for-kbuild
;; TODO: right now this is only
;; exported for testing;
;; not sure this should be part
;; of the public API
exports->script)
(include "package.scm"))