mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 11:21:08 -10:00
Compare commits
2208
Commits
2017-02
...
bug_test_add
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
659458b3ad | ||
|
|
4a20e930af | ||
|
|
cf9dff4bb8 | ||
|
|
2d238eeb11 | ||
|
|
f98d0799d8 | ||
|
|
5a758bd714 | ||
|
|
d7609da34c | ||
|
|
098f6e8aa8 | ||
|
|
d96de323da | ||
|
|
65106878d5 | ||
|
|
a09b912b86 | ||
|
|
91149fb1e5 | ||
|
|
bbb0a58f15 | ||
|
|
eefe01a655 | ||
|
|
7d68dc8e71 | ||
|
|
0253b65888 | ||
|
|
443c85784f | ||
|
|
4f3dde8e57 | ||
|
|
5d36f305a5 | ||
|
|
7db0fb0c88 | ||
|
|
bcf0ad5860 | ||
|
|
5b22c773bd | ||
|
|
9864e28ebc | ||
|
|
d76f8cf1cd | ||
|
|
645a261f9a | ||
|
|
daf47bd258 | ||
|
|
a243301ee4 | ||
|
|
2f61cd998f | ||
|
|
79e94c43dc | ||
|
|
fc524c4756 | ||
|
|
586d10d3ab | ||
|
|
a78a103fcb | ||
|
|
1cba9d8748 | ||
|
|
0f0b9c2913 | ||
|
|
95f0800520 | ||
|
|
90450cc148 | ||
|
|
6a95fac6d3 | ||
|
|
e2a86a54f1 | ||
|
|
57ae02b1c5 | ||
|
|
9cba093c63 | ||
|
|
29017b48d3 | ||
|
|
aaf5672018 | ||
|
|
dbf3a44282 | ||
|
|
4eafc3169f | ||
|
|
06fcf41eae | ||
|
|
770ea93292 | ||
|
|
13486d308d | ||
|
|
cfed4f7710 | ||
|
|
9df8e7db13 | ||
|
|
fcf0cfbe75 | ||
|
|
e64e3dbaca | ||
|
|
78ef7aea9a | ||
|
|
55dce78066 | ||
|
|
8d1bacae0d | ||
|
|
bc83d048ba | ||
|
|
df92047580 | ||
|
|
2852d49c3b | ||
|
|
0e0c7b33f0 | ||
|
|
3686ea4022 | ||
|
|
7b759ee9d3 | ||
|
|
078463fa1f | ||
|
|
118a5c70ed | ||
|
|
5a25467be0 | ||
|
|
7455e7cffc | ||
|
|
0eb6e77c84 | ||
|
|
0270871238 | ||
|
|
a7f706251b | ||
|
|
5179bbe40c | ||
|
|
1904650288 | ||
|
|
e7a2d94f75 | ||
|
|
55316a442f | ||
|
|
2439f17bef | ||
|
|
9a287c0412 | ||
|
|
4a79280b3b | ||
|
|
6f270b372a | ||
|
|
2691372e86 | ||
|
|
9a5b75e2ba | ||
|
|
f36b03e6f0 | ||
|
|
780ef740ed | ||
|
|
15332a240a | ||
|
|
b07d50c929 | ||
|
|
3802e3de1b | ||
|
|
ac1ce7eb4d | ||
|
|
0b0905f4de | ||
|
|
a4edbde01e | ||
|
|
c872e0a100 | ||
|
|
2c71963d23 | ||
|
|
f915204116 | ||
|
|
a7154726a3 | ||
|
|
c7046b9e9e | ||
|
|
63b369e735 | ||
|
|
ca29da6e2b | ||
|
|
b81693d648 | ||
|
|
d278834cd7 | ||
|
|
687cb5d680 | ||
|
|
ee6f89642d | ||
|
|
6649f23b27 | ||
|
|
c603a69e7d | ||
|
|
c05d7a78f8 | ||
|
|
5b612c5dc5 | ||
|
|
50490aaa7f | ||
|
|
0290d19c83 | ||
|
|
5479e0669f | ||
|
|
f01f854818 | ||
|
|
ec30afd9dc | ||
|
|
1a5ddd80ed | ||
|
|
3fc452230d | ||
|
|
9a634c1810 | ||
|
|
a2cf047226 | ||
|
|
c7c3baba31 | ||
|
|
4fa03c425f | ||
|
|
3dd754cbf8 | ||
|
|
f26bf88250 | ||
|
|
3b3b48dbb4 | ||
|
|
d605f45365 | ||
|
|
ecd9af3f20 | ||
|
|
d0e103fcb4 | ||
|
|
7263bfef55 | ||
|
|
ef83450ab0 | ||
|
|
ec9a95dd53 | ||
|
|
5965357a59 | ||
|
|
efaec63cc8 | ||
|
|
4848d5a34c | ||
|
|
5f523b92fc | ||
|
|
c6676b0ff8 | ||
|
|
cfe7502c1c | ||
|
|
62e2fcde73 | ||
|
|
7b5ec9f82c | ||
|
|
79c15b9ff0 | ||
|
|
53d0bba46c | ||
|
|
75fd607a5c | ||
|
|
df4d89bd36 | ||
|
|
081280659a | ||
|
|
49c66e779a | ||
|
|
511a769fdd | ||
|
|
d4390d6a12 | ||
|
|
ff9a538941 | ||
|
|
a9107951a7 | ||
|
|
b85f40ba88 | ||
|
|
2e1afbd7b7 | ||
|
|
3b079a7939 | ||
|
|
98f4ec3ab6 | ||
|
|
9719dd2343 | ||
|
|
6e31e14ba3 | ||
|
|
63795c0ce8 | ||
|
|
282eac6c91 | ||
|
|
1a621cfcf1 | ||
|
|
c007d6e0ad | ||
|
|
8808f52690 | ||
|
|
1854763e83 | ||
|
|
787faec004 | ||
|
|
a716f5d143 | ||
|
|
07d0a7b9f9 | ||
|
|
cbb4ec0c88 | ||
|
|
7c8acc226b | ||
|
|
4188f5db54 | ||
|
|
2979bc8ba6 | ||
|
|
da9287e432 | ||
|
|
fc684ff839 | ||
|
|
3c9cac96f8 | ||
|
|
27877d7103 | ||
|
|
65e759e4a3 | ||
|
|
ad22cdbbd2 | ||
|
|
61529745be | ||
|
|
bb123c5de8 | ||
|
|
a04f104093 | ||
|
|
ffc96812e1 | ||
|
|
3cd3c4d53e | ||
|
|
4d89d5f17b | ||
|
|
f9bdab7928 | ||
|
|
538829f456 | ||
|
|
f567c2e5eb | ||
|
|
5f7abc5f9d | ||
|
|
f9d0b2f758 | ||
|
|
1cfd52452a | ||
|
|
8b43a1dd6a | ||
|
|
fd1d5997b0 | ||
|
|
bb2eff506a | ||
|
|
02ca93318b | ||
|
|
d3adf63e13 | ||
|
|
e91a66fc94 | ||
|
|
7b88115737 | ||
|
|
25436acaa9 | ||
|
|
616fab4469 | ||
|
|
f2a6335118 | ||
|
|
fc6e8a27fc | ||
|
|
eecf2d99e2 | ||
|
|
04a6c2c987 | ||
|
|
966864c7a8 | ||
|
|
e3e77d628a | ||
|
|
ab90246c67 | ||
|
|
91288cad6a | ||
|
|
2536266232 | ||
|
|
9cfadcb38f | ||
|
|
aa7cd58fb8 | ||
|
|
e1518daf9d | ||
|
|
6e30ded242 | ||
|
|
a9ffb3da97 | ||
|
|
6223a90aa0 | ||
|
|
d67c6000ce | ||
|
|
16eadad7d3 | ||
|
|
823bca4aed | ||
|
|
45ca7b3851 | ||
|
|
c385035a80 | ||
|
|
b5546715f6 | ||
|
|
83e71411ab | ||
|
|
4fe8b900a7 | ||
|
|
97bc10361b | ||
|
|
c603ce5df5 | ||
|
|
97f42f6046 | ||
|
|
ca0c2f51b7 | ||
|
|
83020f1270 | ||
|
|
9b8bb0edbe | ||
|
|
093915cf83 | ||
|
|
c74f44126e | ||
|
|
9ba3fa0ba3 | ||
|
|
b89b696e71 | ||
|
|
746d97a043 | ||
|
|
1413e21a63 | ||
|
|
1c97e98115 | ||
|
|
7a0979e2be | ||
|
|
0a58940696 | ||
|
|
f99617537b | ||
|
|
a9a08890cb | ||
|
|
e88178655b | ||
|
|
a622c9c8ce | ||
|
|
6bd6da1ae6 | ||
|
|
fe29d23c7d | ||
|
|
537a24f852 | ||
|
|
1f635c1532 | ||
|
|
8f0de0cbfb | ||
|
|
5968ff1992 | ||
|
|
e6a2cb8763 | ||
|
|
43cec6c0dd | ||
|
|
242987b59b | ||
|
|
13dc0bb2c2 | ||
|
|
62458f4b9e | ||
|
|
9d0b1967c0 | ||
|
|
aa2ea3b812 | ||
|
|
610c764662 | ||
|
|
dc3aa8cd27 | ||
|
|
47cd88f0f8 | ||
|
|
bf8cc86306 | ||
|
|
7ce175b023 | ||
|
|
941108ca07 | ||
|
|
9aac2a41c4 | ||
|
|
5b2ac5b1d9 | ||
|
|
85270afe51 | ||
|
|
c695c1ee8b | ||
|
|
f19bdb47e4 | ||
|
|
fa3dcfdc87 | ||
|
|
9dc8579c11 | ||
|
|
246d4ffcc0 | ||
|
|
c6e50e868f | ||
|
|
90d09a591e | ||
|
|
dffb0dd178 | ||
|
|
5141dc7f2c | ||
|
|
6a5fbca3d9 | ||
|
|
88c76920be | ||
|
|
5ff3b55860 | ||
|
|
bc84302196 | ||
|
|
a46c587880 | ||
|
|
c82fab64a0 | ||
|
|
9d84dcb2fc | ||
|
|
f3d3e2beae | ||
|
|
c93589ae97 | ||
|
|
0fdb5fae2f | ||
|
|
4d4594d8b8 | ||
|
|
ee8c7c80b7 | ||
|
|
629948534e | ||
|
|
62c576b042 | ||
|
|
242dce8c9e | ||
|
|
2a5200b596 | ||
|
|
dc0400056c | ||
|
|
fe836ec756 | ||
|
|
555041c8c2 | ||
|
|
074c3c2693 | ||
|
|
eabbcf5332 | ||
|
|
ef9ca7ac17 | ||
|
|
bdb9f21dad | ||
|
|
fd708a1ab6 | ||
|
|
ad06981f78 | ||
|
|
2d9df9123c | ||
|
|
00b6bc472b | ||
|
|
d0fc6f4ec6 | ||
|
|
5ac651e7b4 | ||
|
|
56a1881bff | ||
|
|
f99af5280e | ||
|
|
8ab54099c4 | ||
|
|
9be68f8952 | ||
|
|
a5bc0ce8a0 | ||
|
|
b40ae96a9b | ||
|
|
54d73d3bfe | ||
|
|
66420c76f7 | ||
|
|
f35875568b | ||
|
|
d97e190c7e | ||
|
|
f1ff42789b | ||
|
|
83dde0759f | ||
|
|
757741bd90 | ||
|
|
d1de81f0c6 | ||
|
|
b6397061dd | ||
|
|
65e92f4cef | ||
|
|
ef684b2041 | ||
|
|
0f7389f5bb | ||
|
|
4e32895440 | ||
|
|
ddcdec0314 | ||
|
|
bf3ac1d7fc | ||
|
|
7845ed2d91 | ||
|
|
6bfb2f1cf1 | ||
|
|
82eafc02e4 | ||
|
|
91dd686981 | ||
|
|
33d2d52644 | ||
|
|
c65f48052a | ||
|
|
e3a57ead2e | ||
|
|
6e23736a07 | ||
|
|
78735091b6 | ||
|
|
508effd434 | ||
|
|
6e65ed7cf8 | ||
|
|
a3806d1745 | ||
|
|
858f025f69 | ||
|
|
94bb3cadd2 | ||
|
|
7592b15865 | ||
|
|
d56bdb34e8 | ||
|
|
39b2b769d5 | ||
|
|
41393735d6 | ||
|
|
9eee5a5221 | ||
|
|
07b8fd3cf1 | ||
|
|
4cf197d22b | ||
|
|
24c3624fee | ||
|
|
a7f5328ca1 | ||
|
|
2d4ea2b604 | ||
|
|
cb85c56a58 | ||
|
|
e6e0fb8226 | ||
|
|
d0f51b4e83 | ||
|
|
69c20abafe | ||
|
|
8790799a12 | ||
|
|
3749debbec | ||
|
|
51176ec4eb | ||
|
|
5e33d810bd | ||
|
|
c2f4d0439d | ||
|
|
4d17243fd1 | ||
|
|
fab01c2cff | ||
|
|
77f563b5f2 | ||
|
|
3fd6c71d19 | ||
|
|
3885890e49 | ||
|
|
23fa02853e | ||
|
|
8bbca2bada | ||
|
|
266c991d6f | ||
|
|
c60a28c8ad | ||
|
|
47535f557d | ||
|
|
a48bc43985 | ||
|
|
2a648ccdb8 | ||
|
|
1cd20b27b4 | ||
|
|
0dac4223b2 | ||
|
|
db8d45b66d | ||
|
|
e0b279ec61 | ||
|
|
f4c3c959b4 | ||
|
|
f3a8d72bfb | ||
|
|
8ffdc724ec | ||
|
|
2b574b2c5e | ||
|
|
3109b7cfeb | ||
|
|
f8dfe7066e | ||
|
|
fc869e76b9 | ||
|
|
6c3adfeac1 | ||
|
|
45d9cc1b5a | ||
|
|
4aa090cf11 | ||
|
|
b05d4b9322 | ||
|
|
f9ae98ab88 | ||
|
|
8997ef3b6a | ||
|
|
a71c1c7196 | ||
|
|
05bd2d2ffa | ||
|
|
62a24cf4ac | ||
|
|
e0d515ec32 | ||
|
|
256dbaaa20 | ||
|
|
f0398a70a5 | ||
|
|
9a1d66fa3a | ||
|
|
1837a71ea1 | ||
|
|
82bc0ca4ce | ||
|
|
11961e0202 | ||
|
|
455cfb3b95 | ||
|
|
590473d01b | ||
|
|
c18b403fa5 | ||
|
|
25233ec2ee | ||
|
|
186600778e | ||
|
|
7993a0d9e4 | ||
|
|
792b5367cd | ||
|
|
0054c555b3 | ||
|
|
dc4c79a52f | ||
|
|
d6141be2ef | ||
|
|
ea21013fb5 | ||
|
|
9c7b4038d3 | ||
|
|
63c3593370 | ||
|
|
62835ec068 | ||
|
|
5622889849 | ||
|
|
632e1354b6 | ||
|
|
c8df608851 | ||
|
|
966d2b4292 | ||
|
|
fdae69d222 | ||
|
|
716ff39b42 | ||
|
|
ebfae1efa8 | ||
|
|
266076030a | ||
|
|
5d9d139e0a | ||
|
|
38b9617c77 | ||
|
|
211594fb3c | ||
|
|
6b6c324e06 | ||
|
|
422a7103d1 | ||
|
|
4484646a0b | ||
|
|
5d8d1285d7 | ||
|
|
b08c54265b | ||
|
|
efc7e54e14 | ||
|
|
df7f474937 | ||
|
|
ba95f34c0a | ||
|
|
4526bbb722 | ||
|
|
3daaa4d39c | ||
|
|
11ce9cab62 | ||
|
|
4d56a808cf | ||
|
|
d26bec1721 | ||
|
|
7ede70ad8e | ||
|
|
9b1fa3e38f | ||
|
|
2a3006438d | ||
|
|
548854a9c6 | ||
|
|
1d14ecc9ed | ||
|
|
aebb8f0d85 | ||
|
|
709871bd6e | ||
|
|
e013096c65 | ||
|
|
f0e6bd2f96 | ||
|
|
b7e4f0c0b9 | ||
|
|
16309a7561 | ||
|
|
e4b5152a9b | ||
|
|
792a0169b9 | ||
|
|
eb0209be29 | ||
|
|
d26e9c18e8 | ||
|
|
952c9145b2 | ||
|
|
68fe403e46 | ||
|
|
061f782c4b | ||
|
|
e58e0fcf57 | ||
|
|
145842ded5 | ||
|
|
b6082446c2 | ||
|
|
9ab31d0213 | ||
|
|
2657d9cb1e | ||
|
|
42874b6479 | ||
|
|
2ce28c626c | ||
|
|
a5a3a52e10 | ||
|
|
d3b8558190 | ||
|
|
b1aa5c0074 | ||
|
|
0a35d095bf | ||
|
|
b319e134ef | ||
|
|
5ff8de7322 | ||
|
|
7692bfc5a9 | ||
|
|
58a947d9c5 | ||
|
|
1f19829f91 | ||
|
|
1e58d75461 | ||
|
|
88c89b2a0d | ||
|
|
f7cf1b7e07 | ||
|
|
f1df763e67 | ||
|
|
fff286cdfa | ||
|
|
82a7e5bb70 | ||
|
|
78bcf6aa14 | ||
|
|
8b53bbfa5f | ||
|
|
e0c549679a | ||
|
|
b57202ea18 | ||
|
|
574f999d55 | ||
|
|
09aa3bcc30 | ||
|
|
aabcc3e60e | ||
|
|
d1555c7c72 | ||
|
|
30c163826c | ||
|
|
a8a03515fa | ||
|
|
b4ef279dd7 | ||
|
|
6207a4932a | ||
|
|
b705b1c2aa | ||
|
|
d7a9834218 | ||
|
|
918da31c51 | ||
|
|
d63f005908 | ||
|
|
074c3e056e | ||
|
|
2e449ae199 | ||
|
|
a7ae3550e9 | ||
|
|
a30d0c3da9 | ||
|
|
ed744164fb | ||
|
|
e217c5ae86 | ||
|
|
982e1549fd | ||
|
|
9f2c4f328d | ||
|
|
9c79e7a3ae | ||
|
|
526d957b4f | ||
|
|
68ba6c1456 | ||
|
|
4fa0463aa9 | ||
|
|
c4d38b54ad | ||
|
|
16385fe576 | ||
|
|
6214c2e6ed | ||
|
|
c44957bab3 | ||
|
|
caa28c999c | ||
|
|
903644f8f1 | ||
|
|
21bc9cf4cd | ||
|
|
9b4b6d6211 | ||
|
|
7f6943705e | ||
|
|
aa07d1c2d5 | ||
|
|
98442ff12c | ||
|
|
bef8c4d0f8 | ||
|
|
4ee553f888 | ||
|
|
01eaabd5d4 | ||
|
|
f3281df8c2 | ||
|
|
e20962e7e3 | ||
|
|
569749b214 | ||
|
|
520fb508e6 | ||
|
|
f5fd9e0b3e | ||
|
|
9a6ef035c4 | ||
|
|
6a1ceec1fa | ||
|
|
7071fe64af | ||
|
|
92ac04725e | ||
|
|
db1476e1cb | ||
|
|
5dd17f8942 | ||
|
|
ed7352ea63 | ||
|
|
93680ffb36 | ||
|
|
9030c7acda | ||
|
|
501ded4a5e | ||
|
|
bb725e72b0 | ||
|
|
da652801a1 | ||
|
|
84518bc046 | ||
|
|
1764b7e263 | ||
|
|
275e5a5e0d | ||
|
|
dbc31d3a23 | ||
|
|
0db33fa933 | ||
|
|
ae67391964 | ||
|
|
776aba3f7c | ||
|
|
bc95b8ff1e | ||
|
|
8249d970e6 | ||
|
|
edca7989e3 | ||
|
|
2c59986b44 | ||
|
|
fce35160dd | ||
|
|
e1feed1042 | ||
|
|
4e0981da06 | ||
|
|
6758bfec38 | ||
|
|
777fa66d5b | ||
|
|
46bc4f393e | ||
|
|
efd961c721 | ||
|
|
665d8d4141 | ||
|
|
ce3ddc2073 | ||
|
|
f75c72dd2d | ||
|
|
7aa4bfe352 | ||
|
|
43957a4dd7 | ||
|
|
53482f70bc | ||
|
|
f8ca228b2e | ||
|
|
f1e68da190 | ||
|
|
57239e923f | ||
|
|
1fb43ec60d | ||
|
|
e7d4a0e1f7 | ||
|
|
d90075ff7c | ||
|
|
e5de7dacf9 | ||
|
|
abd2d39d6b | ||
|
|
f1a9bc25a1 | ||
|
|
1418f0d58b | ||
|
|
aaf9d40318 | ||
|
|
37ff0bcb9d | ||
|
|
167d1a6c19 | ||
|
|
4de1501831 | ||
|
|
1025d82b3e | ||
|
|
ed0cefd19a | ||
|
|
70c7f2ef1d | ||
|
|
fd5843e964 | ||
|
|
4d35043211 | ||
|
|
b0057f2259 | ||
|
|
3a7874cd61 | ||
|
|
57962479d7 | ||
|
|
076e44ac27 | ||
|
|
f84179d397 | ||
|
|
beabfddefb | ||
|
|
8417f42847 | ||
|
|
4ceda0772d | ||
|
|
75d5e92311 | ||
|
|
936697aa97 | ||
|
|
745a6bec4a | ||
|
|
8aaf80d011 | ||
|
|
21fb262df5 | ||
|
|
5abf30d893 | ||
|
|
ea4e4a9ef6 | ||
|
|
dc2e330a9f | ||
|
|
cfc5d4fb3d | ||
|
|
1f93e5326c | ||
|
|
ee6c6efcfc | ||
|
|
178bb86b7e | ||
|
|
727cf39986 | ||
|
|
098de0b8e8 | ||
|
|
92a45afd7b | ||
|
|
0c6932a985 | ||
|
|
ddb061f776 | ||
|
|
f7c9be4890 | ||
|
|
13aeb8836a | ||
|
|
6295559e04 | ||
|
|
025ee6399b | ||
|
|
8e88de76bb | ||
|
|
cbc43ad527 | ||
|
|
2efd64587f | ||
|
|
9e91b6687e | ||
|
|
ca55ce871f | ||
|
|
b3e3e4cc40 | ||
|
|
2d9f497748 | ||
|
|
86ccab6997 | ||
|
|
5ad055154b | ||
|
|
2247603bd8 | ||
|
|
18dc4ebcd0 | ||
|
|
2ceb6e9402 | ||
|
|
d2a26c9595 | ||
|
|
bb99b3ef99 | ||
|
|
39af47841f | ||
|
|
bb0e787f60 | ||
|
|
83832615fa | ||
|
|
6559b16c14 | ||
|
|
225848bd65 | ||
|
|
fa6194cc19 | ||
|
|
a1eb52aa13 | ||
|
|
a2ee7059d0 | ||
|
|
572f79d0f3 | ||
|
|
30223ad01d | ||
|
|
6221c90f95 | ||
|
|
27ce756030 | ||
|
|
51d1c47c8b | ||
|
|
57ae95d7aa | ||
|
|
810e4a15dd | ||
|
|
ed6183c2b9 | ||
|
|
cd39375a39 | ||
|
|
87c125c435 | ||
|
|
07959b40bb | ||
|
|
94dcde7291 | ||
|
|
b59125ca81 | ||
|
|
6c37483822 | ||
|
|
616ea50718 | ||
|
|
1a8bdd5aff | ||
|
|
6d88df8d82 | ||
|
|
6ca11b76d6 | ||
|
|
6400a71595 | ||
|
|
a12daa47e0 | ||
|
|
90ca313240 | ||
|
|
505695fcd1 | ||
|
|
3298fe7f21 | ||
|
|
5599130b36 | ||
|
|
17d4227002 | ||
|
|
85a3e77247 | ||
|
|
71c58f8fb0 | ||
|
|
08559f8a29 | ||
|
|
af2b3eb197 | ||
|
|
4aa28ede12 | ||
|
|
67f753a893 | ||
|
|
492438a431 | ||
|
|
bebd8dc438 | ||
|
|
13d0bab910 | ||
|
|
f892c7c574 | ||
|
|
5e6e6df993 | ||
|
|
5d69157964 | ||
|
|
fd185fb454 | ||
|
|
a8c53ebf16 | ||
|
|
f068fb6b66 | ||
|
|
1db2001526 | ||
|
|
7ccddf9832 | ||
|
|
52d9a55a86 | ||
|
|
80165d2117 | ||
|
|
8724ace98a | ||
|
|
4ea3122758 | ||
|
|
0c9eb70a46 | ||
|
|
ff285585d4 | ||
|
|
14867dbabe | ||
|
|
27b67e3586 | ||
|
|
e693ce5077 | ||
|
|
606677431a | ||
|
|
271c88f8a8 | ||
|
|
506d5d4049 | ||
|
|
6bb78cace3 | ||
|
|
5348325a64 | ||
|
|
d181fe7194 | ||
|
|
26eacdc3dc | ||
|
|
87d8bdef08 | ||
|
|
04b6339bd1 | ||
|
|
c7b19b52fd | ||
|
|
5b2437d62f | ||
|
|
3ea09f9c8f | ||
|
|
abd1bd5d8f | ||
|
|
86968831ec | ||
|
|
af835fc6de | ||
|
|
ab5220be93 | ||
|
|
32801300d1 | ||
|
|
1ec9117f63 | ||
|
|
adc4d3c471 | ||
|
|
0279b08ccb | ||
|
|
2602f25eb7 | ||
|
|
de3fa74e12 | ||
|
|
522c8b69f5 | ||
|
|
f8a1ab5d75 | ||
|
|
6f43750475 | ||
|
|
e0e341c7d1 | ||
|
|
b0be338837 | ||
|
|
9df453295e | ||
|
|
e40724e169 | ||
|
|
310be7a2fb | ||
|
|
824b01d4fc | ||
|
|
fec0e65560 | ||
|
|
55293097e1 | ||
|
|
d1aa491294 | ||
|
|
32a5d1fc3b | ||
|
|
18f2255ecd | ||
|
|
f44ff23078 | ||
|
|
c738a606d2 | ||
|
|
983b5a8cbe | ||
|
|
21192c8424 | ||
|
|
7ed46ff6e1 | ||
|
|
d2b64bb5cf | ||
|
|
3454feb426 | ||
|
|
5acc6be700 | ||
|
|
3e514ce907 | ||
|
|
1f85a462e9 | ||
|
|
51c97ade65 | ||
|
|
c2f95645ca | ||
|
|
3611e8ec48 | ||
|
|
6344d4be9f | ||
|
|
1334748e5a | ||
|
|
b5d64ebd0a | ||
|
|
ef29b9fbfa | ||
|
|
7ee123b1e2 | ||
|
|
5831edbc3f | ||
|
|
68f5463685 | ||
|
|
f4346ebc54 | ||
|
|
4cf3f02cac | ||
|
|
afa9a853fb | ||
|
|
10ba222234 | ||
|
|
ccd373f429 | ||
|
|
bdfa3ef2ca | ||
|
|
9aaa0083d0 | ||
|
|
333c6665a2 | ||
|
|
1ebb4e4cbd | ||
|
|
1448821251 | ||
|
|
37ddfb1da4 | ||
|
|
ce31c277fb | ||
|
|
38d0080cf5 | ||
|
|
a08574bf9e | ||
|
|
3765f987d5 | ||
|
|
523e9ff615 | ||
|
|
8da9924557 | ||
|
|
fbb36d5500 | ||
|
|
bcd8b38b57 | ||
|
|
a308a7cd22 | ||
|
|
7ef2b4f919 | ||
|
|
33db577741 | ||
|
|
1fc8f5631c | ||
|
|
c4c6a9373d | ||
|
|
1520a7aaba | ||
|
|
533bcc0c49 | ||
|
|
26cad094ee | ||
|
|
bee68ad79f | ||
|
|
b5d36a9abb | ||
|
|
ca7b288837 | ||
|
|
f99700a264 | ||
|
|
df203f3532 | ||
|
|
f98b92ea6c | ||
|
|
dbaab5d01a | ||
|
|
e5207856a0 | ||
|
|
1aef35403d | ||
|
|
68130ebec9 | ||
|
|
9e469d7b9e | ||
|
|
d421ee95b0 | ||
|
|
6fc58f529b | ||
|
|
5c06650885 | ||
|
|
77a8ed1b39 | ||
|
|
cf39a9cd43 | ||
|
|
7e220bf4ff | ||
|
|
d4bd4f0091 | ||
|
|
afd9c96b3f | ||
|
|
6c6ab73705 | ||
|
|
aaceb6f0cf | ||
|
|
cfa6ff88d1 | ||
|
|
ff3a3a6fad | ||
|
|
9285e189c1 | ||
|
|
5a0573df99 | ||
|
|
c329548380 | ||
|
|
9549385e47 | ||
|
|
3f899a3198 | ||
|
|
dd15ef7b68 | ||
|
|
a427893839 | ||
|
|
866ad511fe | ||
|
|
86f8dd621a | ||
|
|
daa673f978 | ||
|
|
a21319d1ca | ||
|
|
cfe36830d4 | ||
|
|
831381caa9 | ||
|
|
e33294bf22 | ||
|
|
762ac3d618 | ||
|
|
259afc7850 | ||
|
|
c238778b63 | ||
|
|
4a054b40ae | ||
|
|
be684e09b4 | ||
|
|
3830eca92c | ||
|
|
aa59a09fd7 | ||
|
|
e600333511 | ||
|
|
581b46d90d | ||
|
|
17af65a784 | ||
|
|
5ebdc64ef8 | ||
|
|
6f740b5bc3 | ||
|
|
cfe5263372 | ||
|
|
c23173ee4b | ||
|
|
7c284c8c2b | ||
|
|
acf546b1ba | ||
|
|
89fa700441 | ||
|
|
2e68bc17e3 | ||
|
|
f97b7bd2a2 | ||
|
|
7f28de8559 | ||
|
|
3307394dba | ||
|
|
fb4877a8d7 | ||
|
|
d31ccce651 | ||
|
|
348ec2cf7a | ||
|
|
b85f34d763 | ||
|
|
466c00b8f0 | ||
|
|
a0bf70a140 | ||
|
|
d720e3368c | ||
|
|
1ebd866eaa | ||
|
|
39d1e1889f | ||
|
|
5f0dd2998d | ||
|
|
87714d8a45 | ||
|
|
258efac3c6 | ||
|
|
1a4ce67a49 | ||
|
|
e68c3b8027 | ||
|
|
2640a8d862 | ||
|
|
aa8605d0eb | ||
|
|
4b9d0677c9 | ||
|
|
6ccea37726 | ||
|
|
56d5fce7f4 | ||
|
|
00f7811683 | ||
|
|
c5b00568ba | ||
|
|
27bf99ebed | ||
|
|
2015a4ab21 | ||
|
|
2eb33cebf5 | ||
|
|
ccda92d896 | ||
|
|
69f8abf794 | ||
|
|
a4d6fccef9 | ||
|
|
c98b69bc05 | ||
|
|
382a9b3679 | ||
|
|
bd9b4e9b24 | ||
|
|
eab4b7e67b | ||
|
|
b9e7bcabe4 | ||
|
|
e6e0331cde | ||
|
|
540ef7fb38 | ||
|
|
76e9739a43 | ||
|
|
e1b061052d | ||
|
|
5f26cd5416 | ||
|
|
db758b9f85 | ||
|
|
1890aa6ec3 | ||
|
|
a497e40075 | ||
|
|
d8dab47fd0 | ||
|
|
60d58d9128 | ||
|
|
a5fcc9413d | ||
|
|
1d1069575d | ||
|
|
57d7457da5 | ||
|
|
128e454ad2 | ||
|
|
61f32e7f14 | ||
|
|
74695b9d03 | ||
|
|
f8a969aae9 | ||
|
|
417389513f | ||
|
|
e871e6f844 | ||
|
|
a3e6b2cd8b | ||
|
|
310192e3cb | ||
|
|
468339deb6 | ||
|
|
826558a4af | ||
|
|
334d05b1e7 | ||
|
|
dd0eab4247 | ||
|
|
8a1db7bb93 | ||
|
|
64d523c524 | ||
|
|
6b1529a15c | ||
|
|
8a10c623f3 | ||
|
|
fc53acc968 | ||
|
|
edffe785ba | ||
|
|
850f2df48b | ||
|
|
5e3ffa5a51 | ||
|
|
230a43461c | ||
|
|
501e77f912 | ||
|
|
fe06971e14 | ||
|
|
e686d39489 | ||
|
|
b1000f0b2e | ||
|
|
1f0ad125dd | ||
|
|
d87817c174 | ||
|
|
51125153e5 | ||
|
|
d4f922abce | ||
|
|
7ca4c72cc8 | ||
|
|
2e78636ac7 | ||
|
|
0ddf58fe64 | ||
|
|
6baf669349 | ||
|
|
522d027663 | ||
|
|
dc58d950f2 | ||
|
|
83f74c4123 | ||
|
|
fff41905e9 | ||
|
|
44a2d35676 | ||
|
|
1d6a8ed6ea | ||
|
|
4ede66b950 | ||
|
|
2b84f5bc33 | ||
|
|
42311595ae | ||
|
|
0526617e0a | ||
|
|
9b63661c15 | ||
|
|
a46742dcb6 | ||
|
|
a4f960311e | ||
|
|
c64f332016 | ||
|
|
6320fcb16b | ||
|
|
21d5c9c346 | ||
|
|
d0b0e2b880 | ||
|
|
ff0a6e77ff | ||
|
|
e2340cd101 | ||
|
|
bfa744e645 | ||
|
|
9c412c0b91 | ||
|
|
11ec98cacd | ||
|
|
23058b943f | ||
|
|
65b981632c | ||
|
|
6544bcfda8 | ||
|
|
2251178eac | ||
|
|
7daf4b739e | ||
|
|
bd9fa57b81 | ||
|
|
68bff52cae | ||
|
|
8873c44400 | ||
|
|
b603482343 | ||
|
|
d30c17f44e | ||
|
|
2ca4575eeb | ||
|
|
51b93b6c23 | ||
|
|
ed9fb93c62 | ||
|
|
5ea6b70ca1 | ||
|
|
7d1644d234 | ||
|
|
010fce60af | ||
|
|
c3667fa861 | ||
|
|
8716b46c87 | ||
|
|
cfdbdfc9eb | ||
|
|
077582d3f9 | ||
|
|
db51810499 | ||
|
|
5e23a773b4 | ||
|
|
1ca679877e | ||
|
|
9cb34c2a76 | ||
|
|
03c7f4f63b | ||
|
|
869a2b0121 | ||
|
|
0e409c5558 | ||
|
|
010fcfb9ec | ||
|
|
045232ef52 | ||
|
|
a560146b7c | ||
|
|
b64dd253b6 | ||
|
|
75343422a5 | ||
|
|
02db562b69 | ||
|
|
1b35e551d5 | ||
|
|
65b5d9b115 | ||
|
|
76f0a58429 | ||
|
|
572e868f97 | ||
|
|
313d06b169 | ||
|
|
74524d8b92 | ||
|
|
5b88ecbe0b | ||
|
|
a17afc056b | ||
|
|
d5eb1e5aed | ||
|
|
74c86ff4cc | ||
|
|
4ad2d48197 | ||
|
|
cbf2e5be18 | ||
|
|
135e4ddf27 | ||
|
|
6d298d47f9 | ||
|
|
a75c5db541 | ||
|
|
34a4ffcc45 | ||
|
|
798a08c1f1 | ||
|
|
cbd180afe6 | ||
|
|
c4aa50d2e1 | ||
|
|
84fe1a5774 | ||
|
|
819026f391 | ||
|
|
45e66c5362 | ||
|
|
cef99c3837 | ||
|
|
f7e0f70b7d | ||
|
|
feb90c6d43 | ||
|
|
b1b5ab0524 | ||
|
|
fd201644a0 | ||
|
|
97e9bbae7e | ||
|
|
d466cb5fa5 | ||
|
|
828d2adff9 | ||
|
|
37fe83f6ea | ||
|
|
e06781fb7a | ||
|
|
1782b291f8 | ||
|
|
7b51e84dc5 | ||
|
|
0f00eb3e59 | ||
|
|
2769d84822 | ||
|
|
966d8f2a57 | ||
|
|
b3901be2f6 | ||
|
|
ee90fc601e | ||
|
|
621faafcaf | ||
|
|
4e72eaacaa | ||
|
|
3a0d3e1169 | ||
|
|
da76a7b803 | ||
|
|
a7c31c9805 | ||
|
|
73f3ee63cc | ||
|
|
5c7f10154f | ||
|
|
992525a6df | ||
|
|
76e2c3227f | ||
|
|
5b4ccf033f | ||
|
|
071c3f5697 | ||
|
|
9a08e45324 | ||
|
|
574f482506 | ||
|
|
500eec69c7 | ||
|
|
5d50b36c5f | ||
|
|
89ceb247c4 | ||
|
|
2d57bab36b | ||
|
|
ed0b9b227b | ||
|
|
0cac21043d | ||
|
|
44b7efbee0 | ||
|
|
0a0da6cbe1 | ||
|
|
310b69ce3d | ||
|
|
0a3a12b9aa | ||
|
|
30f9a22f08 | ||
|
|
84bac28050 | ||
|
|
93e74ce434 | ||
|
|
f48e4357c9 | ||
|
|
a377fa737c | ||
|
|
aa7df40d0c | ||
|
|
5467391bbc | ||
|
|
94db1a63f0 | ||
|
|
414e98156a | ||
|
|
565d626c05 | ||
|
|
31ec985a6f | ||
|
|
4f1514cc22 | ||
|
|
a661eb8c9d | ||
|
|
b9b72e5947 | ||
|
|
b4b33c06e6 | ||
|
|
49a83d0b72 | ||
|
|
c271644e20 | ||
|
|
c96819eb25 | ||
|
|
3b9f8e8d77 | ||
|
|
ef239e765e | ||
|
|
2d403b3a44 | ||
|
|
3b3017dbe4 | ||
|
|
2dabc3e221 | ||
|
|
940944dcde | ||
|
|
182f7c33c1 | ||
|
|
e3ede19ce7 | ||
|
|
e6fc657342 | ||
|
|
a957ab18a3 | ||
|
|
bde8ce85e0 | ||
|
|
76849c1cfb | ||
|
|
1d115c6cd1 | ||
|
|
d1add5e846 | ||
|
|
b11e90f2f7 | ||
|
|
fe1c006f59 | ||
|
|
64cb61349f | ||
|
|
091181ba1d | ||
|
|
19631350a2 | ||
|
|
c2a7bb4598 | ||
|
|
d62228e521 | ||
|
|
7075c21582 | ||
|
|
581e33fcb6 | ||
|
|
f787cfb2ba | ||
|
|
0ec79ec49e | ||
|
|
52acc12919 | ||
|
|
631d4e0052 | ||
|
|
e1354fd956 | ||
|
|
2d7ce926aa | ||
|
|
8b9eaf7a72 | ||
|
|
a61c283115 | ||
|
|
4a78d5cb13 | ||
|
|
beb36c6a31 | ||
|
|
a0fc3f4dcf | ||
|
|
872976e6c6 | ||
|
|
f285740333 | ||
|
|
3b2da24533 | ||
|
|
ab98a01bac | ||
|
|
1516837c58 | ||
|
|
99c93cbe85 | ||
|
|
29741a40cb | ||
|
|
a796ce400d | ||
|
|
506e60cf63 | ||
|
|
3f527c012d | ||
|
|
027da05f20 | ||
|
|
eb18b8c0de | ||
|
|
88a90e5c20 | ||
|
|
48d1ebf570 | ||
|
|
d0b38e1871 | ||
|
|
836194d63b | ||
|
|
ea0f582d72 | ||
|
|
aaf9fd3dbd | ||
|
|
ab514a67ee | ||
|
|
323fcec547 | ||
|
|
3877878670 | ||
|
|
afffab3b5c | ||
|
|
3637f8cddf | ||
|
|
087316c833 | ||
|
|
5e5e381907 | ||
|
|
3713c3d810 | ||
|
|
11917e41a8 | ||
|
|
b79a891772 | ||
|
|
8884492839 | ||
|
|
56e3456e5f | ||
|
|
c989c25405 | ||
|
|
3bb98453bb | ||
|
|
1009c92386 | ||
|
|
20ab5bfe7a | ||
|
|
4465db2b46 | ||
|
|
f55019707b | ||
|
|
8522b3d989 | ||
|
|
4b2ec296b6 | ||
|
|
b21dc44004 | ||
|
|
16aeed9691 | ||
|
|
11e95169e7 | ||
|
|
fdc0acbb01 | ||
|
|
eec0a66009 | ||
|
|
e05343ddf5 | ||
|
|
45f1fb7d50 | ||
|
|
414b5fc644 | ||
|
|
0fd8ecd055 | ||
|
|
28a16d28a0 | ||
|
|
32eb3111ee | ||
|
|
92bc142c7c | ||
|
|
5a5145461d | ||
|
|
9710e93212 | ||
|
|
e13b6b397e | ||
|
|
eac4aabb7e | ||
|
|
31778d9146 | ||
|
|
5f72be6d6d | ||
|
|
67441500e4 | ||
|
|
77e670ccb3 | ||
|
|
908e8381f0 | ||
|
|
c49249d3b8 | ||
|
|
de6528383b | ||
|
|
29c82e9a81 | ||
|
|
8f886aa5ad | ||
|
|
18d4e1c1d7 | ||
|
|
4010476492 | ||
|
|
19bdbfa77c | ||
|
|
62e8f04c23 | ||
|
|
40a27d977b | ||
|
|
8b27dee31d | ||
|
|
0ed7b3647a | ||
|
|
66f78c9b43 | ||
|
|
f4ce23e0b7 | ||
|
|
7f245c7798 | ||
|
|
566eb0ccdb | ||
|
|
8077ff5da7 | ||
|
|
b41b5928ec | ||
|
|
c74f8a0ea5 | ||
|
|
e120193ed1 | ||
|
|
d99cf6b096 | ||
|
|
7283aded35 | ||
|
|
c51f5516ce | ||
|
|
163cfa71fd | ||
|
|
62a24d06c2 | ||
|
|
384c431d88 | ||
|
|
e5552e6905 | ||
|
|
230535d995 | ||
|
|
1e259bf34d | ||
|
|
d321424cab | ||
|
|
7eafb61cf1 | ||
|
|
125892ae42 | ||
|
|
79cc1aeccd | ||
|
|
e314d56b21 | ||
|
|
5c09208917 | ||
|
|
ca15fa930e | ||
|
|
820988907c | ||
|
|
f1542c6e52 | ||
|
|
5c74ddb92d | ||
|
|
cd658d90cc | ||
|
|
63d33d7f94 | ||
|
|
393db66fa0 | ||
|
|
882ae6dc81 | ||
|
|
b6147c325e | ||
|
|
f121eb73d4 | ||
|
|
291a32febc | ||
|
|
62bc1b229e | ||
|
|
c31458a5ad | ||
|
|
0ccfcec6fe | ||
|
|
c217843334 | ||
|
|
5c0f506a8d | ||
|
|
b60cf06374 | ||
|
|
9f0f177b6f | ||
|
|
2d19e5e052 | ||
|
|
e0b669dc1b | ||
|
|
52d82cba0a | ||
|
|
e7839d77b4 | ||
|
|
6ac36d6c40 | ||
|
|
2324773fbb | ||
|
|
5250b855e5 | ||
|
|
3f779475e3 | ||
|
|
720b81ff71 | ||
|
|
053868c17b | ||
|
|
f2dc087948 | ||
|
|
006de2be02 | ||
|
|
a8f395f763 | ||
|
|
055b15e042 | ||
|
|
07c6296f1c | ||
|
|
c7e4ef422e | ||
|
|
2ed4cddf00 | ||
|
|
859eac6db7 | ||
|
|
b0289fe19c | ||
|
|
35a4c994c8 | ||
|
|
c2cd663d62 | ||
|
|
1a86a68e46 | ||
|
|
7f81c06a0c | ||
|
|
427e0f335c | ||
|
|
21ae2786da | ||
|
|
83daf8e0e8 | ||
|
|
b834b10a3b | ||
|
|
b8670a4dbe | ||
|
|
f110c73056 | ||
|
|
4f65bd0778 | ||
|
|
7c50f6318c | ||
|
|
0f952a7adf | ||
|
|
3af24f31f3 | ||
|
|
02783048e9 | ||
|
|
348527989d | ||
|
|
59dd7ccff2 | ||
|
|
2517184252 | ||
|
|
df047ec2db | ||
|
|
ce55518eb9 | ||
|
|
e026ad7e55 | ||
|
|
3edf9da975 | ||
|
|
b6caf7d37a | ||
|
|
9b06c6a000 | ||
|
|
68e177a966 | ||
|
|
5d33eca131 | ||
|
|
280f222afa | ||
|
|
94a0d73732 | ||
|
|
15df083d06 | ||
|
|
4dee9cb05f | ||
|
|
cbcd4e8914 | ||
|
|
2b5495896e | ||
|
|
e6e4422fb4 | ||
|
|
6587eb73ae | ||
|
|
f95b3f433c | ||
|
|
9247bb5ce6 | ||
|
|
69689c95e5 | ||
|
|
e5cdc000d7 | ||
|
|
141970828e | ||
|
|
5e1d20ac48 | ||
|
|
f5696e5888 | ||
|
|
c21ffa3695 | ||
|
|
4bb7e0805e | ||
|
|
48a1825bff | ||
|
|
608fbb28a0 | ||
|
|
2c9595fe9b | ||
|
|
12d5afd75f | ||
|
|
23ae27b70d | ||
|
|
047414c02c | ||
|
|
45bcf3e665 | ||
|
|
fde1280c21 | ||
|
|
eeac70e579 | ||
|
|
cc8d3f09dd | ||
|
|
e05a638937 | ||
|
|
419331f455 | ||
|
|
72787358ad | ||
|
|
a77fff8e4c | ||
|
|
087178ba2c | ||
|
|
5f96b9c6e7 | ||
|
|
b28dfdd4ee | ||
|
|
4c0df6de33 | ||
|
|
b24fbe31cb | ||
|
|
9bb07c7986 | ||
|
|
8d349deb2a | ||
|
|
20bdb3ec83 | ||
|
|
9667b4ef59 | ||
|
|
49bb738eb2 | ||
|
|
d24633b39c | ||
|
|
e523f243d6 | ||
|
|
1afda33e4f | ||
|
|
e266dbe695 | ||
|
|
00dff71419 | ||
|
|
ca6365b316 | ||
|
|
94fe3dfb62 | ||
|
|
5e7137b6fe | ||
|
|
b89cb75d02 | ||
|
|
1207564519 | ||
|
|
897fb5025a | ||
|
|
509763cebe | ||
|
|
137e1e75d1 | ||
|
|
c38becfba1 | ||
|
|
3e46fb402b | ||
|
|
00efe86cd3 | ||
|
|
fe79b8de83 | ||
|
|
4312802ba7 | ||
|
|
b9043ed64c | ||
|
|
1982951c60 | ||
|
|
c2e47804fa | ||
|
|
341c0782e9 | ||
|
|
c26a8bbb74 | ||
|
|
722ddbf451 | ||
|
|
1f7386bd86 | ||
|
|
3ac455390e | ||
|
|
a402abe0c6 | ||
|
|
dd945c7ca5 | ||
|
|
fe9b9619fc | ||
|
|
0ea0f84a0d | ||
|
|
41739fb3e5 | ||
|
|
594719dbf2 | ||
|
|
13db722d6f | ||
|
|
a4eb5c2f91 | ||
|
|
a5c47a0894 | ||
|
|
76689aab4a | ||
|
|
5857790608 | ||
|
|
59737b2a47 | ||
|
|
2d964d860c | ||
|
|
f69b00568f | ||
|
|
41a4bda979 | ||
|
|
5730b425b3 | ||
|
|
e45b8b2f4f | ||
|
|
414e74bb4c | ||
|
|
7b3f134caa | ||
|
|
618f75ffe7 | ||
|
|
37e4a78fb7 | ||
|
|
915441ac03 | ||
|
|
06657dc387 | ||
|
|
f61b6ce5ab | ||
|
|
7a1a832f65 | ||
|
|
f75e5b4bc3 | ||
|
|
0b9bbcc7b2 | ||
|
|
10d334b8c6 | ||
|
|
8e22402bfa | ||
|
|
c0929c34e0 | ||
|
|
9e967f00b3 | ||
|
|
8532b7d59b | ||
|
|
5dd2290ef2 | ||
|
|
0d920026b5 | ||
|
|
5e08742b5c | ||
|
|
427cc60438 | ||
|
|
cb885fe3e0 | ||
|
|
22b6b95814 | ||
|
|
00ef68347f | ||
|
|
8b35ee7237 | ||
|
|
390e75170b | ||
|
|
25bcd22d15 | ||
|
|
8cad881e13 | ||
|
|
c629125a1d | ||
|
|
d7e3698dbc | ||
|
|
96afbd04c4 | ||
|
|
24acd0ff82 | ||
|
|
1c63fceb42 | ||
|
|
2a1bce7fef | ||
|
|
cf31c4eed1 | ||
|
|
397de9a6b0 | ||
|
|
0a9422abed | ||
|
|
08c7d3c120 | ||
|
|
9454206b34 | ||
|
|
2e95286e4d | ||
|
|
a2c9df5617 | ||
|
|
29340d4df3 | ||
|
|
07b8eaa68f | ||
|
|
7bc0e0cdd7 | ||
|
|
ec380c722e | ||
|
|
3e6c4f5264 | ||
|
|
6a91ef1ac3 | ||
|
|
2729605554 | ||
|
|
8e5124c890 | ||
|
|
45d90b20b7 | ||
|
|
0bc9c95a14 | ||
|
|
562e261f3a | ||
|
|
f15b1a5233 | ||
|
|
fafdb46e13 | ||
|
|
27fd8e5ad8 | ||
|
|
0c20ba842f | ||
|
|
bf6b05b0a3 | ||
|
|
6784c6120f | ||
|
|
cfeac85100 | ||
|
|
1debf39341 | ||
|
|
2cb98cb8ed | ||
|
|
b21c70ff49 | ||
|
|
b1360afe0a | ||
|
|
00c6a94a9c | ||
|
|
3d1b921a19 | ||
|
|
e9518198e5 | ||
|
|
a1cabeee67 | ||
|
|
ee13c84852 | ||
|
|
7111c840b9 | ||
|
|
7e2571ed33 | ||
|
|
247e158bf4 | ||
|
|
ca2292b6c2 | ||
|
|
fd41560563 | ||
|
|
ceabda8a54 | ||
|
|
b83d6e717d | ||
|
|
4472be61f0 | ||
|
|
1138466b13 | ||
|
|
32451337b0 | ||
|
|
f11c25c426 | ||
|
|
1a77e8727c | ||
|
|
0db4d85147 | ||
|
|
92fa05e67f | ||
|
|
faa5384be5 | ||
|
|
5c75d264a8 | ||
|
|
a8d9e343c6 | ||
|
|
87b7b97e0d | ||
|
|
eb602f66dc | ||
|
|
8d7c83a277 | ||
|
|
856377a61d | ||
|
|
000e598f31 | ||
|
|
b4df5611cb | ||
|
|
a8dfce5466 | ||
|
|
db95a04065 | ||
|
|
60ffbfb725 | ||
|
|
20e00bd15b | ||
|
|
5f94a10a06 | ||
|
|
e54ce145ea | ||
|
|
fdfa4b94bb | ||
|
|
8d12608cca | ||
|
|
66d32a0271 | ||
|
|
372f28339f | ||
|
|
00efc0305a | ||
|
|
53914b88bb | ||
|
|
3ee037c830 | ||
|
|
bb293a828f | ||
|
|
e83be97cb3 | ||
|
|
9a21932f43 | ||
|
|
93c02cfd32 | ||
|
|
52b00f2922 | ||
|
|
462834e6ea | ||
|
|
a7141c23ff | ||
|
|
2eebae392b | ||
|
|
46e7189c12 | ||
|
|
2087bd22c5 | ||
|
|
0256888233 | ||
|
|
2ed750a887 | ||
|
|
6b11f950e5 | ||
|
|
a5cea12cb3 | ||
|
|
e1626a41ea | ||
|
|
e146a9e9ca | ||
|
|
bc93e7fbe4 | ||
|
|
2f34c3325d | ||
|
|
e9f54cb051 | ||
|
|
5d72ee7c92 | ||
|
|
d8ce8b81c3 | ||
|
|
84b7714ba6 | ||
|
|
4cf2b5feee | ||
|
|
c2169c0121 | ||
|
|
c7dfe96397 | ||
|
|
169ab664c7 | ||
|
|
91ae166406 | ||
|
|
3aaacc57b0 | ||
|
|
b09b3689f2 | ||
|
|
177b2e1913 | ||
|
|
b7fff94589 | ||
|
|
68720076b1 | ||
|
|
5e8012a678 | ||
|
|
ea56fb0847 | ||
|
|
dac191e4e3 | ||
|
|
6fa9160954 | ||
|
|
30de1a50a6 | ||
|
|
834460c91d | ||
|
|
a701179293 | ||
|
|
66454b1a50 | ||
|
|
1eb27c1df8 | ||
|
|
65f260675e | ||
|
|
1c987f5bd0 | ||
|
|
a0d6c26a04 | ||
|
|
07bf83dd61 | ||
|
|
5548745ffa | ||
|
|
9556be1f23 | ||
|
|
afb392a079 | ||
|
|
6efe816846 | ||
|
|
07adebd8bf | ||
|
|
9635b9cea0 | ||
|
|
e0c31c054c | ||
|
|
a9dc556d0a | ||
|
|
2e2698a6e3 | ||
|
|
7b3c907796 | ||
|
|
8b7a2ebc53 | ||
|
|
31c446a1ac | ||
|
|
0ed43bba73 | ||
|
|
4b9235f567 | ||
|
|
f57f188d5e | ||
|
|
f64c3798c8 | ||
|
|
f922e1e565 | ||
|
|
393c357c53 | ||
|
|
13f5db4888 | ||
|
|
8ed730958d | ||
|
|
f9e4ca356a | ||
|
|
edf9f452e5 | ||
|
|
47ca0c0ae8 | ||
|
|
082daa04df | ||
|
|
8c7e025342 | ||
|
|
5289e52104 | ||
|
|
891b90b9d8 | ||
|
|
43d66ff4d8 | ||
|
|
9b97962a04 | ||
|
|
c66af2563e | ||
|
|
e0fe955483 | ||
|
|
a762f83e13 | ||
|
|
c0c41be207 | ||
|
|
e3f6365d8b | ||
|
|
9302c31f81 | ||
|
|
8df83179b6 | ||
|
|
ef42d89ffc | ||
|
|
ce4063f14f | ||
|
|
3a49748b76 | ||
|
|
9092eac2ea | ||
|
|
1fb2ab2244 | ||
|
|
ddcd1adb73 | ||
|
|
65ea950e30 | ||
|
|
cbe527afce | ||
|
|
276b0a9940 | ||
|
|
2cca55ee73 | ||
|
|
dddf0d8ea0 | ||
|
|
e3d9aad2a3 | ||
|
|
406c1d25ad | ||
|
|
8b58ce4ce3 | ||
|
|
5624d0d2ca | ||
|
|
11789c98ce | ||
|
|
59bbb688a5 | ||
|
|
6ed5db6dc8 | ||
|
|
3bfff911dd | ||
|
|
a9b5b501fd | ||
|
|
e2b4f546cf | ||
|
|
decbfc3e73 | ||
|
|
c67775554f | ||
|
|
2842685613 | ||
|
|
1b6292607c | ||
|
|
989aefce37 | ||
|
|
b388646ad0 | ||
|
|
5d80d08b8c | ||
|
|
6c62196f5c | ||
|
|
8bc93c4b39 | ||
|
|
47ca2c886d | ||
|
|
6706cae9a2 | ||
|
|
305b77c1fe | ||
|
|
19c8fad57b | ||
|
|
2742838b12 | ||
|
|
74770d3768 | ||
|
|
3a37fbaa0b | ||
|
|
bc7bb8ef59 | ||
|
|
786f289e00 | ||
|
|
c5aa6d1494 | ||
|
|
1a5dbe063a | ||
|
|
41fe812a81 | ||
|
|
ce2a8fcad1 | ||
|
|
0568203e32 | ||
|
|
17f001214e | ||
|
|
500765a5d3 | ||
|
|
8dba6fc778 | ||
|
|
bebbf5134d | ||
|
|
d95cc551df | ||
|
|
fd5089b471 | ||
|
|
b34ad6d930 | ||
|
|
6f1d247060 | ||
|
|
8e59eaa046 | ||
|
|
f704d56c37 | ||
|
|
41a4e6b63a | ||
|
|
40ded2b552 | ||
|
|
2ffb9a35a7 | ||
|
|
7a04c99af1 | ||
|
|
222df67b5f | ||
|
|
399f6e2425 | ||
|
|
1688f5d0c6 | ||
|
|
feff7ee306 | ||
|
|
53811fb124 | ||
|
|
45837e1a5a | ||
|
|
dba0a9c566 | ||
|
|
31434d52b3 | ||
|
|
335828b3e3 | ||
|
|
358039d9eb | ||
|
|
e0067a1201 | ||
|
|
772573f370 | ||
|
|
eee846a77f | ||
|
|
ba6c07c49c | ||
|
|
dd08fd4160 | ||
|
|
dcdfb3c500 | ||
|
|
bcefc71078 | ||
|
|
2099acf5f4 | ||
|
|
2c542fdc1b | ||
|
|
b17b5f38d6 | ||
|
|
25765e8d97 | ||
|
|
e7a5ef4aeb | ||
|
|
d189c74fa7 | ||
|
|
a9e73e7370 | ||
|
|
ea954f481b | ||
|
|
897ecfd59c | ||
|
|
d417b6d7dc | ||
|
|
2d4106dd06 | ||
|
|
200dff9cd1 | ||
|
|
cefa02738c | ||
|
|
7e24a650a8 | ||
|
|
a2083326f5 | ||
|
|
a2ec6eb28e | ||
|
|
778388f9ee | ||
|
|
62385ee390 | ||
|
|
75eacd49ae | ||
|
|
42aafd4c01 | ||
|
|
bf52e31dc2 | ||
|
|
68c053315e | ||
|
|
a3304910e9 | ||
|
|
91c849e442 | ||
|
|
5a36c9f1fd | ||
|
|
c3194fdd4a | ||
|
|
232236bed7 | ||
|
|
87d566aa5a | ||
|
|
30d0db2e53 | ||
|
|
d7b0d18bf0 | ||
|
|
13f3aab33e | ||
|
|
eeb5d4c670 | ||
|
|
17aa73d0ae | ||
|
|
327ef5d7a5 | ||
|
|
a616c819ef | ||
|
|
8f0f3c934a | ||
|
|
41bbde6add | ||
|
|
1c1a8550f3 | ||
|
|
171e74beab | ||
|
|
0cbf3e4a3c | ||
|
|
dd398d3481 | ||
|
|
1a5a4384d2 | ||
|
|
e8ee7f1f1d | ||
|
|
2ab495d049 | ||
|
|
60c26e4dd9 | ||
|
|
136f149c28 | ||
|
|
f76ffd46ce | ||
|
|
82a606c516 | ||
|
|
61ccc132bc | ||
|
|
8476f66ff2 | ||
|
|
41f760c673 | ||
|
|
cc0eb1b4cc | ||
|
|
781e549c48 | ||
|
|
4735975f0c | ||
|
|
c4597c7b8d | ||
|
|
507c619003 | ||
|
|
1a2e6167f4 | ||
|
|
17fb976edf | ||
|
|
fc5ed9af92 | ||
|
|
3478b0aa86 | ||
|
|
dce4401036 | ||
|
|
b058816edd | ||
|
|
b8688a447f | ||
|
|
c39797389a | ||
|
|
9cad7ff740 | ||
|
|
747c9fdc79 | ||
|
|
3830a53dc4 | ||
|
|
85bd889b9f | ||
|
|
ffaa990747 | ||
|
|
4c5545630d | ||
|
|
a86062cef0 | ||
|
|
580ccb1ffb | ||
|
|
8cc92b3c9a | ||
|
|
648916b028 | ||
|
|
c90f2f651f | ||
|
|
6fafd08b50 | ||
|
|
cbc30eb58e | ||
|
|
752ae75341 | ||
|
|
3922cd7d77 | ||
|
|
2a2c317d07 | ||
|
|
8c9259e7e9 | ||
|
|
3e7abade0e | ||
|
|
7a5658f388 | ||
|
|
ba36f4d622 | ||
|
|
9e79e88494 | ||
|
|
3bfd0fd2f8 | ||
|
|
d570afec5f | ||
|
|
c4512332ed | ||
|
|
4d1c90a812 | ||
|
|
4638c98ba0 | ||
|
|
ce44460fc7 | ||
|
|
b9448d5320 | ||
|
|
e6f020d390 | ||
|
|
5217f963e7 | ||
|
|
8435306c98 | ||
|
|
e461e9c6d2 | ||
|
|
41d647d252 | ||
|
|
25a5bedec1 | ||
|
|
70828363f1 | ||
|
|
45db742590 | ||
|
|
b6d57b4107 | ||
|
|
bbdba7d191 | ||
|
|
90efacbec9 | ||
|
|
66f47e25e9 | ||
|
|
3e906acfe2 | ||
|
|
0014f68478 | ||
|
|
123daf5e46 | ||
|
|
87bb2f5814 | ||
|
|
4ab98d81cd | ||
|
|
6393dc1926 | ||
|
|
dba2b07309 | ||
|
|
786cbe76a8 | ||
|
|
6443cd04c1 | ||
|
|
4d1e45d76a | ||
|
|
90b11833ff | ||
|
|
2115cd7394 | ||
|
|
15277e6bd6 | ||
|
|
f53004b171 | ||
|
|
59083b6912 | ||
|
|
665ef73634 | ||
|
|
fe3454a2de | ||
|
|
80e57d368b | ||
|
|
4771dc97ce | ||
|
|
a0fa08a524 | ||
|
|
a9c402ffda | ||
|
|
c1c09bc78d | ||
|
|
4d5f823b0f | ||
|
|
6c600321a7 | ||
|
|
1592e1e3da | ||
|
|
2811e6d984 | ||
|
|
496c5871ca | ||
|
|
6217218134 | ||
|
|
31e3260a36 | ||
|
|
7edc2b4a5f | ||
|
|
3ff66ac985 | ||
|
|
9bec7d1d33 | ||
|
|
a4806314e1 | ||
|
|
11987ed3a8 | ||
|
|
5d4a9aa7f9 | ||
|
|
a146700e40 | ||
|
|
a9e3ef2e13 | ||
|
|
a5076ac021 | ||
|
|
b715527f92 | ||
|
|
66a6782051 | ||
|
|
11e5c801a2 | ||
|
|
7b114d1942 | ||
|
|
96fc5f6350 | ||
|
|
1540749175 | ||
|
|
a483c550d7 | ||
|
|
4018527279 | ||
|
|
54a98ba74e | ||
|
|
463cf3b5c1 | ||
|
|
d86c6dce1c | ||
|
|
a333f0685b | ||
|
|
1312784075 | ||
|
|
1006d04ff6 | ||
|
|
74c2ce1ff8 | ||
|
|
6447228e30 | ||
|
|
b8285f3c99 | ||
|
|
395814d25f | ||
|
|
ec0624edc6 | ||
|
|
a715c0daee | ||
|
|
622840da56 | ||
|
|
c0dd559ee4 | ||
|
|
ddae67da8a | ||
|
|
99a0b46327 | ||
|
|
5a06ca6c04 | ||
|
|
59e8fa77d7 | ||
|
|
09c7afbc75 | ||
|
|
15145d0554 | ||
|
|
0af1ea70c2 | ||
|
|
5e8abc1c40 | ||
|
|
ebbdb78a35 | ||
|
|
00dac826ca | ||
|
|
f4a7a5242a | ||
|
|
a22bb15e6b | ||
|
|
a82fcb2c9c | ||
|
|
1b5338dc5f | ||
|
|
2e31504f02 | ||
|
|
cd57ffcd04 | ||
|
|
03c249026e | ||
|
|
f376e49d95 | ||
|
|
cdd571a071 | ||
|
|
882d805b9d | ||
|
|
8632f59dd2 | ||
|
|
1ba011835d | ||
|
|
96db2c2751 | ||
|
|
9f1983da90 | ||
|
|
2a927126d3 | ||
|
|
a2b79b241d | ||
|
|
a6155cbc4a | ||
|
|
85b2056a36 | ||
|
|
44f06623bd | ||
|
|
e0e93f396d | ||
|
|
780743d055 | ||
|
|
881dc69fef | ||
|
|
7ad842c95c | ||
|
|
4a1c47f4bd | ||
|
|
b94bebc69b | ||
|
|
b182c70602 | ||
|
|
588b905349 | ||
|
|
53ac1b026b | ||
|
|
a4bbf29c15 | ||
|
|
0fc77091f3 | ||
|
|
fc662e3ffe | ||
|
|
c37ef087cf | ||
|
|
b1d1a9d662 | ||
|
|
b0876880fd | ||
|
|
401e28d28f | ||
|
|
5f5a66ee96 | ||
|
|
35405bee31 | ||
|
|
1a17c39b23 | ||
|
|
067f012082 | ||
|
|
d3a4abc745 | ||
|
|
94c2a5434f | ||
|
|
c078f357c6 | ||
|
|
e98342bf74 | ||
|
|
8a83c3eb2c | ||
|
|
3e220c5b7b | ||
|
|
49b2bdeafb | ||
|
|
c27b70cc43 | ||
|
|
847ed21be0 | ||
|
|
88a6ae00a2 | ||
|
|
2bf7d1b525 | ||
|
|
01262e9104 | ||
|
|
294148d27d | ||
|
|
0b442e8430 | ||
|
|
e02828877e | ||
|
|
af7195e349 | ||
|
|
5bc0917df2 | ||
|
|
1e227ddee1 | ||
|
|
f58bc6e295 | ||
|
|
ae1822075d | ||
|
|
a21fae83b7 | ||
|
|
092f4c6ac0 | ||
|
|
a350f8f0f4 | ||
|
|
da3bd8368b | ||
|
|
be84042525 | ||
|
|
81129b83c3 | ||
|
|
8b7eee9788 | ||
|
|
5bb4b3d154 | ||
|
|
6f33b62f39 | ||
|
|
a28e700ff5 | ||
|
|
ad2d093d06 | ||
|
|
721ad57069 | ||
|
|
c0712cb163 | ||
|
|
64da05d517 | ||
|
|
5f7db6b93f | ||
|
|
bae654cbf7 | ||
|
|
d4513c61d4 | ||
|
|
1283104761 | ||
|
|
8fd5b8e0f5 | ||
|
|
914733cd27 | ||
|
|
fef19961d7 | ||
|
|
78072e093d | ||
|
|
a60e3b1497 | ||
|
|
6757632ae7 | ||
|
|
25869d138a | ||
|
|
4f187040c6 | ||
|
|
ab93bc9a7b | ||
|
|
b353ba1788 | ||
|
|
58ad70577a | ||
|
|
f6a855df8c | ||
|
|
067ed199d2 | ||
|
|
705d2361ca | ||
|
|
ca6d958db0 | ||
|
|
69b48401c9 | ||
|
|
51278a7b25 | ||
|
|
a3195b79f6 | ||
|
|
572e92c597 | ||
|
|
1de81ff1da | ||
|
|
3821e9bead | ||
|
|
ab66a6156f | ||
|
|
eb0e423499 | ||
|
|
814d37f556 | ||
|
|
ea5c5fe093 | ||
|
|
aad9126f5f | ||
|
|
c63aa7cd12 | ||
|
|
f2ba124191 | ||
|
|
03bd0ea9e6 | ||
|
|
0f2b159ed9 | ||
|
|
c12b559df3 | ||
|
|
420b6c3145 | ||
|
|
1bad3716e3 | ||
|
|
a4a794266d | ||
|
|
65025fea2c | ||
|
|
982646c232 | ||
|
|
65cddd7727 | ||
|
|
21dec72083 | ||
|
|
eff552d9bd | ||
|
|
6218be7200 | ||
|
|
d772d6a0e3 | ||
|
|
eea2d3e250 | ||
|
|
3a5adbd2af | ||
|
|
d455c0d234 | ||
|
|
4339c540ca | ||
|
|
6504758616 | ||
|
|
3a3baaf72a | ||
|
|
eda8722273 | ||
|
|
392de95a84 | ||
|
|
ceb5151a23 | ||
|
|
b5ea5215ef | ||
|
|
0b7b9d2bff | ||
|
|
b9d5083353 | ||
|
|
ddbea4b85a | ||
|
|
52c9310997 | ||
|
|
3ffd7c6ca8 | ||
|
|
b9480403b5 | ||
|
|
4b393c4e68 | ||
|
|
0560b20dad | ||
|
|
548e5ad0f7 | ||
|
|
cc82f7647f | ||
|
|
9e0e78ad64 | ||
|
|
b22850efd7 | ||
|
|
b2a93db718 | ||
|
|
cd1797fac9 | ||
|
|
fd8a5f9ebf | ||
|
|
8cdf86ee69 | ||
|
|
fa171c4369 | ||
|
|
78fb960c6a | ||
|
|
243d65d765 | ||
|
|
9862d66925 | ||
|
|
a2a647ca37 | ||
|
|
fa7f66c939 | ||
|
|
c6ceaa11df | ||
|
|
396ea09438 | ||
|
|
722e5ff2c5 | ||
|
|
cd8880b0c3 | ||
|
|
6761073b2a | ||
|
|
d46883ac2d | ||
|
|
d38d6580e2 | ||
|
|
2889a73335 | ||
|
|
e1c694a6c6 | ||
|
|
c013b533f2 | ||
|
|
5a5cca1bc0 | ||
|
|
8112950205 | ||
|
|
d3d1b2d56a | ||
|
|
b85b691a1a | ||
|
|
1651cf1ae3 | ||
|
|
2c9e4379c9 | ||
|
|
ed12a1d4da | ||
|
|
81a4224c7d | ||
|
|
b0b4fb685a | ||
|
|
15deb5b223 | ||
|
|
3ad43b66e7 | ||
|
|
abf1a37e2e | ||
|
|
2c50197c33 | ||
|
|
123e545dee | ||
|
|
fb14f43a98 | ||
|
|
c1b9fc566a | ||
|
|
62de061fb2 | ||
|
|
8c7b88f1aa | ||
|
|
6f2cbfaade | ||
|
|
aaa5b33e18 | ||
|
|
6ce41773fb | ||
|
|
af0192d09a | ||
|
|
fbdf874ee5 | ||
|
|
d1be740678 | ||
|
|
725d5fdcc2 | ||
|
|
7d1d8f51d8 | ||
|
|
fb4d198131 | ||
|
|
b39878bbda | ||
|
|
690c34df5f | ||
|
|
b37a2639e9 | ||
|
|
6bb074bbfb | ||
|
|
a56212b5ae | ||
|
|
b85e7c862b | ||
|
|
b41347b9f4 | ||
|
|
875ab8db4c | ||
|
|
3e4783c04b | ||
|
|
9547921445 | ||
|
|
5eb363dbf1 | ||
|
|
3f3be880fa | ||
|
|
1a07a83f17 | ||
|
|
30d60224a8 | ||
|
|
c667ba8f62 | ||
|
|
a5624bf9ea | ||
|
|
5134b17082 | ||
|
|
a19175129f | ||
|
|
c6de69eb21 | ||
|
|
f9e87491df | ||
|
|
eec02ff936 | ||
|
|
86aa29ba9c | ||
|
|
3f86444112 | ||
|
|
eca868c73c | ||
|
|
e71a7f33ef | ||
|
|
d2a6ce3a93 | ||
|
|
4d7109cceb | ||
|
|
f6b11e2213 | ||
|
|
d01c819b05 | ||
|
|
8059fb5c5c | ||
|
|
2b10be3758 | ||
|
|
16e5b3dbf8 | ||
|
|
8b671a8c31 | ||
|
|
5aa5218a13 | ||
|
|
9a09cb3ca5 | ||
|
|
f9dcaa74a9 | ||
|
|
271f003d33 | ||
|
|
b5a4413ca9 | ||
|
|
78da0216d2 | ||
|
|
f39517dcc9 | ||
|
|
a9fc05d4af | ||
|
|
9c630f56ce | ||
|
|
57172b4f19 | ||
|
|
e6de93e0c3 | ||
|
|
8946cb628f | ||
|
|
29455cce9b | ||
|
|
c0eb4ba374 | ||
|
|
a5aa5a1354 | ||
|
|
5b30a15806 | ||
|
|
550d7b0095 | ||
|
|
4accf0d718 | ||
|
|
1e7d4e1401 | ||
|
|
02782549c3 | ||
|
|
3f6f50317d | ||
|
|
959d68eacc | ||
|
|
bf71c7a73c | ||
|
|
bc59e605dd | ||
|
|
159153b539 | ||
|
|
84e9a10987 | ||
|
|
ca8f94773d | ||
|
|
f14b6234e4 | ||
|
|
66d987e38b | ||
|
|
d135465fba | ||
|
|
d899b02874 | ||
|
|
5e0d39a8a1 | ||
|
|
2a239b5205 | ||
|
|
c2c4503360 | ||
|
|
0c38b2846a | ||
|
|
6025544e01 | ||
|
|
34012db895 | ||
|
|
f35595be4d | ||
|
|
e461b821b1 | ||
|
|
b7f7f8c40d | ||
|
|
cb21cf2519 | ||
|
|
f88093694b | ||
|
|
91cd0472de | ||
|
|
f89d6b0c76 | ||
|
|
530ad57bc9 | ||
|
|
8120d7baad | ||
|
|
79f69c8cd7 | ||
|
|
52d4b9dcb7 | ||
|
|
3e2a367d91 | ||
|
|
68c190b1d6 | ||
|
|
ce4977fd6c | ||
|
|
487b036c28 | ||
|
|
bc25f308ca | ||
|
|
7dc414e181 | ||
|
|
655ac68c8a | ||
|
|
5c11fe6475 | ||
|
|
6a8c21d3ea | ||
|
|
de9d6af30d | ||
|
|
7584a761ba | ||
|
|
244d35f301 | ||
|
|
98a369ffa9 | ||
|
|
4fb9e11be7 | ||
|
|
874d6d4481 | ||
|
|
caaad87769 | ||
|
|
bafdce393e | ||
|
|
5927c87748 | ||
|
|
491730fbc3 | ||
|
|
26748dcdbf | ||
|
|
b36c8440d3 | ||
|
|
6d107fdeca | ||
|
|
a7bed9a7fc | ||
|
|
995e5620fb | ||
|
|
8d0e921d8b | ||
|
|
f1fa4ecd4d | ||
|
|
421088dfce | ||
|
|
8e7cae914b | ||
|
|
a5f5ca7e4b | ||
|
|
368c02f522 | ||
|
|
0fc4608b1b | ||
|
|
8d3e2a3c82 | ||
|
|
8fdae0685f | ||
|
|
ef88a33d1c | ||
|
|
cb947b7a56 | ||
|
|
25a554dc6b | ||
|
|
f03f5bf483 | ||
|
|
53925041e1 | ||
|
|
9389d44cba | ||
|
|
e1328b4a36 | ||
|
|
16dd36fe77 | ||
|
|
f8f323d671 | ||
|
|
4c4176ac3f | ||
|
|
46a0e22cc5 | ||
|
|
a794f55d16 | ||
|
|
0d2d3266b7 | ||
|
|
3d7713edcc | ||
|
|
f786b0d001 | ||
|
|
3ab1a56f73 | ||
|
|
c51a8e79ef | ||
|
|
77779a3798 | ||
|
|
539a6580da | ||
|
|
4ccd94d7cc | ||
|
|
9aa9822808 | ||
|
|
bc209e41d7 | ||
|
|
4ebb99f7a2 | ||
|
|
1171b0c1c0 | ||
|
|
70deea8dde | ||
|
|
c5efaeb498 | ||
|
|
ea9d8f02a9 | ||
|
|
79c1053d83 | ||
|
|
1339280bf5 | ||
|
|
5d373fb3e2 | ||
|
|
09e456bd98 | ||
|
|
dd4c3c2277 | ||
|
|
4f1a64acb0 | ||
|
|
779d417c8f | ||
|
|
765b41d0eb | ||
|
|
a26b7f61fe | ||
|
|
15a6c8a875 | ||
|
|
cd1fb04733 | ||
|
|
b495a722fe | ||
|
|
cb44ebe851 | ||
|
|
721a1200e4 | ||
|
|
f18e9a35e7 | ||
|
|
f50619864a | ||
|
|
2fc85bb367 | ||
|
|
4281399ba4 | ||
|
|
bdc40b7009 | ||
|
|
6a1bc81524 | ||
|
|
f0e2ab213d | ||
|
|
5f6f7b17bc | ||
|
|
a26da0742b | ||
|
|
5a20b20939 | ||
|
|
27b511e9e8 | ||
|
|
9c4c68f6c0 | ||
|
|
66f515c6e6 | ||
|
|
36506fd65b | ||
|
|
4b6221f88e | ||
|
|
1d38766f1d | ||
|
|
04fd965bc6 | ||
|
|
42d14faddb | ||
|
|
1be92405d9 | ||
|
|
2e591671a4 | ||
|
|
2b8362fa4a | ||
|
|
069b2287b0 | ||
|
|
65a94cb15f | ||
|
|
daae700d53 | ||
|
|
8d11edbb18 | ||
|
|
0d08e2b3fb | ||
|
|
3c31172e41 | ||
|
|
804044e4bd | ||
|
|
ad4eb74c6f | ||
|
|
f48449d629 | ||
|
|
28e8525372 | ||
|
|
ed1d25225b | ||
|
|
2166f0315a | ||
|
|
f0945bf7f6 | ||
|
|
b6f511dc16 | ||
|
|
deda0b8d8c | ||
|
|
cb0267cf43 | ||
|
|
e697335417 | ||
|
|
ff5956eacb | ||
|
|
fd6829c5b9 | ||
|
|
ed685e8b76 | ||
|
|
b7f2b467d6 | ||
|
|
1063240b86 | ||
|
|
5f7e9663af | ||
|
|
a4df7d4923 | ||
|
|
aaf7b009c0 | ||
|
|
a6c34bea95 | ||
|
|
36f29ca619 | ||
|
|
75702b65c9 | ||
|
|
b50ac20959 | ||
|
|
c363aae8d1 | ||
|
|
6e89ac3b20 | ||
|
|
85f0de201f | ||
|
|
b117a53b8f | ||
|
|
09d49bbe57 | ||
|
|
e98d3b9ca2 | ||
|
|
b472a0391c | ||
|
|
0605fe6928 | ||
|
|
1e1016775e | ||
|
|
779b5e8aed | ||
|
|
17c5a00c59 | ||
|
|
965750f13a | ||
|
|
f238640c9f | ||
|
|
16edc1e552 | ||
|
|
769d2a66b7 | ||
|
|
cd7a379d4d | ||
|
|
516e1cf793 | ||
|
|
4e54ac3d4b | ||
|
|
35ffcbc1a3 | ||
|
|
c283d07830 | ||
|
|
d14339d661 | ||
|
|
466765f73f | ||
|
|
9887662433 | ||
|
|
e4bd4dbb15 | ||
|
|
7bfb9bcb78 | ||
|
|
764de0ed5d | ||
|
|
2fb5b32d59 | ||
|
|
6a5690b9af | ||
|
|
9433d2c80a | ||
|
|
f7f2aadc63 | ||
|
|
85b89a1f4c | ||
|
|
ac10f4e562 | ||
|
|
aad8adc02d | ||
|
|
cfd8ee350b | ||
|
|
eedeb428d6 | ||
|
|
7100d93117 | ||
|
|
7e96bcfa38 | ||
|
|
611f3eea3e | ||
|
|
eaeadc3cdd | ||
|
|
fa4c0b6af3 | ||
|
|
7da0d3c26b | ||
|
|
b17ddc5c15 | ||
|
|
6c856a2dce | ||
|
|
8e49b6eb26 | ||
|
|
28173013b5 | ||
|
|
2436b702f9 | ||
|
|
97ad3a34d9 | ||
|
|
82974a28da | ||
|
|
2ac4e6a5c8 | ||
|
|
cc8d9648c0 | ||
|
|
95ac41a19b | ||
|
|
f26e4b2f6e | ||
|
|
9393226b12 | ||
|
|
924d93d1c5 | ||
|
|
ecf2510108 | ||
|
|
12b44a0e94 | ||
|
|
686fae761c | ||
|
|
3b2913ca03 | ||
|
|
41fced547f | ||
|
|
9780c4d801 | ||
|
|
82bcac8efa | ||
|
|
6df483ca43 | ||
|
|
740380de09 | ||
|
|
8b18c84289 | ||
|
|
d46d59e019 | ||
|
|
63aec27545 | ||
|
|
4c6c6f0ef8 | ||
|
|
1894134817 | ||
|
|
8bbf58446d | ||
|
|
5ceccbe744 | ||
|
|
202a99c4eb | ||
|
|
a878333ecd | ||
|
|
aeabef2ae6 | ||
|
|
9281d4a7e6 | ||
|
|
d3aa5f9504 | ||
|
|
ede498bb6f | ||
|
|
38ceab1547 | ||
|
|
1ce00698ff | ||
|
|
ce46242d2c | ||
|
|
bb3db1248b | ||
|
|
08f1fdcf14 | ||
|
|
76f89cdb64 | ||
|
|
0311475c60 | ||
|
|
f2f19e9503 | ||
|
|
2282f874a7 | ||
|
|
f23af186aa | ||
|
|
e8efa63b23 | ||
|
|
17fe3de8e0 | ||
|
|
c4034198f8 | ||
|
|
7b847a8d61 | ||
|
|
1c3c4d86b3 | ||
|
|
4ecb683985 | ||
|
|
17c867e883 | ||
|
|
863ddf25bf | ||
|
|
a4d4872884 |
No files matched your search
+3
-4
@@ -4,6 +4,9 @@ config.rpath crlf=input
|
||||
configure.host crlf=input
|
||||
mkinstalldirs crlf=input
|
||||
*.sh crlf=input
|
||||
*.sources crlf=input
|
||||
.gitattributes crlf=input
|
||||
*akefile* crlf=input
|
||||
|
||||
# ensure native line endings on checkout
|
||||
*.c crlf
|
||||
@@ -11,10 +14,6 @@ mkinstalldirs crlf=input
|
||||
*.cs crlf
|
||||
*.il crlf
|
||||
|
||||
.gitattributes crlf
|
||||
*akefile* crlf
|
||||
*.sources crlf
|
||||
|
||||
# don't do anything to line-endings. Let CRLFs go into the repo, and CRLF on checkout
|
||||
*.bat -crlf
|
||||
*.sln -crlf
|
||||
|
||||
+9
-6
@@ -20,18 +20,12 @@
|
||||
[submodule "external/reference-assemblies"]
|
||||
path = external/binary-reference-assemblies
|
||||
url = git://github.com/mono/reference-assemblies.git
|
||||
[submodule "external/Lucene.Net.Light"]
|
||||
path = external/Lucene.Net.Light
|
||||
url = git://github.com/mono/Lucene.Net.Light.git
|
||||
[submodule "external/nunit-lite"]
|
||||
path = external/nunit-lite
|
||||
url = git://github.com/mono/NUnitLite.git
|
||||
[submodule "external/nuget-buildtasks"]
|
||||
path = external/nuget-buildtasks
|
||||
url = git://github.com/mono/NuGet.BuildTasks
|
||||
[submodule "external/buildtools"]
|
||||
path = external/buildtools
|
||||
url = git://github.com/mono/buildtools.git
|
||||
[submodule "external/cecil-legacy"]
|
||||
path = external/cecil-legacy
|
||||
url = git://github.com/mono/cecil.git
|
||||
@@ -55,3 +49,12 @@
|
||||
[submodule "external/corert"]
|
||||
path = external/corert
|
||||
url = git://github.com/mono/corert.git
|
||||
[submodule "external/xunit-binaries"]
|
||||
path = external/xunit-binaries
|
||||
url = git://github.com/mono/xunit-binaries.git
|
||||
[submodule "external/api-doc-tools"]
|
||||
path = external/api-doc-tools
|
||||
url = git://github.com/mono/api-doc-tools.git
|
||||
[submodule "external/api-snapshot"]
|
||||
path = external/api-snapshot
|
||||
url = git://github.com/mono/api-snapshot.git
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
# Mono Code Owners File
|
||||
#
|
||||
# GitHub uses this file to determine who to assign for reviews
|
||||
# on pull requests. Please keep this file alphabetically sorted.
|
||||
#
|
||||
# References:
|
||||
#
|
||||
# https://github.com/blog/2392-introducing-code-owners
|
||||
# https://help.github.com/articles/about-codeowners
|
||||
|
||||
|
||||
# These owners will be the default owners for everything in the repo.
|
||||
* @luhenry @marek-safar
|
||||
|
||||
# Order is important. The last matching pattern has the most precedence.
|
||||
|
||||
/acceptance-tests @akoeplinger
|
||||
/acceptance-tests/profiler-stress* @alexrp
|
||||
|
||||
/data @marek-safar @akoeplinger
|
||||
/data/gdb @vargaz
|
||||
/data/lldb @lewurm @vargaz
|
||||
|
||||
/docs @luhenry @marek-safar
|
||||
/docs/sources/mono-api-profiler.html @alexrp
|
||||
|
||||
/external @marek-safar @luhenry
|
||||
/external/binary-reference-assemblies @marek-safar @akoeplinger
|
||||
/external/bockbuild @akoeplinger @alexischr
|
||||
/external/boringssl @baulig
|
||||
/external/nuget-buildtasks @radical @akoeplinger
|
||||
|
||||
/libgc @BrzVlad @vargaz
|
||||
|
||||
/llvm @vargaz
|
||||
|
||||
/man @marek-safar @miguel
|
||||
/man/mprof-report.1 @alexrp
|
||||
|
||||
/mcs @marek-safar
|
||||
|
||||
/mcs/build @marek-safar @akoeplinger
|
||||
|
||||
/mcs/class @marek-safar @akoeplinger
|
||||
/mcs/class/corlib/System.Reflection*/ @vargaz @lambdageek
|
||||
/mcs/class/Mono.Btls.Interface @baulig
|
||||
/mcs/class/Mono.Data.Tds @egorbo
|
||||
/mcs/class/Mono.Debugger.Soft @vargaz
|
||||
/mcs/class/Mono.Options @jonpryor
|
||||
/mcs/class/Mono.Profiler.Log @alexrp
|
||||
/mcs/class/Mono.Security/Mono.Security/Interface @baulig
|
||||
/mcs/class/System/Mono.AppleTls @baulig
|
||||
/mcs/class/System/Mono.Btls @baulig
|
||||
/mcs/class/System/Mono.Net.Security @baulig
|
||||
/mcs/class/System/Mono.Security.Interface @baulig
|
||||
/mcs/class/System.Data* @egorbo
|
||||
|
||||
/mcs/errors @marek-safar
|
||||
/mcs/ilasm @marek-safar
|
||||
/mcs/jay @marek-safar
|
||||
/mcs/mcs @marek-safar
|
||||
/mcs/tests @marek-safar
|
||||
/mcs/tools @marek-safar @akoeplinger
|
||||
|
||||
/mono @luhenry
|
||||
|
||||
/mono/btls @baulig
|
||||
/mono/dis @lambdageek @vargaz
|
||||
/mono/eglib @kumpera @vargaz @luhenry
|
||||
|
||||
/mono/metadata @vargaz @kumpera
|
||||
/mono/metadata/*verify* @kumpera
|
||||
/mono/metadata/*profiler* @alexrp
|
||||
/mono/metadata/monitor* @brzvlad
|
||||
/mono/metadata/sgen* @brzvlad
|
||||
/mono/metadata/threads* @luhenry @kumpera
|
||||
/mono/metadata/threadpool* @luhenry
|
||||
/mono/metadata/w32* @luhenry
|
||||
|
||||
/mono/mini @vargaz @kumpera
|
||||
/mono/mini/*cfgdump* @lewurm
|
||||
/mono/mini/*exceptions* @lewurm
|
||||
/mono/mini/*ppc* @lewurm
|
||||
/mono/mini/*type-check* @lewurm
|
||||
/mono/mini/interp/* @lewurm
|
||||
/mono/mini/*profiler* @alexrp
|
||||
/mono/mini/debugger-agent.c @DavidKarlas
|
||||
|
||||
/mono/profiler @alexrp @kumpera
|
||||
|
||||
/mono/sgen @brzvlad @kumpera
|
||||
|
||||
/mono/utils @kumpera @vargaz
|
||||
/mono/utils/atomic* @alexrp
|
||||
/mono/utils/mono-hwcap* @alexrp
|
||||
/mono/utils/mono-mem* @alexrp
|
||||
/mono/utils/mono-threads* @luhenry @kumpera
|
||||
|
||||
/msvc @ntherning
|
||||
/msvc/*profiler* @alexrp
|
||||
/msvc/scripts @akoeplinger
|
||||
|
||||
/packaging/ @alexischr @akoeplinger
|
||||
/packaging/MacSDK/msbuild.py @radical @akoeplinger
|
||||
|
||||
/runtime @akoeplinger @marek-safar
|
||||
|
||||
/samples @luhenry
|
||||
/samples/profiler @alexrp
|
||||
/samples/size @alexrp
|
||||
|
||||
/scripts @akoeplinger
|
||||
/scripts/ci @akoeplinger
|
||||
/scripts/ci/run-test-profiler-stress-tests.sh @alexrp
|
||||
|
||||
/support @luhenry @vargaz
|
||||
|
||||
/tools @kumpera
|
||||
/tools/checker @tritao
|
||||
/tools/crash-bisector @kumpera
|
||||
/tools/locale-builder @marek-safar
|
||||
/tools/monograph @vargaz
|
||||
/tools/nuget-hash-extractor @marek-safar
|
||||
/tools/offsets-tool @lewurm @rolfbjarne
|
||||
/tools/pedump @kumpera @lambdageek
|
||||
/tools/sgen @brzvlad
|
||||
+7
-2
@@ -23,7 +23,7 @@ License
|
||||
|
||||
The Mono runtime, compilers, and tools and most of the class libraries
|
||||
are licensed under the MIT license. But include some bits of code
|
||||
licensed under different licenses. The exact list is [available here] (https://github.com/mono/mono/blob/master/LICENSE).
|
||||
licensed under different licenses. The exact list is [available here](https://github.com/mono/mono/blob/master/LICENSE).
|
||||
|
||||
Different parts of Mono use different licenses. The actual details of
|
||||
which licenses are used for which parts are detailed on the LICENSE
|
||||
@@ -32,7 +32,12 @@ file in this directory.
|
||||
CLA
|
||||
=======
|
||||
|
||||
Contributions are now taken under the [.NET Foundation CLA] (https://cla2.dotnetfoundation.org/).
|
||||
Contributions are now taken under the [.NET Foundation CLA](https://cla2.dotnetfoundation.org/).
|
||||
|
||||
Code Review
|
||||
=======
|
||||
We are requiring code reviews before merging a pull request.
|
||||
GitHub won't let you merge a PR until someone from the Mono team approves it.
|
||||
|
||||
Testing
|
||||
=======
|
||||
|
||||
+4
-37
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
|
||||
MONOTOUCH_SUBDIRS = $(libgc_dir) mono
|
||||
|
||||
# Some tools might not build when cross-compiling
|
||||
if CROSS_COMPILING
|
||||
@@ -11,9 +11,9 @@ else
|
||||
tools_dir = tools
|
||||
endif
|
||||
|
||||
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
|
||||
SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
|
||||
# Keep in sync with SUBDIRS
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
|
||||
|
||||
all: update_submodules
|
||||
|
||||
@@ -44,31 +44,15 @@ dist-hook:
|
||||
rm -rf `find $(top_distdir)/external -path '*\.git'`
|
||||
rm -f `find $(top_distdir)/external -path '*\.exe' -not -path '*/roslyn-binaries/*'`
|
||||
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/binary-reference-assemblies/*' -not -path '*/roslyn-binaries/*'`
|
||||
cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/
|
||||
cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/
|
||||
# Disable this for now because it is very slow and causes wrench to timeout:
|
||||
# test ! -d $(GIT_DIR) || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry
|
||||
|
||||
mac-sdk-package:
|
||||
external/bockbuild/bb MacSDK --package
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
noinst_DATA = mono-uninstalled.pc
|
||||
DISTCLEANFILES= mono-uninstalled.pc
|
||||
|
||||
# building with monolite
|
||||
mcslib = $(mcs_topdir)/class/lib
|
||||
monolite = $(mcslib)/monolite
|
||||
mono_corlib_version = $(shell sed -n "s/\#define MONO_CORLIB_VERSION //p" $(srcdir)/mono/metadata/appdomain.c)
|
||||
monolite_url = http://download.mono-project.com/monolite/monolite-$(mono_corlib_version)-latest.tar.gz
|
||||
.PHONY: get-monolite-latest
|
||||
get-monolite-latest:
|
||||
-rm -fr $(mcslib)/monolite-*
|
||||
-mkdir -p $(mcslib)
|
||||
test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old
|
||||
test ! -d $(monolite) || mv -f $(monolite) $(monolite).old
|
||||
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
|
||||
cd $(mcslib) && mv -f monolite-* monolite
|
||||
$(MAKE) -C $(mcs_topdir)/class get-monolite-latest
|
||||
|
||||
if BITCODE
|
||||
BITCODE_CHECK=yes
|
||||
@@ -125,23 +109,6 @@ monotouch-do-clean:
|
||||
|
||||
endif
|
||||
|
||||
win32getdeps:
|
||||
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
|
||||
wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
|
||||
wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
|
||||
wget http://www.go-mono.com/archive/libiconv-1.7.zip
|
||||
wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
|
||||
wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
|
||||
unzip -n -d / pkgconfig-0.11-20020310.zip
|
||||
unzip -n -d / glib-2.0.4-20020703.zip
|
||||
unzip -n -d / glib-dev-2.0.4-20020703.zip
|
||||
unzip -n -d / libiconv-1.7.zip
|
||||
unzip -n -d / libiconv-dev-1.7.zip
|
||||
unzip -n -d / libintl-0.10.40-20020101.zip
|
||||
|
||||
win32setup:
|
||||
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
|
||||
|
||||
update-csproj:
|
||||
-rm msvc/scripts/order
|
||||
-rm msvc/scripts/order.xml
|
||||
|
||||
@@ -29,6 +29,7 @@ The Mono project is part of the [.NET Foundation](http://www.dotnetfoundation.or
|
||||
| Windows | amd64 | [![windows-amd64][15]][16] |
|
||||
| Windows | i386 | [![windows-amd64][17]][18] |
|
||||
| CentOS | s390x (cs) | [![centos-s390x][19]][20] |
|
||||
| Debian 8 | ppc64el (cs) | [![debian-8-ppc64el][21]][22]|
|
||||
|
||||
_(cs) = community supported architecture_
|
||||
|
||||
@@ -50,8 +51,10 @@ _(cs) = community supported architecture_
|
||||
[16]: https://jenkins.mono-project.com/job/z/label=w64/
|
||||
[17]: https://jenkins.mono-project.com/job/z/label=w32/badge/icon
|
||||
[18]: https://jenkins.mono-project.com/job/z/label=w32/
|
||||
[19]: https://jenkins.mono-project.com/job/z/label=centos-s390x/badge/icon
|
||||
[20]: https://jenkins.mono-project.com/job/z/label=centos-s390x
|
||||
[19]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x/badge/icon
|
||||
[20]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x
|
||||
[21]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-8-ppc64el/badge/icon
|
||||
[22]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-8-ppc64el
|
||||
|
||||
Compilation and Installation
|
||||
============================
|
||||
@@ -190,22 +193,18 @@ disable the compilation of a Mono runtime with the SGen garbage
|
||||
collector.
|
||||
|
||||
* On platforms that support it, after building Mono, you will have
|
||||
both a `mono` binary and a `mono-sgen` binary. `mono` uses Boehm,
|
||||
both a `mono-boehm` binary and a `mono-sgen` binary. `mono-boehm` uses Boehm,
|
||||
while `mono-sgen` uses the Simple Generational GC.
|
||||
|
||||
* `--with-gc=[included, boehm, none]` - Selects the default Boehm
|
||||
* `--with-libgc=[included, none]` - Selects the default Boehm
|
||||
garbage collector engine to use.
|
||||
|
||||
* *included*: (*slightly modified Boehm GC*) This is the default
|
||||
value for the Boehm GC, and it's the most feature complete, it will
|
||||
allow Mono to use typed allocations and support the debugger.
|
||||
|
||||
* *boehm*: This is used to use a system-install Boehm GC, it is
|
||||
useful to test new features available in Boehm GC, but we do not
|
||||
recommend that people use this, as it disables a few features.
|
||||
|
||||
* *none*:
|
||||
Disables the inclusion of a garbage collector.
|
||||
Disables the inclusion of a Boehm garbage collector.
|
||||
|
||||
* This defaults to `included`.
|
||||
|
||||
@@ -484,6 +483,16 @@ http://code.google.com/p/nativeclient/
|
||||
* Currently this is used with Mono's AOT engine as
|
||||
Native Client does not support JIT engines yet.
|
||||
|
||||
* `--enable-wasm`
|
||||
|
||||
* Use this option to configure mono to run on WebAssembly. It will
|
||||
set both host and target to the WebAssembly triplet. This overrides
|
||||
the values passed to `--host` or `--target` and ignored what config.sub guesses.
|
||||
|
||||
This is a workaround to enable usage of old automake versions that don't
|
||||
recognize the wasm triplet.
|
||||
|
||||
|
||||
Working With Submodules
|
||||
=======================
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{
|
||||
"name": "coreclr",
|
||||
"url": "git://github.com/mono/coreclr.git",
|
||||
"rev": "c7da48acf72c40c0c0ed1a80ebfacea21bb3a271",
|
||||
"rev": "d0e6a36f782f5ee1ca0b7d3ec0c55725c3571b1f",
|
||||
"remote-branch": "origin/mono",
|
||||
"branch": "mono",
|
||||
"directory": "coreclr"
|
||||
@@ -18,7 +18,7 @@
|
||||
{
|
||||
"name": "ms-test-suite",
|
||||
"url": "[email protected]:xamarin/ms-test-suite.git",
|
||||
"rev": "55b6637eb1de61c743323ec82db1e0cadfee5b32",
|
||||
"rev": "73c155f76b55839f26ba707d6d40091060e4f5d8",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "ms-test-suite"
|
||||
@@ -31,4 +31,4 @@
|
||||
"branch": "master",
|
||||
"directory": "benchmarker"
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -9,5 +9,5 @@ SYS_REFS = \
|
||||
|
||||
check-profiler-stress:
|
||||
@$(MAKE) validate-benchmarker RESET_VERSIONS=1
|
||||
cd profiler-stress && $(MCS) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
|
||||
cd profiler-stress && $(MCS) -debug -define:ARCH_$(arch_target) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
|
||||
cd profiler-stress && $(RUNTIME) runner.exe
|
||||
@@ -38,18 +38,65 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
public ProcessStartInfo StartInfo { get; set; }
|
||||
public Stopwatch Stopwatch { get; set; } = new Stopwatch ();
|
||||
public int? ExitCode { get; set; }
|
||||
public StringBuilder StandardOutput { get; set; } = new StringBuilder ();
|
||||
public StringBuilder StandardError { get; set; } = new StringBuilder ();
|
||||
public string StandardOutput { get; set; }
|
||||
public string StandardError { get; set; }
|
||||
}
|
||||
|
||||
static class Program {
|
||||
|
||||
static readonly TimeSpan _timeout = TimeSpan.FromHours (6);
|
||||
static readonly string[] _options = new [] {
|
||||
"exception",
|
||||
"monitor",
|
||||
"gc",
|
||||
"gcalloc",
|
||||
"gcmove",
|
||||
"gcroot",
|
||||
"gchandle",
|
||||
"finalization",
|
||||
"counter",
|
||||
"jit",
|
||||
};
|
||||
|
||||
static readonly TimeSpan _timeout = TimeSpan.FromHours (9);
|
||||
|
||||
static readonly Dictionary<string, Predicate<Benchmark>> _filters = new Dictionary<string, Predicate<Benchmark>> {
|
||||
{ "ironjs-v8", FilterArmArchitecture },
|
||||
};
|
||||
|
||||
static readonly Dictionary<string, Action<TestResult>> _processors = new Dictionary<string, Action<TestResult>> {
|
||||
{ "msbiology", Process32BitOutOfMemory },
|
||||
};
|
||||
|
||||
static string FilterInvalidXmlChars (string text) {
|
||||
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
|
||||
}
|
||||
|
||||
static bool FilterArmArchitecture (Benchmark benchmark)
|
||||
{
|
||||
#if ARCH_arm || ARCH_arm64
|
||||
return false;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void Process32BitOutOfMemory (TestResult result)
|
||||
{
|
||||
if (Environment.Is64BitProcess)
|
||||
return;
|
||||
|
||||
if (result.ExitCode == null || result.ExitCode == 0)
|
||||
return;
|
||||
|
||||
if (result.StandardError.Contains ("OutOfMemoryException"))
|
||||
result.ExitCode = 0;
|
||||
}
|
||||
|
||||
static bool IsSupported (Benchmark benchmark)
|
||||
{
|
||||
return _filters.TryGetValue (benchmark.Name, out var filter) ? filter (benchmark) : true;
|
||||
}
|
||||
|
||||
static int Main ()
|
||||
{
|
||||
var depDir = Path.Combine ("..", "external", "benchmarker");
|
||||
@@ -58,7 +105,7 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
|
||||
var benchmarks = Directory.EnumerateFiles (benchDir, "*.benchmark")
|
||||
.Select (Benchmark.Load)
|
||||
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null)
|
||||
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null && IsSupported (b))
|
||||
.OrderBy (b => b.Name)
|
||||
.ToArray ();
|
||||
|
||||
@@ -75,14 +122,22 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
for (var i = 0; i < benchmarks.Length; i++) {
|
||||
var bench = benchmarks [i];
|
||||
|
||||
var sampleFreq = rand.Next (0, 1001);
|
||||
var sampleMode = rand.Next (0, 2) == 1 ? "real" : "process";
|
||||
var sampleFreq = rand.Next (-1000, 1001);
|
||||
var sampleMode = rand.Next (0, 2) == 1 ? "-real" : string.Empty;
|
||||
var maxSamples = rand.Next (0, cpus * 2000 + 1);
|
||||
var heapShotFreq = rand.Next (0, 11);
|
||||
var heapShotFreq = rand.Next (-10, 11);
|
||||
var maxFrames = rand.Next (0, 33);
|
||||
var allocMode = rand.Next (0, 2) == 1 ? "alloc" : "noalloc";
|
||||
var options = _options.ToDictionary (x => x, _ => rand.Next (0, 2) == 1)
|
||||
.Select (x => (x.Value ? string.Empty : "no") + x.Key)
|
||||
.ToArray ();
|
||||
|
||||
var profOptions = $"sample=cycles/{sampleFreq},sampling-{sampleMode},maxsamples={maxSamples},heapshot={heapShotFreq}gc,maxframes={maxFrames},{allocMode},output=/dev/null";
|
||||
var profOptions = $"maxframes={maxFrames},{string.Join (",", options)},output=/dev/null";
|
||||
|
||||
if (sampleFreq > 0)
|
||||
profOptions += $",sample{sampleMode}={sampleFreq},maxsamples={maxSamples}";
|
||||
|
||||
if (heapShotFreq > 0)
|
||||
profOptions += $",heapshot={heapShotFreq}gc";
|
||||
|
||||
var info = new ProcessStartInfo {
|
||||
UseShellExecute = false,
|
||||
@@ -110,14 +165,19 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
using (var proc = new Process ()) {
|
||||
proc.StartInfo = info;
|
||||
|
||||
var stdout = new StringBuilder ();
|
||||
var stderr = new StringBuilder ();
|
||||
|
||||
proc.OutputDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardOutput.AppendLine (args.Data);
|
||||
lock (result)
|
||||
stdout.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
proc.ErrorDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardError.AppendLine (args.Data);
|
||||
lock (result)
|
||||
stderr.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
result.Stopwatch.Start ();
|
||||
@@ -140,6 +200,11 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
result.ExitCode = proc.ExitCode;
|
||||
|
||||
result.Stopwatch.Stop ();
|
||||
|
||||
lock (result) {
|
||||
result.StandardOutput = stdout.ToString ();
|
||||
result.StandardError = stderr.ToString ();
|
||||
}
|
||||
}
|
||||
|
||||
var resultStr = result.ExitCode == null ? "timed out" : $"exited with code: {result.ExitCode}";
|
||||
@@ -153,15 +218,18 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
Console.WriteLine ("===== stdout =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardOutput.ToString ());
|
||||
Console.WriteLine (result.StandardOutput);
|
||||
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine ("===== stderr =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardError.ToString ());
|
||||
Console.WriteLine (result.StandardError);
|
||||
}
|
||||
|
||||
if (_processors.TryGetValue (bench.Name, out var processor))
|
||||
processor (result);
|
||||
|
||||
results.Add (result);
|
||||
}
|
||||
|
||||
@@ -239,11 +307,11 @@ namespace Mono.Profiling.Tests.Stress {
|
||||
writer.WriteStartElement ("failure");
|
||||
|
||||
writer.WriteStartElement ("message");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardOutput.ToString ()));
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardOutput));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteStartElement ("stack-trace");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardError.ToString ()));
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardError));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
|
||||
@@ -154,12 +154,6 @@ if test -d $srcdir/libgc; then
|
||||
echo Done running libgc/autogen.sh ...
|
||||
fi
|
||||
|
||||
if test -d $srcdir/eglib; then
|
||||
echo Running eglib/autogen.sh ...
|
||||
(cd $srcdir/eglib ; NOCONFIGURE=1 ./autogen.sh "$@")
|
||||
echo Done running eglib/autogen.sh ...
|
||||
fi
|
||||
|
||||
if test x$MONO_EXTRA_CONFIGURE_FLAGS != x; then
|
||||
echo "MONO_EXTRA_CONFIGURE_FLAGS is $MONO_EXTRA_CONFIGURE_FLAGS"
|
||||
fi
|
||||
|
||||
+426
-212
File diff suppressed because it is too large.
Load diff
@@ -18,8 +18,14 @@
|
||||
<dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/>
|
||||
<dllmap dll="libX11" target="@X11@" os="!windows" />
|
||||
<dllmap dll="libgdk-x11-2.0" target="@GDKX11@" os="!windows"/>
|
||||
<dllmap dll="libgdk_pixbuf-2.0" target="libgdk_pixbuf-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgtk-x11-2.0" target="@GTKX11@" os="!windows"/>
|
||||
<dllmap dll="libglib-2.0" target="libglib-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgobject-2.0" target="libgobject-2.0.so.0" os="!windows"/>
|
||||
<dllmap dll="libgnomeui-2" target="libgnomeui-2.so.0" os="!windows"/>
|
||||
<dllmap dll="librsvg-2" target="librsvg-2.so.2" os="!windows"/>
|
||||
<dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" />
|
||||
<dllmap dll="libasound" target="libasound.so.2" os="!windows" />
|
||||
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
|
||||
<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
|
||||
<dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
|
||||
|
||||
+27
-4
@@ -9,16 +9,38 @@ def print_frames(thread, num_frames, current_thread):
|
||||
|
||||
for frame in thread.frames[:+num_frames]:
|
||||
pc = str(frame.addr)
|
||||
fmt = ' %c %s'
|
||||
var = frame
|
||||
if pc[0] == '0':
|
||||
function_name = frame.GetFunctionName()
|
||||
if function_name == "ves_exec_method_with_context":
|
||||
try:
|
||||
s = 'frame->runtime_method->method'
|
||||
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
|
||||
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
|
||||
|
||||
ipoffset = frame.EvaluateExpression('ip').GetValueAsUnsigned()
|
||||
insn = ''
|
||||
if ipoffset != 0:
|
||||
ipoffset -= frame.EvaluateExpression('rtm->code').GetValueAsUnsigned()
|
||||
insn = "\"" + frame.EvaluateExpression('mono_interp_opname [*ip]').summary[1:-1] + "\""
|
||||
var = '%s::%s @ %d %s || %s' % (klassname, methodname, ipoffset, insn, frame)
|
||||
except Exception as e:
|
||||
print "DBG: execfail:" + str(e)
|
||||
elif function_name == "mono_interp_transform_method":
|
||||
try:
|
||||
s = 'runtime_method->method'
|
||||
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
|
||||
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
|
||||
var = 'transforming %s::%s || %s' % (klassname, methodname, frame)
|
||||
except Exception as e:
|
||||
print "DBG: transformfail:" + str(e)
|
||||
elif pc[0] == '0':
|
||||
try:
|
||||
framestr = frame.EvaluateExpression('(char*)mono_pmip((void*)%s)' % pc).summary[1:-1]
|
||||
var = 'frame #%i: %s%s' % (frame.idx, pc, framestr)
|
||||
except:
|
||||
pass
|
||||
|
||||
print fmt % ('*' if current_thread and frame.idx == selected_frame.idx else ' ', var)
|
||||
print ' %c %s' % ('*' if current_thread and frame.idx == selected_frame.idx else ' ', var)
|
||||
|
||||
def monobt(debugger, command, result, dict):
|
||||
opts = {'all_bt': False, 'num_frames': None}
|
||||
@@ -53,4 +75,5 @@ def __lldb_init_module (debugger, dict):
|
||||
# This initializer is being run from LLDB in the embedded command interpreter
|
||||
# Add any commands contained in this module to LLDB
|
||||
debugger.HandleCommand('command script add -f monobt.monobt monobt')
|
||||
print '"monobt" command installed'
|
||||
debugger.HandleCommand('command alias mbt monobt')
|
||||
print '"monobt" command installed'
|
||||
@@ -86,7 +86,7 @@ LOCK RULES
|
||||
Simple locks:
|
||||
Can be acquired at any point regardless of which locks are taken or not.
|
||||
No other locks can be acquired or released while holding a simple lock.
|
||||
Reentrancy is not recomended. (warning)
|
||||
Reentrancy is not recommended. (warning)
|
||||
Simple locks are leaf locks on the lock lattice.
|
||||
|
||||
Complex locks:
|
||||
@@ -129,7 +129,7 @@ ERROR: tried to acquire lock DomainLock at mono_domain_code_reserve_align while
|
||||
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_class_from_name
|
||||
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_image_add_to_name_cache
|
||||
Both of those happen when filling up the name_cache, as it needs to alloc image memory.
|
||||
This one is fixable by spliting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriatedly.
|
||||
This one is fixable by splitting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriately.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
check-coverage crlf=input
|
||||
check-exports crlf=input
|
||||
produce-lists crlf=input
|
||||
+1
-1
@@ -87,7 +87,7 @@ mono-file-formats.zip: mono-file-formats.tree
|
||||
mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
|
||||
$(TOOL_MAKE) $@
|
||||
|
||||
deploy/.stamp: convert.exe Makefile.am
|
||||
deploy/.stamp: convert.exe Makefile.am exdoc
|
||||
$(mkdir_p) html
|
||||
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
|
||||
MONO_PATH=$(CLASS) perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
|
||||
|
||||
@@ -26,7 +26,7 @@ some combination of the two.
|
||||
|
||||
To be clearer, and give an idea of what the algorithm can and
|
||||
cannot do without describing it in detail... keep in mind that
|
||||
only "redunant" checks cannot be removed. By "redundant", I
|
||||
only "redundant" checks cannot be removed. By "redundant", I
|
||||
mean "already explicitly checked" in the method code.
|
||||
|
||||
Unfortunately, analyzing complex expressions is not so easy
|
||||
@@ -136,7 +136,7 @@ some combination of the two.
|
||||
In the first case, the BB has exactly two exit BBs, and their
|
||||
execution conditions are easy to get from the condition of the
|
||||
branch (see the "get_relation_from_branch_instruction"
|
||||
function, and expecially the end of "analyze_block" in
|
||||
function, and especially the end of "analyze_block" in
|
||||
abcremoval.c.
|
||||
|
||||
If there is a switch, the jump condition of every exit BB is
|
||||
@@ -303,7 +303,7 @@ some combination of the two.
|
||||
each BB tried to examine all possible conditions between all
|
||||
variables, filling a sort of "evaluation matrix". The problem
|
||||
was that the complexity of this evaluation was quadratic (or
|
||||
worse) on the number of variables, and that many wariables
|
||||
worse) on the number of variables, and that many variables
|
||||
were examined even if they were not involved in any array
|
||||
access.
|
||||
|
||||
@@ -332,7 +332,7 @@ some combination of the two.
|
||||
|
||||
[1b] Prepare the evaluation graph (empty)
|
||||
|
||||
[1b] Summarize each varible definition, and put
|
||||
[1b] Summarize each variable definition, and put
|
||||
the resulting relations in the evaluation
|
||||
graph
|
||||
|
||||
|
||||
+6
-4
@@ -19,7 +19,7 @@ ENUM_VALUES_PER_LINE = 1
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
EXTENSION_MAPPING = c=C h=C
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_STATIC = YES
|
||||
EXT_LINKS_IN_WINDOW = NO
|
||||
FILE_PATTERNS = *.c *.h
|
||||
@@ -27,9 +27,9 @@ FULL_PATH_NAMES = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST = YES
|
||||
GENERATE_HTML = YES
|
||||
GENERATE_PERLMOD = YES
|
||||
GENERATE_LEGEND = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_PERLMOD = NO
|
||||
GENERATE_TESTLIST = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TREEVIEW = YES
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
@@ -60,6 +60,7 @@ MULTILINE_CPP_IS_BRIEF = NO
|
||||
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||
OUTPUT_DIRECTORY = doxygen-output
|
||||
OUTPUT_LANGUAGE = English
|
||||
PREDEFINED = "HAVE_SGEN_GC="
|
||||
PROJECT_NAME = "Mono"
|
||||
QT_AUTOBRIEF = NO
|
||||
QUIET = NO
|
||||
@@ -77,6 +78,7 @@ SHOW_USED_FILES = YES
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
SORT_BRIEF_DOCS = YES
|
||||
SORT_GROUP_NAMES = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SOURCE_BROWSER = YES
|
||||
SOURCE_TOOLTIPS = YES
|
||||
STRIP_CODE_COMMENTS = NO
|
||||
@@ -89,4 +91,4 @@ VERBATIM_HEADERS = YES
|
||||
WARNINGS = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_NO_PARAMDOC = NO
|
||||
WARN_NO_PARAMDOC = YES
|
||||
+436
-259
@@ -1,91 +1,295 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
if ($ARGV[0] eq "-h"){
|
||||
$sourcedir = $ARGV[1];
|
||||
$dir = $sourcedir;
|
||||
$html = 1;
|
||||
shift @ARGV;
|
||||
shift @ARGV;
|
||||
}
|
||||
open (FILE, "$dir/api-style.css" || die "Did not find $dir/api-style.css");
|
||||
while (<FILE>){
|
||||
$css = $css . $_;
|
||||
use warnings;
|
||||
use strict;
|
||||
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
|
||||
# Options
|
||||
my $HELP = 0;
|
||||
my $SOURCE_DIR = '';
|
||||
my $TARGET_DIR = '';
|
||||
my $WARNINGS = 0;
|
||||
|
||||
GetOptions(
|
||||
"help" => \$HELP,
|
||||
"html|h=s" => \$SOURCE_DIR,
|
||||
"target|t=s" => \$TARGET_DIR,
|
||||
"warnings|W" => \$WARNINGS,
|
||||
) or pod2usage(1);
|
||||
|
||||
pod2usage(0) if $HELP;
|
||||
|
||||
exdoc();
|
||||
|
||||
#
|
||||
# Main entry point.
|
||||
#
|
||||
sub exdoc {
|
||||
my %templates = ();
|
||||
my %docs = ();
|
||||
my $stylesheet = load_stylesheet($SOURCE_DIR);
|
||||
load_templates($SOURCE_DIR, \%templates);
|
||||
process_source_files(\%docs);
|
||||
merge(\%docs, \%templates, \$stylesheet);
|
||||
}
|
||||
|
||||
if ($ARGV[0] eq "-t"){
|
||||
$dir = $ARGV[1];
|
||||
shift @ARGV;
|
||||
#
|
||||
# Load CSS stylesheet.
|
||||
#
|
||||
sub load_stylesheet {
|
||||
my ($dir_path) = @_;
|
||||
my $file_path = "$dir_path/api-style.css";
|
||||
open (my $file, '<', $file_path) or die "Could not open $file_path";
|
||||
local $/;
|
||||
my $contents = <$file>;
|
||||
close $file;
|
||||
return $contents;
|
||||
}
|
||||
|
||||
if ($html){
|
||||
opendir (D, "$sourcedir/sources/") || die "Can not open $dir";
|
||||
while ($n = readdir (D)){
|
||||
if ($n =~ /mono-api-.*\.html$/){
|
||||
open (IN, "$sourcedir/sources/$n") || die "Can not open $n";
|
||||
$files[$filecount] = $n;
|
||||
while (<IN>){
|
||||
@files_content[$filecount] .= $_;
|
||||
if (/name="api:(.*?)"/){
|
||||
$_ =~ s/.*name="api:(\w+?)".*/\1/;
|
||||
$apis[$filecount] .= "$_";
|
||||
}
|
||||
}
|
||||
$filecount++;
|
||||
close IN;
|
||||
}
|
||||
#
|
||||
# Load HTML templates.
|
||||
#
|
||||
sub load_templates {
|
||||
my ($dir_path, $templates) = @_;
|
||||
opendir (my $dir, "$dir_path/sources/") or die "Could not open $dir_path";
|
||||
while (my $file_name = readdir ($dir)) {
|
||||
next if $file_name !~ /mono-api-.*\.html$/;
|
||||
open (my $file, "$dir_path/sources/$file_name") or die "Could not open $file_name";
|
||||
my $contents = '';
|
||||
my @api = ();
|
||||
while (<$file>) {
|
||||
$contents .= $_;
|
||||
if (/name="api:(.*?)"/) {
|
||||
s/.*name="api:(\w+?)".*/$1/;
|
||||
push @api, $_;
|
||||
}
|
||||
}
|
||||
close $file;
|
||||
$templates->{$file_name}->{contents} = $contents;
|
||||
$templates->{$file_name}->{api} = \@api;
|
||||
}
|
||||
closedir $dir;
|
||||
}
|
||||
|
||||
#
|
||||
# Extract documentation from all source files.
|
||||
#
|
||||
sub process_source_files {
|
||||
my ($docs) = @_;
|
||||
for my $file_path (@ARGV) {
|
||||
process_source_file($file_path, $docs);
|
||||
}
|
||||
}
|
||||
|
||||
while (<ARGV>){
|
||||
if (/\/\*\* *\n/){
|
||||
&process_doc;
|
||||
} else {
|
||||
#print "IGNORING: $_";
|
||||
}
|
||||
#
|
||||
# Extract documentation from a single source file.
|
||||
#
|
||||
sub process_source_file {
|
||||
my ($file_path, $docs) = @_;
|
||||
open (my $file, '<', $file_path) or die "Could not open $file_path";
|
||||
while (<$file>) {
|
||||
next if (!/\/\*\* *\n/);
|
||||
process_function($file, $file_path, $docs);
|
||||
}
|
||||
close $file;
|
||||
}
|
||||
|
||||
if ($html){
|
||||
for ($f = 0; $f < $filecount; $f++){
|
||||
$name = $files[$f];
|
||||
open (OUT, "> $dir/html/$name") || die "Can not create $dir/html/$name";
|
||||
print "Merging: $name\n";
|
||||
print OUT<<EOF;
|
||||
#
|
||||
# Extract documentation from a single function.
|
||||
#
|
||||
sub process_function {
|
||||
|
||||
my ($file, $file_path, $docs) = @_;
|
||||
|
||||
my $PARAMETER_SECTION = 0;
|
||||
my $BODY_SECTION = 1;
|
||||
my $RETURN_SECTION = 2;
|
||||
my $section = $PARAMETER_SECTION;
|
||||
|
||||
my $name = do {
|
||||
$_ = <$file>;
|
||||
chomp;
|
||||
s/^ \* //;
|
||||
s/:$//;
|
||||
$_
|
||||
};
|
||||
|
||||
# Ignore irrelevant functions, and those with the wrong doc format.
|
||||
return if $name !~ /^mono_\w+$/;
|
||||
|
||||
my $deprecated;
|
||||
my @parameters = ();
|
||||
my $body = '';
|
||||
my $returns = '';
|
||||
my $prototype = '';
|
||||
|
||||
while (<$file>) {
|
||||
|
||||
# We've reached the last line in the documentation block.
|
||||
if (/^ \*\*?\//) {
|
||||
|
||||
# Grab function prototype.
|
||||
while (<$file>) {
|
||||
$prototype .= $_;
|
||||
last if /\{/;
|
||||
}
|
||||
|
||||
# Clean up prototype.
|
||||
$prototype = do {
|
||||
$_ = $prototype;
|
||||
# Strip braces and trailing whitespace.
|
||||
s/{//;
|
||||
s/ +$//;
|
||||
# Turn "Type * xxx" into "Type* xxx"
|
||||
s/^(\w+)\W+\*/$1*/;
|
||||
$_;
|
||||
};
|
||||
|
||||
# Process formatting within sections.
|
||||
for my $parameter (@parameters) {
|
||||
process_formatting(\$parameter->{description}, $file_path, $.);
|
||||
}
|
||||
process_formatting(\$returns, $file_path, $.);
|
||||
process_formatting(\$body, $file_path, $.);
|
||||
if (defined($deprecated)) {
|
||||
process_formatting(\$deprecated, $file_path, $.);
|
||||
}
|
||||
$body =~ s/\n/ /g;
|
||||
|
||||
if (exists($docs->{body}->{$name})) {
|
||||
my $origin = $docs->{origin}->{$name};
|
||||
if ($WARNINGS) {
|
||||
warn
|
||||
"$file_path:$.: Redundant documentation for $name\n",
|
||||
"$origin->{file}:$origin->{line}: Previously defined here\n";
|
||||
}
|
||||
}
|
||||
$docs->{origin}->{$name} = { file => $file_path, line => $. };
|
||||
$docs->{body}->{$name} = $body;
|
||||
$docs->{parameters}->{$name} = \@parameters;
|
||||
$docs->{deprecated}->{$name} = $deprecated if defined $deprecated;
|
||||
$docs->{return}->{$name} = $returns;
|
||||
$docs->{prototype}->{$name} = $prototype;
|
||||
last;
|
||||
|
||||
}
|
||||
|
||||
# Strip newlines and asterisk prefix.
|
||||
chomp;
|
||||
s/^ +\*//;
|
||||
|
||||
# Replace blank lines with paragraph breaks.
|
||||
$_ = '<p>' if /^\s*$/;
|
||||
|
||||
if ($section == $PARAMETER_SECTION) {
|
||||
if (/\s*\\param +(\w+)(.*)/) {
|
||||
# print "$file_path:$.: warning: Got parameter $1\n";
|
||||
push @parameters, { name => $1, description => $2 };
|
||||
} elsif (/\s*\\deprecated(.*)/) {
|
||||
# print "$file_path:$.: warning: Got deprecated annotation\n";
|
||||
$deprecated = $1;
|
||||
} elsif (/\s*(\w+):(.*)/) {
|
||||
if ($1 eq 'deprecated') {
|
||||
warn "$file_path:$.: Old-style monodoc notation 'deprecated:' used\n"
|
||||
if $WARNINGS;
|
||||
$deprecated = $2;
|
||||
} else {
|
||||
warn "$file_path:$.: Old-style monodoc notation 'param:' used\n"
|
||||
if $WARNINGS;
|
||||
push @parameters, { name => $1, description => $2 };
|
||||
}
|
||||
} else {
|
||||
# $body = "\t$_\n";
|
||||
$section = $BODY_SECTION;
|
||||
redo;
|
||||
}
|
||||
} elsif ($section == $BODY_SECTION) {
|
||||
if (s/(Returns?:\s*|\\returns?\s*)//) {
|
||||
$returns = "\t$_\n";
|
||||
$section = $RETURN_SECTION;
|
||||
} else {
|
||||
$body .= "\n\t$_";
|
||||
}
|
||||
} elsif ($section == $RETURN_SECTION) {
|
||||
$returns .= "\n\t$_";
|
||||
} else {
|
||||
die "Invalid section $section\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Substitute formatting within documentation text.
|
||||
#
|
||||
sub process_formatting {
|
||||
my ($content, $file_path, $current_line) = @_;
|
||||
$_ = $$content;
|
||||
|
||||
# Constants
|
||||
s{NULL}{<code>NULL</code>}g;
|
||||
s{TRUE}{<code>TRUE</code>}g;
|
||||
s{FALSE}{<code>FALSE</code>}g;
|
||||
|
||||
# Parameters
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '\@param' used\n"
|
||||
if s{@(\w+)}{<i>$1</i>}g && $WARNINGS;
|
||||
s{\\p +(\w+)}{<i>$1</i>}g;
|
||||
|
||||
# Code
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '#code' used\n"
|
||||
if s{#(\w+)}{<code>$1</code>}g && $WARNINGS;
|
||||
warn "$file_path:$current_line: Old-style monodoc notation '`code`' used\n"
|
||||
if s{\`((?!api:)[:.\w\*]+)\`}{<code>$1</code>}g && $WARNINGS;
|
||||
s{\\c +(\S+(?<![.,:;]))}{<code>$1</code>}g;
|
||||
|
||||
$$content = $_;
|
||||
}
|
||||
|
||||
#
|
||||
# Merge templates with stylesheet and documentation extracted from sources.
|
||||
#
|
||||
sub merge {
|
||||
my ($docs, $templates, $stylesheet) = @_;
|
||||
my $last = '';
|
||||
for my $name (keys %$templates) {
|
||||
open (my $output_file, '>', "$TARGET_DIR/html/$name")
|
||||
or die "Could not create $TARGET_DIR/html/$name";
|
||||
print "Merging: $name\n";
|
||||
print $output_file <<EOF;
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>$name</title>
|
||||
<style type="text/css">
|
||||
$css
|
||||
$stylesheet
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="mapi-docs">
|
||||
EOF
|
||||
@a = split (/\n/, $files_content[$f]);
|
||||
$strikeextra = "";
|
||||
$api_shown = 0;
|
||||
for ($ai = 0; $ai < $#a; $ai++){
|
||||
$line = $a[$ai];
|
||||
|
||||
($api,$caption) = $line =~ /<h4><a name=\"api:(\w+)\">(\w+)<\/a><\/h4>/;
|
||||
if ($api ne ""){
|
||||
if ($api_shown == 1){
|
||||
print OUT "</div> <!-- class=mapi -->\n\n";
|
||||
if ($deprecated{$api}){
|
||||
$strike = "mapi-strike";
|
||||
$strikeextra = "</div><br><div class='mapi-deprecated'><b>Deprecated:</b> " . $deprecated{$api};
|
||||
} else {
|
||||
$strike = "";
|
||||
$strikeextra = "";
|
||||
}
|
||||
}
|
||||
$api_shown = 1;
|
||||
$proto = $prototype{$api};
|
||||
if ($proto eq ""){
|
||||
$proto = "$api";
|
||||
}
|
||||
my @a = split (/\n/, $templates->{$name}->{contents});
|
||||
my $strike = '';
|
||||
my $strikeextra = '';
|
||||
my $api_shown = 0;
|
||||
for (my $ai = 0; $ai < $#a; $ai++) {
|
||||
my $line = $a[$ai];
|
||||
if (my ($api, $caption) = ($line =~ /<h4><a name=\"api:(\w+)\">(\w+)<\/a><\/h4>/)) {
|
||||
if ($api_shown == 1) {
|
||||
print $output_file "</div> <!-- class=mapi -->\n\n";
|
||||
if ($docs->{deprecated}->{$api}) {
|
||||
$strike = "mapi-strike";
|
||||
$strikeextra = "</div><br><div class='mapi-deprecated'><b>Deprecated:</b> " . $docs->{deprecated}->{$api};
|
||||
} else {
|
||||
$strike = "";
|
||||
$strikeextra = "";
|
||||
}
|
||||
}
|
||||
$api_shown = 1;
|
||||
my $proto = $docs->{prototype}->{$api} // $api;
|
||||
|
||||
print OUT<<EOF;
|
||||
print $output_file <<EOF;
|
||||
<a name="api:$api"></a>
|
||||
<div class="mapi">
|
||||
<div class="mapi-entry $strike"><code>$api$strikeextra</code></div>
|
||||
@@ -98,228 +302,201 @@ EOF
|
||||
<div class="mapi-prototype">$proto</div>
|
||||
<p>
|
||||
EOF
|
||||
$ppars = $arguments{$api};
|
||||
if ($ppars ne "" && (!($ppars =~ /^[ \t]+$/))){
|
||||
print OUT " <div class=\"mapi-section\">Parameters</div>\n";
|
||||
print OUT " <table class=\"mapi-parameters\"><tbody>".${arguments{$api}}."</tbody></table>";
|
||||
}
|
||||
|
||||
&opt_print ("Return value", $returns{$api}, 0);
|
||||
&opt_print ("Description", $bodies{$api}, 0);
|
||||
print OUT " </div><!--mapi-description-->\n </div><!--height container-->\n";
|
||||
} else {
|
||||
if ($line =~ /@API_IDX@/){
|
||||
$apis_toc = &create_toc ($apis[$f]);
|
||||
$line =~ s/\@API_IDX\@/$apis_toc/;
|
||||
}
|
||||
if ($line =~ /^<h4/){
|
||||
print OUT "</div>\n";
|
||||
$api_shown = 0;
|
||||
}
|
||||
if ($line =~ /`/){
|
||||
}
|
||||
print OUT "$line\n";
|
||||
}
|
||||
}
|
||||
print OUT<<EOF;
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
close OUT;
|
||||
system ("$ENV{runtimedir}/mono-wrapper convert.exe $dir/html/$name $dir/html/x-$name");
|
||||
if (exists ($docs->{parameters}->{$api})) {
|
||||
my $ppars = $docs->{parameters}->{$api};
|
||||
if (@$ppars) {
|
||||
print $output_file
|
||||
" <div class=\"mapi-section\">Parameters</div>\n",
|
||||
" <table class=\"mapi-parameters\"><tbody>",
|
||||
render_parameters($ppars),
|
||||
"</tbody></table>";
|
||||
}
|
||||
}
|
||||
|
||||
opt_print ($output_file, "Return value", $docs->{return}->{$api});
|
||||
opt_print ($output_file, "Description", $docs->{body}->{$api});
|
||||
print $output_file " </div><!--mapi-description-->\n </div><!--height container-->\n";
|
||||
} else {
|
||||
if ($line =~ /\@API_IDX\@/) {
|
||||
my $apis_toc = create_toc ($docs, $templates->{$name}->{api});
|
||||
$line =~ s/\@API_IDX\@/$apis_toc/;
|
||||
}
|
||||
if ($line =~ /^<h4/) {
|
||||
print $output_file "</div>\n";
|
||||
$api_shown = 0;
|
||||
}
|
||||
if ($line =~ /`/) {
|
||||
}
|
||||
print $output_file "$line\n";
|
||||
}
|
||||
}
|
||||
print $output_file
|
||||
" </div>",
|
||||
"</body>",
|
||||
"</html>";
|
||||
close $output_file;
|
||||
system ("$ENV{runtimedir}/mono-wrapper convert.exe $TARGET_DIR/html/$name $TARGET_DIR/html/x-$name");
|
||||
|
||||
# clean up the mess that AgilityPack does, it CDATAs our CSS
|
||||
open HACK, "$dir/html/x-$name" || die "Could not open $dir/html/x-$name";
|
||||
open HACKOUT, ">$dir/deploy/$name" || die "Could not open output";
|
||||
# Clean up the mess that AgilityPack makes (it CDATAs our CSS).
|
||||
open (my $hack_input, '<', "$TARGET_DIR/html/x-$name")
|
||||
or die "Could not open $TARGET_DIR/html/x-$name";
|
||||
open (my $hack_output, '>', "$TARGET_DIR/deploy/$name")
|
||||
or die "Could not open output";
|
||||
|
||||
$line = 0;
|
||||
$doprint = 0;
|
||||
while (<HACK>){
|
||||
print HACKOUT $last if ($doprint);
|
||||
$line++;
|
||||
s/^\/\/<!\[CDATA\[//;
|
||||
s/^\/\/\]\]>\/\///;
|
||||
my $line = 0;
|
||||
my $doprint = 0;
|
||||
while (<$hack_input>) {
|
||||
print $hack_output $last if ($doprint);
|
||||
$line++;
|
||||
s/^\/\/<!\[CDATA\[//;
|
||||
s/^\/\/\]\]>\/\///;
|
||||
|
||||
# Remove the junk <span> wrapper generated by AgilityPack
|
||||
if ($line==1){
|
||||
s/<span>//;
|
||||
}
|
||||
if (/<style type/){
|
||||
# Replace the CSS in the XHTML output with the original CSS
|
||||
print HACKOUT $_;
|
||||
print HACKOUT $css;
|
||||
while (<HACK>){
|
||||
last if (/<\/style>/);
|
||||
}
|
||||
}
|
||||
$last = $_;
|
||||
$doprint = 1;
|
||||
}
|
||||
if (!($last =~ /span/)){
|
||||
print HACKOUT $last;
|
||||
}
|
||||
|
||||
#system ("cp.exe $dir/html/$name $dir/deploy/$name");
|
||||
# Remove the junk <span> wrapper generated by AgilityPack.
|
||||
if ($line==1) {
|
||||
s/<span>//;
|
||||
}
|
||||
if (/<style type/) {
|
||||
# Replace the CSS in the XHTML output with the original CSS.
|
||||
print $hack_output $_;
|
||||
print $hack_output $$stylesheet;
|
||||
while (<$hack_input>) {
|
||||
last if (/<\/style>/);
|
||||
}
|
||||
}
|
||||
$last = $_;
|
||||
$doprint = 1;
|
||||
}
|
||||
if (!($last =~ /span/)) {
|
||||
print $hack_output $last;
|
||||
}
|
||||
# system ("cp.exe $TARGET_DIR/html/$name $TARGET_DIR/deploy/$name");
|
||||
}
|
||||
}
|
||||
|
||||
sub process_doc {
|
||||
$doc = "";
|
||||
$func = <>;
|
||||
chop $func;
|
||||
$func =~ s/^ \* //;
|
||||
$func =~ s/:$//;
|
||||
print "Function: $func\n" if (!$html);
|
||||
$args = "";
|
||||
$inbody = 0;
|
||||
$returns = "";
|
||||
$body = "";
|
||||
$functions[$fn++] = $func;
|
||||
$deprecated = 0;
|
||||
# Process arguments
|
||||
while (<>){
|
||||
s/NULL/<code>NULL<\/code>/g;
|
||||
s/TRUE/<code>TRUE<\/code>/g;
|
||||
s/FALSE/<code>FALSE<\/code>/g;
|
||||
if (/^ \*\*?\//){
|
||||
$body =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
$returns =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
$args =~ s/@(\w+)/<i>\1<\/i>/g;
|
||||
|
||||
$body =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
$returns =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
$args =~ s/#(\w+)/<code>\1<\/code>/g;
|
||||
|
||||
$returns =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
$args =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
$body =~ s/\`([:.\w\*]+)\`/<code>\1<\/code>/g;
|
||||
|
||||
$body =~ s/\n/ /;
|
||||
$bodies{$func} = $body;
|
||||
$arguments{$func} = $args;
|
||||
$deprecated{$func} = $deprecated;
|
||||
$returns{$func} = $returns;
|
||||
$proto = "";
|
||||
while (<>){
|
||||
$proto .= $_;
|
||||
last if (/\{/);
|
||||
}
|
||||
$proto =~ s/{//;
|
||||
# clean it up a little, remove newlines, empty space at end
|
||||
$proto =~ s/ +$//;
|
||||
# Turn "Type * xxx" into "Type* xxx"
|
||||
$proto =~ s/^(\w+)\W+\*/\1\*/;
|
||||
$prototype{$func} = $proto;
|
||||
return;
|
||||
}
|
||||
chop;
|
||||
s/^\ \*//;
|
||||
$_ = "<p>" if (/^\s*$/);
|
||||
|
||||
if ($inbody == 0){
|
||||
if (/\s*(\w+):(.*)/){
|
||||
if ($1 eq "deprecated"){
|
||||
$deprecated = $2;
|
||||
} else {
|
||||
#$args .= "<dt><i>$1:</i></dt><dd>$2</dd>";
|
||||
$args .= "<tr><td><i>$1</i><td>$2</td></td></tr>";
|
||||
}
|
||||
} else {
|
||||
|
||||
$body = "\t$_\n";
|
||||
|
||||
$inbody = 1;
|
||||
}
|
||||
} elsif ($inbody == 1) {
|
||||
if (/Returns?:/){
|
||||
s/Returns?://;
|
||||
$returns = "\t$_\n";
|
||||
$inbody = 2;
|
||||
} else {
|
||||
$body .= "\n\t$_";
|
||||
}
|
||||
} else {
|
||||
$returns .= "\n\t$_";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
sub create_toc {
|
||||
my ($apis_listed) = @_;
|
||||
my ($docs, $apis_listed) = @_;
|
||||
my $type_size = 0;
|
||||
my $name_size = 0;
|
||||
my $ret, $xname, $args, $line;
|
||||
$apis_toc = "";
|
||||
my ($ret, $xname, $args);
|
||||
my $apis_toc = "";
|
||||
|
||||
|
||||
# Try to align things, so compute type size, method size, and arguments
|
||||
foreach $line (split /\n/, $apis_listed){
|
||||
$p = $prototype{$line};
|
||||
($ret, $xname, $args) = $p =~ /(.*)\n(\w+)[ \t](.*)/;
|
||||
$tl = length ($ret);
|
||||
$pl = length ($xname);
|
||||
|
||||
$type_size = $tl if ($tl > $type_size);
|
||||
$name_size = $pl if ($pl > $name_size);
|
||||
# Try to align things; compute type size, method size, and arguments.
|
||||
foreach my $line (split /\n/, $apis_listed) {
|
||||
if (exists ($docs->{prototype}->{$line})) {
|
||||
my $p = $docs->{prototype}->{$line};
|
||||
if (my ($ret, $xname, $args) = ($p =~ /(.*)\n(\w+)[ \t](.*)/)) {
|
||||
my $tl = length ($ret);
|
||||
my $pl = length ($xname);
|
||||
$type_size = $tl if ($tl > $type_size);
|
||||
$name_size = $pl if ($pl > $name_size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$type_size++;
|
||||
$name_size++;
|
||||
|
||||
foreach $line (split /\n/, $apis_listed){
|
||||
chop;
|
||||
$p = $prototype{$line};
|
||||
($ret, $xname, $args) = $p =~ /(.*)\n(\w+)[ \t](.*)/;
|
||||
if ($xname eq ""){
|
||||
$xname = $line;
|
||||
}
|
||||
|
||||
$rspace = " " x ($type_size - length ($ret));
|
||||
$nspace = " " x ($name_size - length ($xname));
|
||||
$args = &format ($args, length ($ret . $rspace . $xname . $nspace), 60);
|
||||
$apis_toc .= "$ret$rspace<a href=\"\#api:$line\">$xname</a>$nspace$args\n";
|
||||
foreach my $line (split /\n/, $apis_listed) {
|
||||
chomp($line);
|
||||
if (exists($docs->{prototype}->{$line})) {
|
||||
my $p = $docs->{prototype}->{$line};
|
||||
if (my ($ret, $xname, $args) = ($p =~ /(.*)\n(\w+)[ \t](.*)/)) {
|
||||
$xname = $line if $xname eq "";
|
||||
my $rspace = " " x ($type_size - length ($ret));
|
||||
my $nspace = " " x ($name_size - length ($xname));
|
||||
$args = wrap ($args, length ($ret . $rspace . $xname . $nspace), 60);
|
||||
$apis_toc .= "$ret$rspace<a href=\"\#api:$line\">$xname</a>$nspace$args\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
return $apis_toc;
|
||||
}
|
||||
|
||||
#
|
||||
# Formats the rest of the arguments in a way that will fit in N columns
|
||||
#
|
||||
sub format {
|
||||
sub wrap {
|
||||
my ($args, $size, $limit) = @_;
|
||||
my $sret = "";
|
||||
|
||||
# return $args if ((length (args) + size) < $limit);
|
||||
# return $args if ((length (args) + size) < $limit);
|
||||
|
||||
$remain = $limit - $size;
|
||||
@sa = split /,/, $args;
|
||||
$linelen = $size;
|
||||
foreach $arg (@sa){
|
||||
if ($sret eq ""){
|
||||
$sret = $arg . ", ";
|
||||
$linelen += length ($sret);
|
||||
} else {
|
||||
if ($linelen + length ($arg) < $limit){
|
||||
$sret .= "FITS" . $arg . ", ";
|
||||
} else {
|
||||
$newline = " " x ($size) . $arg . ", ";
|
||||
$linelen = length ($newline);
|
||||
$sret .= "\n" . $newline;
|
||||
}
|
||||
}
|
||||
my $remain = $limit - $size;
|
||||
my @sa = split /,/, $args;
|
||||
my $linelen = $size;
|
||||
foreach my $arg (@sa) {
|
||||
if ($sret eq "") {
|
||||
$sret = $arg . ", ";
|
||||
$linelen += length ($sret);
|
||||
} else {
|
||||
if ($linelen + length ($arg) < $limit) {
|
||||
$sret .= "FITS" . $arg . ", ";
|
||||
} else {
|
||||
my $newline = " " x ($size) . $arg . ", ";
|
||||
my $linelen = length ($newline);
|
||||
$sret .= "\n" . $newline;
|
||||
}
|
||||
}
|
||||
}
|
||||
$sret =~ s/, $/;/;
|
||||
return $sret;
|
||||
}
|
||||
|
||||
#
|
||||
# Print a section if non-empty.
|
||||
#
|
||||
sub opt_print {
|
||||
my ($caption, $opttext, $quote) = @_;
|
||||
|
||||
if ($opttext ne "" && (!($opttext =~ /^[ \t]+$/))){
|
||||
print OUT " <div class=\"mapi-section\">$caption</div>\n";
|
||||
print OUT " <div>$opttext</div>\n";
|
||||
my ($output, $caption, $opttext) = @_;
|
||||
if (defined($opttext) && $opttext ne '' && $opttext !~ /^[ \t]+$/) {
|
||||
print $output
|
||||
" <div class=\"mapi-section\">$caption</div>\n",
|
||||
" <div>$opttext</div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Render parameter information as table.
|
||||
#
|
||||
sub render_parameters {
|
||||
my ($parameters) = @_;
|
||||
my $result = '';
|
||||
for my $parameter (@$parameters) {
|
||||
$result .= "<tr><td><i>$parameter->{name}</i></td><td>$parameter->{description}</td></tr>";
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
exdoc - Compiles API docs from Mono sources and HTML templates.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
exdoc [OPTIONS] [FILE...]
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
=over 4
|
||||
|
||||
=item B<--help>
|
||||
|
||||
Print this help message.
|
||||
|
||||
=item B<--html> I<DIR>, B<-h> I<DIR>
|
||||
|
||||
Use I<DIR> as the input path for HTML sources.
|
||||
|
||||
=item B<--target> I<DIR>, B<-t> I<DIR>
|
||||
|
||||
Use I<DIR> as the target path for output.
|
||||
|
||||
=item B<--warnings>, B<-W>
|
||||
|
||||
Enable warnings about documentation errors.
|
||||
|
||||
=back
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Reads HTML templates and C sources, extracting documentation from the sources and splicing it into the templates.
|
||||
|
||||
=cut
|
||||
@@ -37,7 +37,6 @@
|
||||
<manpage name="mono-xmltool(1)" page="../man/mono-xmltool.1" />
|
||||
<manpage name="mozroots(1)" page="../man/mozroots.1" />
|
||||
<manpage name="permview(1)" page="../man/permview.1" />
|
||||
<manpage name="prj2make(1)" page="../man/prj2make.1" />
|
||||
<manpage name="resgen(1)" page="../man/resgen.1" />
|
||||
<manpage name="secutil(1)" page="../man/secutil.1" />
|
||||
<manpage name="setreg(1)" page="../man/setreg.1" />
|
||||
|
||||
@@ -27,7 +27,6 @@ typedef enum {
|
||||
|
||||
<h3>Opening and closing MonoImages</h3>
|
||||
|
||||
<h4><a name="api:mono_load_image">mono_load_image</a></h4>
|
||||
<h4><a name="api:mono_image_open">mono_image_open</a></h4>
|
||||
<h4><a name="api:mono_image_open_full">mono_image_open_full</a></h4>
|
||||
<h4><a name="api:mono_image_open_from_data">mono_image_open_from_data</a></h4>
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
<h4><a name="api:mono_marshal_get_delegate_invoke">mono_marshal_get_delegate_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_icall_wrapper">mono_marshal_get_icall_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_isinst">mono_marshal_get_isinst</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_ldfld_remote_wrapper">mono_marshal_get_ldfld_remote_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_ldfld_wrapper">mono_marshal_get_ldfld_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_managed_wrapper">mono_marshal_get_managed_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_native_wrapper">mono_marshal_get_native_wrapper</a></h4>
|
||||
@@ -51,7 +50,6 @@
|
||||
<h4><a name="api:mono_marshal_get_remoting_invoke_with_check">mono_marshal_get_remoting_invoke_with_check</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_runtime_invoke">mono_marshal_get_runtime_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stelemref">mono_marshal_get_stelemref</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stfld_remote_wrapper">mono_marshal_get_stfld_remote_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_stfld_wrapper">mono_marshal_get_stfld_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_struct_to_ptr">mono_marshal_get_struct_to_ptr</a></h4>
|
||||
<h4><a name="api:mono_marshal_get_synchronized_wrapper">mono_marshal_get_synchronized_wrapper</a></h4>
|
||||
@@ -59,47 +57,9 @@
|
||||
<h4><a name="api:mono_marshal_get_xappdomain_invoke">mono_marshal_get_xappdomain_invoke</a></h4>
|
||||
<h4><a name="api:mono_marshal_load_type_info">mono_marshal_load_type_info</a></h4>
|
||||
<h4><a name="api:mono_marshal_method_from_wrapper">mono_marshal_method_from_wrapper</a></h4>
|
||||
<h4><a name="api:mono_marshal_realloc">mono_marshal_realloc</a></h4>
|
||||
<h4><a name="api:mono_marshal_set_last_error">mono_marshal_set_last_error</a></h4>
|
||||
<h4><a name="api:mono_marshal_type_size">mono_marshal_type_size</a></h4>
|
||||
|
||||
<h2>Metadata Loading Errors</h2>
|
||||
|
||||
<p>The routines in this section are used to cope with errors
|
||||
during metadata loading. Errors in metadata handling can
|
||||
happen for many reason, and these include (this is not an
|
||||
exhaustive list).
|
||||
|
||||
<ul>
|
||||
<li>An assembly referenced is missing.
|
||||
<li>Fields referenced are missing.
|
||||
<li>Methods referenced are missing.
|
||||
</ul>
|
||||
|
||||
<p>The <tt>mono_loader_set_*</tt> routines are invoked during
|
||||
metadata loading to flag that an error has happened. The
|
||||
class loading errros are flagged in a per-thread basis.
|
||||
|
||||
<P>In various spots in the runtime the
|
||||
<tt>mono_loader_get_last_error</tt> routine is called to check
|
||||
if there was a problem, and then errors are propagated upwards
|
||||
on the stack until we reach a point where an exception can be
|
||||
raised and no runtime locks are held.
|
||||
|
||||
<p>The <tt>mono_loader_error_prepare_exception</tt> takes a
|
||||
<tt>MonoLoaderError</tt> structure (the value returned from
|
||||
<tt>mono_loader_get_last_error</tt>), turns that into an
|
||||
exception and clears the error condition from the current
|
||||
thread.
|
||||
|
||||
<h4><a name="api:mono_loader_set_error_field_load">mono_loader_set_error_field_load</a></h4>
|
||||
<h4><a name="api:mono_loader_set_error_method_load">mono_loader_set_error_method_load</a></h4>
|
||||
<h4><a name="api:mono_loader_set_error_type_load">mono_loader_set_error_type_load</a></h4>
|
||||
|
||||
<h4><a name="api:mono_loader_get_last_error">mono_loader_get_last_error</a></h4>
|
||||
<h4><a name="api:mono_loader_clear_error">mono_loader_clear_error</a></h4>
|
||||
<h4><a name="api:mono_loader_error_prepare_exception">mono_loader_error_prepare_exception</a></h4>
|
||||
|
||||
<h2>Metadata Loader Locking: Internals</h2>
|
||||
|
||||
<p>The locking functions here are used by code in class.c and
|
||||
@@ -114,10 +74,6 @@
|
||||
<p>The internal interface of the Mono GC is the interface used
|
||||
between the runtime engine and the garbage collector.
|
||||
|
||||
<h4><a name="api:mono_gc_disable">mono_gc_disable</a></h4>
|
||||
<h4><a name="api:mono_gc_enable">mono_gc_enable</a></h4>
|
||||
<h4><a name="api:mono_gc_start_world">mono_gc_start_world</a></h4>
|
||||
<h4><a name="api:mono_gc_stop_world">mono_gc_stop_world</a></h4>
|
||||
<h4><a name="api:mono_gc_alloc_fixed">mono_gc_alloc_fixed</a></h4>
|
||||
<h4><a name="api:mono_gc_free_fixed">mono_gc_free_fixed</a></h4>
|
||||
<h4><a name="api:mono_gc_make_descr_from_bitmap">mono_gc_make_descr_from_bitmap</a></h4>
|
||||
|
||||
@@ -31,17 +31,12 @@
|
||||
<h4><a name="api:mono_g_hash_table_destroy">mono_g_hash_table_destroy</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach">mono_g_hash_table_foreach</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach_remove">mono_g_hash_table_foreach_remove</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_foreach_steal">mono_g_hash_table_foreach_steal</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_insert">mono_g_hash_table_insert</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_lookup">mono_g_hash_table_lookup</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_lookup_extended">mono_g_hash_table_lookup_extended</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_new">mono_g_hash_table_new</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_new_full">mono_g_hash_table_new_full</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_remap">mono_g_hash_table_remap</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_remove">mono_g_hash_table_remove</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_replace">mono_g_hash_table_replace</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_size">mono_g_hash_table_size</a></h4>
|
||||
<h4><a name="api:mono_g_hash_table_steal">mono_g_hash_table_steal</a></h4>
|
||||
|
||||
|
||||
<h3>Memory Pools</h3>
|
||||
@@ -67,7 +62,6 @@
|
||||
<h4><a name="api:mono_mempool_destroy">mono_mempool_destroy</a></h4>
|
||||
<h4><a name="api:mono_mempool_alloc">mono_mempool_alloc</a></h4>
|
||||
<h4><a name="api:mono_mempool_alloc0">mono_mempool_alloc0</a></h4>
|
||||
<h4><a name="api:mono_mempool_empty">mono_mempool_empty</a></h4>
|
||||
<h4><a name="api:mono_mempool_invalidate">mono_mempool_invalidate</a></h4>
|
||||
<h4><a name="api:mono_mempool_stats">mono_mempool_stats</a></h4>
|
||||
<h4><a name="api:mono_mempool_contains_addr">mono_mempool_contains_addr</a></h4>
|
||||
@@ -153,6 +147,4 @@
|
||||
<h4><a name="api:mono_profiler_startup">mono_profiler_startup</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_event">mono_profiler_gc_event</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_heap_resize">mono_profiler_gc_heap_resize</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_event">mono_profiler_gc_event</a></h4>
|
||||
<h4><a name="api:mono_profiler_gc_heap_resize">mono_profiler_gc_heap_resize</a></h4>
|
||||
<h4><a name="api:mono_profiler_stat_hit">mono_profiler_stat_hit</a></h4>
|
||||
@@ -669,15 +669,12 @@ MONO_TYPESPEC_SIZE
|
||||
<h4><a name="api:mono_metadata_parse_method_signature">mono_metadata_parse_method_signature</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_mh">mono_metadata_parse_mh</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_param">mono_metadata_parse_param</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_ret_type">mono_metadata_parse_ret_type</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_signature">mono_metadata_parse_signature</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_typedef_or_ref">mono_metadata_parse_typedef_or_ref</a></h4>
|
||||
<h4><a name="api:mono_metadata_parse_type">mono_metadata_parse_type</a></h4>
|
||||
|
||||
<h2>Generics Support</h2>
|
||||
|
||||
<h4><a name="api:mono_metadata_generic_class_equal">mono_metadata_generic_class_equal</a></h4>
|
||||
<h4><a name="api:mono_metadata_generic_class_hash">mono_metadata_generic_class_hash</a></h4>
|
||||
<h4><a name="api:mono_metadata_generic_class_is_valuetype">mono_metadata_generic_class_is_valuetype</a></h4>
|
||||
|
||||
<h2>Tokens</h2>
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
/
|
||||
/depcomp
|
||||
/config.guess
|
||||
/config.sub
|
||||
/ltmain.sh
|
||||
/eglib-*.tar.gz
|
||||
/missing
|
||||
/install-sh
|
||||
/compile
|
||||
/Makefile
|
||||
/Makefile.in
|
||||
/stamp-h1
|
||||
/config.h.in
|
||||
/libtool
|
||||
/autom4te.cache
|
||||
/aclocal.m4
|
||||
/config.log
|
||||
/configure
|
||||
/config.h
|
||||
/config.status
|
||||
/INSTALL
|
||||
dolt*
|
||||
@@ -1,17 +0,0 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
@@ -1,19 +0,0 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
if HOST_WIN32
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
if PLATFORM_DARWIN
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
if CROSS_COMPILING
|
||||
SUBDIRS = m4 src
|
||||
else
|
||||
SUBDIRS = m4 src test
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
EXTRA_DIST = autogen.sh README NEWS AUTHORS winconfig.h
|
||||
@@ -1,54 +0,0 @@
|
||||
|
||||
The purpose of eglib is to be an X11-licensed subset of glib that can
|
||||
be used with Mono when the Mono runtime is explicitly relicensed under
|
||||
a different license by Novell.
|
||||
|
||||
The implementation is done from the public documentation available here:
|
||||
|
||||
http://developer.gnome.org/doc/API/2.0/glib/
|
||||
|
||||
Currently this is only being built standalone, use:
|
||||
|
||||
./autogen.sh --prefix=/tmp/test
|
||||
|
||||
Currently all the definitions go into a single file: glib.h, there are
|
||||
no separate files, please try to follow the convetions in the source code
|
||||
|
||||
* Tests
|
||||
|
||||
Please read the README in tests/
|
||||
|
||||
* Features
|
||||
|
||||
The source code is designed to allow for different operating
|
||||
system builds of the eglib code.
|
||||
|
||||
Files in src that:
|
||||
|
||||
* Have a plain name: are cross platform, and should work on
|
||||
every operating system.
|
||||
|
||||
* That end in -unix.c: These files contain Unix specific code.
|
||||
|
||||
* That end in -win32.c: These files contain Win32 specific code.
|
||||
|
||||
* That end in -posix.c: Will work on both Windows and Unix,
|
||||
but should not be included for other operating systems.
|
||||
|
||||
* Plans: short and long term.
|
||||
|
||||
The short term plans for eglib is to allow Mono to optionally
|
||||
build with it instead of using glib, gmodule and gthread, but
|
||||
the default build will continue to be done against glib 2.0.
|
||||
|
||||
In the long-term we are considering dropping glib as a
|
||||
dependency, considering that Mono requires a modern Unix
|
||||
system to run anyways (for its thread support) it would allow
|
||||
us to fix some of the glib API limitations we have to live
|
||||
with (explicit thread support for example), rework the API to
|
||||
use types from stdint.h and we would be able to drop three
|
||||
external shared libraries.
|
||||
|
||||
This would reduce memory usage for the handful of routines
|
||||
that we use from glib, dynamic linker overhead for those and
|
||||
would allow us to tune the implementation to Mono's needs.
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
* Missing code
|
||||
|
||||
* Process launching
|
||||
3 g_shell_quote
|
||||
1 g_shell_unquote
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
* Should implement, for better performance:
|
||||
|
||||
Macros:
|
||||
6 G_UNLIKELY
|
||||
4 G_LIKELY
|
||||
|
||||
* Unimplemented, not supported currently:
|
||||
|
||||
(none as yet.)
|
||||
|
||||
* Dead Code
|
||||
|
||||
The GMainLoop code was no longer in use in Mono.
|
||||
|
||||
* Windows implementations needed
|
||||
|
||||
Directory, File manipulation:
|
||||
|
||||
g_dir_open, g_dir_close, g_dir_read_name
|
||||
|
||||
We're missing a native windows implementation. The unix one is in place.
|
||||
|
||||
* Information retrieval
|
||||
1 g_win32_getlocale
|
||||
|
||||
@@ -1,182 +0,0 @@
|
||||
dnl dolt, a replacement for libtool
|
||||
dnl Copyright © 2007-2008 Josh Triplett <[email protected]>
|
||||
dnl Copying and distribution of this file, with or without modification,
|
||||
dnl are permitted in any medium without royalty provided the copyright
|
||||
dnl notice and this notice are preserved.
|
||||
dnl
|
||||
dnl To use dolt, invoke the DOLT macro immediately after the libtool macros.
|
||||
dnl Optionally, copy this file into acinclude.m4, to avoid the need to have it
|
||||
dnl installed when running autoconf on your project.
|
||||
|
||||
AC_DEFUN([DOLT], [
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
# dolt, a replacement for libtool
|
||||
# Josh Triplett <[email protected]>
|
||||
AC_PATH_PROG(DOLT_BASH, bash)
|
||||
AC_MSG_CHECKING([if dolt supports this host])
|
||||
dolt_supported=yes
|
||||
if test x$DOLT_BASH = x; then
|
||||
dolt_supported=no
|
||||
fi
|
||||
if test x$GCC != xyes; then
|
||||
dolt_supported=no
|
||||
fi
|
||||
case $host in
|
||||
i?86-*-linux*|i?86-apple-darwin*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
|
||||
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*|sparc*-*-linux*|mips*-*-linux*|x86_64-apple-darwin*|aarch64*)
|
||||
pic_options='-fPIC'
|
||||
;;
|
||||
?86-pc-cygwin*|i?86-pc-cygwin*|i?86-pc-mingw32*)
|
||||
pic_options='-DDLL_EXPORT'
|
||||
;;
|
||||
i?86-apple-darwin*|arm-apple-darwin*)
|
||||
pic_options='-fno-common'
|
||||
;;
|
||||
*)
|
||||
dolt_supported=no
|
||||
;;
|
||||
esac
|
||||
if test x$dolt_supported = xno ; then
|
||||
AC_MSG_RESULT([no, falling back to libtool])
|
||||
LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
|
||||
LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
|
||||
else
|
||||
AC_MSG_RESULT([yes, replacing libtool])
|
||||
|
||||
dnl Start writing out doltcompile.
|
||||
cat <<__DOLTCOMPILE__EOF__ >doltcompile
|
||||
#!$DOLT_BASH
|
||||
__DOLTCOMPILE__EOF__
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
args=("$[]@")
|
||||
for ((arg=0; arg<${#args@<:@@@:>@}; arg++)) ; do
|
||||
if test x"${args@<:@$arg@:>@}" = x-o ; then
|
||||
objarg=$((arg+1))
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test x$objarg = x ; then
|
||||
echo 'Error: no -o on compiler command line' 1>&2
|
||||
exit 1
|
||||
fi
|
||||
lo="${args@<:@$objarg@:>@}"
|
||||
obj="${lo%.lo}"
|
||||
if test x"$lo" = x"$obj" ; then
|
||||
echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
objbase="${obj##*/}"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
dnl Write out shared compilation code.
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
libobjdir="${obj%$objbase}.libs"
|
||||
if test ! -d "$libobjdir" ; then
|
||||
mkdir_out="$(mkdir "$libobjdir" 2>&1)"
|
||||
mkdir_ret=$?
|
||||
if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
|
||||
echo "$mkdir_out" 1>&2
|
||||
exit $mkdir_ret
|
||||
fi
|
||||
fi
|
||||
pic_object="$libobjdir/$objbase.o"
|
||||
args@<:@$objarg@:>@="$pic_object"
|
||||
__DOLTCOMPILE__EOF__
|
||||
cat <<__DOLTCOMPILE__EOF__ >>doltcompile
|
||||
"\${args@<:@@@:>@}" $pic_options -DPIC || exit \$?
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
dnl Write out static compilation code.
|
||||
dnl Avoid duplicate compiler output if also building shared objects.
|
||||
if test x$enable_static = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
non_pic_object="$obj.o"
|
||||
args@<:@$objarg@:>@="$non_pic_object"
|
||||
__DOLTCOMPILE__EOF__
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
"${args@<:@@@:>@}" >/dev/null 2>&1 || exit $?
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
"${args@<:@@@:>@}" || exit $?
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Write out the code to write the .lo file.
|
||||
dnl The second line of the .lo file must match "^# Generated by .*libtool"
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
{
|
||||
echo "# $lo - a libtool object file"
|
||||
echo "# Generated by doltcompile, not libtool"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
if test x$enable_shared = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo "pic_object='.libs/${objbase}.o'"
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo pic_object=none
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
if test x$enable_static = xyes; then
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo "non_pic_object='${objbase}.o'"
|
||||
__DOLTCOMPILE__EOF__
|
||||
else
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
echo non_pic_object=none
|
||||
__DOLTCOMPILE__EOF__
|
||||
fi
|
||||
|
||||
cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
|
||||
} > "$lo"
|
||||
__DOLTCOMPILE__EOF__
|
||||
|
||||
dnl Done writing out doltcompile; substitute it for libtool compilation.
|
||||
chmod +x doltcompile
|
||||
LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
|
||||
LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
|
||||
|
||||
dnl automake ignores LTCOMPILE and LTCXXCOMPILE when it has separate CFLAGS for
|
||||
dnl a target, so write out a libtool wrapper to handle that case.
|
||||
dnl Note that doltlibtool does not handle inferred tags or option arguments
|
||||
dnl without '=', because automake does not use them.
|
||||
cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
|
||||
#!$DOLT_BASH
|
||||
__DOLTLIBTOOL__EOF__
|
||||
cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
|
||||
top_builddir_slash="${0%%doltlibtool}"
|
||||
: ${top_builddir_slash:=./}
|
||||
args=()
|
||||
modeok=false
|
||||
tagok=false
|
||||
for arg in "$[]@"; do
|
||||
case "$arg" in
|
||||
--silent) ;;
|
||||
--mode=compile) modeok=true ;;
|
||||
--tag=CC|--tag=CXX) tagok=true ;;
|
||||
--quiet) ;;
|
||||
*) args@<:@${#args[@]}@:>@="$arg" ;;
|
||||
esac
|
||||
done
|
||||
if $modeok && $tagok ; then
|
||||
. ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
|
||||
else
|
||||
exec ${top_builddir_slash}libtool "$[]@"
|
||||
fi
|
||||
__DOLTLIBTOOL__EOF__
|
||||
|
||||
dnl Done writing out doltlibtool; substitute it for libtool.
|
||||
chmod +x doltlibtool
|
||||
LIBTOOL='$(top_builddir)/doltlibtool'
|
||||
fi
|
||||
AC_SUBST(LTCOMPILE)
|
||||
AC_SUBST(LTCXXCOMPILE)
|
||||
# end dolt
|
||||
])
|
||||
@@ -1,136 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
# Ripped off from GNOME macros version
|
||||
|
||||
DIE=0
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
if [ -n "$MONO_PATH" ]; then
|
||||
# from -> /mono/lib:/another/mono/lib
|
||||
# to -> /mono /another/mono
|
||||
for i in `echo ${MONO_PATH} | tr ":" " "`; do
|
||||
i=`dirname ${i}`
|
||||
if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
|
||||
ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
|
||||
fi
|
||||
if [ -n "{i}" -a -d "${i}/bin" ]; then
|
||||
PATH="${i}/bin:$PATH"
|
||||
fi
|
||||
done
|
||||
export PATH
|
||||
fi
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`autoconf' installed to compile Mono."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if [ -z "$LIBTOOLIZE" ]; then
|
||||
LIBTOOLIZE=`which glibtoolize 2>/dev/null`
|
||||
if [ ! -x "$LIBTOOLIZE" ]; then
|
||||
LIBTOOLIZE=`which libtoolize`
|
||||
fi
|
||||
fi
|
||||
|
||||
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
|
||||
($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`libtoolize' installed to compile Mono."
|
||||
echo "Get ftp://ftp.gnu.org/gnu/libtool/libtool-1.2.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
}
|
||||
|
||||
grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && {
|
||||
grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \
|
||||
(gettext --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`gettext' installed to compile Mono."
|
||||
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
}
|
||||
|
||||
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: You must have \`automake' installed to compile Mono."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
NO_AUTOMAKE=yes
|
||||
}
|
||||
|
||||
|
||||
# if no automake, don't bother testing for aclocal
|
||||
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
|
||||
echo "installed doesn't appear recent enough."
|
||||
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
|
||||
echo "(or a newer version if it is available)"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test x$NOCONFIGURE = x && test -z "$*"; then
|
||||
echo "**Warning**: I am going to run \`configure' with no arguments."
|
||||
echo "If you wish to pass any to it, please specify them on the"
|
||||
echo \`$0\'" command line."
|
||||
echo
|
||||
fi
|
||||
|
||||
case $CC in
|
||||
xlc )
|
||||
am_opt=--include-deps;;
|
||||
esac
|
||||
|
||||
|
||||
if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
|
||||
if test -z "$NO_LIBTOOLIZE" ; then
|
||||
echo "Running libtoolize..."
|
||||
$LIBTOOLIZE --force --copy
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Running aclocal -I m4 $ACLOCAL_FLAGS ..."
|
||||
aclocal -I m4 $ACLOCAL_FLAGS || {
|
||||
echo
|
||||
echo "**Error**: aclocal failed. This may mean that you have not"
|
||||
echo "installed all of the packages you need, or you may need to"
|
||||
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
|
||||
echo "for the prefix where you installed the packages whose"
|
||||
echo "macros were not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
|
||||
echo "Running autoheader..."
|
||||
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
|
||||
fi
|
||||
|
||||
echo "Running automake --gnu $am_opt ..."
|
||||
automake --add-missing --gnu $am_opt ||
|
||||
{ echo "**Error**: automake failed."; exit 1; }
|
||||
echo "Running autoconf ..."
|
||||
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
|
||||
|
||||
|
||||
conf_flags="--enable-maintainer-mode" #--enable-compile-warnings --enable-iso-c
|
||||
|
||||
if test x$NOCONFIGURE = x; then
|
||||
echo Running $srcdir/configure $conf_flags "$@" ...
|
||||
$srcdir/configure $conf_flags "$@" \
|
||||
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
|
||||
else
|
||||
echo Skipping configure process.
|
||||
fi
|
||||
@@ -1,672 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2010 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <[email protected]>, 1996
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a `.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
darwin*)
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
case $cc_basename in
|
||||
ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
icc* | ifort*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
lf95*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
pgcc | pgf77 | pgf90)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix[3-9]*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# Samuel A. Falvo II <[email protected]> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we cannot use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | k*bsd*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix[4-9]*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if test "$GCC" = yes ; then
|
||||
:
|
||||
else
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix[4-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
case "$host_os" in
|
||||
freebsd[123]*)
|
||||
library_names_spec='$libname$shrext$versuffix' ;;
|
||||
*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
esac
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
nto-qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
||||
@@ -1,265 +0,0 @@
|
||||
#
|
||||
# Copyright 2012 Xamarin Inc
|
||||
#
|
||||
AC_INIT(eglib, [0.3],
|
||||
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
|
||||
|
||||
AC_CONFIG_SRCDIR([README])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
AC_PROG_CC
|
||||
AM_PROG_LIBTOOL
|
||||
# Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.
|
||||
DOLT
|
||||
GNUC_PRETTY=
|
||||
GNUC_UNUSED=
|
||||
BREAKPOINT="G_STMT_START { raise (SIGTRAP); } G_STMT_END"
|
||||
if test x$GCC = xyes; then
|
||||
GNUC_UNUSED='__attribute__((__unused__))'
|
||||
GNUC_NORETURN='__attribute__((__noreturn__))'
|
||||
case $host_cpu in
|
||||
i*86|x86_64) BREAKPOINT="G_STMT_START { __asm__ (\"int \$03\"); } G_STMT_END" ;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(GNUC_PRETTY)
|
||||
AC_SUBST(GNUC_UNUSED)
|
||||
AC_SUBST(GNUC_NORETURN)
|
||||
AC_SUBST(BREAKPOINT)
|
||||
|
||||
# We use a separate variable to pass down CPPFLAGS and CFLAGS from the main mono
|
||||
# configure, because of autoconf brokeness
|
||||
if test "x$CPPFLAGS_FOR_EGLIB" != "x"; then
|
||||
CPPFLAGS=$CPPFLAGS_FOR_EGLIB
|
||||
fi
|
||||
if test "x$CFLAGS_FOR_EGLIB" != "x"; then
|
||||
CFLAGS=$CFLAGS_FOR_EGLIB
|
||||
fi
|
||||
|
||||
CFLAGS="$CFLAGS -g -D_GNU_SOURCE"
|
||||
|
||||
AM_CONDITIONAL(CROSS_COMPILING, [test x$cross_compiling = xyes])
|
||||
AC_C_BIGENDIAN([ORDER=G_BIG_ENDIAN],[ORDER=G_LITTLE_ENDIAN])
|
||||
|
||||
platform_darwin=no
|
||||
platform_android=no
|
||||
|
||||
case $host in
|
||||
*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
|
||||
PATHSEP='\\'
|
||||
SEARCHSEP=';'
|
||||
OS="WIN32"
|
||||
PIDTYPE='void *'
|
||||
;;
|
||||
*-*darwin*)
|
||||
platform_darwin=yes
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
*-*-linux-android*)
|
||||
platform_android=yes
|
||||
AC_DEFINE(PLATFORM_ANDROID,1,[Targeting the Android platform])
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
*)
|
||||
PATHSEP='/'
|
||||
SEARCHSEP=':'
|
||||
OS="UNIX"
|
||||
PIDTYPE='int'
|
||||
;;
|
||||
esac
|
||||
|
||||
case $host in
|
||||
*-*-solaris*)
|
||||
CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
|
||||
;;
|
||||
esac
|
||||
|
||||
case $target in
|
||||
arm*-darwin*|aarch64*-*)
|
||||
CFLAGS="$CFLAGS -U_FORTIFY_SOURCE"
|
||||
;;
|
||||
i*86-*-darwin*)
|
||||
ORDER=G_LITTLE_ENDIAN
|
||||
;;
|
||||
*-*-openbsd*)
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
;;
|
||||
esac
|
||||
|
||||
target_osx=no
|
||||
target_ios=no
|
||||
|
||||
if test "x$platform_darwin" = "xyes"; then
|
||||
AC_TRY_COMPILE([#include "TargetConditionals.h"],[
|
||||
#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
|
||||
#error fail this for ios
|
||||
#endif
|
||||
return 0;
|
||||
], [
|
||||
AC_DEFINE(TARGET_OSX,1,[The JIT/AOT targets OSX])
|
||||
target_osx=yes
|
||||
], [
|
||||
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
|
||||
target_ios=yes
|
||||
])
|
||||
AC_DEFINE(TARGET_MACH,1,[The JIT/AOT targets Apple platforms])
|
||||
fi
|
||||
|
||||
AC_SUBST(ORDER)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(PATHSEP)
|
||||
AC_SUBST(SEARCHSEP)
|
||||
AC_SUBST(OS)
|
||||
AC_SUBST(PIDTYPE)
|
||||
AM_CONDITIONAL(HOST_WIN32, test x$OS = xWIN32)
|
||||
AM_CONDITIONAL(TARGET_WIN32, test x$OS = xWIN32)
|
||||
AM_CONDITIONAL(PLATFORM_DARWIN, test x$platform_darwin = xyes)
|
||||
AM_CONDITIONAL(PLATFORM_ANDROID, test x$platform_android = xyes)
|
||||
|
||||
# Defined for all targets/platforms using classic Windows API support.
|
||||
AC_DEFINE(HAVE_CLASSIC_WINAPI_SUPPORT, 1, [Use classic Windows API support])
|
||||
AC_DEFINE(HAVE_UWP_WINAPI_SUPPORT, 0, [Don't use UWP Windows API support])
|
||||
|
||||
AC_CHECK_SIZEOF(int)
|
||||
AC_CHECK_SIZEOF(void *)
|
||||
AC_CHECK_SIZEOF(long)
|
||||
AC_CHECK_SIZEOF(long long)
|
||||
AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf)
|
||||
AC_CHECK_FUNCS(getrlimit)
|
||||
AC_CHECK_FUNCS(fork execv execve)
|
||||
|
||||
AC_ARG_WITH([overridable-allocators], [ --with-overridable-allocators allow g_*alloc/g_free to call custom allocators set via g_mem_set_vtable])
|
||||
|
||||
if test x$with_overridable_allocators = xyes; then
|
||||
AC_DEFINE(ENABLE_OVERRIDABLE_ALLOCATORS,1,[Overridable allocator support enabled])
|
||||
AC_MSG_NOTICE([Overridable allocator support enabled])
|
||||
else
|
||||
AC_MSG_NOTICE([Overridable allocator support disabled])
|
||||
fi
|
||||
|
||||
#
|
||||
# Mono currently supports 10.6, but strndup is not available prior to 10.7; avoiding
|
||||
# the detection of strndup on OS X so Mono built on 10.7+ still runs on 10.6. This can be
|
||||
# removed once support for 10.6 is dropped.
|
||||
#
|
||||
# iOS detection of strndup and getpwuid_r is faulty for some reason so let's simply avoid it
|
||||
#
|
||||
if test x$target_osx = xyes; then
|
||||
AC_CHECK_FUNCS(getpwuid_r)
|
||||
elif test x$target_ios = xno; then
|
||||
AC_CHECK_FUNCS(strndup getpwuid_r)
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno || test x$with_overridable_allocators = xyes)
|
||||
AM_ICONV()
|
||||
AC_SEARCH_LIBS(sqrtf, m)
|
||||
|
||||
# nanosleep may not be part of libc, also search it in other libraries
|
||||
AC_SEARCH_LIBS(nanosleep, rt)
|
||||
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
old_ldflags="${LDFLAGS}"
|
||||
LDFLAGS="${LDFLAGS} -Wl,-export-dynamic"
|
||||
AC_TRY_LINK(, [int i;], found_export_dynamic=yes, found_export_dynamic=no)
|
||||
if test $found_export_dynamic = no; then
|
||||
LDFLAGS="${old_ldflags}"
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for varargs macros)
|
||||
AC_TRY_COMPILE([],[
|
||||
int foo (int i, int j);
|
||||
#define bar(...) foo (1, __VA_ARGS__)
|
||||
void main () {
|
||||
bar (2);
|
||||
}
|
||||
],have_iso_varargs=yes,have_iso_varargs=no)
|
||||
AC_MSG_RESULT($have_iso_varargs)
|
||||
G_HAVE_ISO_VARARGS=0
|
||||
if test "x$have_iso_varargs" = "xyes"; then
|
||||
G_HAVE_ISO_VARARGS=1
|
||||
fi
|
||||
AC_SUBST(G_HAVE_ISO_VARARGS)
|
||||
|
||||
AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h sys/wait.h pwd.h iconv.h localcharset.h sys/types.h sys/resource.h)
|
||||
AC_CHECK_LIB([iconv], [locale_charset],[],[AC_CHECK_LIB([charset], [locale_charset],[LIBS+="-liconv -lcharset"])])
|
||||
AC_CHECK_HEADER(alloca.h, [HAVE_ALLOCA_H=1], [HAVE_ALLOCA_H=0])
|
||||
AC_SUBST(HAVE_ALLOCA_H)
|
||||
|
||||
if test $ac_cv_sizeof_void_p = $ac_cv_sizeof_int; then
|
||||
GPOINTER_TO_INT="((gint) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer) (v))"
|
||||
GUINT_TO_POINTER="((gpointer) (v))"
|
||||
GSIZE="int"
|
||||
GSIZE_FORMAT='"u"'
|
||||
elif test $ac_cv_sizeof_void_p = $ac_cv_sizeof_long; then
|
||||
GPOINTER_TO_INT="((gint)(long) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint)(long) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer)(glong) (v))"
|
||||
GUINT_TO_POINTER="((gpointer)(gulong) (v))"
|
||||
GSIZE="long"
|
||||
GSIZE_FORMAT='"lu"'
|
||||
elif test $ac_cv_sizeof_void_p = $ac_cv_sizeof_long_long; then
|
||||
GPOINTER_TO_INT="((gint)(long long) (ptr))"
|
||||
GPOINTER_TO_UINT="((guint)(unsigned long long) (ptr))"
|
||||
GINT_TO_POINTER="((gpointer)(long long) (v))"
|
||||
GUINT_TO_POINTER="((gpointer)(unsigned long long) (v))"
|
||||
GSIZE="long long"
|
||||
GSIZE_FORMAT='"I64u"'
|
||||
else
|
||||
AC_MSG_ERROR([unsupported pointer size])
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
|
||||
pkg_config_path=
|
||||
AC_ARG_WITH(crosspkgdir, [ --with-crosspkgdir=/path/to/pkg-config/dir Change pkg-config dir to custom dir],
|
||||
if test x$with_crosspkgdir = "x"; then
|
||||
if test -s $PKG_CONFIG_PATH; then
|
||||
pkg_config_path=$PKG_CONFIG_PATH
|
||||
fi
|
||||
else
|
||||
pkg_config_path=$with_crosspkgdir
|
||||
PKG_CONFIG_PATH=$pkg_config_path
|
||||
export PKG_CONFIG_PATH
|
||||
fi
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(werror, [ --enable-werror Pass -Werror to the C compiler], werror_flag=$enableval, werror_flag=no)
|
||||
if test x$werror_flag = xyes; then
|
||||
WERROR_CFLAGS="-Werror"
|
||||
fi
|
||||
AC_SUBST([WERROR_CFLAGS])
|
||||
|
||||
AC_SUBST(GPOINTER_TO_INT)
|
||||
AC_SUBST(GPOINTER_TO_UINT)
|
||||
AC_SUBST(GINT_TO_POINTER)
|
||||
AC_SUBST(GUINT_TO_POINTER)
|
||||
AC_SUBST(GSIZE)
|
||||
AC_SUBST(GSIZE_FORMAT)
|
||||
AC_SUBST(G_GUINT64_FORMAT)
|
||||
AC_SUBST(G_GINT64_FORMAT)
|
||||
AC_SUBST(G_GUINT32_FORMAT)
|
||||
AC_SUBST(G_GINT32_FORMAT)
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
m4/Makefile
|
||||
src/Makefile
|
||||
src/eglib-config.h
|
||||
test/Makefile
|
||||
])
|
||||
@@ -1,7 +0,0 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
libtool.m4
|
||||
ltoptions.m4
|
||||
ltsugar.m4
|
||||
ltversion.m4
|
||||
lt~obsolete.m4
|
||||
@@ -1 +0,0 @@
|
||||
EXTRA_DIST = $(wildcard *.m4)
|
||||
@@ -1,214 +0,0 @@
|
||||
# iconv.m4 serial 11 (gettext-0.18.1)
|
||||
dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
|
||||
[
|
||||
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([iconv])
|
||||
])
|
||||
|
||||
AC_DEFUN([AM_ICONV_LINK],
|
||||
[
|
||||
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
|
||||
dnl those with the standalone portable GNU libiconv installed).
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
||||
|
||||
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
|
||||
dnl accordingly.
|
||||
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
||||
|
||||
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed libiconv and not disabled its use
|
||||
dnl via --without-libiconv-prefix, he wants to use it. The first
|
||||
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
|
||||
am_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
|
||||
|
||||
AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
|
||||
am_cv_func_iconv="no, consider installing GNU libiconv"
|
||||
am_cv_lib_iconv=no
|
||||
AC_TRY_LINK([#include <stdlib.h>
|
||||
#include <iconv.h>],
|
||||
[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);],
|
||||
[am_cv_func_iconv=yes])
|
||||
if test "$am_cv_func_iconv" != yes; then
|
||||
am_save_LIBS="$LIBS"
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
AC_TRY_LINK([#include <stdlib.h>
|
||||
#include <iconv.h>],
|
||||
[iconv_t cd = iconv_open("","");
|
||||
iconv(cd,NULL,NULL,NULL,NULL);
|
||||
iconv_close(cd);],
|
||||
[am_cv_lib_iconv=yes]
|
||||
[am_cv_func_iconv=yes])
|
||||
LIBS="$am_save_LIBS"
|
||||
fi
|
||||
])
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
|
||||
dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10.
|
||||
am_save_LIBS="$LIBS"
|
||||
if test $am_cv_lib_iconv = yes; then
|
||||
LIBS="$LIBS $LIBICONV"
|
||||
fi
|
||||
AC_TRY_RUN([
|
||||
#include <iconv.h>
|
||||
#include <string.h>
|
||||
int main ()
|
||||
{
|
||||
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
|
||||
returns. */
|
||||
{
|
||||
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
|
||||
if (cd_utf8_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\342\202\254"; /* EURO SIGN */
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_utf8_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/* Test against Solaris 10 bug: Failures are not distinguishable from
|
||||
successful returns. */
|
||||
{
|
||||
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
|
||||
if (cd_ascii_to_88591 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\263";
|
||||
char buf[10];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_ascii_to_88591,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if (res == 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#if 0 /* This bug could be worked around by the caller. */
|
||||
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
|
||||
{
|
||||
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
|
||||
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
||||
{
|
||||
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
|
||||
char buf[50];
|
||||
const char *inptr = input;
|
||||
size_t inbytesleft = strlen (input);
|
||||
char *outptr = buf;
|
||||
size_t outbytesleft = sizeof (buf);
|
||||
size_t res = iconv (cd_88591_to_utf8,
|
||||
(char **) &inptr, &inbytesleft,
|
||||
&outptr, &outbytesleft);
|
||||
if ((int)res > 0)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
|
||||
provided. */
|
||||
if (/* Try standardized names. */
|
||||
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
|
||||
/* Try IRIX, OSF/1 names. */
|
||||
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
|
||||
/* Try AIX names. */
|
||||
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
|
||||
/* Try HP-UX names. */
|
||||
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
|
||||
return 1;
|
||||
return 0;
|
||||
}], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
|
||||
[case "$host_os" in
|
||||
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
|
||||
*) am_cv_func_iconv_works="guessing yes" ;;
|
||||
esac])
|
||||
LIBS="$am_save_LIBS"
|
||||
])
|
||||
case "$am_cv_func_iconv_works" in
|
||||
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
|
||||
*) am_func_iconv=yes ;;
|
||||
esac
|
||||
else
|
||||
am_func_iconv=no am_cv_lib_iconv=no
|
||||
fi
|
||||
if test "$am_func_iconv" = yes; then
|
||||
AC_DEFINE([HAVE_ICONV], [1],
|
||||
[Define if you have the iconv() function and it works.])
|
||||
fi
|
||||
if test "$am_cv_lib_iconv" = yes; then
|
||||
AC_MSG_CHECKING([how to link with libiconv])
|
||||
AC_MSG_RESULT([$LIBICONV])
|
||||
else
|
||||
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
|
||||
dnl either.
|
||||
CPPFLAGS="$am_save_CPPFLAGS"
|
||||
LIBICONV=
|
||||
LTLIBICONV=
|
||||
fi
|
||||
AC_SUBST([LIBICONV])
|
||||
AC_SUBST([LTLIBICONV])
|
||||
])
|
||||
|
||||
dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
|
||||
dnl avoid warnings like
|
||||
dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
|
||||
dnl This is tricky because of the way 'aclocal' is implemented:
|
||||
dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
|
||||
dnl Otherwise aclocal's initial scan pass would miss the macro definition.
|
||||
dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
|
||||
dnl Otherwise aclocal would emit many "Use of uninitialized value $1"
|
||||
dnl warnings.
|
||||
m4_define([gl_iconv_AC_DEFUN],
|
||||
m4_version_prereq([2.64],
|
||||
[[AC_DEFUN_ONCE(
|
||||
[$1], [$2])]],
|
||||
[[AC_DEFUN(
|
||||
[$1], [$2])]]))
|
||||
gl_iconv_AC_DEFUN([AM_ICONV],
|
||||
[
|
||||
AM_ICONV_LINK
|
||||
if test "$am_cv_func_iconv" = yes; then
|
||||
AC_MSG_CHECKING([for iconv declaration])
|
||||
AC_CACHE_VAL([am_cv_proto_iconv], [
|
||||
AC_TRY_COMPILE([
|
||||
#include <stdlib.h>
|
||||
#include <iconv.h>
|
||||
extern
|
||||
#ifdef __cplusplus
|
||||
"C"
|
||||
#endif
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
||||
#else
|
||||
size_t iconv();
|
||||
#endif
|
||||
], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"])
|
||||
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
|
||||
am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
||||
AC_MSG_RESULT([
|
||||
$am_cv_proto_iconv])
|
||||
AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
|
||||
[Define as const if the declaration of iconv() needs const.])
|
||||
fi
|
||||
])
|
||||
@@ -1,110 +0,0 @@
|
||||
# lib-ld.m4 serial 4 (gettext-0.18)
|
||||
dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl Subroutines of libtool.m4,
|
||||
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
|
||||
dnl with libtool.m4.
|
||||
|
||||
dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
|
||||
AC_DEFUN([AC_LIB_PROG_LD_GNU],
|
||||
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
|
||||
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
||||
case `$LD -v 2>&1 </dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
acl_cv_prog_gnu_ld=yes ;;
|
||||
*)
|
||||
acl_cv_prog_gnu_ld=no ;;
|
||||
esac])
|
||||
with_gnu_ld=$acl_cv_prog_gnu_ld
|
||||
])
|
||||
|
||||
dnl From libtool-1.4. Sets the variable LD.
|
||||
AC_DEFUN([AC_LIB_PROG_LD],
|
||||
[AC_ARG_WITH([gnu-ld],
|
||||
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
|
||||
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
|
||||
AC_REQUIRE([AC_PROG_CC])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
# Prepare PATH_SEPARATOR.
|
||||
# The user is always right.
|
||||
if test "${PATH_SEPARATOR+set}" != set; then
|
||||
echo "#! /bin/sh" >conf$$.sh
|
||||
echo "exit 0" >>conf$$.sh
|
||||
chmod +x conf$$.sh
|
||||
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
||||
PATH_SEPARATOR=';'
|
||||
else
|
||||
PATH_SEPARATOR=:
|
||||
fi
|
||||
rm -f conf$$.sh
|
||||
fi
|
||||
ac_prog=ld
|
||||
if test "$GCC" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
AC_MSG_CHECKING([for ld used by GCC])
|
||||
case $host in
|
||||
*-*-mingw*)
|
||||
# gcc leaves a trailing carriage return which upsets mingw
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
||||
*)
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
||||
esac
|
||||
case $ac_prog in
|
||||
# Accept absolute paths.
|
||||
[[\\/]* | [A-Za-z]:[\\/]*)]
|
||||
[re_direlt='/[^/][^/]*/\.\./']
|
||||
# Canonicalize the path of ld
|
||||
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
||||
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
||||
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
||||
done
|
||||
test -z "$LD" && LD="$ac_prog"
|
||||
;;
|
||||
"")
|
||||
# If it fails, then pretend we aren't using GCC.
|
||||
ac_prog=ld
|
||||
;;
|
||||
*)
|
||||
# If it is relative, then search for the first ld in PATH.
|
||||
with_gnu_ld=unknown
|
||||
;;
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
AC_MSG_CHECKING([for GNU ld])
|
||||
else
|
||||
AC_MSG_CHECKING([for non-GNU ld])
|
||||
fi
|
||||
AC_CACHE_VAL([acl_cv_path_LD],
|
||||
[if test -z "$LD"; then
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
||||
for ac_dir in $PATH; do
|
||||
test -z "$ac_dir" && ac_dir=.
|
||||
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
||||
acl_cv_path_LD="$ac_dir/$ac_prog"
|
||||
# Check to see if the program is GNU ld. I'd rather use --version,
|
||||
# but apparently some GNU ld's only accept -v.
|
||||
# Break only if it was the GNU/non-GNU ld that we prefer.
|
||||
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
|
||||
*GNU* | *'with BFD'*)
|
||||
test "$with_gnu_ld" != no && break ;;
|
||||
*)
|
||||
test "$with_gnu_ld" != yes && break ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$ac_save_ifs"
|
||||
else
|
||||
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
||||
fi])
|
||||
LD="$acl_cv_path_LD"
|
||||
if test -n "$LD"; then
|
||||
AC_MSG_RESULT([$LD])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
|
||||
AC_LIB_PROG_LD_GNU
|
||||
])
|
||||
@@ -1,774 +0,0 @@
|
||||
# lib-link.m4 serial 21 (gettext-0.18)
|
||||
dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
AC_PREREQ([2.54])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
|
||||
dnl augments the CPPFLAGS variable.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[translit([$1],[./-], [___])])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
ac_cv_lib[]Name[]_libs="$LIB[]NAME"
|
||||
ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
|
||||
ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
|
||||
ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
|
||||
])
|
||||
LIB[]NAME="$ac_cv_lib[]Name[]_libs"
|
||||
LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
|
||||
INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
|
||||
LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
|
||||
dnl results of this search when this library appears as a dependency.
|
||||
HAVE_LIB[]NAME=yes
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
|
||||
dnl searches for libname and the libraries corresponding to explicit and
|
||||
dnl implicit dependencies, together with the specified include files and
|
||||
dnl the ability to compile and link the specified testcode. The missing-message
|
||||
dnl defaults to 'no' and may contain additional hints for the user.
|
||||
dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
|
||||
dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
|
||||
dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
|
||||
dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
|
||||
dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
|
||||
dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
pushdef([Name],[translit([$1],[./-], [___])])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
|
||||
dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
|
||||
dnl accordingly.
|
||||
AC_LIB_LINKFLAGS_BODY([$1], [$2])
|
||||
|
||||
dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
|
||||
dnl because if the user has installed lib[]Name and not disabled its use
|
||||
dnl via --without-lib[]Name-prefix, he wants to use it.
|
||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
||||
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
|
||||
|
||||
AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
|
||||
ac_save_LIBS="$LIBS"
|
||||
dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
|
||||
dnl because these -l options might require -L options that are present in
|
||||
dnl LIBS. -l options benefit only from the -L options listed before it.
|
||||
dnl Otherwise, add it to the front of LIBS, because it may be a static
|
||||
dnl library that depends on another static library that is present in LIBS.
|
||||
dnl Static libraries benefit only from the static libraries listed after
|
||||
dnl it.
|
||||
case " $LIB[]NAME" in
|
||||
*" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
|
||||
*) LIBS="$LIB[]NAME $LIBS" ;;
|
||||
esac
|
||||
AC_TRY_LINK([$3], [$4],
|
||||
[ac_cv_lib[]Name=yes],
|
||||
[ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
|
||||
LIBS="$ac_save_LIBS"
|
||||
])
|
||||
if test "$ac_cv_lib[]Name" = yes; then
|
||||
HAVE_LIB[]NAME=yes
|
||||
AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
|
||||
AC_MSG_CHECKING([how to link with lib[]$1])
|
||||
AC_MSG_RESULT([$LIB[]NAME])
|
||||
else
|
||||
HAVE_LIB[]NAME=no
|
||||
dnl If $LIB[]NAME didn't lead to a usable library, we don't need
|
||||
dnl $INC[]NAME either.
|
||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
fi
|
||||
AC_SUBST([HAVE_LIB]NAME)
|
||||
AC_SUBST([LIB]NAME)
|
||||
AC_SUBST([LTLIB]NAME)
|
||||
AC_SUBST([LIB]NAME[_PREFIX])
|
||||
popdef([NAME])
|
||||
popdef([Name])
|
||||
])
|
||||
|
||||
dnl Determine the platform dependent parameters needed to use rpath:
|
||||
dnl acl_libext,
|
||||
dnl acl_shlibext,
|
||||
dnl acl_hardcode_libdir_flag_spec,
|
||||
dnl acl_hardcode_libdir_separator,
|
||||
dnl acl_hardcode_direct,
|
||||
dnl acl_hardcode_minus_L.
|
||||
AC_DEFUN([AC_LIB_RPATH],
|
||||
[
|
||||
dnl Tell automake >= 1.10 to complain if config.rpath is missing.
|
||||
m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
|
||||
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
|
||||
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
|
||||
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
|
||||
AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
|
||||
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
||||
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
||||
. ./conftest.sh
|
||||
rm -f ./conftest.sh
|
||||
acl_cv_rpath=done
|
||||
])
|
||||
wl="$acl_cv_wl"
|
||||
acl_libext="$acl_cv_libext"
|
||||
acl_shlibext="$acl_cv_shlibext"
|
||||
acl_libname_spec="$acl_cv_libname_spec"
|
||||
acl_library_names_spec="$acl_cv_library_names_spec"
|
||||
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
|
||||
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
|
||||
acl_hardcode_direct="$acl_cv_hardcode_direct"
|
||||
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
||||
dnl Determine whether the user wants rpath handling at all.
|
||||
AC_ARG_ENABLE([rpath],
|
||||
[ --disable-rpath do not hardcode runtime library paths],
|
||||
:, enable_rpath=yes)
|
||||
])
|
||||
|
||||
dnl AC_LIB_FROMPACKAGE(name, package)
|
||||
dnl declares that libname comes from the given package. The configure file
|
||||
dnl will then not have a --with-libname-prefix option but a
|
||||
dnl --with-package-prefix option. Several libraries can come from the same
|
||||
dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
|
||||
dnl macro call that searches for libname.
|
||||
AC_DEFUN([AC_LIB_FROMPACKAGE],
|
||||
[
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
define([acl_frompackage_]NAME, [$2])
|
||||
popdef([NAME])
|
||||
pushdef([PACK],[$2])
|
||||
pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
define([acl_libsinpackage_]PACKUP,
|
||||
m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
])
|
||||
|
||||
dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
|
||||
dnl the libraries corresponding to explicit and implicit dependencies.
|
||||
dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
|
||||
dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
|
||||
dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
|
||||
pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
|
||||
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
|
||||
pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
|
||||
dnl Autoconf >= 2.61 supports dots in --with options.
|
||||
pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_ARG_WITH(P_A_C_K[-prefix],
|
||||
[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
|
||||
--without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
if test "$acl_libdirstem2" != "$acl_libdirstem" \
|
||||
&& ! test -d "$withval/$acl_libdirstem"; then
|
||||
additional_libdir="$withval/$acl_libdirstem2"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
dnl Search the library and its dependencies in $additional_libdir and
|
||||
dnl $LDFLAGS. Using breadth-first-seach.
|
||||
LIB[]NAME=
|
||||
LTLIB[]NAME=
|
||||
INC[]NAME=
|
||||
LIB[]NAME[]_PREFIX=
|
||||
dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
|
||||
dnl computed. So it has to be reset here.
|
||||
HAVE_LIB[]NAME=
|
||||
rpathdirs=
|
||||
ltrpathdirs=
|
||||
names_already_handled=
|
||||
names_next_round='$1 $2'
|
||||
while test -n "$names_next_round"; do
|
||||
names_this_round="$names_next_round"
|
||||
names_next_round=
|
||||
for name in $names_this_round; do
|
||||
already_handled=
|
||||
for n in $names_already_handled; do
|
||||
if test "$n" = "$name"; then
|
||||
already_handled=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$already_handled"; then
|
||||
names_already_handled="$names_already_handled $name"
|
||||
dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
|
||||
dnl or AC_LIB_HAVE_LINKFLAGS call.
|
||||
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
|
||||
eval value=\"\$HAVE_LIB$uppername\"
|
||||
if test -n "$value"; then
|
||||
if test "$value" = yes; then
|
||||
eval value=\"\$LIB$uppername\"
|
||||
test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
|
||||
eval value=\"\$LTLIB$uppername\"
|
||||
test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
|
||||
else
|
||||
dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
|
||||
dnl that this library doesn't exist. So just drop it.
|
||||
:
|
||||
fi
|
||||
else
|
||||
dnl Search the library lib$name in $additional_libdir and $LDFLAGS
|
||||
dnl and the already constructed $LIBNAME/$LTLIBNAME.
|
||||
found_dir=
|
||||
found_la=
|
||||
found_so=
|
||||
found_a=
|
||||
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
|
||||
if test -n "$acl_shlibext"; then
|
||||
shrext=".$acl_shlibext" # typically: shrext=.so
|
||||
else
|
||||
shrext=
|
||||
fi
|
||||
if test $use_additional = yes; then
|
||||
dir="$additional_libdir"
|
||||
dnl The same code as in the loop below:
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" = "X"; then
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
case "$x" in
|
||||
-L*)
|
||||
dir=`echo "X$x" | sed -e 's/^X-L//'`
|
||||
dnl First look for a shared library.
|
||||
if test -n "$acl_shlibext"; then
|
||||
if test -f "$dir/$libname$shrext"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext"
|
||||
else
|
||||
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
||||
ver=`(cd "$dir" && \
|
||||
for f in "$libname$shrext".*; do echo "$f"; done \
|
||||
| sed -e "s,^$libname$shrext\\\\.,," \
|
||||
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
||||
| sed 1q ) 2>/dev/null`
|
||||
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$libname$shrext.$ver"
|
||||
fi
|
||||
else
|
||||
eval library_names=\"$acl_library_names_spec\"
|
||||
for f in $library_names; do
|
||||
if test -f "$dir/$f"; then
|
||||
found_dir="$dir"
|
||||
found_so="$dir/$f"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Then look for a static library.
|
||||
if test "X$found_dir" = "X"; then
|
||||
if test -f "$dir/$libname.$acl_libext"; then
|
||||
found_dir="$dir"
|
||||
found_a="$dir/$libname.$acl_libext"
|
||||
fi
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
if test -f "$dir/$libname.la"; then
|
||||
found_la="$dir/$libname.la"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "X$found_dir" != "X"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
if test "X$found_dir" != "X"; then
|
||||
dnl Found the library.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
|
||||
if test "X$found_so" != "X"; then
|
||||
dnl Linking with a shared library. We attempt to hardcode its
|
||||
dnl directory into the executable's runpath, unless it's the
|
||||
dnl standard /usr/lib.
|
||||
if test "$enable_rpath" = no \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|
||||
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
|
||||
dnl No hardcoding is needed.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $found_dir"
|
||||
fi
|
||||
dnl The hardcoding into $LIBNAME is system dependent.
|
||||
if test "$acl_hardcode_direct" = yes; then
|
||||
dnl Using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
dnl resulting binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode DIR into the resulting
|
||||
dnl binary.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $found_dir"
|
||||
fi
|
||||
else
|
||||
dnl Rely on "-L$found_dir".
|
||||
dnl But don't add it if it's already contained in the LDFLAGS
|
||||
dnl or the already constructed $LIBNAME
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$found_dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
|
||||
fi
|
||||
if test "$acl_hardcode_minus_L" != no; then
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
|
||||
else
|
||||
dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
|
||||
dnl here, because this doesn't fit in flags passed to the
|
||||
dnl compiler. So give up. No hardcoding. This affects only
|
||||
dnl very old systems.
|
||||
dnl FIXME: Not sure whether we should use
|
||||
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
|
||||
dnl here.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
if test "X$found_a" != "X"; then
|
||||
dnl Linking with a static library.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
|
||||
else
|
||||
dnl We shouldn't come here, but anyway it's good to have a
|
||||
dnl fallback.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
|
||||
fi
|
||||
fi
|
||||
dnl Assume the include files are nearby.
|
||||
additional_includedir=
|
||||
case "$found_dir" in
|
||||
*/$acl_libdirstem | */$acl_libdirstem/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
*/$acl_libdirstem2 | */$acl_libdirstem2/)
|
||||
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
|
||||
if test "$name" = '$1'; then
|
||||
LIB[]NAME[]_PREFIX="$basedir"
|
||||
fi
|
||||
additional_includedir="$basedir/include"
|
||||
;;
|
||||
esac
|
||||
if test "X$additional_includedir" != "X"; then
|
||||
dnl Potentially add $additional_includedir to $INCNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $CPPFLAGS or the already
|
||||
dnl constructed $INCNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
for x in $CPPFLAGS $INC[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $INCNAME.
|
||||
INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Look for dependencies.
|
||||
if test -n "$found_la"; then
|
||||
dnl Read the .la file. It defines the variables
|
||||
dnl dlname, library_names, old_library, dependency_libs, current,
|
||||
dnl age, revision, installed, dlopen, dlpreopen, libdir.
|
||||
save_libdir="$libdir"
|
||||
case "$found_la" in
|
||||
*/* | *\\*) . "$found_la" ;;
|
||||
*) . "./$found_la" ;;
|
||||
esac
|
||||
libdir="$save_libdir"
|
||||
dnl We use only dependency_libs.
|
||||
for dep in $dependency_libs; do
|
||||
case "$dep" in
|
||||
-L*)
|
||||
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
|
||||
dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 3. if it's already present in $LDFLAGS or the already
|
||||
dnl constructed $LIBNAME,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
|
||||
haveit=
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
|
||||
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS $LIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LIBNAME.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
haveit=
|
||||
for x in $LDFLAGS $LTLIB[]NAME; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LTLIBNAME.
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-R*)
|
||||
dir=`echo "X$dep" | sed -e 's/^X-R//'`
|
||||
if test "$enable_rpath" != no; then
|
||||
dnl Potentially add DIR to rpathdirs.
|
||||
dnl The rpathdirs will be appended to $LIBNAME at the end.
|
||||
haveit=
|
||||
for x in $rpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
dnl Potentially add DIR to ltrpathdirs.
|
||||
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
|
||||
haveit=
|
||||
for x in $ltrpathdirs; do
|
||||
if test "X$x" = "X$dir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
ltrpathdirs="$ltrpathdirs $dir"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
-l*)
|
||||
dnl Handle this in the next round.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
|
||||
;;
|
||||
*.la)
|
||||
dnl Handle this in the next round. Throw away the .la's
|
||||
dnl directory; it is already contained in a preceding -L
|
||||
dnl option.
|
||||
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
|
||||
;;
|
||||
*)
|
||||
dnl Most likely an immediate library name.
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
else
|
||||
dnl Didn't find the library; assume it is in the system directories
|
||||
dnl known to the linker and runtime loader. (All the system
|
||||
dnl directories known to the linker should also be known to the
|
||||
dnl runtime loader, otherwise the system is severely misconfigured.)
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user must
|
||||
dnl pass all path elements in one option. We can arrange that for a
|
||||
dnl single library, but not when more than one $LIBNAMEs are used.
|
||||
alldirs=
|
||||
for found_dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
|
||||
done
|
||||
dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for found_dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$found_dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
if test "X$ltrpathdirs" != "X"; then
|
||||
dnl When using libtool, the option that works for both libraries and
|
||||
dnl executables is -R. The -R options are cumulative.
|
||||
for found_dir in $ltrpathdirs; do
|
||||
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
|
||||
done
|
||||
fi
|
||||
popdef([P_A_C_K])
|
||||
popdef([PACKLIBS])
|
||||
popdef([PACKUP])
|
||||
popdef([PACK])
|
||||
popdef([NAME])
|
||||
])
|
||||
|
||||
dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
|
||||
dnl unless already present in VAR.
|
||||
dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
|
||||
dnl contains two or three consecutive elements that belong together.
|
||||
AC_DEFUN([AC_LIB_APPENDTOVAR],
|
||||
[
|
||||
for element in [$2]; do
|
||||
haveit=
|
||||
for x in $[$1]; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X$element"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
[$1]="${[$1]}${[$1]:+ }$element"
|
||||
fi
|
||||
done
|
||||
])
|
||||
|
||||
dnl For those cases where a variable contains several -L and -l options
|
||||
dnl referring to unknown libraries and directories, this macro determines the
|
||||
dnl necessary additional linker options for the runtime path.
|
||||
dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
|
||||
dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
|
||||
dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
|
||||
dnl otherwise linking without libtool is assumed.
|
||||
AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
|
||||
[
|
||||
AC_REQUIRE([AC_LIB_RPATH])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
$1=
|
||||
if test "$enable_rpath" != no; then
|
||||
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
||||
dnl Use an explicit option to hardcode directories into the resulting
|
||||
dnl binary.
|
||||
rpathdirs=
|
||||
next=
|
||||
for opt in $2; do
|
||||
if test -n "$next"; then
|
||||
dir="$next"
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next=
|
||||
else
|
||||
case $opt in
|
||||
-L) next=yes ;;
|
||||
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
|
||||
dnl No need to hardcode the standard /usr/lib.
|
||||
if test "X$dir" != "X/usr/$acl_libdirstem" \
|
||||
&& test "X$dir" != "X/usr/$acl_libdirstem2"; then
|
||||
rpathdirs="$rpathdirs $dir"
|
||||
fi
|
||||
next= ;;
|
||||
*) next= ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
if test "X$rpathdirs" != "X"; then
|
||||
if test -n ""$3""; then
|
||||
dnl libtool is used for linking. Use -R options.
|
||||
for dir in $rpathdirs; do
|
||||
$1="${$1}${$1:+ }-R$dir"
|
||||
done
|
||||
else
|
||||
dnl The linker is used for linking directly.
|
||||
if test -n "$acl_hardcode_libdir_separator"; then
|
||||
dnl Weird platform: only the last -rpath option counts, the user
|
||||
dnl must pass all path elements in one option.
|
||||
alldirs=
|
||||
for dir in $rpathdirs; do
|
||||
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
|
||||
done
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$alldirs"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="$flag"
|
||||
else
|
||||
dnl The -rpath options are cumulative.
|
||||
for dir in $rpathdirs; do
|
||||
acl_save_libdir="$libdir"
|
||||
libdir="$dir"
|
||||
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
||||
libdir="$acl_save_libdir"
|
||||
$1="${$1}${$1:+ }$flag"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([$1])
|
||||
])
|
||||
@@ -1,224 +0,0 @@
|
||||
# lib-prefix.m4 serial 7 (gettext-0.18)
|
||||
dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
dnl From Bruno Haible.
|
||||
|
||||
dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
|
||||
dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
|
||||
dnl require excessive bracketing.
|
||||
ifdef([AC_HELP_STRING],
|
||||
[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
|
||||
[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
|
||||
|
||||
dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
|
||||
dnl to access previously installed libraries. The basic assumption is that
|
||||
dnl a user will want packages to use other packages he previously installed
|
||||
dnl with the same --prefix option.
|
||||
dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
|
||||
dnl libraries, but is otherwise very convenient.
|
||||
AC_DEFUN([AC_LIB_PREFIX],
|
||||
[
|
||||
AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
|
||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||
dnl By default, look in $includedir and $libdir.
|
||||
use_additional=yes
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
AC_LIB_ARG_WITH([lib-prefix],
|
||||
[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
|
||||
--without-lib-prefix don't search for libraries in includedir and libdir],
|
||||
[
|
||||
if test "X$withval" = "Xno"; then
|
||||
use_additional=no
|
||||
else
|
||||
if test "X$withval" = "X"; then
|
||||
AC_LIB_WITH_FINAL_PREFIX([
|
||||
eval additional_includedir=\"$includedir\"
|
||||
eval additional_libdir=\"$libdir\"
|
||||
])
|
||||
else
|
||||
additional_includedir="$withval/include"
|
||||
additional_libdir="$withval/$acl_libdirstem"
|
||||
fi
|
||||
fi
|
||||
])
|
||||
if test $use_additional = yes; then
|
||||
dnl Potentially add $additional_includedir to $CPPFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/include,
|
||||
dnl 2. if it's already present in $CPPFLAGS,
|
||||
dnl 3. if it's /usr/local/include and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_includedir" != "X/usr/include"; then
|
||||
haveit=
|
||||
for x in $CPPFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-I$additional_includedir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_includedir" = "X/usr/local/include"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_includedir"; then
|
||||
dnl Really add $additional_includedir to $CPPFLAGS.
|
||||
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
dnl Potentially add $additional_libdir to $LDFLAGS.
|
||||
dnl But don't add it
|
||||
dnl 1. if it's the standard /usr/lib,
|
||||
dnl 2. if it's already present in $LDFLAGS,
|
||||
dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
|
||||
dnl 4. if it doesn't exist as a directory.
|
||||
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
|
||||
haveit=
|
||||
for x in $LDFLAGS; do
|
||||
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
|
||||
if test "X$x" = "X-L$additional_libdir"; then
|
||||
haveit=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -z "$haveit"; then
|
||||
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
|
||||
if test -n "$GCC"; then
|
||||
case $host_os in
|
||||
linux*) haveit=yes;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if test -z "$haveit"; then
|
||||
if test -d "$additional_libdir"; then
|
||||
dnl Really add $additional_libdir to $LDFLAGS.
|
||||
LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
|
||||
dnl acl_final_exec_prefix, containing the values to which $prefix and
|
||||
dnl $exec_prefix will expand at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_PREPARE_PREFIX],
|
||||
[
|
||||
dnl Unfortunately, prefix and exec_prefix get only finally determined
|
||||
dnl at the end of configure.
|
||||
if test "X$prefix" = "XNONE"; then
|
||||
acl_final_prefix="$ac_default_prefix"
|
||||
else
|
||||
acl_final_prefix="$prefix"
|
||||
fi
|
||||
if test "X$exec_prefix" = "XNONE"; then
|
||||
acl_final_exec_prefix='${prefix}'
|
||||
else
|
||||
acl_final_exec_prefix="$exec_prefix"
|
||||
fi
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
|
||||
dnl variables prefix and exec_prefix bound to the values they will have
|
||||
dnl at the end of the configure script.
|
||||
AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
|
||||
[
|
||||
acl_save_prefix="$prefix"
|
||||
prefix="$acl_final_prefix"
|
||||
acl_save_exec_prefix="$exec_prefix"
|
||||
exec_prefix="$acl_final_exec_prefix"
|
||||
$1
|
||||
exec_prefix="$acl_save_exec_prefix"
|
||||
prefix="$acl_save_prefix"
|
||||
])
|
||||
|
||||
dnl AC_LIB_PREPARE_MULTILIB creates
|
||||
dnl - a variable acl_libdirstem, containing the basename of the libdir, either
|
||||
dnl "lib" or "lib64" or "lib/64",
|
||||
dnl - a variable acl_libdirstem2, as a secondary possible value for
|
||||
dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
|
||||
dnl "lib/amd64".
|
||||
AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
|
||||
[
|
||||
dnl There is no formal standard regarding lib and lib64.
|
||||
dnl On glibc systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
|
||||
dnl the compiler's default mode by looking at the compiler's library search
|
||||
dnl path. If at least one of its elements ends in /lib64 or points to a
|
||||
dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
|
||||
dnl Otherwise we use the default, namely "lib".
|
||||
dnl On Solaris systems, the current practice is that on a system supporting
|
||||
dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
|
||||
dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
|
||||
dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
acl_libdirstem=lib
|
||||
acl_libdirstem2=
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
|
||||
dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
|
||||
dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
|
||||
dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
|
||||
dnl symlink is missing, so we set acl_libdirstem2 too.
|
||||
AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
|
||||
[AC_EGREP_CPP([sixtyfour bits], [
|
||||
#ifdef _LP64
|
||||
sixtyfour bits
|
||||
#endif
|
||||
], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
|
||||
])
|
||||
if test $gl_cv_solaris_64bit = yes; then
|
||||
acl_libdirstem=lib/64
|
||||
case "$host_cpu" in
|
||||
sparc*) acl_libdirstem2=lib/sparcv9 ;;
|
||||
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
|
||||
if test -n "$searchpath"; then
|
||||
acl_save_IFS="${IFS= }"; IFS=":"
|
||||
for searchdir in $searchpath; do
|
||||
if test -d "$searchdir"; then
|
||||
case "$searchdir" in
|
||||
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
|
||||
*/../ | */.. )
|
||||
# Better ignore directories of this form. They are misleading.
|
||||
;;
|
||||
*) searchdir=`cd "$searchdir" && pwd`
|
||||
case "$searchdir" in
|
||||
*/lib64 ) acl_libdirstem=lib64 ;;
|
||||
esac ;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
IFS="$acl_save_IFS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
|
||||
])
|
||||
@@ -1,107 +0,0 @@
|
||||
/* config.h. Generated by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#include "cygconfig.h"
|
||||
#else
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
/* #undef HAVE_PWD_H 1 */
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strlcpy' function. */
|
||||
/* #undef HAVE_STRLCPY */
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
/* #undef HAVE_SYS_TIME_H */
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/wait.h> header file. */
|
||||
/* #undef HAVE_SYS_WAIT_H */
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
/* #undef HAVE_UNISTD_H */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "eglib"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT ""
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME ""
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING ""
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION ""
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#define SIZEOF_INT 4
|
||||
|
||||
/* The size of a `void *', as computed by sizeof. */
|
||||
#define SIZEOF_VOID_P 4
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.1"
|
||||
|
||||
#define HAVE_STRTOK_R 1
|
||||
|
||||
#ifndef HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
#define HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
/* WIN API Family support */
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 1
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 1
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#else
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
|
||||
#error Unsupported WINAPI family
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Vendored
-1
Submodule external/Lucene.Net.Light deleted from 85978b7eb9.
+1
Submodule external/api-doc-tools added at d03e819838.
+1
Submodule external/api-snapshot added at 08ec62bbd3.
Vendored
+1
-1
Submodule external/binary-reference-assemblies updated: 6c77197318...9c5cc7f051.
Vendored
+1
-1
Submodule external/bockbuild updated: 512ba41a94...f2c8f2e7fb.
Vendored
+1
-1
Submodule external/boringssl updated: c06ac6b33d...3e0770e188.
Vendored
-1
Submodule external/buildtools deleted from 9b6ee8686b.
Vendored
+1
-1
Submodule external/cecil updated: f7733aca62...bc11f47295.
Vendored
+1
-1
Submodule external/corefx updated: f7ed7c88fe...cb1b049c95.
Vendored
+1
-1
Submodule external/corert updated: d87c966d80...48dba73801.
Vendored
+1
-1
Submodule external/ikdasm updated: e4deabf61c...3aef9cdd60.
Vendored
+1
-1
Submodule external/ikvm updated: 367864ef81...847e05fced.
Vendored
+1
-1
Submodule external/linker updated: e4d9784ac3...99354bf5c1.
Vendored
+1
-1
Submodule external/nuget-buildtasks updated: 04bdab55d8...9e04cc7f41.
Vendored
+1
-1
Submodule external/nunit-lite updated: 690603bea9...764656cdaf.
Vendored
+1
-1
Submodule external/roslyn-binaries updated: 69ce5c6b08...1904c7d068.
+1
Submodule external/xunit-binaries added at d4433b0972.
+1
-1
@@ -21,7 +21,7 @@
|
||||
* See the definition of page_hash_table in gc_private.h.
|
||||
* False hits from the stack(s) are much more dangerous than false hits
|
||||
* from elsewhere, since the former can pin a large object that spans the
|
||||
* block, eventhough it does not start on the dangerous block.
|
||||
* block, even though it does not start on the dangerous block.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@@ -1872,7 +1872,7 @@ Since 6.2alpha6:
|
||||
- Fixed Makefile.direct for DARWIN. (Thanks to Manuel Serrano.)
|
||||
- There was a race between GC_pthread_detach and thread exit that could
|
||||
result in a thread structure being deallocated by GC_pthread_detach
|
||||
eventhough it was still needed by the thread exit code. (Thanks to
|
||||
even though it was still needed by the thread exit code. (Thanks to
|
||||
Dick Porter for the small test case that allowed this to be debugged.)
|
||||
- Fixed version parsing for non-alpha versions in acinclude.m4 and
|
||||
version checking in version.h.
|
||||
|
||||
@@ -19,7 +19,7 @@ relatively easy to adapt to new compilers with a different set of predefined
|
||||
macros. Currently these macros generally identify platforms instead of
|
||||
features. In many cases, this is a mistake.
|
||||
|
||||
3) The code currently avoids #elif, eventhough that would make it more
|
||||
3) The code currently avoids #elif, even though that would make it more
|
||||
readable. This was done since #elif would need to be understood by ALL
|
||||
compilers used to build the collector, and that hasn't always been the case.
|
||||
It makes sense to reconsider this decision at some point, since #elif has been
|
||||
|
||||
@@ -93,7 +93,6 @@ GC_API GC_PTR (*GC_oom_fn) GC_PROTO((size_t bytes_requested));
|
||||
/* pointer to a previously allocated heap */
|
||||
/* object. */
|
||||
|
||||
// Keep somewhat in sync with mono/metadata/profiler.h:enum MonoGCEvent
|
||||
typedef enum {
|
||||
GC_EVENT_START,
|
||||
GC_EVENT_MARK_START,
|
||||
|
||||
@@ -733,7 +733,7 @@
|
||||
# if defined(__GLIBC__)&& __GLIBC__>=2
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# else /* !GLIBC2 */
|
||||
# if defined(PLATFORM_ANDROID)
|
||||
# if defined(HOST_ANDROID)
|
||||
# define __environ environ
|
||||
# endif
|
||||
extern char **__environ;
|
||||
@@ -1965,7 +1965,7 @@
|
||||
# include <features.h>
|
||||
# if defined(__GLIBC__) && __GLIBC__ >= 2
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# elif defined(PLATFORM_ANDROID)
|
||||
# elif defined(HOST_ANDROID)
|
||||
# define SEARCH_FOR_DATA_START
|
||||
# else
|
||||
extern char **__environ;
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef struct GC_Thread_Rep {
|
||||
/* guaranteed to be dead, but we may */
|
||||
/* not yet have registered the join.) */
|
||||
pthread_t id;
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
pid_t kernel_id;
|
||||
#endif
|
||||
/* Extra bookkeeping information the stopping code uses */
|
||||
|
||||
+1
-1
@@ -936,7 +936,7 @@ void GC_do_local_mark(mse *local_mark_stack, mse *local_top)
|
||||
/* Try to share the load, since the main stack is empty, */
|
||||
/* and helper threads are waiting for a refill. */
|
||||
/* The entries near the bottom of the stack are likely */
|
||||
/* to require more work. Thus we return those, eventhough */
|
||||
/* to require more work. Thus we return those, even though */
|
||||
/* it's harder. */
|
||||
mse * p;
|
||||
mse * new_bottom = local_mark_stack
|
||||
|
||||
@@ -337,7 +337,7 @@ void GC_push_all_stacks()
|
||||
pthread_t GC_stopping_thread;
|
||||
int GC_stopping_pid;
|
||||
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
static
|
||||
int android_thread_kill(pid_t tid, int sig)
|
||||
{
|
||||
@@ -379,7 +379,7 @@ int GC_suspend_all()
|
||||
GC_printf1("Sending suspend signal to 0x%lx\n", p -> id);
|
||||
#endif
|
||||
|
||||
#ifndef PLATFORM_ANDROID
|
||||
#ifndef HOST_ANDROID
|
||||
result = pthread_kill(p -> id, SIG_SUSPEND);
|
||||
#else
|
||||
result = android_thread_kill(p -> kernel_id, SIG_SUSPEND);
|
||||
@@ -658,7 +658,7 @@ static void pthread_start_world()
|
||||
GC_printf1("Sending restart signal to 0x%lx\n", p -> id);
|
||||
#endif
|
||||
|
||||
#ifndef PLATFORM_ANDROID
|
||||
#ifndef HOST_ANDROID
|
||||
result = pthread_kill(p -> id, SIG_THR_RESTART);
|
||||
#else
|
||||
result = android_thread_kill(p -> kernel_id, SIG_THR_RESTART);
|
||||
|
||||
@@ -764,7 +764,7 @@ GC_thread GC_new_thread(pthread_t id)
|
||||
}
|
||||
if (result == 0) return(0);
|
||||
result -> id = id;
|
||||
#ifdef PLATFORM_ANDROID
|
||||
#ifdef HOST_ANDROID
|
||||
result -> kernel_id = gettid();
|
||||
#endif
|
||||
result -> next = GC_threads[hv];
|
||||
|
||||
+57
-18
@@ -2,31 +2,22 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH csharp 1 "4 September 2008"
|
||||
.TH csharp 1 "22 March 2017"
|
||||
.SH NAME
|
||||
csharp, gsharp \- Interactive C# Shell
|
||||
csharp \- Interactive C# Shell and Scripting
|
||||
.SH SYNOPSIS
|
||||
.B csharp [--attach PID] [-e EXPRESSION] [file1 [file2]]
|
||||
[options]
|
||||
.P
|
||||
.B gsharp [file1 [file2]]
|
||||
[compiler-options] [--|-s script-options]
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.I csharp
|
||||
is an interactive C# shell that allows the user to enter and evaluate
|
||||
C# statements and expressions from the command line. The regular
|
||||
command is an interactive C# shell and scripting host that allows
|
||||
the user to enter and evaluate C# statements and expressions from
|
||||
the command line or execute C# scripts.
|
||||
The regular
|
||||
.I mcs
|
||||
command line options can be used in this version of the compiler.
|
||||
.PP
|
||||
The
|
||||
.I gsharp
|
||||
command is a GUI version of the C# interpreter that uses Gtk# and
|
||||
provides an area to attach widgets as well. This version can be
|
||||
attached to other Gtk# applications in a safe way as it injects itself
|
||||
into the main loop of a Gtk# application, avoiding any problems
|
||||
arising from the multi-threaded nature of injecting itself into a
|
||||
target process.
|
||||
.PP
|
||||
Files specified in the command line will be loaded and executed as
|
||||
scripts.
|
||||
.PP
|
||||
@@ -35,9 +26,31 @@ Starting with Mono 2.10, the
|
||||
command can be used as an interpreter executed by executables flagged
|
||||
with the Unix execute attribute. To do this, make the first line of
|
||||
your C# source code look like this:
|
||||
.PP
|
||||
.nf
|
||||
"#!/usr/bin/csharp"
|
||||
Console.WriteLine ("Hello, World");
|
||||
#!/usr/bin/csharp
|
||||
Console.WriteLine ("Hello, World");
|
||||
.fi
|
||||
.PP
|
||||
Starting with Mono 5.0, command line arguments may now be passed
|
||||
to the
|
||||
.I csharp
|
||||
command by specifying either the
|
||||
.I -s
|
||||
or
|
||||
.I --
|
||||
(script) options.
|
||||
.PP
|
||||
The
|
||||
.I -s
|
||||
option is ideal for interpreting executable scripts that utilize
|
||||
shebang syntax (introduced in Mono 2.10). This allows command line
|
||||
arguments to be passed to and consumed cleanly by the script:
|
||||
.PP
|
||||
.nf
|
||||
#!/usr/bin/csharp -s
|
||||
foreach (var arg in Args)
|
||||
Console.WriteLine ($"script argument: {arg}");
|
||||
.fi
|
||||
.SH OPTIONS
|
||||
The commands accept all of the commands that are available to the
|
||||
@@ -45,6 +58,23 @@ The commands accept all of the commands that are available to the
|
||||
command, so you can reference assemblies, specify paths, language
|
||||
level and so on from the command line. In addition, the following
|
||||
command line options are supported:
|
||||
.TP
|
||||
.I "\-s" SCRIPT_FILE
|
||||
This option is ideal for authoring executable scripts that utilize
|
||||
the Unix shebang feature. Unix will implicitly append as an argument
|
||||
the path of the script to execute. When the executable is invoked,
|
||||
any arguments then passed to it will be available in the
|
||||
.I Args
|
||||
global. Example:
|
||||
.I "#!/usr/bin/env csharp -s"
|
||||
.TP
|
||||
.I "\-\-"
|
||||
Any arguments that follow will not be passed to the compiler driver,
|
||||
and instead will be made available in the
|
||||
.I Args
|
||||
global. Example:
|
||||
.I csharp -- a b c
|
||||
will result in Args = { "a", "b", "c" } in the interactive shell.
|
||||
.TP
|
||||
.I "\-\-attach"
|
||||
This is an advanced option and should only be used if you have a deep
|
||||
@@ -290,6 +320,15 @@ statements and expressions are executed are static, they can be
|
||||
invoked directly from the shell. These are the available properties
|
||||
and methods:
|
||||
.TP
|
||||
.I Args
|
||||
An easy to consume array of any arguments specified after either
|
||||
.I -s
|
||||
or
|
||||
.I --
|
||||
on the command line. Ideal for self-executing scripts utilizing the
|
||||
.I -s
|
||||
option.
|
||||
.TP
|
||||
.I void LoadAssembly(string assembly)
|
||||
Loads the given assembly. This is equivalent to passing the compiler
|
||||
the -r: flag with the specified string.
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH gacutil "Mono 1.0"
|
||||
.TH Mono "gacutil"
|
||||
.SH NAME
|
||||
gacutil \- Global Assembly Cache management utility.
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH lc "Mono 2.6"
|
||||
.TH Mono "lc"
|
||||
.SH NAME
|
||||
lc \- Mono License Compiler
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH macpack "Mono 1.0"
|
||||
.TH Mono "macpack"
|
||||
.SH NAME
|
||||
macpack \- Macintosh OS X Packager for managed gui assemblies
|
||||
.SH SYNOPSIS
|
||||
|
||||
@@ -4,26 +4,27 @@
|
||||
..
|
||||
.TH mcs 1 "6 January 2001"
|
||||
.SH NAME
|
||||
mcs \- Mono C# Compiler
|
||||
mcs \- Turbo C# Compiler
|
||||
.SH SYNOPSIS
|
||||
.B mcs
|
||||
[option] [source-files]
|
||||
.SH DESCRIPTION
|
||||
mcs is the Mono C# compiler, an implementation of the ECMA-334
|
||||
language specification. You can pass one or more options to drive the
|
||||
compiler, and a set of source files. Extra options or arguments can
|
||||
be provided in a response file. Response files are referenced by
|
||||
prepending the @ symbol to the response file name.
|
||||
mcs is the Turbo C# compiler (also known as the Mono C# compiler), it
|
||||
is an implementation of the ECMA-334 language specification. You can
|
||||
pass one or more options to drive the compiler, and a set of source
|
||||
files. Extra options or arguments can be provided in a response file.
|
||||
Response files are referenced by prepending the @ symbol to the
|
||||
response file name.
|
||||
.PP
|
||||
The
|
||||
.I mcs
|
||||
compiler is used to compile against the latest Mono Base Class Library
|
||||
version and fully implements C# 1.0, 2.0, 3.0, 4.0, 5.0 and 6.0
|
||||
specifications.
|
||||
specifications with partial support for C# 7.0.
|
||||
.PP
|
||||
See the section on packages for more information.
|
||||
.PP
|
||||
The Mono C# compiler accepts the same command line options that the
|
||||
The Turbo C# compiler accepts the same command line options that the
|
||||
Microsoft C# compiler does. Those options can start with a slash or a
|
||||
dash (/checked is the same as -checked). Additionally some GNU-like
|
||||
options are supported, those begin with "--". All MCS-specific flags
|
||||
@@ -37,13 +38,13 @@ for partial compilation. To achieve the benefits of partial
|
||||
compilation, you should compile programs into their own assemblies,
|
||||
and later reference them with the "-r" flag.
|
||||
.PP
|
||||
The Mono C# compiler generates images (.exe files) that contain CIL
|
||||
The Turbo C# compiler generates images (.exe files) that contain CIL
|
||||
byte code that can be executed by any system that implements a Common
|
||||
Language Infrastructure virtual machine such as the Microsoft .NET
|
||||
runtime engine on Windows or the Mono runtime engine on Unix systems.
|
||||
Executables are not bound to a specific CPU or operating system.
|
||||
.PP
|
||||
The Mono C# compiler by default only references three assemblies:
|
||||
The Turbo C# compiler by default only references three assemblies:
|
||||
mscorlib.dll, System.dll and System.Xml.dll. If you want to
|
||||
reference extra libraries you must manually specify them using the
|
||||
-pkg: command line option or the -r: command line option.
|
||||
@@ -53,7 +54,7 @@ use the -pkg:dotnet command line option.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I \-\-about
|
||||
Displays information about the Mono C# compiler
|
||||
Displays information about the Turbo C# compiler
|
||||
.TP
|
||||
.I \-\-addmodule:MODULE1[,MODULE2]
|
||||
Includes the specified modules in the resulting assembly. Modules are
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
.\"
|
||||
.\" mono manual page.
|
||||
.\" mdb2ppdb manual page.
|
||||
.\" Copyright 2017 Microsoft
|
||||
.\"
|
||||
.TH Mono "Mono 4.8.0"
|
||||
.TH Mono "mdb2ppdb"
|
||||
.SH NAME
|
||||
mdb2ppdb \- Convert Mono's debug file format (MDB) to Portable Program
|
||||
Database (PPDB) file formatn
|
||||
|
||||
+1
-1
@@ -765,7 +765,7 @@ Refers to a namespace, e.g. \fIN:System\fR.
|
||||
.I "P:"
|
||||
Refers to a property. If the property is an indexer or takes parameters,
|
||||
the parameter types are appended to the property name and enclosed with
|
||||
paranthesis:
|
||||
parenthesis:
|
||||
\fIP:System.String.Length\fR,
|
||||
\fIP:System.String.Chars(System.Int32)\fR.
|
||||
.TP
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH mkbundle "mkbundle 1.0"
|
||||
.TH Mono "mkbundle"
|
||||
.SH NAME
|
||||
mkbundle, mkbundle2 \- Creates a bundled executable.
|
||||
.SH SYNOPSIS
|
||||
@@ -177,7 +177,9 @@ same as for the compiler -lib: or -L flags.
|
||||
Embeds the dynamic library file pointed to by `PATH' and optionally
|
||||
give it the name `LIB' into the bundled executable. This is used to
|
||||
ship native library dependencies that are unpacked at startup and
|
||||
loaded from the runtime.
|
||||
loaded from the runtime. Multiple libraries should be specified in
|
||||
dependency order, where later ones on the command line depend on
|
||||
earlier ones.
|
||||
.TP
|
||||
.I "--lists-targets"
|
||||
Lists all of the available local cross compilation targets available
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\" Paolo Molaro ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 1.0"
|
||||
.TH Mono "mono-config"
|
||||
.SH NAME
|
||||
mono-config \- Mono runtime file format configuration
|
||||
.SH DESCRIPTION
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH Mono "Mono 1.0"
|
||||
.TH Mono "mono-service"
|
||||
.SH NAME
|
||||
mono-service, mono-service2 \- Mono ServiceProcess host
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH mono-xmltool "Mono 1.0"
|
||||
.TH Mono "mono-xmltool"
|
||||
.SH NAME
|
||||
mono-xmltool \- Mono XML validation and transformation tool.
|
||||
.SH SYNOPSIS
|
||||
|
||||
+176
-110
@@ -7,7 +7,7 @@
|
||||
.\" Author:
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 4.7.0"
|
||||
.TH Mono "mono"
|
||||
.SH NAME
|
||||
mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
|
||||
.SH SYNOPSIS
|
||||
@@ -19,14 +19,6 @@ mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
|
||||
\fImono\fP is a runtime implementation of the ECMA Common Language
|
||||
Infrastructure. This can be used to run ECMA and .NET applications.
|
||||
.PP
|
||||
The runtime contains a native code generator that transforms the
|
||||
Common Intermediate Language into native code.
|
||||
.PP
|
||||
The code generator can operate in two modes: just in time compilation
|
||||
(JIT) or ahead of time compilation (AOT). Since code can be
|
||||
dynamically loaded, the runtime environment and the JIT are always
|
||||
present, even if code is compiled ahead of time.
|
||||
.PP
|
||||
The runtime loads the specified
|
||||
.I file
|
||||
and optionally passes
|
||||
@@ -36,12 +28,26 @@ to it. The
|
||||
.I file
|
||||
is an ECMA assembly. They typically have a .exe or .dll extension.
|
||||
.PP
|
||||
These executables can reference additionaly functionality in the form
|
||||
of assembly references. By default those assembly references are
|
||||
resolved as follows: the \fBmscorlib.dll\fR is resolved from the
|
||||
system profile that is configured by Mono, and other assemblies are
|
||||
loaded from the Global Assembly Cache (GAC).
|
||||
.PP
|
||||
The runtime contains a native code generator that transforms the
|
||||
Common Intermediate Language into native code.
|
||||
.PP
|
||||
The code generator can operate in two modes: just in time compilation
|
||||
(JIT) or ahead of time compilation (AOT). Since code can be
|
||||
dynamically loaded, the runtime environment and the JIT are always
|
||||
present, even if code is compiled ahead of time.
|
||||
.PP
|
||||
The runtime provides a number of configuration options for running
|
||||
applications, for developing and debugging, and for testing and
|
||||
debugging the runtime itself.
|
||||
.PP
|
||||
The \fImono\fP command uses the Boehm conservative garbage collector
|
||||
while the \fImono-sgen\fP command uses a moving and generational
|
||||
The \fImono\fP command uses the moving and generational SGen garbage collector
|
||||
while the \fImono-boehm\fP command uses the conservative Boehm
|
||||
garbage collector.
|
||||
.SH PORTABILITY
|
||||
On Unix-based systems, Mono provides a mechanism to emulate the
|
||||
@@ -87,7 +93,7 @@ information which is not available on the generated file. When
|
||||
precompiling code, you might want to compile with all optimizations
|
||||
(-O=all). Pre-compiled code is position independent code.
|
||||
.Sp
|
||||
Pre compilation is just a mechanism to reduce startup time, increase
|
||||
Precompilation is just a mechanism to reduce startup time, increase
|
||||
code sharing across multiple mono processes and avoid just-in-time
|
||||
compilation program startup costs. The original assembly must still
|
||||
be present, as the metadata is contained there.
|
||||
@@ -104,11 +110,6 @@ than one can be specified:
|
||||
.RS
|
||||
.ne 8
|
||||
.TP
|
||||
.I autoreg
|
||||
The AOT compiler will emit a (ELF only) library initializer to automatically
|
||||
register the aot compiled module with the runtime. This is only useful in static
|
||||
mode
|
||||
.TP
|
||||
.I asmonly
|
||||
Instructs the AOT compiler to output assembly code instead of an
|
||||
object file.
|
||||
@@ -118,11 +119,6 @@ object file.
|
||||
If specified, forces the generated AOT files to be bound to the
|
||||
runtime version of the compiling Mono. This will prevent the AOT
|
||||
files from being consumed by a different Mono runtime.
|
||||
.I full
|
||||
.Sp
|
||||
This is currently an experimental feature as it is not complete.
|
||||
This instructs Mono to precompile code that has historically not been
|
||||
precompiled with AOT.
|
||||
.TP
|
||||
.I data-outfile=FILE.dll.aotdata
|
||||
.Sp
|
||||
@@ -134,10 +130,69 @@ on demand by using the
|
||||
.I mono_install_load_aot_data_hook
|
||||
method.
|
||||
.TP
|
||||
.I direct-icalls
|
||||
.Sp
|
||||
When this option is specified, icalls (internal calls made from the
|
||||
standard library into the mono runtime code) are invoked directly
|
||||
instead of going through the operating system symbol lookup operation.
|
||||
This requires use of the
|
||||
.I static
|
||||
option.
|
||||
.TP
|
||||
.I direct-pinvoke
|
||||
.Sp
|
||||
When this option is specified, P/Invoke methods are invoked directly
|
||||
instead of going through the operating system symbol lookup operation.
|
||||
This requires use of the
|
||||
.I static
|
||||
option.
|
||||
.TP
|
||||
.I dwarfdebug
|
||||
Instructs the AOT compiler to emit DWARF debugging information. When
|
||||
used together with the nodebug option, only DWARF debugging
|
||||
information is emitted, but not the information that can be used at
|
||||
runtime.
|
||||
.TP
|
||||
.I full
|
||||
.Sp
|
||||
This creates binaries which can be used with the --full-aot option.
|
||||
.TP
|
||||
.I hybrid
|
||||
.Sp
|
||||
This creates binaries which can be used with the --hybrid-aot option.
|
||||
.TP
|
||||
.I llvm
|
||||
AOT will be performed with the LLVM backend instead of the Mono backend where possible. This will be slower to compile but most likely result in a performance improvement.
|
||||
.TP
|
||||
.I llvmonly
|
||||
AOT will be performed with the LLVM backend exclusively and the Mono backend will not be used. The only output in this mode will be the bitcode file normally specified with the
|
||||
.I llvm-outfile
|
||||
option. Use of
|
||||
.I llvmonly
|
||||
automatically enables the
|
||||
.I full
|
||||
and
|
||||
.I llvm
|
||||
options. This feature is experimental.
|
||||
.TP
|
||||
.I llvm-outfile=[filename]
|
||||
Gives the path for the temporary LLVM bitcode file created during AOT.
|
||||
.TP
|
||||
.I info
|
||||
Print the architecture the AOT in this copy of Mono targets and quit.
|
||||
.TP
|
||||
.I interp
|
||||
Generates all required wrappers, so that it is possible to run --interpreter without
|
||||
any code generation at runtime. This option only makes sense with \fBmscorlib.dll\fR.
|
||||
Embedders can set
|
||||
|
||||
.nf
|
||||
mono_jit_set_aot_mode (MONO_AOT_MODE_INTERP);
|
||||
.fi
|
||||
.ne
|
||||
.TP
|
||||
.I ld-flags
|
||||
Additional flags to pass to the C linker (if the current AOT mode calls for invoking it).
|
||||
.TP
|
||||
.I llvm-path=<PREFIX>
|
||||
Same for the llvm tools 'opt' and 'llc'.
|
||||
@@ -156,7 +211,12 @@ llc compiler.
|
||||
.I nimt-trampolines=[number]
|
||||
When compiling in full aot mode, the IMT trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 128.
|
||||
Defaults to 512.
|
||||
.TP
|
||||
.I ngsharedvt-trampolines=[number]
|
||||
When compiling in full aot mode, the value type generic sharing trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 512.
|
||||
.TP
|
||||
.I nodebug
|
||||
Instructs the AOT compiler to not output any debugging information.
|
||||
@@ -166,23 +226,22 @@ This prevents the AOT compiler from generating a direct calls to a
|
||||
method. The AOT compiler usually generates direct calls for certain
|
||||
methods that do not require going through the PLT (for example,
|
||||
methods that are known to not require a hook like a static
|
||||
constructor) or call into simple internal calls.
|
||||
.TP
|
||||
.I dwarfdebug
|
||||
Instructs the AOT compiler to emit DWARF debugging information. When
|
||||
used together with the nodebug option, only DWARF debugging
|
||||
information is emitted, but not the information that can be used at
|
||||
runtime.
|
||||
constructor) or call into simple internal calls.
|
||||
.TP
|
||||
.I nrgctx-trampolines=[number]
|
||||
When compiling in full aot mode, the generic sharing trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 1024.
|
||||
Defaults to 4096.
|
||||
.TP
|
||||
.I nrgctx-fetch-trampolines=[number]
|
||||
When compiling in full aot mode, the generic sharing fetch trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 128.
|
||||
.TP
|
||||
.I ntrampolines=[number]
|
||||
When compiling in full aot mode, the method trampolines must be precreated
|
||||
in the AOT image. You can add additional method trampolines with this argument.
|
||||
Defaults to 1024.
|
||||
Defaults to 4096.
|
||||
.TP
|
||||
.I outfile=[filename]
|
||||
Instructs the AOT compiler to save the output to the specified file.
|
||||
@@ -191,6 +250,16 @@ Instructs the AOT compiler to save the output to the specified file.
|
||||
If the AOT compiler cannot compile a method for any reason, enabling this flag
|
||||
will output the skipped methods to the console.
|
||||
.TP
|
||||
.I profile=[file]
|
||||
Specify a file to use for profile-guided optimization. See the "AOT PROFILING" section. To specify multiple files, include the
|
||||
.I profile
|
||||
option multiple times.
|
||||
.TP
|
||||
.I profile-only
|
||||
AOT *only* the methods described in the files specified with the
|
||||
.I profile
|
||||
option. See the "AOT PROFILING" section.
|
||||
.TP
|
||||
.I readonly-value=namespace.typename.fieldname=type/value
|
||||
Override the value of a static readonly field. Usually, during JIT
|
||||
compilation, the static constructor is ran eagerly, so the value of
|
||||
@@ -203,7 +272,6 @@ Note that signed/unsigned numbers do not matter here, just the storage size.
|
||||
This option can be specified multiple times and it doesn't prevent the static
|
||||
constructor for the type defining the field to execute with the usual rules
|
||||
at runtime (hence possibly computing a different value for the field).
|
||||
|
||||
.TP
|
||||
.I save-temps,keep-temps
|
||||
Instructs the AOT compiler to keep temporary files.
|
||||
@@ -232,6 +300,9 @@ mono_aot_register_module (mono_aot_module_hello_info);
|
||||
.I stats
|
||||
Print various stats collected during AOT compilation.
|
||||
.TP
|
||||
.I temp-path=[path]
|
||||
Explicitly specify path to store temporary files created during AOT compilation.
|
||||
.TP
|
||||
.I threads=[number]
|
||||
This is an experimental option for the AOT compiler to use multiple threads
|
||||
when compiling the methods.
|
||||
@@ -241,12 +312,35 @@ Prepends <PREFIX> to the name of tools ran by the AOT compiler, i.e. 'as'/'ld'.
|
||||
example, --tool=prefix=arm-linux-gnueabi- will make the AOT compiler run
|
||||
'arm-linux-gnueabi-as' instead of 'as'.
|
||||
.TP
|
||||
.I write-symbols
|
||||
Instructs the AOT compiler to emit debug symbol information.
|
||||
.I verbose
|
||||
Prints additional information about type loading failures.
|
||||
.TP
|
||||
.I write-symbols,no-write-symbols
|
||||
Instructs the AOT compiler to emit (or not emit) debug symbol information.
|
||||
.PP
|
||||
For more information about AOT, see: http://www.mono-project.com/docs/advanced/aot/
|
||||
.RE
|
||||
.TP
|
||||
\fB--aot-path=PATH\fR
|
||||
List of additional directories to search for AOT images.
|
||||
.TP
|
||||
\fB--apply-bindings=FILE\fR
|
||||
Apply the assembly bindings from the specified configuration file when running
|
||||
the AOT compiler. This is useful when compiling an auxiliary assembly that is
|
||||
referenced by a main assembly that provides a configuration file. For example,
|
||||
if app.exe uses lib.dll then in order to make the assembly bindings from
|
||||
app.exe.config available when compiling lib.dll ahead of time, use:
|
||||
.nf
|
||||
mono --apply-bindings=app.exe.config --aot lib.dll
|
||||
.fi
|
||||
.TP
|
||||
\fB--assembly-loader=MODE\fR
|
||||
If mode is \fBstrict\fR, Mono will check that the public key token, culture and version
|
||||
of a candidate assembly matches the requested strong name. If mode is \fBlegacy\fR, as
|
||||
long as the name matches, the candidate will be allowed. \fBstrict\fR is the behavior
|
||||
consistent with .NET Framework but may break some existing mono-based applications.
|
||||
The default is \fBlegacy\fR.
|
||||
.TP
|
||||
\fB--attach=[options]\fR
|
||||
Currently the only option supported by this command line argument is
|
||||
\fBdisable\fR which disables the attach functionality.
|
||||
@@ -257,15 +351,12 @@ The default files are /etc/mono/config and ~/.mono/config or the file
|
||||
specified in the MONO_CONFIG environment variable, if set. See the
|
||||
mono-config(5) man page for details on the format of this file.
|
||||
.TP
|
||||
\fB--aot-path=PATH\fR
|
||||
List of additional directories to search for AOT images.
|
||||
.TP
|
||||
\fB--debugger-agent=[options]\fR
|
||||
This instructs the Mono runtime to
|
||||
start a debugging agent inside the Mono runtime and connect it to a
|
||||
client user interface will control the Mono process.
|
||||
This option is typically used by IDEs, like the MonoDevelop IDE.
|
||||
.PP
|
||||
This option is typically used by IDEs, like the MonoDevelop or Visual Studio IDEs.
|
||||
.RS
|
||||
The configuration is specified using one of more of the following options:
|
||||
.RS
|
||||
.ne 8
|
||||
@@ -292,10 +383,10 @@ actively waits for the debugger front end to connect to the Mono process.
|
||||
Mono will print out to stdout the IP address and port where it is listening.
|
||||
.TP
|
||||
.I setpgid=[y/n]
|
||||
If set to yes, Mono will call \fBsetpgid(0, 0)\fB on startup, if that function
|
||||
If set to yes, Mono will call \fBsetpgid(0, 0)\fR on startup, if that function
|
||||
is available on the system. This is useful for ensuring that signals delivered
|
||||
to a process that is executing the debuggee are not propagated to the debuggee,
|
||||
e.g. when Ctrl-C sends \fBSIGINT\fB to the \fBsdb\fB tool.
|
||||
e.g. when Ctrl-C sends \fBSIGINT\fR to the \fBsdb\fR tool.
|
||||
.TP
|
||||
.I suspend=[y/n]
|
||||
Defaults to yes, with the default option Mono will suspend the vm on startup
|
||||
@@ -318,10 +409,12 @@ the heap as much as possible at the expense of slowing down garbage
|
||||
collection a bit.
|
||||
.TP
|
||||
\fB--full-aot\fR
|
||||
This is an experimental flag that instructs the Mono runtime to not
|
||||
This flag instructs the Mono runtime to not
|
||||
generate any code at runtime and depend exclusively on the code
|
||||
generated from using mono --aot=full previously. This is useful for
|
||||
platforms that do not permit dynamic code generation.
|
||||
generated from using mono --aot=full previously. This is useful for
|
||||
platforms that do not permit dynamic code generation, or if you need
|
||||
to run assemblies that have been stripped of IL (for example using
|
||||
mono-cil-strip).
|
||||
.Sp
|
||||
Notice that this feature will abort execution at runtime if a codepath
|
||||
in your program, or Mono's class libraries attempts to generate code
|
||||
@@ -351,6 +444,14 @@ will switch to '/bin/mono64' iff '/bin/mono' is a 32-bit build).
|
||||
\fB--help\fR, \fB-h\fR
|
||||
Displays usage instructions.
|
||||
.TP
|
||||
\fB--hybrid-aot\fR
|
||||
This flag allows the Mono runtime to run assemblies
|
||||
that have been stripped of IL, for example using mono-cil-strip. For this to
|
||||
work, the assembly must have been AOT compiled with --aot=hybrid.
|
||||
|
||||
This flag is similar to --full-aot, but it does not disable the JIT. This means
|
||||
you can use dynamic features such as System.Reflection.Emit.
|
||||
.TP
|
||||
\fB--llvm\fR
|
||||
If the Mono runtime has been compiled with LLVM support (not available
|
||||
in all configurations), Mono will use the LLVM optimization and code
|
||||
@@ -528,7 +629,7 @@ platforms, and only when using gdb 7.0 or later.
|
||||
Turns on profiling. For more information about profiling applications
|
||||
and code coverage see the sections "PROFILING" and "CODE COVERAGE"
|
||||
below.
|
||||
.TP
|
||||
.Sp
|
||||
This option can be used multiple times, each time will load an
|
||||
additional profiler. This allows developers to use modules that
|
||||
extend the JIT through the Mono profiling interface.
|
||||
@@ -609,7 +710,7 @@ Finally, namespaces can be specified using the N: prefix:
|
||||
Don't align stack frames on the x86 architecture. By default, Mono
|
||||
aligns stack frames to 16 bytes on x86, so that local floating point
|
||||
and SIMD variables can be properly aligned. This option turns off the
|
||||
alignment, which usually saves one intruction per call, but might
|
||||
alignment, which usually saves one instruction per call, but might
|
||||
result in significantly lower floating point and SIMD performance.
|
||||
.TP
|
||||
\fB--jitmap\fR
|
||||
@@ -807,52 +908,8 @@ your profiler.
|
||||
For a sample of how to write your own custom profiler look in the
|
||||
Mono source tree for in the samples/profiler.c.
|
||||
.SH CODE COVERAGE
|
||||
Mono ships with a code coverage module. This module is activated by
|
||||
using the Mono --profile=cov option. The format is:
|
||||
\fB--profile=cov[:assembly-name[/namespace]] test-suite.exe\fR
|
||||
.PP
|
||||
By default code coverage will default to all the assemblies loaded,
|
||||
you can limit this by specifying the assembly name, for example to
|
||||
perform code coverage in the routines of your program use, for example
|
||||
the following command line limits the code coverage to routines in the
|
||||
"demo" assembly:
|
||||
.nf
|
||||
|
||||
mono --profile=cov:demo demo.exe
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Notice that the
|
||||
.I assembly-name
|
||||
does not include the extension.
|
||||
.PP
|
||||
You can further restrict the code coverage output by specifying a
|
||||
namespace:
|
||||
.nf
|
||||
|
||||
mono --profile=cov:demo/My.Utilities demo.exe
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Which will only perform code coverage in the given assembly and
|
||||
namespace.
|
||||
.PP
|
||||
Typical output looks like this:
|
||||
.nf
|
||||
|
||||
Not covered: Class:.ctor ()
|
||||
Not covered: Class:A ()
|
||||
Not covered: Driver:.ctor ()
|
||||
Not covered: Driver:method ()
|
||||
Partial coverage: Driver:Main ()
|
||||
offset 0x000a
|
||||
|
||||
.fi
|
||||
.PP
|
||||
The offsets displayed are IL offsets.
|
||||
.PP
|
||||
A more powerful coverage tool is available in the module `monocov'.
|
||||
See the monocov(1) man page for details.
|
||||
Mono ships with a code coverage module in the \f[I]log\f[] profiler.
|
||||
Check the `coverage' option on the mprof-report(1) page for more details.
|
||||
.SH AOT PROFILING
|
||||
You can improve startup performance by using the AOT profiler.
|
||||
.PP
|
||||
@@ -1000,11 +1057,6 @@ code generation backend. For example \fBLLVM_COUNT=10\fR would only
|
||||
compile 10 methods with LLVM and then switch to the Mono JIT engine.
|
||||
\fBLLVM_COUNT=0\fR would disable the LLVM engine altogether.
|
||||
.TP
|
||||
\fBMONO_AOT_CACHE\fR
|
||||
If set, this variable will instruct Mono to ahead-of-time compile new
|
||||
assemblies on demand and store the result into a cache in
|
||||
~/.mono/aot-cache.
|
||||
.TP
|
||||
\fBMONO_ASPNET_INHIBIT_SETTINGSMAP\fR
|
||||
Mono contains a feature which allows modifying settings in the .config files shipped
|
||||
with Mono by using config section mappers. The mappers and the mapping rules are
|
||||
@@ -1213,10 +1265,19 @@ first generation (of two). A larger nursery will usually speed up the
|
||||
program but will obviously use more memory. The default nursery size
|
||||
4 MB.
|
||||
.TP
|
||||
\fBmajor=\fIcollector\fR Specifies which major collector to use.
|
||||
Options are `marksweep' for the Mark&Sweep collector, and
|
||||
`marksweep-conc' for concurrent Mark&Sweep. The non-concurrent
|
||||
Mark&Sweep collector is the default.
|
||||
\fBmajor=\fIcollector\fR
|
||||
Specifies which major collector to use.
|
||||
Options are `marksweep' for the Mark&Sweep collector, `marksweep-conc'
|
||||
for concurrent Mark&Sweep and `marksweep-conc-par' for parallel and
|
||||
concurrent Mark&Sweep. The concurrent Mark&Sweep collector is the default.
|
||||
.TP
|
||||
\fBmode=balanced|throughput|pause\fR[:\fImax-pause\fR]
|
||||
Specifies what should be the garbage collector's target. The `throughput'
|
||||
mode aims to reduce time spent in the garbage collector and improve
|
||||
application speed, the `pause' mode aims to keep pause times to a minimum
|
||||
and it receives the argument \fImax-pause\fR which specifies the maximum
|
||||
pause time in milliseconds that is acceptable and the `balanced' mode
|
||||
which is a general purpose optimal mode.
|
||||
.TP
|
||||
\fBsoft-heap-limit=\fIsize\fR
|
||||
Once the heap size gets larger than this size, ignore what the default
|
||||
@@ -1279,9 +1340,11 @@ more memory when it reaches a stable size.
|
||||
This option is EXPERIMENTAL, so it might disappear in later versions of mono.
|
||||
.TP
|
||||
\fBminor=\fIminor-collector\fR
|
||||
Specifies which minor collector to use. Options are 'simple' which
|
||||
promotes all objects from the nursery directly to the old generation
|
||||
and 'split' which lets object stay longer on the nursery before promoting.
|
||||
Specifies which minor collector to use. Options are `simple' which
|
||||
promotes all objects from the nursery directly to the old generation,
|
||||
`simple-par' which has same promotion behavior as `simple' but using
|
||||
multiple workers and `split' which lets objects stay longer on the nursery
|
||||
before promoting.
|
||||
.TP
|
||||
\fBalloc-ratio=\fIratio\fR
|
||||
Specifies the ratio of memory from the nursery to be use by the alloc space.
|
||||
@@ -1692,7 +1755,7 @@ Captures the interrupt signal (Control-C) and displays a stack trace
|
||||
when pressed. Useful to find out where the program is executing at a
|
||||
given point. This only displays the stack trace of a single thread.
|
||||
.TP
|
||||
\fBinit-stacks\FR
|
||||
\fBinit-stacks\fR
|
||||
Instructs the runtime to initialize the stack with
|
||||
some known values (0x2a on x86-64) at the start of a method to assist
|
||||
in debuggin the JIT engine.
|
||||
@@ -1732,11 +1795,14 @@ values.
|
||||
This option allows using single-steps and breakpoints in hardware
|
||||
where we cannot do it with signals.
|
||||
.TP
|
||||
\fBsuspend-on-sigsegv\fR
|
||||
This option will suspend the program when a native SIGSEGV is received.
|
||||
\fBsuspend-on-native-crash\fR
|
||||
This option will suspend the program when a native crash occurs (SIGSEGV, SIGILL, ...).
|
||||
This is useful for debugging crashes which do not happen under gdb,
|
||||
since a live process contains more information than a core file.
|
||||
.TP
|
||||
\fBsuspend-on-sigsegv\fR
|
||||
Same as \fBsuspend-on-native-crash\fR.
|
||||
.TP
|
||||
\fBsuspend-on-exception\fR
|
||||
This option will suspend the program when an exception occurs.
|
||||
.TP
|
||||
@@ -1939,8 +2005,8 @@ http://www.mono-project.com/community/help/mailing-lists/
|
||||
http://www.mono-project.com
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
certmgr(1), csharp(1), mcs(1), mdb(1), monocov(1), monodis(1),
|
||||
mono-config(5), mozroots(1), mprof-report(1), pdb2mdb(1), xsp(1), mod_mono(8).
|
||||
certmgr(1), cert-sync(1), csharp(1), gacutil(1), mcs(1), mdb(1), monodis(1),
|
||||
mono-config(5), mprof-report(1), pdb2mdb(1), xsp(1), mod_mono(8).
|
||||
.PP
|
||||
For more information on AOT:
|
||||
http://www.mono-project.com/docs/advanced/aot/
|
||||
|
||||
+2
-2
@@ -237,7 +237,7 @@ to the type name, while methods append the method name (with an optional count
|
||||
of the number of generic parameters).
|
||||
.Sp
|
||||
If the constructor or method take arguments, these are listed within
|
||||
paranthesis after the constructor/method name:
|
||||
parenthesis after the constructor/method name:
|
||||
.Sp
|
||||
.I M:System.Object..ctor
|
||||
,
|
||||
@@ -259,7 +259,7 @@ Refers to a namespace, e.g.
|
||||
.I "P:"
|
||||
Refers to a property. If the property is an indexer or takes parameters,
|
||||
the parameter types are appended to the property name and enclosed with
|
||||
paranthesis:
|
||||
parenthesis:
|
||||
.I P:System.String.Length
|
||||
,
|
||||
.I P:System.String.Chars(System.Int32)
|
||||
|
||||
+9
-11
@@ -146,6 +146,9 @@ instruction pointer.
|
||||
This is equivalent to the value \[lq]100\[rq].
|
||||
A value of zero for \f[I]FREQ\f[] effectively disables sampling.
|
||||
.IP \[bu] 2
|
||||
\f[I]heapshot-on-shutdown\f[]: collect heap shot data when the runtime
|
||||
shuts down.
|
||||
.IP \[bu] 2
|
||||
\f[I]maxframes=NUM\f[]: when a stack trace needs to be performed,
|
||||
collect \f[I]NUM\f[] frames at the most.
|
||||
The default is 32.
|
||||
@@ -180,16 +183,15 @@ with the current process id and \f[I]%t\f[] with the current date
|
||||
and time, then do according to \f[I]OUTSPEC\f[]:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
if \f[I]OUTSPEC\f[] begins with a \f[I]|\f[] character, execute the
|
||||
rest as a program and feed the data to its standard input
|
||||
If \f[I]OUTSPEC\f[] begins with a \f[I]|\f[] character, execute the
|
||||
rest as a program and feed the data to its standard input.
|
||||
.IP \[bu] 2
|
||||
if \f[I]OUTSPEC\f[] begins with a \f[I]-\f[] character, use the
|
||||
rest of OUTSPEC as the filename, but force overwrite any existing
|
||||
file by that name
|
||||
If \f[I]OUTSPEC\f[] begins with a \f[I]#\f[] character, parse the
|
||||
rest as a file descriptor number, and feed the data to this file
|
||||
descriptor.
|
||||
.IP \[bu] 2
|
||||
otherwise write the data the the named file: note that is a file by
|
||||
that name already exists, a warning is issued and profiling is
|
||||
disabled.
|
||||
that name already exists, it is truncated.
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]report\f[]: the profiling data is sent to mprof-report, which
|
||||
@@ -214,10 +216,6 @@ counters, which is normally done every 1 second.
|
||||
.IP \[bu] 2
|
||||
\f[I]coverage\f[]: collect code coverage data. This implies enabling
|
||||
the \f[I]calls\f[] option.
|
||||
.IP \[bu] 2
|
||||
\f[I]onlycoverage\f[]: can only be used with \f[I]coverage\f[]. This
|
||||
disables most other events so that the profiler mostly only collects
|
||||
coverage data.
|
||||
.RE
|
||||
.SS Analyzing the profile data
|
||||
.PP
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.TH resgen "resgen 1.0"
|
||||
.TH Mono "resgen"
|
||||
.SH NAME
|
||||
resgen, resgen2 \- Mono/CLI Resource Generator
|
||||
.SH SYNOPSIS
|
||||
|
||||
+1
-1
@@ -407,7 +407,7 @@ mysql MySQL AB MySql.Data.MySqlClient MySql.Data
|
||||
NOTES:
|
||||
|
||||
Ngsql is the .Net Data Provider for PosgreSQL. The
|
||||
latest verison can be downloaded from
|
||||
latest version can be downloaded from
|
||||
http://npgsql.projects.postgresql.org/
|
||||
|
||||
MySql.Data is the MySQL Connector/Net for connecting to MySql databases.
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
/LICENSE.MSPL -crlf
|
||||
/ScalableMonoIcon.svg -crlf
|
||||
/winexe.in crlf=input
|
||||
+3
-1
@@ -11,6 +11,7 @@ TestResult-*.log
|
||||
TestResult-*.xml
|
||||
TestResult*.xml
|
||||
.dep_dirs-*
|
||||
apidiff/*
|
||||
errors/*.log
|
||||
errors/dummy.xml
|
||||
class/Mono.Data.Sqlite/test.db
|
||||
@@ -20,7 +21,7 @@ class/RabbitMQ.Client/docs/specs/autogenerated-api-qpid-0-8.cs
|
||||
class/System.Web.Mvc/System.Web.Mvc/Resources/MvcResources.resources
|
||||
class/System.Web.Mvc2/System.Web.Mvc/Resources/MvcResources.resources
|
||||
XmlWriter
|
||||
obj-net_4_x
|
||||
obj-net_4_x*
|
||||
obj-bare
|
||||
obj-plainweb
|
||||
obj-Facades
|
||||
@@ -29,3 +30,4 @@ obj-plaindesign
|
||||
obj-plainservice
|
||||
obj-secxml
|
||||
obj-mcs-net_4_x
|
||||
obj-legacy
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
This list of authors is outdated. For a full list of contributors
|
||||
see:
|
||||
|
||||
http://www.go-mono.com/archive/mono-1.0.html
|
||||
check out the git history.
|
||||
|
||||
C# Compiler:
|
||||
Miguel de Icaza ([email protected])
|
||||
|
||||
+1
-340
@@ -1,340 +1 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
See LICENSE file in the project root for full license information.
|
||||
+1
-477
@@ -1,477 +1 @@
|
||||
* Coding Style for the Mono C# source code.
|
||||
|
||||
* Class Libraries and Assembly Layout
|
||||
|
||||
The class libraries are grouped together in the assemblies
|
||||
they belong.
|
||||
|
||||
Each directory here represents an assembly, and inside each
|
||||
directory we divide the code based on the namespace they
|
||||
implement.
|
||||
|
||||
In addition, each assembly directory contains a Test directory
|
||||
that holds the NUnit tests for that assembly.
|
||||
|
||||
We use a new build system which is described by various README
|
||||
files in mcs/build
|
||||
|
||||
The build process typically builds an assembly, but in some
|
||||
cases it also builds special versions of the assemblies
|
||||
intended to be used for testing.
|
||||
|
||||
* Missing implementation bits
|
||||
|
||||
If you implement a class and you are missing implementation bits,
|
||||
please use the attribute [MonoTODO]. This attribute can be used
|
||||
to programatically generate our status web pages:
|
||||
|
||||
[MonoTODO("My Function is not available on Mono")]
|
||||
int MyFunction ()
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
Ideally, write a human description of the reason why there is
|
||||
a MonoTODO, this will be useful in the future for our
|
||||
automated tools that can assist in developers porting their code.
|
||||
|
||||
* Tagging buggy code
|
||||
|
||||
If there is a bug in your implementation tag the problem by using
|
||||
the word "FIXME" in the code, together with a description of the
|
||||
problem.
|
||||
|
||||
Do not use XXX or obscure descriptions, because otherwise people
|
||||
will not be able to understand what you mean.
|
||||
|
||||
* Tagging Problematic specs.
|
||||
|
||||
If the documentation and the Microsoft implementation do
|
||||
differ (you wrote a test case to prove this), I suggest that you edit
|
||||
the file `mcs/class/doc/API-notes' so we can keep track of these problems
|
||||
and submit our comments to ECMA or Microsoft and seek clarification.
|
||||
|
||||
Sometimes the documentation might be buggy, and sometimes the implementation
|
||||
might be buggy. Lets try to identify and pinpoint which one
|
||||
is the correct one.
|
||||
|
||||
Sometimes the specification will be lame (consider Version.ToString (fieldCount)
|
||||
where there is no way of knowing how many fields are available, making the API
|
||||
not only stupid, but leading to unreliable code).
|
||||
|
||||
In those cases, use the keyword "LAMESPEC".
|
||||
|
||||
|
||||
* Coding considerations and style.
|
||||
|
||||
In order to keep the code consistent, please use the following
|
||||
conventions. From here on `good' and `bad' are used to attribute
|
||||
things that would make the coding style match, or not match. It is not
|
||||
a judgement call on your coding abilities, but more of a style and
|
||||
look call. Please try to follow these guidelines to ensure prettiness.
|
||||
|
||||
Use 8 space tabs for writing your code (hopefully we can keep
|
||||
this consistent). If you are modifying someone else's code, try
|
||||
to keep the coding style similar.
|
||||
|
||||
Since we are using 8-space tabs, you might want to consider the Linus
|
||||
Torvals trick to reduce code nesting. Many times in a loop, you will
|
||||
find yourself doing a test, and if the test is true, you will nest.
|
||||
Many times this can be changed. Example:
|
||||
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (something (i)) {
|
||||
do_more ();
|
||||
}
|
||||
}
|
||||
|
||||
This take precious space, instead write it like this:
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (!something (i))
|
||||
continue;
|
||||
do_more ();
|
||||
}
|
||||
|
||||
* Performance and readability
|
||||
|
||||
It is more important to be correct than to be fast.
|
||||
|
||||
It is more important to be maintainable than to be fast.
|
||||
|
||||
Fast code that is difficult to maintain is likely going to
|
||||
be looked down upon.
|
||||
|
||||
* Style Guidelines
|
||||
|
||||
* Use a space before an opening parenthesis when calling
|
||||
functions, or indexing, like this:
|
||||
|
||||
method (a);
|
||||
b [10];
|
||||
|
||||
* Do not put a space after the opening parenthesis and the
|
||||
closing one, ie:
|
||||
|
||||
good: method (a); array [10];
|
||||
|
||||
bad: method ( a ); array[ 10 ];
|
||||
|
||||
* Inside a code block, put the opening brace on the same line
|
||||
as the statement:
|
||||
|
||||
good:
|
||||
if (a) {
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
bad:
|
||||
if (a)
|
||||
{
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
* Avoid using unecessary open/close braces, vertical space
|
||||
is usually limited:
|
||||
|
||||
good:
|
||||
if (a)
|
||||
code ();
|
||||
|
||||
bad:
|
||||
if (a) {
|
||||
code ();
|
||||
}
|
||||
|
||||
* When defining a method, use the C style for brace placement,
|
||||
that means, use a new line for the brace, like this:
|
||||
|
||||
good:
|
||||
void Method ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void Method () {
|
||||
}
|
||||
|
||||
* Properties and indexers are an exception, keep the
|
||||
brace on the same line as the property declaration.
|
||||
Rationale: this makes it visually
|
||||
simple to distinguish them.
|
||||
|
||||
good:
|
||||
int Property {
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
bad:
|
||||
int Property
|
||||
{
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Notice how the accessor "get" also keeps its brace on the same
|
||||
line.
|
||||
|
||||
For very small properties, you can compress things:
|
||||
|
||||
ok:
|
||||
int Property {
|
||||
get { return value; }
|
||||
set { x = value; }
|
||||
}
|
||||
|
||||
* Use white space in expressions liberally, except in the presence
|
||||
of parenthesis:
|
||||
|
||||
good:
|
||||
|
||||
if (a + 5 > method (blah () + 4))
|
||||
|
||||
bad:
|
||||
if (a+5>method(blah()+4))
|
||||
|
||||
* For any new files, please use a descriptive introduction, like
|
||||
this:
|
||||
|
||||
//
|
||||
// System.Comment.cs: Handles comments in System files.
|
||||
//
|
||||
// Author:
|
||||
// Juan Perez ([email protected])
|
||||
//
|
||||
// (C) 2002 Address, Inc (http://www.address.com)
|
||||
//
|
||||
|
||||
* If you are modyfing someone else's code, and your contribution
|
||||
is significant, please add yourself to the Authors list.
|
||||
|
||||
* Switch statements have the case at the same indentation as the
|
||||
switch:
|
||||
|
||||
switch (x) {
|
||||
case 'a':
|
||||
...
|
||||
case 'b':
|
||||
...
|
||||
}
|
||||
|
||||
* Argument names should use the camel casing for
|
||||
identifiers, like this:
|
||||
|
||||
good:
|
||||
void Method (string myArgument)
|
||||
|
||||
bad:
|
||||
void Method (string lpstrArgument)
|
||||
void Method (string my_string)
|
||||
|
||||
* Empty methods: They should have the body of code using two
|
||||
lines, in consistency with the rest:
|
||||
|
||||
good:
|
||||
void EmptyMethod ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void EmptyMethod () {}
|
||||
|
||||
void EmptyMethod ()
|
||||
{}
|
||||
|
||||
* Line length: The line length for C# source code is 134 columns.
|
||||
|
||||
|
||||
If your function declaration arguments go beyond
|
||||
this point, please align your arguments to match the
|
||||
opening brace, like this:
|
||||
|
||||
void Function (int arg, string argb,
|
||||
int argc)
|
||||
{
|
||||
}
|
||||
|
||||
When invoking functions, the rule is different, the
|
||||
arguments are not aligned with the previous
|
||||
argument, instead they begin at the tabbed position,
|
||||
like this:
|
||||
|
||||
void M ()
|
||||
{
|
||||
MethodCall ("Very long string that will force",
|
||||
"Next argument on the 8-tab pos",
|
||||
"Just like this one")
|
||||
|
||||
}
|
||||
|
||||
* Variable declaration indentation.
|
||||
|
||||
Sometimes it is convenient to indent the variables to make the code
|
||||
look pretier, but do not add gratuitous space, try to use the minimally
|
||||
necessary space, for example:
|
||||
|
||||
Good:
|
||||
|
||||
void Method ()
|
||||
{
|
||||
string b;
|
||||
int a;
|
||||
byte c;
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
void Method ()
|
||||
{
|
||||
string b;
|
||||
int a;
|
||||
byte c;
|
||||
}
|
||||
|
||||
* Braces and the `else' clause
|
||||
|
||||
If there are braces closing or opening next to the else clause,
|
||||
they go on the same line as the word `else', for example:
|
||||
|
||||
Good:
|
||||
|
||||
if (..) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
} else
|
||||
{
|
||||
}
|
||||
|
||||
Bad:
|
||||
|
||||
if (..) {
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
* RCS and CVS tags
|
||||
|
||||
Some users like to use the special RCS/CVS tags in their
|
||||
source code: $id$, $log$ and so on.
|
||||
|
||||
The use of these is not permitted on the Mono source code
|
||||
repository. This metadata belongs on a ChangeLog or in the
|
||||
SVN metadata.
|
||||
|
||||
* File formats
|
||||
|
||||
Historically our repository has used a mix of line-endings,
|
||||
this is a mistake that we are trying hard to fix.
|
||||
|
||||
For existing files, please make sure that you do not convert
|
||||
the file, as that causes us to loose precious history (the
|
||||
full file is commited).
|
||||
|
||||
For new files that you create, please make sure that you use
|
||||
Subversion's support for mapping the line endings
|
||||
automatically, after adding your file:
|
||||
|
||||
$ svn add file.cs
|
||||
|
||||
Execute this command:
|
||||
|
||||
$ svn propset svn:eol-style native file.cs
|
||||
|
||||
Which will make the file automatically receive the proper
|
||||
treatment from that point on.
|
||||
|
||||
Please verify before commiting that your changes wont loose
|
||||
history, you can do this by running:
|
||||
|
||||
$ svn diff
|
||||
|
||||
And examining the output.
|
||||
|
||||
* Warnings
|
||||
|
||||
Avoid commiting code with warnings to the repository, the use
|
||||
of #pragmas to disable warnings is strongly discouraged, but
|
||||
can be used on unique cases. Please justify the use of the
|
||||
warning ignore clause on a comment.
|
||||
|
||||
Do not commit changes to the Makefiles that removes warnings,
|
||||
if anything warnings should be eliminated one at a time, and
|
||||
if not possible, they must be flagged.
|
||||
|
||||
|
||||
* Examples:
|
||||
|
||||
class X : Y {
|
||||
|
||||
bool Method (int argument_1, int argument_2)
|
||||
{
|
||||
if (argument_1 == argument_2)
|
||||
throw new Exception (Locale.GetText ("They are equal!");
|
||||
|
||||
if (argument_1 < argument_2) {
|
||||
if (argument_1 * 3 > 4)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
//
|
||||
// This sample helps keep your sanity while using 8-spaces for tabs
|
||||
//
|
||||
VeryLongIdentifierWhichTakesManyArguments (
|
||||
Argument1, Argument2, Argument3,
|
||||
NestedCallHere (
|
||||
MoreNested));
|
||||
}
|
||||
|
||||
bool MyProperty {
|
||||
get {
|
||||
return x;
|
||||
}
|
||||
|
||||
set {
|
||||
x = value;
|
||||
}
|
||||
}
|
||||
|
||||
void AnotherMethod ()
|
||||
{
|
||||
if ((a + 5) != 4) {
|
||||
}
|
||||
|
||||
while (blah) {
|
||||
if (a)
|
||||
continue;
|
||||
b++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
* Conditional compilation
|
||||
|
||||
Ideally we would not need conditional compilation, and the use
|
||||
of #ifdef is strongly discouraged. But due to our support for
|
||||
old C# 1.0 compilers we have to use it in a few places.
|
||||
|
||||
Try to avoid negative tests that have an else clause, for
|
||||
example:
|
||||
|
||||
#if !NET_2_0
|
||||
CODE_FOR_1_0
|
||||
#else
|
||||
CODE_FOR_2_0
|
||||
#endif
|
||||
|
||||
Instead use:
|
||||
|
||||
#if NET_2_0
|
||||
CODE_FOR_2_0
|
||||
#else
|
||||
CODE_FOR_1_0
|
||||
#endif
|
||||
|
||||
When a major feature differs across compilation targets, try
|
||||
to factor out the code into a separate class, a helper class
|
||||
or a separate file, and include that in your profile while
|
||||
surrounding that helper file/class with the ifdefs to reduce
|
||||
the amount of ifdefs in the code.
|
||||
|
||||
For instance, this is used for some parts of Grasshopper where
|
||||
the code is ifdefed out, when large parts of a file would have
|
||||
been ifdefed out, we moved the code into a MyOtherFile.jvm.cs
|
||||
|
||||
For 2.0 classes, this is even simpler as code can be trivially
|
||||
factored out into
|
||||
|
||||
MyHelperClass.cli.cs
|
||||
MyHelperClass.jvm.cs
|
||||
|
||||
By using partial classes.
|
||||
Please see http://www.mono-project.com/community/contributing/coding-guidelines/ for latest guidelines.
|
||||
+4
-108
@@ -23,7 +23,7 @@ compilers and tools.
|
||||
* *
|
||||
*********************************************************************
|
||||
|
||||
If you only want to build a snapshot or a fresh CVS checkout of the
|
||||
If you only want to build a snapshot or a fresh checkout of the
|
||||
sources, you should go into the `mono' sibling directory and issue the
|
||||
make command, like this:
|
||||
|
||||
@@ -35,72 +35,6 @@ make command, like this:
|
||||
The compilation is bundled with the build due to dependencies on the
|
||||
class libraries on the runtime.
|
||||
|
||||
Build Features for Developers of Mono.
|
||||
======================================
|
||||
|
||||
These instructions apply to both Linux and Windows. To build this
|
||||
package, you must already have a C# compiler installed. This means
|
||||
that to build on Linux, you need to get a distribution of the MCS
|
||||
binaries; these are called monocharges. They can be found at
|
||||
www.go-mono.com/daily. On Windows, you can just use the
|
||||
Microsoft compiler. You also need GNU make to build the software (on
|
||||
Windows, you will need for example the Cygwin environment setup).
|
||||
|
||||
You can customize your MCS configuration by using:
|
||||
|
||||
./configure [--prefix=PREFIX] [--profile=PROFILE]
|
||||
|
||||
If you do not run the above, the defaults are /usr/local for the
|
||||
prefix, and `default' for the profile.
|
||||
|
||||
To build the compiler and class libraries, run:
|
||||
|
||||
make
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/.
|
||||
|
||||
To install them, run the following:
|
||||
|
||||
make install
|
||||
|
||||
If you get "corlib out of sync" errors, try
|
||||
|
||||
make PROFILE="atomic"
|
||||
|
||||
A better alternative would be to fire off a 'make' from a sibling or
|
||||
parent 'mono/' tree.
|
||||
|
||||
Troubleshooting
|
||||
===============
|
||||
|
||||
We try to maintain the CVS tree such that it is bootstrapable from the
|
||||
latest released version of mono and mcs. Occasionally, something in the
|
||||
compiler or runtime changes enough that an existing installation cannot
|
||||
complete a bootstrap from cvs. In this case, go to
|
||||
http://go-mono.com/daily and download a monocharge or monolite tarball.
|
||||
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
|
||||
Then you should be able to complete the build normally (i.e. using make
|
||||
bootstrap).
|
||||
|
||||
wget http://go-mono.com/daily/monolite-20040505.tar.gz
|
||||
tar -zxvf monolite-20040505.tar.gz
|
||||
cd monolite-20040505
|
||||
env prefix=/usr/local sh recharge.sh
|
||||
|
||||
Monocharges
|
||||
===========
|
||||
|
||||
If you are tracking Mono's development, you may sometimes need to share
|
||||
the compiled libraries with others, you can do:
|
||||
|
||||
make monocharge
|
||||
|
||||
Or a light version, which contains only the essential libraries and
|
||||
results in a much smaller file:
|
||||
|
||||
make monocharge-lite
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
@@ -110,48 +44,15 @@ place your configuration options in build/config.make
|
||||
A list of variables that control the build are listed in the file
|
||||
build/config-default.make.
|
||||
|
||||
Build profiles? What?
|
||||
======================
|
||||
|
||||
Don't worry about them too much. If you're wondering which to use:
|
||||
use the default if you can (that's why it's the default!) and use
|
||||
the atomic if you have to.
|
||||
|
||||
The default profile uses the C# compiler and class libaries as they
|
||||
are built. This lets you build MCS without needing to have already
|
||||
installed it, but can fail if the libraries change significantly.
|
||||
(This is the source of the dreaded "corlib out of sync" warning, most
|
||||
of the time.)
|
||||
|
||||
The atomic profile tries to use the system compiler and preexisting
|
||||
MCS libraries. New libaries are built against this constant reference
|
||||
point, so if a newly built library has a binary incompatibility, the
|
||||
rest of your build can proceed.
|
||||
|
||||
If you want to always use the atomic profile, run this command:
|
||||
|
||||
./configure --profile=atomic
|
||||
|
||||
More About the Build System
|
||||
===========================
|
||||
|
||||
More information is found in build/README.*. Here's a quick rundown
|
||||
of the features:
|
||||
|
||||
* Unified build system for Windows and Linux. Windows is still
|
||||
fairly untested, but "should work." Unfortunately I don't
|
||||
have a Windows machine to test on, but Gonzalo can get
|
||||
corlib to build I think and that's about as complicated as
|
||||
it gets.
|
||||
|
||||
* Profile support. 'make PROFILE=profilename' or 'export
|
||||
PROFILE=profilename ; make' will work. Profiles are defined
|
||||
in build/profiles/profilename.make ; right now there isn't
|
||||
too much going on. The 'bootstrap' profile will build the
|
||||
way makefile.gnu did on Linux, by setting MONO_PATH and
|
||||
using mcs/mcs.exe; the default profile will build against
|
||||
the existing system libraries and compile with 'mcs', which
|
||||
should reduce a lot of 'corlib out of sync' warnings.
|
||||
in build/profiles/profilename.make ;
|
||||
|
||||
* Important variables are shared among makefiles now; you can
|
||||
edit build/config.make (see build/config-default.make for a
|
||||
@@ -164,16 +65,11 @@ of the features:
|
||||
|
||||
* Test libraries now live in class/Library/Library_test.dll,
|
||||
not class/Library/Test. 'make test' will build the test DLL,
|
||||
'make run-test' will actually run the nunit tests. Set the
|
||||
variable TEST_HARNESS to run with a program other than
|
||||
nunit-console (for example, nunit-gtk).
|
||||
'make run-test' will actually run the nunit tests.
|
||||
|
||||
* Standardized recursive targets: all, clean, install, test,
|
||||
run-test. Read build/README.makefiles for definitions of
|
||||
what they should do
|
||||
|
||||
* (Relatively) sane 'make dist' target; 'make distcheck'
|
||||
support; cute 'make monocharge' and 'make monocharge-lite'
|
||||
targets. They're made possible because 'make install' now
|
||||
supports DESTDIR a la automake, which I'm sure someone cares
|
||||
about.
|
||||
support;
|
||||
+33
-21
@@ -23,6 +23,7 @@ xbuild_12_SUBDIRS := build class tools/xbuild
|
||||
xbuild_14_SUBDIRS := build class tools/xbuild
|
||||
winaot_SUBDIRS := build class
|
||||
orbis_SUBDIRS := build class
|
||||
unreal_SUBDIRS := build class
|
||||
|
||||
include build/rules.make
|
||||
|
||||
@@ -77,6 +78,7 @@ $(_boot_:%=profile-do--testing_aot_hybrid--%): profile-do--testing_aot_hy
|
||||
$(_boot_:%=profile-do--testing_aot_full--%): profile-do--testing_aot_full--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--winaot--%): profile-do--winaot--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--orbis--%): profile-do--orbis--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--unreal--%): profile-do--unreal--%: profile-do--build--%
|
||||
$(_boot_:%=profile-do--build--%): profile-do--build--%: profile-do--basic--%
|
||||
|
||||
testcorlib:
|
||||
@@ -95,8 +97,7 @@ DISTFILES = \
|
||||
mkinstalldirs \
|
||||
MonoIcon.png \
|
||||
README \
|
||||
ScalableMonoIcon.svg \
|
||||
winexe.in
|
||||
ScalableMonoIcon.svg
|
||||
|
||||
dist-local: dist-default
|
||||
|
||||
@@ -138,24 +139,35 @@ distcheck: dist-tarball
|
||||
rm -f before.list after.list distdist.list ; \
|
||||
rm -rf $(package) InstallTest
|
||||
|
||||
monocharge:
|
||||
chargedir=monocharge-`date -u +%Y%m%d` ; \
|
||||
mkdir "$$chargedir" ; \
|
||||
DESTDIR=`cd "$$chargedir" && pwd` ; \
|
||||
$(MAKE) install DESTDIR="$$DESTDIR" || exit 1 ; \
|
||||
tar cvjf "$$chargedir".tar.bz2 "$$chargedir" ; \
|
||||
rm -rf "$$chargedir"
|
||||
# Targets for creating API diffs of the framework
|
||||
|
||||
# A bare-bones monocharge.
|
||||
MONO_API_SNAPSHOT_PATH := $(topdir)../external/api-snapshot/
|
||||
GENAPI := $(MONO_API_SNAPSHOT_PATH)tools/genapi/GenAPI.exe
|
||||
MONO_API_SNAPSHOT_PROFILE_PATH := $(MONO_API_SNAPSHOT_PATH)profiles/$(PROFILE)/
|
||||
MONO_API_ASSEMBLIES_IGNORED := $(addprefix $(topdir)class/lib/$(PROFILE)/, Mono.CSharp.dll SystemWebTestShim.dll standalone-runner-support.dll nunit.core.dll nunit.core.extensions.dll nunit.core.interfaces.dll nunit.framework.dll nunit.framework.extensions.dll nunit.mocks.dll nunit.util.dll nunit-console-runner.dll nunitlite.dll Mono.Profiler.Log.dll)
|
||||
MONO_API_ASSEMBLIES := $(filter-out $(MONO_API_ASSEMBLIES_IGNORED), $(wildcard $(topdir)class/lib/$(PROFILE)/*.dll)) $(wildcard $(topdir)class/lib/$(PROFILE)/Facades/*.dll)
|
||||
MONO_API_ASSEMBLIES_CS := $(MONO_API_ASSEMBLIES:$(topdir)class/lib/$(PROFILE)/%.dll=$(MONO_API_SNAPSHOT_PROFILE_PATH)%.cs)
|
||||
|
||||
monocharge-lite:
|
||||
chargedir=monocharge-lite-`date -u +%Y%m%d` ; \
|
||||
mkdir "$$chargedir" ; \
|
||||
DESTDIR=`cd "$$chargedir" && pwd` ; \
|
||||
$(MAKE) -C mcs install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/corlib install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/System install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/System.XML install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
$(MAKE) -C class/Mono.CSharp.Debugger install DESTDIR="$$DESTDIR" || exit 1; \
|
||||
tar cvjf "$$chargedir".tar.bz2 "$$chargedir" ; \
|
||||
rm -rf "$$chargedir"
|
||||
$(MONO_API_SNAPSHOT_PROFILE_PATH)%.cs: $(topdir)class/lib/$(PROFILE)/%.dll $(GENAPI) $(MONO_API_SNAPSHOT_PATH)profiles/license-header.txt
|
||||
@mkdir -p $(dir $@)
|
||||
$(Q) MONO_PATH=$(topdir)class/lib/$(BUILD_TOOLS_PROFILE) $(RUNTIME) $(GENAPI) -libPath:$(topdir)class/lib/$(PROFILE),$(topdir)class/lib/$(PROFILE)/Facades -out:$(dir $@) -headerFile:$(MONO_API_SNAPSHOT_PATH)profiles/license-header.txt -assemblyAttributes -typeForwardedTo -assemblyVersion -assembly:$< || echo "Couldn't process assembly." > $@
|
||||
|
||||
mono-api-current: $(MONO_API_ASSEMBLIES_CS)
|
||||
|
||||
mono-api-current-clean:
|
||||
$(Q) rm -rf "$(MONO_API_SNAPSHOT_PROFILE_PATH)"
|
||||
|
||||
mono-api-diff:
|
||||
@echo "Regenerating API snapshot..."
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=net_4_x
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=monotouch
|
||||
$(Q) $(MAKE) mono-api-current-clean PROFILE=monodroid
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=net_4_x
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=monotouch
|
||||
$(Q) $(MAKE) mono-api-current PROFILE=monodroid
|
||||
@echo "Checking public API differences..."
|
||||
$(Q) cd $(MONO_API_SNAPSHOT_PATH); git add -A .
|
||||
$(Q) cd $(MONO_API_SNAPSHOT_PATH); git diff --no-renames HEAD > $(abspath $(topdir))/temp.patch
|
||||
@mkdir -p apidiff
|
||||
$(Q) sed -e "/@diffdata@/r temp.patch" -e "/@diffdata@/d" -e "s/@title@/Public API Diff/g" -e "s/@description@/If the changes are intentional, run <code>make -C mcs mono-api-diff<\/code> locally and commit changes in external\/api-snapshot./g" diff.html.in > apidiff/index.html
|
||||
$(Q) if [ -s temp.patch ]; then echo "Error: Found public API differences, see mcs/apidiff/index.html. If the changes are intentional, please go to external/api-snapshot and commit them."; rm -f temp.patch; exit 1; else echo "No differences found."; rm -f temp.patch; fi
|
||||
+20
-19
@@ -19,31 +19,34 @@ package module which drives the compilation of this directory.
|
||||
class/
|
||||
The class libraries.
|
||||
|
||||
docs/
|
||||
Some notes on the compiler and the class libraries.
|
||||
|
||||
errors/
|
||||
Sample programs that should generate errors by the C# compiler.
|
||||
|
||||
ilasm/
|
||||
The IL assembler.
|
||||
|
||||
jay/
|
||||
Yacc-based parser generator.
|
||||
|
||||
mcs/
|
||||
The Mono C# compiler
|
||||
|
||||
nunit24/
|
||||
An old copy of the NUnit 2.4 library that we ship for historical reasons.
|
||||
|
||||
packages/
|
||||
Integrates some packages from NuGet (like Roslyn) into the build system.
|
||||
|
||||
tests/
|
||||
Regression test suite for the C# compiler
|
||||
|
||||
docs/
|
||||
Some notes on the compiler and the class libraries.
|
||||
|
||||
nant/
|
||||
A copy of nant source code, used during the build process
|
||||
on Windows.
|
||||
|
||||
tools/
|
||||
Various small development tools: CorCompare used to compare
|
||||
two assemblies for differences in the API; TypeReflector is
|
||||
a tool used to introspect types from assemblies from the
|
||||
command line; MonoStyle helps you keep your code indendented
|
||||
with the Mono programming style.
|
||||
two assemblies for differences in the API; csharp is a C# REPL;
|
||||
cil-strip trims IL from assemblies.
|
||||
|
||||
* Building Individual Directories
|
||||
=================================
|
||||
@@ -51,14 +54,14 @@ package module which drives the compilation of this directory.
|
||||
You can build individual components in the hierarchy by running the command
|
||||
"make", and to install it use "make install".
|
||||
|
||||
By default, the 2.x profile is built, if you want to build the net 1.1 profile,
|
||||
By default, the 4.x profile is built, if you want to build other profiles,
|
||||
use the following command:
|
||||
|
||||
make PROFILE=net_1_1
|
||||
make PROFILE=<profilename>
|
||||
|
||||
And to install:
|
||||
|
||||
make PROFILE=net_1_1 install
|
||||
make PROFILE=<profilename> install
|
||||
|
||||
To turn on verbose mode in the build (for example to diagnose a
|
||||
problem), you can use the V=1 flag, like this:
|
||||
@@ -68,16 +71,14 @@ problem), you can use the V=1 flag, like this:
|
||||
* Running Unit tests
|
||||
====================
|
||||
|
||||
You can run unit tests in individual components by running the command
|
||||
"make run-test". If you want to run tests for a different profile (say
|
||||
'net_1_1')
|
||||
You can run unit tests in individual components by running the command:
|
||||
|
||||
make run-test PROFILE=net_1_1
|
||||
make run-test
|
||||
|
||||
If you want to only run the tests in a single fixture (say
|
||||
'MonoTests.System.TypeTest'), you can use
|
||||
|
||||
make run-test TEST_HARNESS_FLAGS=/fixture:MonoTests.System.TypeTest
|
||||
make run-test TEST_FIXTURE=System.TypeTest
|
||||
|
||||
* Acknowledgements
|
||||
==================
|
||||
|
||||
+2
-1
@@ -12,7 +12,8 @@ clean-local:
|
||||
|
||||
common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
|
||||
test -n '$(MONO_VERSION)'
|
||||
sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' $< > $@
|
||||
test -n '$(MONO_CORLIB_VERSION)'
|
||||
sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' -e 's,@''MONO_CORLIB_VERSION@,$(MONO_CORLIB_VERSION),' $< > $@
|
||||
|
||||
PLATFORMS = darwin linux win32
|
||||
PROFILES = \
|
||||
|
||||
@@ -6,12 +6,12 @@ Peter Williams <[email protected]>
|
||||
It's pretty easy. You can create two files in this directory to tweak
|
||||
settings: pre-config.make and config.make.
|
||||
|
||||
pre-config.make is included before $(PLATFORM).make and
|
||||
pre-config.make is included before $(BUILD_PLATFORM).make and
|
||||
$(PROFILE).make, so you can set either of these variables if you want
|
||||
to change the default.
|
||||
|
||||
Just about any other change should go in config.make, which is
|
||||
included after $(PLATFORM).make and $(PROFILE).make, so you can use
|
||||
included after $(BUILD_PLATFORM).make and $(PROFILE).make, so you can use
|
||||
the values defined in those files if you wish. For example,
|
||||
|
||||
MCS_FLAGS = $(DEFAULT_MCS_FLAGS) /my-experimental-optimizer-flag
|
||||
|
||||
@@ -119,8 +119,8 @@ Configuration variables are given defaults in `config-default.make';
|
||||
`rules.make' optionally includes `$(topdir)/build/config.make', so you
|
||||
can customize your build without CVS trying to commit your modified
|
||||
`config-default.make' all the time. Platform-specific variables are
|
||||
defined in `$(topdir)/build/platforms/$(PLATFORM).make', where
|
||||
$(PLATFORM) is detected in config-default.make. (Currently, the only
|
||||
defined in `$(topdir)/build/platforms/$(BUILD_PLATFORM).make', where
|
||||
$(BUILD_PLATFORM) is detected in config-default.make. (Currently, the only
|
||||
choices are linux.make and win32.make.)
|
||||
|
||||
The best way to learn what the configuration variables are is to read
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
|
||||
<Target Name="Build">
|
||||
<Copy SourceFiles="common\Consts.cs.in" DestinationFiles="common\Consts.cs"/>
|
||||
<MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="@MONO_VERSION@" Replacement="2.7.0.0" Files="common\Consts.cs"/>
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -38,6 +38,7 @@ static class Consts
|
||||
public const string MonoCompany = "Mono development team";
|
||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||
public const string MonoCopyright = "(c) Various Mono authors";
|
||||
public const int MonoCorlibVersion = @MONO_CORLIB_VERSION@;
|
||||
|
||||
#if MOBILE
|
||||
// Versions of .NET Framework for Silverlight 4.0
|
||||
|
||||
@@ -40,7 +40,14 @@ class X {
|
||||
if (!Version.TryParse (field.GetValue (null) as string, out version))
|
||||
return 4;
|
||||
|
||||
if (version < new Version (4, 9))
|
||||
Version min_mono_version;
|
||||
#if __MonoCS__
|
||||
min_mono_version = new Version (5, 5);
|
||||
#else
|
||||
min_mono_version = new Version (4, 9);
|
||||
#endif
|
||||
|
||||
if (version < min_mono_version)
|
||||
return 5;
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
CODEPAGE = 65001
|
||||
|
||||
RUNTIME_FLAGS =
|
||||
TEST_HARNESS = $(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)nunit-lite-console.exe
|
||||
TEST_HARNESS = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/$(PARENT_PROFILE)nunit-lite-console.exe
|
||||
PLATFORM_DEBUG_FLAGS = /debug:portable
|
||||
MCS_FLAGS =
|
||||
MBAS_FLAGS = -debug
|
||||
@@ -24,7 +24,7 @@ mono_libdir = $(exec_prefix)/lib
|
||||
sysconfdir = $(prefix)/etc
|
||||
#RUNTIME = mono
|
||||
RUNTIME = false
|
||||
TEST_RUNTIME = MONO_PATH="./$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) --debug
|
||||
TEST_RUNTIME = MONO_PATH="./$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(PROFILE_DIRECTORY)$(PLATFORM_PATH_SEPARATOR)$(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) --debug
|
||||
|
||||
# In case you want to add MCS_FLAGS, this lets you not have to
|
||||
# keep track of the default value
|
||||
|
||||
@@ -19,7 +19,7 @@ executable_CLEAN_FILES += $(response)
|
||||
endif
|
||||
|
||||
ifndef the_libdir
|
||||
the_libdir = $(topdir)/class/lib/$(PROFILE)/
|
||||
the_libdir = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/
|
||||
ifdef PROGRAM_USE_INTERMEDIATE_FILE
|
||||
build_libdir = $(the_libdir)tmp/
|
||||
else
|
||||
@@ -42,8 +42,12 @@ executable_CLEAN_FILES += $(build_lib) $(build_lib).so $(build_lib).mdb $(build_
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE)_$(base_prog).makefrag
|
||||
|
||||
MCS_REFERENCES = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(LIB_REFS))
|
||||
MCS_REFERENCES += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.exe,$(EXE_REFS))
|
||||
MCS_REFERENCES = $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.dll,$(LIB_REFS))
|
||||
MCS_REFERENCES += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.exe,$(EXE_REFS))
|
||||
|
||||
ifdef KEYFILE
|
||||
LIB_MCS_FLAGS += /keyfile:$(KEYFILE)
|
||||
endif
|
||||
|
||||
ifndef NO_BUILD
|
||||
all-local: $(the_lib) $(PROGRAM_config)
|
||||
@@ -117,7 +121,12 @@ ifndef PROGRAM_COMPILE
|
||||
PROGRAM_COMPILE = $(CSCOMPILE)
|
||||
endif
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp
|
||||
$(the_lib): $(the_libdir)/.stamp $(if $(PROFILE_PLATFORM),$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(topdir)/class/lib/$(PROFILE)/.stamp))
|
||||
|
||||
ifdef PROFILE_PLATFORM
|
||||
$(topdir)/class/lib/$(PROFILE)/.stamp: | $(topdir)/class/lib/$(PROFILE)-$(HOST_PLATFORM)/.stamp
|
||||
$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(if $(filter $(BUILD_PLATFORM),win32),CYGWIN=winsymlinks:nativestrict) ln -s $(abspath $(topdir)/class/lib/$(PROFILE)-$(BUILD_PLATFORM)) $(abspath $(topdir)/class/lib/$(PROFILE)))
|
||||
endif
|
||||
|
||||
$(build_lib): $(BUILT_SOURCES) $(EXTRA_SOURCES) $(response) $(build_libdir:=/.stamp)
|
||||
$(PROGRAM_COMPILE) $(MCS_REFERENCES) -target:exe -out:$@ $(BUILT_SOURCES) $(EXTRA_SOURCES) @$(response)
|
||||
|
||||
@@ -29,6 +29,17 @@ process_includes() {
|
||||
rm -f $t
|
||||
}
|
||||
|
||||
check_newline_eof() {
|
||||
file=$1
|
||||
if ! test -f "$file"; then return; fi
|
||||
if ! test -z "$(tail -c 1 "$file")"; then echo "$file: missing newline at end of file."; exit 1; fi
|
||||
}
|
||||
|
||||
check_newline_eof $incfile
|
||||
check_newline_eof $excfile
|
||||
check_newline_eof $extfile
|
||||
check_newline_eof $extexcfile
|
||||
|
||||
rm -f $outfile.makefrag
|
||||
|
||||
process_includes $incfile $outfile.inc
|
||||
|
||||
+65
-79
@@ -23,36 +23,11 @@ _FILTER_OUT = $(foreach x,$(2),$(if $(findstring $(1),$(x)),,$(x)))
|
||||
LIB_REFS_FULL = $(call _FILTER_OUT,=, $(LIB_REFS))
|
||||
LIB_REFS_ALIAS = $(filter-out $(LIB_REFS_FULL),$(LIB_REFS))
|
||||
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE)/%.dll,$(LIB_REFS_FULL))
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:%.dll, $(subst =,=$(topdir)/class/lib/$(PROFILE)/,$(LIB_REFS_ALIAS)))
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:$(topdir)/class/lib/$(PROFILE_DIRECTORY)/%.dll,$(LIB_REFS_FULL))
|
||||
LIB_MCS_FLAGS += $(patsubst %,-r:%.dll, $(subst =,=$(topdir)/class/lib/$(PROFILE_DIRECTORY)/,$(LIB_REFS_ALIAS)))
|
||||
|
||||
sourcefile = $(LIBRARY).sources
|
||||
|
||||
# If the directory contains the per profile include file, generate list file.
|
||||
PROFILE_sources := $(wildcard $(PROFILE)_$(LIBRARY).sources)
|
||||
ifdef PROFILE_sources
|
||||
PROFILE_excludes = $(wildcard $(PROFILE)_$(LIBRARY).exclude.sources)
|
||||
sourcefile = $(depsdir)/$(PROFILE)_$(LIBRARY).sources
|
||||
library_CLEAN_FILES += $(sourcefile)
|
||||
|
||||
# Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's
|
||||
# We don't include it in the dependencies since it isn't always created
|
||||
$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh
|
||||
@echo Creating the per profile list $@ ...
|
||||
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)'
|
||||
endif
|
||||
|
||||
PLATFORM_excludes := $(wildcard $(LIBRARY).$(PLATFORM)-excludes)
|
||||
|
||||
ifndef PLATFORM_excludes
|
||||
ifeq (cat,$(PLATFORM_CHANGE_SEPARATOR_CMD))
|
||||
response = $(sourcefile)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef response
|
||||
response = $(depsdir)/$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).response
|
||||
library_CLEAN_FILES += $(response)
|
||||
ifdef KEYFILE
|
||||
KEYFILE_MCS_FLAGS += /keyfile:$(KEYFILE)
|
||||
endif
|
||||
|
||||
ifndef LIBRARY_NAME
|
||||
@@ -65,11 +40,7 @@ else
|
||||
lib_dir = lib
|
||||
endif
|
||||
|
||||
ifdef LIBRARY_SUBDIR
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE)/$(LIBRARY_SUBDIR)/
|
||||
else
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE)/
|
||||
endif
|
||||
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE_DIRECTORY)/$(if $(LIBRARY_SUBDIR),$(LIBRARY_SUBDIR)/)
|
||||
|
||||
ifdef RESOURCE_STRINGS
|
||||
ifneq (basic, $(PROFILE))
|
||||
@@ -110,7 +81,7 @@ SN = MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARA
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), win32)
|
||||
ifeq ($(BUILD_PLATFORM), win32)
|
||||
GACDIR = `cygpath -w $(mono_libdir)`
|
||||
GACROOT = `cygpath -w $(DESTDIR)$(mono_libdir)`
|
||||
test_flags += -d:WINDOWS
|
||||
@@ -134,10 +105,10 @@ csproj-local: csproj-library csproj-test
|
||||
intermediate_clean=$(subst /,-,$(intermediate))
|
||||
csproj-library:
|
||||
config_file=`basename $(LIBRARY) .dll`-$(intermediate_clean)$(PROFILE).input; \
|
||||
case "$(thisdir)" in *"Facades"*) config_file=Facades_$$config_file;; esac; \
|
||||
case "$(thisdir)" in *"Facades"*) config_file=Facades_$$config_file;; *"legacy"*) config_file=legacy_$$config_file;; esac; \
|
||||
echo $(thisdir):$$config_file >> $(topdir)/../msvc/scripts/order; \
|
||||
(echo $(is_boot); \
|
||||
echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \
|
||||
echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) $(KEYFILE_MCS_FLAGS); \
|
||||
echo $(LIBRARY_NAME); \
|
||||
echo $(BUILT_SOURCES_cmdline); \
|
||||
echo $(build_lib); \
|
||||
@@ -266,7 +237,7 @@ endif
|
||||
# make dist will collect files in .sources files from all profiles
|
||||
dist-local: dist-default
|
||||
subs=' ' ; \
|
||||
for f in `$(topdir)/tools/removecomments.sh $(filter-out $(wildcard *_test.dll.sources) $(wildcard *exclude.sources),$(wildcard *.sources))` $(TEST_FILES) ; do \
|
||||
for f in `$(topdir)/tools/removecomments.sh $(filter-out $(wildcard *_test.dll.sources) $(wildcard *_xtest.dll.sources) $(wildcard *exclude.sources),$(wildcard *.sources))` $(TEST_FILES) ; do \
|
||||
case $$f in \
|
||||
../*) : ;; \
|
||||
*.g.cs) : ;; \
|
||||
@@ -296,10 +267,52 @@ endif
|
||||
|
||||
# The library
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp
|
||||
# If the directory contains the per profile include file, generate list file.
|
||||
PROFILE_sources := $(firstword $(if $(PROFILE_PLATFORM),$(wildcard $(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY).sources)) $(wildcard $(PROFILE)_$(LIBRARY).sources) $(wildcard $(LIBRARY).sources))
|
||||
PROFILE_excludes = $(firstword $(if $(PROFILE_PLATFORM),$(wildcard $(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY).exclude.sources)) $(wildcard $(PROFILE)_$(LIBRARY).exclude.sources))
|
||||
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir:=/.stamp) $(GEN_RESOURCE_DEPS)
|
||||
$(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) $(GEN_RESOURCE_FLAGS) -target:library -out:$@ $(BUILT_SOURCES_cmdline) @$(response)
|
||||
# Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's
|
||||
# We don't include it in the dependencies since it isn't always created
|
||||
sourcefile = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).sources
|
||||
$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh $(depsdir)/.stamp
|
||||
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)'
|
||||
|
||||
library_CLEAN_FILES += $(sourcefile)
|
||||
|
||||
response = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).response
|
||||
$(response): $(sourcefile) $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
$(PLATFORM_CHANGE_SEPARATOR_CMD) <$(sourcefile) >$@
|
||||
|
||||
library_CLEAN_FILES += $(response)
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE_PLATFORM)_$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).makefrag
|
||||
$(makefrag): $(sourcefile) $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
# @echo Creating $@ ...
|
||||
@sed 's,^,$(build_lib): ,' $< >$@
|
||||
@if test ! -f $(sourcefile).makefrag; then :; else \
|
||||
cat $(sourcefile).makefrag >> $@ ; \
|
||||
echo '$@: $(sourcefile).makefrag' >> $@; \
|
||||
echo '$(sourcefile).makefrag:' >> $@; fi
|
||||
|
||||
library_CLEAN_FILES += $(makefrag)
|
||||
|
||||
ifndef NO_BUILD
|
||||
all-local: $(makefrag)
|
||||
endif
|
||||
|
||||
-include $(makefrag)
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp $(if $(PROFILE_PLATFORM),$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(topdir)/class/$(lib_dir)/$(PROFILE)/.stamp))
|
||||
|
||||
ifdef PROFILE_PLATFORM
|
||||
$(topdir)/class/$(lib_dir)/$(PROFILE)/.stamp: | $(topdir)/class/$(lib_dir)/$(PROFILE)-$(HOST_PLATFORM)/.stamp
|
||||
$(if $(filter $(HOST_PLATFORM),$(BUILD_PLATFORM)),$(if $(filter $(BUILD_PLATFORM),win32),CYGWIN=winsymlinks:nativestrict) ln -s $(abspath $(topdir)/class/$(lib_dir)/$(PROFILE)-$(BUILD_PLATFORM)) $(abspath $(topdir)/class/$(lib_dir)/$(PROFILE)))
|
||||
endif
|
||||
|
||||
ifndef NO_BUILD
|
||||
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir)/.stamp $(GEN_RESOURCE_DEPS)
|
||||
$(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) $(KEYFILE_MCS_FLAGS) $(GEN_RESOURCE_FLAGS) -target:library -out:$@ $(BUILT_SOURCES_cmdline) @$(response)
|
||||
ifdef RESOURCE_STRINGS_FILES
|
||||
$(Q) $(STRING_REPLACER) $(RESOURCE_STRINGS_FILES) $@
|
||||
endif
|
||||
@@ -313,7 +326,9 @@ $(the_lib): $(build_lib)
|
||||
$(Q) test ! -f $(build_lib:.dll=.pdb) || mv $(build_lib:.dll=.pdb) $(the_lib:.dll=.pdb)
|
||||
endif
|
||||
|
||||
library_CLEAN_FILES += $(PROFILE)_aot.log
|
||||
endif
|
||||
|
||||
library_CLEAN_FILES += $(PROFILE)_$(LIBRARY_NAME)_aot.log
|
||||
|
||||
ifdef PLATFORM_AOT_SUFFIX
|
||||
$(the_lib)$(PLATFORM_AOT_SUFFIX): $(the_lib)
|
||||
@@ -322,58 +337,29 @@ $(the_lib)$(PLATFORM_AOT_SUFFIX): $(the_lib)
|
||||
all-local-aot: $(the_lib)$(PLATFORM_AOT_SUFFIX)
|
||||
endif
|
||||
|
||||
|
||||
makefrag = $(depsdir)/$(PROFILE)_$(LIBRARY_SUBDIR)_$(LIBRARY).makefrag
|
||||
library_CLEAN_FILES += $(makefrag)
|
||||
$(makefrag): $(sourcefile)
|
||||
# @echo Creating $@ ...
|
||||
@sed 's,^,$(build_lib): ,' $< >$@
|
||||
@if test ! -f $(sourcefile).makefrag; then :; else \
|
||||
cat $(sourcefile).makefrag >> $@ ; \
|
||||
echo '$@: $(sourcefile).makefrag' >> $@; \
|
||||
echo '$(sourcefile).makefrag:' >> $@; fi
|
||||
|
||||
ifneq ($(response),$(sourcefile))
|
||||
|
||||
ifdef PLATFORM_excludes
|
||||
$(response): $(sourcefile) $(PLATFORM_excludes)
|
||||
@echo Filtering $(sourcefile) to $@ ...
|
||||
@sort $(sourcefile) $(PLATFORM_excludes) | uniq -u | $(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
|
||||
else
|
||||
$(response): $(sourcefile)
|
||||
@echo Converting $(sourcefile) to $@ ...
|
||||
@cat $(sourcefile) | $(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
-include $(makefrag)
|
||||
|
||||
# for now, don't give any /lib flags or set MONO_PATH, since we
|
||||
# give a full path to the assembly.
|
||||
|
||||
## Include corcompare stuff
|
||||
include $(topdir)/build/corcompare.make
|
||||
|
||||
all-local: $(makefrag) $(test_makefrag) $(btest_makefrag)
|
||||
ifneq ($(response),$(sourcefile))
|
||||
$(response): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
ifndef NO_BUILD
|
||||
all-local: $(test_makefrag) $(btest_makefrag)
|
||||
endif
|
||||
$(makefrag) $(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
|
||||
$(test_response) $(test_makefrag) $(btest_response) $(btest_makefrag): $(topdir)/build/library.make $(depsdir)/.stamp
|
||||
|
||||
## Documentation stuff
|
||||
|
||||
Q_MDOC_UP=$(if $(V),,@echo "MDOC-UP [$(PROFILE)] $(notdir $(@))";)
|
||||
MDOC_UP =$(Q_MDOC_UP) \
|
||||
MONO_PATH="$(topdir)/class/lib/$(DEFAULT_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(topdir)/class/lib/$(DEFAULT_PROFILE)/mdoc.exe \
|
||||
update --delete -o Documentation/en $(the_lib)
|
||||
|
||||
doc-update-local: $(the_libdir)/.doc-stamp
|
||||
|
||||
$(the_libdir)/.doc-stamp: $(the_lib)
|
||||
$(MDOC_UP)
|
||||
$(MDOC_UP) $(the_lib)
|
||||
@echo "doc-stamp" > $@
|
||||
|
||||
# Need to be here so it comes after the definition of DEP_DIRS/DEP_LIBS
|
||||
gen-deps:
|
||||
@echo "$(DEPS_TARGET_DIR): $(DEP_DIRS) $(DEP_LIBS)" >> $(DEPS_FILE)
|
||||
|
||||
update-corefx-sr: $(RESX_RESOURCE_STRING)
|
||||
MONO_PATH="$(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/resx2sr.exe $(RESX_RESOURCE_STRING) >corefx/SR.cs
|
||||
Loaded 100 of 6856 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user