Compare commits
821 Commits
mesa-8.0.3
...
mesa-7.1-r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8dde163dc | ||
|
|
868d0accef | ||
|
|
64e57ed257 | ||
|
|
dabd09f5a9 | ||
|
|
46ffb3c0b1 | ||
|
|
4b9b01f0a5 | ||
|
|
0261355a03 | ||
|
|
beb8547c71 | ||
|
|
4aa518a2d7 | ||
|
|
08af66d57e | ||
|
|
38eb154b39 | ||
|
|
2954e4c3d7 | ||
|
|
213803b4d4 | ||
|
|
2380f8bd93 | ||
|
|
e846ebc1a1 | ||
|
|
6dedd60350 | ||
|
|
063a487fe1 | ||
|
|
99a35fd4e1 | ||
|
|
cbaac82c2c | ||
|
|
9d72de1fb2 | ||
|
|
053bf7f5db | ||
|
|
e6a5e6512f | ||
|
|
bc32cd7fc8 | ||
|
|
24fde3cf34 | ||
|
|
7ceaa0916a | ||
|
|
4c958fbfb4 | ||
|
|
9795ef4348 | ||
|
|
768d8e0563 | ||
|
|
374be37dd9 | ||
|
|
2b831e73f5 | ||
|
|
6ec170290c | ||
|
|
7c8ea0899a | ||
|
|
f81070dbd5 | ||
|
|
955c2ef48f | ||
|
|
2ac4919d24 | ||
|
|
3ed89025f3 | ||
|
|
5b42bbce70 | ||
|
|
d2e0a11aab | ||
|
|
5033e5b36d | ||
|
|
6a6a9c1c5a | ||
|
|
3d6aa2e06f | ||
|
|
03970183fc | ||
|
|
47d046c93f | ||
|
|
718724deeb | ||
|
|
85c325c36c | ||
|
|
7e6d99f5ec | ||
|
|
6ce6dc961b | ||
|
|
186883611e | ||
|
|
48b3c59cb9 | ||
|
|
04b9d5bc23 | ||
|
|
91707e9020 | ||
|
|
82a0e82232 | ||
|
|
fe4264bf45 | ||
|
|
2fa795a213 | ||
|
|
e32aaf5da8 | ||
|
|
03447de338 | ||
|
|
ee5f4a4caf | ||
|
|
c04f3933ab | ||
|
|
8f328c45e5 | ||
|
|
9676f0cffc | ||
|
|
2d0ca23319 | ||
|
|
6f4c8b5b50 | ||
|
|
f8bd9cc30f | ||
|
|
d9f9b1cd0b | ||
|
|
eca283976b | ||
|
|
2176259ca6 | ||
|
|
8fe6fcb900 | ||
|
|
76d6edcc38 | ||
|
|
98d6c671f5 | ||
|
|
f652811df4 | ||
|
|
e279f4601d | ||
|
|
87a30337a1 | ||
|
|
9c2047b275 | ||
|
|
1dcb0433a3 | ||
|
|
5ff27e02b3 | ||
|
|
4beee58e57 | ||
|
|
1f9de20719 | ||
|
|
d05a8d9750 | ||
|
|
db5f206c00 | ||
|
|
9dface8347 | ||
|
|
32f4940883 | ||
|
|
a7969a9b93 | ||
|
|
ad88130df5 | ||
|
|
d1e71bc08b | ||
|
|
fa58fe247c | ||
|
|
4b71478326 | ||
|
|
0989471fdb | ||
|
|
696140bd1d | ||
|
|
380d15b7fe | ||
|
|
41261d64b2 | ||
|
|
ce7a9efb09 | ||
|
|
8a38ebe328 | ||
|
|
dcc6671b85 | ||
|
|
b53b7581e4 | ||
|
|
64a4a03c2a | ||
|
|
b878c3f518 | ||
|
|
6164163ca8 | ||
|
|
e92a53cd92 | ||
|
|
2467af98b1 | ||
|
|
6f851d8875 | ||
|
|
9b99bf89c4 | ||
|
|
7346fca083 | ||
|
|
7facbb69c6 | ||
|
|
f59267d650 | ||
|
|
71cb014195 | ||
|
|
6c0f8db9c2 | ||
|
|
49f1e2fc4c | ||
|
|
2d26e19535 | ||
|
|
5b0c6cd49a | ||
|
|
c3ee8e46cc | ||
|
|
46aac24261 | ||
|
|
e1032ce718 | ||
|
|
ce636f36f2 | ||
|
|
93f2eec6b3 | ||
|
|
46ef09d787 | ||
|
|
7487ec0ff0 | ||
|
|
a25549866f | ||
|
|
558cc6e38f | ||
|
|
feb1fa1e83 | ||
|
|
f32462343d | ||
|
|
08ef1b379a | ||
|
|
1e79831b56 | ||
|
|
7a29164f70 | ||
|
|
f2533e787e | ||
|
|
b2ccd5c1ae | ||
|
|
6f63543dd7 | ||
|
|
c966f1629b | ||
|
|
709f24adbb | ||
|
|
52fe7ea3d1 | ||
|
|
44f6a6f9c4 | ||
|
|
ac88b3dd16 | ||
|
|
27b6fa5615 | ||
|
|
68eb76dfb7 | ||
|
|
392760ee0c | ||
|
|
063b60a51f | ||
|
|
7b676192e9 | ||
|
|
138e0010eb | ||
|
|
36bad2b478 | ||
|
|
f6d6fc603e | ||
|
|
5545b46571 | ||
|
|
06b0a7acce | ||
|
|
534f30064d | ||
|
|
6c9e1b2337 | ||
|
|
62c67576e0 | ||
|
|
91d59e4cb9 | ||
|
|
8de268bb3c | ||
|
|
4fd7f6047c | ||
|
|
ff3033e190 | ||
|
|
18404076e3 | ||
|
|
59c9c40c01 | ||
|
|
666e0635da | ||
|
|
f9968a0346 | ||
|
|
39dca05d1d | ||
|
|
f51b76b670 | ||
|
|
40ee989db5 | ||
|
|
ef76dfc7a0 | ||
|
|
02ddc08353 | ||
|
|
4b24d5261a | ||
|
|
4b96a39c48 | ||
|
|
48616e71d2 | ||
|
|
70d227ac62 | ||
|
|
7f2c4f96f5 | ||
|
|
667f0f60fc | ||
|
|
7592b8cc10 | ||
|
|
f55b831859 | ||
|
|
217f7f7e5d | ||
|
|
2e5a63f365 | ||
|
|
7c614b4666 | ||
|
|
b23d908829 | ||
|
|
5379b84e63 | ||
|
|
32c913308e | ||
|
|
1e83d70b6d | ||
|
|
767dfa5b9c | ||
|
|
7ff5b38126 | ||
|
|
e209f5300d | ||
|
|
3c4b50c352 | ||
|
|
4e7c2fcf18 | ||
|
|
22534f94f5 | ||
|
|
1a6928fdbe | ||
|
|
325dbbac47 | ||
|
|
39ac6b0481 | ||
|
|
46cc4854e9 | ||
|
|
f93882512e | ||
|
|
0dee2a4f6f | ||
|
|
3cebc35669 | ||
|
|
e75a204fb9 | ||
|
|
ac06a5c16a | ||
|
|
ed758fee0c | ||
|
|
a21c61ee8b | ||
|
|
24697da20e | ||
|
|
7120c0089d | ||
|
|
88a436a8f7 | ||
|
|
2fdb5a245d | ||
|
|
8441b53538 | ||
|
|
d336df8b73 | ||
|
|
8aaf805b8a | ||
|
|
8161fd2785 | ||
|
|
2f23025dfe | ||
|
|
1867eac230 | ||
|
|
096e35d05f | ||
|
|
8998f52b97 | ||
|
|
0fd38dcc83 | ||
|
|
d89cf0649e | ||
|
|
31e9d9d4f8 | ||
|
|
ea9c6d3d9e | ||
|
|
ff63cf8068 | ||
|
|
eaac94c35a | ||
|
|
9291506af0 | ||
|
|
4716670de9 | ||
|
|
33c5b38034 | ||
|
|
5737d6c565 | ||
|
|
08a7f56c6a | ||
|
|
7916f2b4aa | ||
|
|
193d303ac7 | ||
|
|
e70609b7b8 | ||
|
|
da476ff02d | ||
|
|
77e3b5d28b | ||
|
|
bf97ca448c | ||
|
|
c5f8ff8b32 | ||
|
|
50465766d1 | ||
|
|
7d8df58a63 | ||
|
|
762c074012 | ||
|
|
51f2ee3bfb | ||
|
|
b5cd34aa21 | ||
|
|
ae5c6dcd42 | ||
|
|
97196d0c8c | ||
|
|
f6de56b88a | ||
|
|
d64ea43b76 | ||
|
|
2deaf93d24 | ||
|
|
a107ec8300 | ||
|
|
120a1f9508 | ||
|
|
bb84007a57 | ||
|
|
86234e55a6 | ||
|
|
61972077cd | ||
|
|
5a7feb8ea2 | ||
|
|
4b4c131cd0 | ||
|
|
67617c8f89 | ||
|
|
0fd23f01c6 | ||
|
|
557b0d9df7 | ||
|
|
888f4380cf | ||
|
|
3266c5e95a | ||
|
|
834decdaae | ||
|
|
18b2d83173 | ||
|
|
30c65c3c62 | ||
|
|
04fcc4cf1e | ||
|
|
09504dde1f | ||
|
|
c04885f072 | ||
|
|
48ae5cf09d | ||
|
|
45cdb6eb45 | ||
|
|
b9f3f732aa | ||
|
|
17006ddd6b | ||
|
|
b77a354df3 | ||
|
|
71d46beebf | ||
|
|
454e296eb1 | ||
|
|
f9b696be2b | ||
|
|
c923edbc71 | ||
|
|
e20c1d987f | ||
|
|
cd354eb10f | ||
|
|
e9ac27ee23 | ||
|
|
3f9dc9f5b6 | ||
|
|
ba709875ae | ||
|
|
80f8397b35 | ||
|
|
b45fa27fa1 | ||
|
|
b59480645d | ||
|
|
148cb36979 | ||
|
|
c1eb78f7ff | ||
|
|
8aa0fd6b20 | ||
|
|
a1b3a908f5 | ||
|
|
f9e70d951a | ||
|
|
41ed6be1da | ||
|
|
27de28fc3e | ||
|
|
dd2f01c229 | ||
|
|
deb5c56c77 | ||
|
|
9fd22f0e3f | ||
|
|
942372dcdf | ||
|
|
b7f901088b | ||
|
|
c02990525c | ||
|
|
0107acded0 | ||
|
|
2ac5e08d1d | ||
|
|
1837b8c214 | ||
|
|
03d2bc1774 | ||
|
|
385bddbde0 | ||
|
|
c135426267 | ||
|
|
4be0c98120 | ||
|
|
e760aebd5a | ||
|
|
1f6e7d9c29 | ||
|
|
c6d421af05 | ||
|
|
952df5e493 | ||
|
|
45acb8b058 | ||
|
|
e8997c0183 | ||
|
|
169e62f563 | ||
|
|
1b43babfb1 | ||
|
|
43e902f774 | ||
|
|
b0a800e249 | ||
|
|
73d5f232ad | ||
|
|
f7209541e4 | ||
|
|
397a32dca7 | ||
|
|
e0719d7122 | ||
|
|
3f18c0a9f2 | ||
|
|
b14be61938 | ||
|
|
440d620308 | ||
|
|
8dd9df0f3e | ||
|
|
6b9534eaf5 | ||
|
|
c91d374ad7 | ||
|
|
1cab4160bc | ||
|
|
718d2dfbbd | ||
|
|
0967e1270d | ||
|
|
a08c02f1a8 | ||
|
|
bdfd9afead | ||
|
|
1c91a590d6 | ||
|
|
65bd7968bf | ||
|
|
6ccd23b87b | ||
|
|
823409b7d0 | ||
|
|
c85d31f4a0 | ||
|
|
24af5c44da | ||
|
|
75efacf8eb | ||
|
|
825e810247 | ||
|
|
e20723cfc1 | ||
|
|
9f39a67c1d | ||
|
|
2044f3f791 | ||
|
|
30d4e8c422 | ||
|
|
92d552f6a2 | ||
|
|
5adfcbbc4f | ||
|
|
69969b3819 | ||
|
|
edfee04fcb | ||
|
|
ae0bf74db9 | ||
|
|
1bf7ce97c0 | ||
|
|
4971a009e0 | ||
|
|
e1613ab80d | ||
|
|
28c9930888 | ||
|
|
e3a35a123e | ||
|
|
412168f2e8 | ||
|
|
fc0fa0d636 | ||
|
|
caf283329b | ||
|
|
5cedd4a43e | ||
|
|
0595d32d8a | ||
|
|
e339b4e8da | ||
|
|
11c827c588 | ||
|
|
8a40b670c3 | ||
|
|
d9fa5cbfc9 | ||
|
|
1c21564292 | ||
|
|
6cc96bf156 | ||
|
|
29afd4bbc4 | ||
|
|
4e3db063ec | ||
|
|
6560744c38 | ||
|
|
572ad87881 | ||
|
|
2ab75d6cfa | ||
|
|
041a8eb5ec | ||
|
|
c1c13bdcfa | ||
|
|
403edd34dd | ||
|
|
f279e48416 | ||
|
|
bf854d8d27 | ||
|
|
f334121679 | ||
|
|
b88e2be609 | ||
|
|
08229c8bb8 | ||
|
|
c984017f71 | ||
|
|
00e7dd8a13 | ||
|
|
d11b375b16 | ||
|
|
d1afa8146f | ||
|
|
31d4ba8a93 | ||
|
|
1a7640958c | ||
|
|
2e2a5a450b | ||
|
|
574fd63ff0 | ||
|
|
1063d47526 | ||
|
|
b59a892d3e | ||
|
|
6e5d5d77df | ||
|
|
a6319d18cf | ||
|
|
5103e883fd | ||
|
|
98c4ea4b24 | ||
|
|
29b8cac7d7 | ||
|
|
cdb02d43fe | ||
|
|
50cecddc4a | ||
|
|
177f6398e5 | ||
|
|
887bd6a46f | ||
|
|
9af5153410 | ||
|
|
0e2103689e | ||
|
|
2c496d8e46 | ||
|
|
8f0ba02e44 | ||
|
|
524c56e417 | ||
|
|
773f3a266c | ||
|
|
882ada0d22 | ||
|
|
6229005f93 | ||
|
|
6c63b35ef7 | ||
|
|
fb85e50e09 | ||
|
|
5e5f908d0c | ||
|
|
c09e2143c7 | ||
|
|
74ced1e67f | ||
|
|
dd02c1609e | ||
|
|
cdf4880a79 | ||
|
|
2ec8e8547d | ||
|
|
b7c36d1d33 | ||
|
|
8913402b74 | ||
|
|
c00dfefd6f | ||
|
|
c3de7b5ade | ||
|
|
76556f8264 | ||
|
|
970d18a708 | ||
|
|
9456e7f0ff | ||
|
|
a5db24adc2 | ||
|
|
17664e2620 | ||
|
|
43a0eb0253 | ||
|
|
bcdaed2c0a | ||
|
|
78c6637db5 | ||
|
|
44214a98fd | ||
|
|
9cc6d2310c | ||
|
|
1a045954be | ||
|
|
b3fc9a1585 | ||
|
|
2a86a449ca | ||
|
|
44f032db61 | ||
|
|
5a520729ee | ||
|
|
36fbe78c60 | ||
|
|
029bb17770 | ||
|
|
7958bee6be | ||
|
|
0b9bb21ce4 | ||
|
|
cfcc5b794e | ||
|
|
925ff408a6 | ||
|
|
f40ca444f5 | ||
|
|
638a5e0382 | ||
|
|
6d777bf055 | ||
|
|
ae6d4e8bc0 | ||
|
|
f2728724d3 | ||
|
|
bc95b34cce | ||
|
|
9eb89616af | ||
|
|
f7713a6d81 | ||
|
|
1cec9b727a | ||
|
|
18a4730f5b | ||
|
|
1342aefcdd | ||
|
|
1fd4b1e702 | ||
|
|
32dff44c28 | ||
|
|
e7c2ae476a | ||
|
|
a66301f83d | ||
|
|
a5f7d56221 | ||
|
|
140080c1ec | ||
|
|
ef43af6d43 | ||
|
|
949d0532f0 | ||
|
|
96efc76d74 | ||
|
|
6ca0d63692 | ||
|
|
95fc2485e2 | ||
|
|
d6ce1e4834 | ||
|
|
2cc2b12fc7 | ||
|
|
2259f81cf7 | ||
|
|
791f12880f | ||
|
|
7aa7373a64 | ||
|
|
2f186a190f | ||
|
|
357893a873 | ||
|
|
a17881da5f | ||
|
|
4872ee83a9 | ||
|
|
5ec222a832 | ||
|
|
40438b3440 | ||
|
|
e0b80660c8 | ||
|
|
a2016301f5 | ||
|
|
7ec6729fb6 | ||
|
|
837a2cf72e | ||
|
|
0adca14536 | ||
|
|
57b0f66c6d | ||
|
|
e47e7a9571 | ||
|
|
68ca01560f | ||
|
|
64f1c91fcb | ||
|
|
7d33f94198 | ||
|
|
369cda3752 | ||
|
|
846078d06f | ||
|
|
b18500d56e | ||
|
|
7d92c50490 | ||
|
|
d69a596193 | ||
|
|
8aa4ae638e | ||
|
|
3069f34841 | ||
|
|
b3788a0e4f | ||
|
|
582bc029ab | ||
|
|
e9e3099433 | ||
|
|
4fc561cc7b | ||
|
|
ad3e3a0b99 | ||
|
|
bfb8c849cb | ||
|
|
09dd25b5d1 | ||
|
|
c48efb1dbe | ||
|
|
5408acb6b7 | ||
|
|
15481160f9 | ||
|
|
00ccff03a5 | ||
|
|
21594921b1 | ||
|
|
42c91eebc9 | ||
|
|
88273e08b4 | ||
|
|
08f7fb45ef | ||
|
|
75ebda3ce6 | ||
|
|
53ff15fcbf | ||
|
|
72adb70ee2 | ||
|
|
960d41fcfe | ||
|
|
0c4e35b070 | ||
|
|
c53f1cb813 | ||
|
|
f6696cc15e | ||
|
|
fef9a41fe4 | ||
|
|
e279a0a076 | ||
|
|
88c8aaed96 | ||
|
|
34beaefe1c | ||
|
|
10b828f193 | ||
|
|
43e6260ed0 | ||
|
|
62cbbd7226 | ||
|
|
f7cbe7fcee | ||
|
|
d8e4ff9079 | ||
|
|
510ff27eda | ||
|
|
5abf055100 | ||
|
|
4bb5721f6b | ||
|
|
c41ab70d3a | ||
|
|
a05e403bf2 | ||
|
|
2f57e0f71d | ||
|
|
95a2eb9767 | ||
|
|
55175daed7 | ||
|
|
ae16a51e95 | ||
|
|
4398d67546 | ||
|
|
c93738687c | ||
|
|
799492e606 | ||
|
|
f33ff071bb | ||
|
|
99e854743c | ||
|
|
6f79062d91 | ||
|
|
2f682c3995 | ||
|
|
067370e68f | ||
|
|
2aa439a6a4 | ||
|
|
b477182dc3 | ||
|
|
a8964ca89e | ||
|
|
4f0e92d07c | ||
|
|
577f4e8a5f | ||
|
|
0586d9fe56 | ||
|
|
1f0d9bf05e | ||
|
|
8bcae2a527 | ||
|
|
35ca9aae91 | ||
|
|
6cdd2bf8d7 | ||
|
|
ce7d175adb | ||
|
|
1904fd095f | ||
|
|
897d0ac5cc | ||
|
|
e262d0182f | ||
|
|
aa5b748c10 | ||
|
|
c6728df4a3 | ||
|
|
3c182c5bc8 | ||
|
|
1b5677847b | ||
|
|
1be59a9dbe | ||
|
|
55c2178ad4 | ||
|
|
3e3d392e1c | ||
|
|
593de57fa2 | ||
|
|
04b0e43ea6 | ||
|
|
04eee290c8 | ||
|
|
756a7a4e4b | ||
|
|
121b4ac220 | ||
|
|
cdbd5db3af | ||
|
|
b2240f6ad4 | ||
|
|
33814a55f8 | ||
|
|
a57c5a417b | ||
|
|
ff1a28de17 | ||
|
|
772f57f99b | ||
|
|
dacee32b8b | ||
|
|
fa1a3eb06d | ||
|
|
bd4817ca54 | ||
|
|
d3a160e217 | ||
|
|
c5837f2791 | ||
|
|
490bd43f18 | ||
|
|
005eea249c | ||
|
|
9747de8ec6 | ||
|
|
849a9799d0 | ||
|
|
e32ae4fe33 | ||
|
|
4595389c4c | ||
|
|
e8ccc7cc49 | ||
|
|
673d21047a | ||
|
|
6186261589 | ||
|
|
45310e219c | ||
|
|
250f6b2c88 | ||
|
|
fdefc2bbda | ||
|
|
2079df8527 | ||
|
|
b53659452c | ||
|
|
46f1d6653e | ||
|
|
c1938a60f7 | ||
|
|
d65110f352 | ||
|
|
9fa3bbcb5a | ||
|
|
19e51ecbe6 | ||
|
|
99d62f2922 | ||
|
|
284743cafe | ||
|
|
08d7307b2a | ||
|
|
ef6a64abe6 | ||
|
|
18bfa52ef7 | ||
|
|
d62be2652c | ||
|
|
31f3433635 | ||
|
|
639eaceee7 | ||
|
|
ea53ff80af | ||
|
|
feeca1bcbc | ||
|
|
12e7278c08 | ||
|
|
45b5c44eb9 | ||
|
|
e3456c1028 | ||
|
|
327fb38573 | ||
|
|
1d25d9e15f | ||
|
|
cc7cee3f48 | ||
|
|
d7062710cd | ||
|
|
3e21f52796 | ||
|
|
9bfba734d8 | ||
|
|
0511d9a9d2 | ||
|
|
aaebf2f47e | ||
|
|
23f8d77b38 | ||
|
|
498b4dbba4 | ||
|
|
ecc42e79ae | ||
|
|
0bf8ed523d | ||
|
|
87d22ee0fe | ||
|
|
52e25f63d4 | ||
|
|
f3fb67972b | ||
|
|
6400756364 | ||
|
|
d71d04bf6f | ||
|
|
af90259e09 | ||
|
|
7c9762f698 | ||
|
|
b2e67fdb7c | ||
|
|
d59f0314bd | ||
|
|
131baefac3 | ||
|
|
a450078b67 | ||
|
|
f6b041bf6c | ||
|
|
4f340d181a | ||
|
|
74a11701f3 | ||
|
|
b58e38e936 | ||
|
|
8713cb48a8 | ||
|
|
277c5e57ed | ||
|
|
b3d62d5af5 | ||
|
|
9c0f0c8d81 | ||
|
|
18a0a2a7ac | ||
|
|
8b99d9e33c | ||
|
|
01e7e153e3 | ||
|
|
0ad4ca24d2 | ||
|
|
724a155552 | ||
|
|
e1b0715dd6 | ||
|
|
a5c6598966 | ||
|
|
d38b74a316 | ||
|
|
54cab4b47b | ||
|
|
c093666bc5 | ||
|
|
04972f6761 | ||
|
|
67f8234622 | ||
|
|
201d6dbd9c | ||
|
|
1865ef6fd4 | ||
|
|
fbcac5aa83 | ||
|
|
2b72ab8f8f | ||
|
|
0ea97b9408 | ||
|
|
28683ac7c0 | ||
|
|
c72e3e210f | ||
|
|
a8c856d43c | ||
|
|
1953cfc954 | ||
|
|
8e7bac950e | ||
|
|
03cdacfb6a | ||
|
|
30f3c3dfad | ||
|
|
dee1b0d5bb | ||
|
|
6f2b0fe463 | ||
|
|
0c69176498 | ||
|
|
4e7a0385b5 | ||
|
|
4adbd94b10 | ||
|
|
4a2905b645 | ||
|
|
0638c6b530 | ||
|
|
7dd35ce013 | ||
|
|
c8629c3178 | ||
|
|
77ccf51cb3 | ||
|
|
01197f0c77 | ||
|
|
69c86ff4fd | ||
|
|
9a42ffad81 | ||
|
|
0d8633bf8c | ||
|
|
d79e80a3d0 | ||
|
|
d890ebdd25 | ||
|
|
5ee9b3ce72 | ||
|
|
031b539a09 | ||
|
|
47c3c706e8 | ||
|
|
0d830a616c | ||
|
|
e219bf8338 | ||
|
|
6c0fba2480 | ||
|
|
f4cc159f53 | ||
|
|
04c002abc2 | ||
|
|
78fd17907e | ||
|
|
47edc83080 | ||
|
|
33e34f5bf4 | ||
|
|
3832ecadae | ||
|
|
285ed128ab | ||
|
|
048144074b | ||
|
|
856ae782c7 | ||
|
|
12e3f97541 | ||
|
|
30f6fe0710 | ||
|
|
0aa8f1df3c | ||
|
|
d39147a8a1 | ||
|
|
7991f7e936 | ||
|
|
10011efcd7 | ||
|
|
0058815c8f | ||
|
|
02048984b7 | ||
|
|
544601e9f4 | ||
|
|
2634f06c20 | ||
|
|
7549426a16 | ||
|
|
6dcb9a3434 | ||
|
|
e5a31c00ec | ||
|
|
00295242fd | ||
|
|
21b6ed7c29 | ||
|
|
01894cbf10 | ||
|
|
28cad2b9d9 | ||
|
|
71d7b7dbe7 | ||
|
|
4563723db1 | ||
|
|
0bce6a1899 | ||
|
|
e71d6dbd9c | ||
|
|
132ecd19f3 | ||
|
|
a404143f4c | ||
|
|
44467ca45e | ||
|
|
f70ea0747d | ||
|
|
c619abf18a | ||
|
|
6da1323437 | ||
|
|
1dd29785cf | ||
|
|
5681987ee4 | ||
|
|
6eeb18fc68 | ||
|
|
01c90575b4 | ||
|
|
32e9cb0275 | ||
|
|
017bade93c | ||
|
|
c9c79e7cae | ||
|
|
777d41dd07 | ||
|
|
6238c30913 | ||
|
|
db164ab514 | ||
|
|
c72ef17731 | ||
|
|
8dbee7867f | ||
|
|
f403108f5f | ||
|
|
223a97f92a | ||
|
|
bb44a8ae1f | ||
|
|
b5a5062176 | ||
|
|
50faa32ce3 | ||
|
|
b6caed527c | ||
|
|
d5ef77353b | ||
|
|
336beba81b | ||
|
|
5d23a7905c | ||
|
|
143dfcc904 | ||
|
|
e076cd42f0 | ||
|
|
5bed38974e | ||
|
|
35bc4b82ff | ||
|
|
4e5d870f72 | ||
|
|
83def94db5 | ||
|
|
9d74c1ef2a | ||
|
|
6023d4bdb5 | ||
|
|
5e38f566f2 | ||
|
|
b57341a78b | ||
|
|
910c32c0e9 | ||
|
|
e49456d8d8 | ||
|
|
c46becc9b3 | ||
|
|
b6e637106f | ||
|
|
787cffe3d0 | ||
|
|
9d914e6809 | ||
|
|
4e183c66e9 | ||
|
|
b1630fcbe8 | ||
|
|
cd44f730cc | ||
|
|
ce5a39559e | ||
|
|
ccffaef603 | ||
|
|
ae41f3a3ee | ||
|
|
c7e576d6bf | ||
|
|
f069b2812e | ||
|
|
f20ff6213e | ||
|
|
24ff74bdcb | ||
|
|
230e79916f | ||
|
|
9f14b4db35 | ||
|
|
ec916398e7 | ||
|
|
6befad112e | ||
|
|
55ce23b8db | ||
|
|
1292ec1ecf | ||
|
|
65a324062f | ||
|
|
c9db617e0b | ||
|
|
b43137d0cc | ||
|
|
eeca642778 | ||
|
|
5cef6ca36a | ||
|
|
be2b518f7b | ||
|
|
1b0d29afbc | ||
|
|
55cf480c0b | ||
|
|
84db6912f0 | ||
|
|
7495cc28a0 | ||
|
|
87744f786b | ||
|
|
5bcfa4c859 | ||
|
|
8ef731bcd1 | ||
|
|
8d02f3c68a | ||
|
|
b1f8b49e8b | ||
|
|
75733e4237 | ||
|
|
6e318e2cd1 | ||
|
|
01e6b84b14 | ||
|
|
69705d22be | ||
|
|
b16d1dcff5 | ||
|
|
10c5b5d5ba | ||
|
|
d9c5c170f6 | ||
|
|
32c7138d86 | ||
|
|
d29244d872 | ||
|
|
0fca6eda1e | ||
|
|
1ddf606332 | ||
|
|
bc8084da74 | ||
|
|
5eed400862 | ||
|
|
a37a0959ac | ||
|
|
53845c52e5 | ||
|
|
d429f0b14f | ||
|
|
02339187ad | ||
|
|
827f778525 | ||
|
|
d3fc85eea9 | ||
|
|
9a62963129 | ||
|
|
a0b2543ba1 | ||
|
|
387acaac69 | ||
|
|
952b775dbe | ||
|
|
eadb76b3f8 | ||
|
|
b3f7313ae4 | ||
|
|
0c97d48027 | ||
|
|
c4a678de9e | ||
|
|
2c834f4d29 | ||
|
|
b93d290c9f | ||
|
|
32266bb21a | ||
|
|
cab39103b7 | ||
|
|
5c56a80ac9 | ||
|
|
d0bac31721 | ||
|
|
9258e54cfa | ||
|
|
ccb68495e0 | ||
|
|
db4236fe0b | ||
|
|
a4e43427f8 | ||
|
|
829190abdd | ||
|
|
99688cd051 | ||
|
|
1ba0a92702 | ||
|
|
065d5a8d17 | ||
|
|
3b53c0ac19 | ||
|
|
ed56fe4e82 | ||
|
|
1fbbe807ed | ||
|
|
c3dccfa05b | ||
|
|
7703d9293f | ||
|
|
bcf560e4b8 | ||
|
|
9d944b501a | ||
|
|
cf013a5384 | ||
|
|
2f367491c4 | ||
|
|
e7d93b62ec | ||
|
|
a5b309c0c9 | ||
|
|
df46b96ab0 | ||
|
|
bda1e332ce | ||
|
|
53b2ad5fd0 | ||
|
|
b44d9c657d | ||
|
|
92ef7527d1 | ||
|
|
c37d6b4ca8 |
@@ -1,10 +0,0 @@
|
|||||||
;; -*- emacs-lisp -*-
|
|
||||||
;;
|
|
||||||
;; This file is processed by the dirvars emacs package. Each variable
|
|
||||||
;; setting below is performed when this dirvars file is loaded.
|
|
||||||
;;
|
|
||||||
indent-tabs-mode: nil
|
|
||||||
tab-width: 8
|
|
||||||
c-basic-offset: 3
|
|
||||||
kde-emacs-after-parent-string: ""
|
|
||||||
evaluate: (c-set-offset 'inline-open '0)
|
|
||||||
20
.gitignore
vendored
20
.gitignore
vendored
@@ -1,21 +1,8 @@
|
|||||||
*.a
|
*.a
|
||||||
*.dll
|
|
||||||
*.exe
|
|
||||||
*.ilk
|
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
|
||||||
*.os
|
|
||||||
*.pc
|
|
||||||
*.pdb
|
|
||||||
*.pyc
|
|
||||||
*.pyo
|
|
||||||
*.so
|
*.so
|
||||||
*.so.*
|
|
||||||
*.sw[a-z]
|
*.sw[a-z]
|
||||||
*.tar
|
*.pc
|
||||||
*.tar.bz2
|
|
||||||
*.tar.gz
|
|
||||||
*.zip
|
|
||||||
*~
|
*~
|
||||||
depend
|
depend
|
||||||
depend.bak
|
depend.bak
|
||||||
@@ -27,8 +14,3 @@ aclocal.m4
|
|||||||
config.log
|
config.log
|
||||||
config.status
|
config.status
|
||||||
cscope*
|
cscope*
|
||||||
.scon*
|
|
||||||
config.py
|
|
||||||
build
|
|
||||||
manifest.txt
|
|
||||||
.dir-locals.el
|
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
# Mesa 3-D graphics library
|
|
||||||
#
|
|
||||||
# Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
|
|
||||||
# Copyright (C) 2010-2011 LunarG Inc.
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# use c99 compiler by default
|
|
||||||
ifeq ($(LOCAL_CC),)
|
|
||||||
ifeq ($(LOCAL_IS_HOST_MODULE),true)
|
|
||||||
LOCAL_CC := $(HOST_CC) -std=c99
|
|
||||||
else
|
|
||||||
LOCAL_CC := $(TARGET_CC) -std=c99
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
LOCAL_C_INCLUDES += \
|
|
||||||
$(MESA_TOP)/include
|
|
||||||
|
|
||||||
# define ANDROID_VERSION (e.g., 4.0.x => 0x0400)
|
|
||||||
major := $(word 1, $(subst ., , $(PLATFORM_VERSION)))
|
|
||||||
minor := $(word 2, $(subst ., , $(PLATFORM_VERSION)))
|
|
||||||
LOCAL_CFLAGS += \
|
|
||||||
-DANDROID_VERSION=0x0$(major)0$(minor)
|
|
||||||
|
|
||||||
LOCAL_CFLAGS += \
|
|
||||||
-DPTHREADS \
|
|
||||||
-fvisibility=hidden \
|
|
||||||
-Wno-sign-compare
|
|
||||||
|
|
||||||
ifeq ($(strip $(MESA_ENABLE_ASM)),true)
|
|
||||||
ifeq ($(TARGET_ARCH),x86)
|
|
||||||
LOCAL_CFLAGS += \
|
|
||||||
-DUSE_X86_ASM
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
LOCAL_CPPFLAGS += \
|
|
||||||
-Wno-error=non-virtual-dtor \
|
|
||||||
-Wno-non-virtual-dtor
|
|
||||||
|
|
||||||
# uncomment to keep the debug symbols
|
|
||||||
#LOCAL_STRIP_MODULE := false
|
|
||||||
|
|
||||||
ifeq ($(strip $(LOCAL_MODULE_TAGS)),)
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
endif
|
|
||||||
94
Android.mk
94
Android.mk
@@ -1,94 +0,0 @@
|
|||||||
# Mesa 3-D graphics library
|
|
||||||
#
|
|
||||||
# Copyright (C) 2010-2011 Chia-I Wu <olvaffe@gmail.com>
|
|
||||||
# Copyright (C) 2010-2011 LunarG Inc.
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# BOARD_GPU_DRIVERS should be defined. The valid values are
|
|
||||||
#
|
|
||||||
# classic drivers: i915 i965
|
|
||||||
# gallium drivers: swrast i915g nouveau r300g r600g vmwgfx
|
|
||||||
#
|
|
||||||
# The main target is libGLES_mesa. For each classic driver enabled, a DRI
|
|
||||||
# module will also be built. DRI modules will be loaded by libGLES_mesa.
|
|
||||||
|
|
||||||
MESA_TOP := $(call my-dir)
|
|
||||||
MESA_COMMON_MK := $(MESA_TOP)/Android.common.mk
|
|
||||||
MESA_PYTHON2 := python
|
|
||||||
|
|
||||||
DRM_TOP := external/drm
|
|
||||||
DRM_GRALLOC_TOP := hardware/drm_gralloc
|
|
||||||
|
|
||||||
classic_drivers := i915 i965
|
|
||||||
gallium_drivers := swrast i915g nouveau r300g r600g vmwgfx
|
|
||||||
|
|
||||||
MESA_GPU_DRIVERS := $(strip $(BOARD_GPU_DRIVERS))
|
|
||||||
|
|
||||||
# warn about invalid drivers
|
|
||||||
invalid_drivers := $(filter-out \
|
|
||||||
$(classic_drivers) $(gallium_drivers), $(MESA_GPU_DRIVERS))
|
|
||||||
ifneq ($(invalid_drivers),)
|
|
||||||
$(warning invalid GPU drivers: $(invalid_drivers))
|
|
||||||
# tidy up
|
|
||||||
MESA_GPU_DRIVERS := $(filter-out $(invalid_drivers), $(MESA_GPU_DRIVERS))
|
|
||||||
endif
|
|
||||||
|
|
||||||
# host and target must be the same arch to generate matypes.h
|
|
||||||
ifeq ($(TARGET_ARCH),$(HOST_ARCH))
|
|
||||||
MESA_ENABLE_ASM := true
|
|
||||||
else
|
|
||||||
MESA_ENABLE_ASM := false
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(filter $(classic_drivers), $(MESA_GPU_DRIVERS)),)
|
|
||||||
MESA_BUILD_CLASSIC := true
|
|
||||||
else
|
|
||||||
MESA_BUILD_CLASSIC := false
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(filter $(gallium_drivers), $(MESA_GPU_DRIVERS)),)
|
|
||||||
MESA_BUILD_GALLIUM := true
|
|
||||||
else
|
|
||||||
MESA_BUILD_GALLIUM := false
|
|
||||||
endif
|
|
||||||
|
|
||||||
# add subdirectories
|
|
||||||
ifneq ($(strip $(MESA_GPU_DRIVERS)),)
|
|
||||||
|
|
||||||
SUBDIRS := \
|
|
||||||
src/mapi \
|
|
||||||
src/glsl \
|
|
||||||
src/mesa \
|
|
||||||
src/egl/main
|
|
||||||
|
|
||||||
ifeq ($(strip $(MESA_BUILD_CLASSIC)),true)
|
|
||||||
SUBDIRS += \
|
|
||||||
src/egl/drivers/dri2 \
|
|
||||||
src/mesa/drivers/dri
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)
|
|
||||||
SUBDIRS += src/gallium
|
|
||||||
endif
|
|
||||||
|
|
||||||
mkfiles := $(patsubst %,$(MESA_TOP)/%/Android.mk,$(SUBDIRS))
|
|
||||||
include $(mkfiles)
|
|
||||||
|
|
||||||
endif
|
|
||||||
453
Makefile
453
Makefile
@@ -2,29 +2,20 @@
|
|||||||
|
|
||||||
TOP = .
|
TOP = .
|
||||||
|
|
||||||
SUBDIRS = src
|
SUBDIRS = src progs
|
||||||
|
|
||||||
|
|
||||||
# The git command below generates an empty string when we're not
|
|
||||||
# building in a GIT tree (i.e., building from a release tarball).
|
|
||||||
default: $(TOP)/configs/current
|
default: $(TOP)/configs/current
|
||||||
@$(TOP)/bin/extract_git_sha1
|
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
if [ -d $$dir ] ; then \
|
if [ -d $$dir ] ; then \
|
||||||
(cd $$dir && $(MAKE)) || exit 1 ; \
|
(cd $$dir && $(MAKE)) || exit 1 ; \
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
all: default
|
|
||||||
|
|
||||||
|
|
||||||
doxygen:
|
doxygen:
|
||||||
cd doxygen && $(MAKE)
|
cd doxygen && $(MAKE)
|
||||||
|
|
||||||
check:
|
|
||||||
cd src/glsl/tests/ && ./optimization-test
|
|
||||||
make -C tests check
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-@touch $(TOP)/configs/current
|
-@touch $(TOP)/configs/current
|
||||||
-@for dir in $(SUBDIRS) ; do \
|
-@for dir in $(SUBDIRS) ; do \
|
||||||
@@ -44,8 +35,6 @@ realclean: clean
|
|||||||
-name depend -o -name depend.bak ')' -exec rm -f '{}' ';'
|
-name depend -o -name depend.bak ')' -exec rm -f '{}' ';'
|
||||||
|
|
||||||
|
|
||||||
distclean: realclean
|
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@for dir in $(SUBDIRS) ; do \
|
@for dir in $(SUBDIRS) ; do \
|
||||||
@@ -55,7 +44,11 @@ install:
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
.PHONY: default doxygen clean realclean distclean install check
|
# DirectFBGL module installation
|
||||||
|
linux-directfb-install:
|
||||||
|
cd src/mesa/drivers/directfb && $(MAKE) install
|
||||||
|
|
||||||
|
.PHONY: default doxygen clean realclean install linux-directfb-install
|
||||||
|
|
||||||
# If there's no current configuration file
|
# If there's no current configuration file
|
||||||
$(TOP)/configs/current:
|
$(TOP)/configs/current:
|
||||||
@@ -82,10 +75,13 @@ aix-static \
|
|||||||
autoconf \
|
autoconf \
|
||||||
bluegene-osmesa \
|
bluegene-osmesa \
|
||||||
bluegene-xlc-osmesa \
|
bluegene-xlc-osmesa \
|
||||||
|
beos \
|
||||||
catamount-osmesa-pgi \
|
catamount-osmesa-pgi \
|
||||||
darwin \
|
darwin \
|
||||||
darwin-fat-32bit \
|
darwin-fat-32bit \
|
||||||
darwin-fat-all \
|
darwin-fat-all \
|
||||||
|
darwin-static \
|
||||||
|
darwin-static-x86ppc \
|
||||||
freebsd \
|
freebsd \
|
||||||
freebsd-dri \
|
freebsd-dri \
|
||||||
freebsd-dri-amd64 \
|
freebsd-dri-amd64 \
|
||||||
@@ -109,34 +105,32 @@ irix6-n32-static \
|
|||||||
irix6-o32 \
|
irix6-o32 \
|
||||||
irix6-o32-static \
|
irix6-o32-static \
|
||||||
linux \
|
linux \
|
||||||
linux-i965 \
|
|
||||||
linux-alpha \
|
linux-alpha \
|
||||||
linux-alpha-static \
|
linux-alpha-static \
|
||||||
linux-debug \
|
linux-debug \
|
||||||
|
linux-directfb \
|
||||||
linux-dri \
|
linux-dri \
|
||||||
linux-dri-debug \
|
linux-dri-debug \
|
||||||
linux-dri-x86 \
|
linux-dri-x86 \
|
||||||
linux-dri-x86-64 \
|
linux-dri-x86-64 \
|
||||||
linux-dri-ppc \
|
linux-dri-ppc \
|
||||||
linux-dri-xcb \
|
linux-dri-xcb \
|
||||||
linux-egl \
|
|
||||||
linux-indirect \
|
linux-indirect \
|
||||||
linux-fbdev \
|
linux-fbdev \
|
||||||
|
linux-glide \
|
||||||
linux-ia64-icc \
|
linux-ia64-icc \
|
||||||
linux-ia64-icc-static \
|
linux-ia64-icc-static \
|
||||||
linux-icc \
|
linux-icc \
|
||||||
linux-icc-static \
|
linux-icc-static \
|
||||||
linux-llvm \
|
|
||||||
linux-llvm-debug \
|
|
||||||
linux-opengl-es \
|
|
||||||
linux-osmesa \
|
linux-osmesa \
|
||||||
linux-osmesa-static \
|
|
||||||
linux-osmesa16 \
|
linux-osmesa16 \
|
||||||
linux-osmesa16-static \
|
linux-osmesa16-static \
|
||||||
linux-osmesa32 \
|
linux-osmesa32 \
|
||||||
linux-ppc \
|
linux-ppc \
|
||||||
linux-ppc-static \
|
linux-ppc-static \
|
||||||
linux-profile \
|
linux-solo \
|
||||||
|
linux-solo-x86 \
|
||||||
|
linux-solo-ia64 \
|
||||||
linux-sparc \
|
linux-sparc \
|
||||||
linux-sparc5 \
|
linux-sparc5 \
|
||||||
linux-static \
|
linux-static \
|
||||||
@@ -147,9 +141,8 @@ linux-x86-debug \
|
|||||||
linux-x86-32 \
|
linux-x86-32 \
|
||||||
linux-x86-64 \
|
linux-x86-64 \
|
||||||
linux-x86-64-debug \
|
linux-x86-64-debug \
|
||||||
linux-x86-64-profile \
|
|
||||||
linux-x86-64-static \
|
linux-x86-64-static \
|
||||||
linux-x86-profile \
|
linux-x86-glide \
|
||||||
linux-x86-static \
|
linux-x86-static \
|
||||||
netbsd \
|
netbsd \
|
||||||
openbsd \
|
openbsd \
|
||||||
@@ -171,61 +164,290 @@ sunos5-v9 \
|
|||||||
sunos5-v9-static \
|
sunos5-v9-static \
|
||||||
sunos5-v9-cc-g++ \
|
sunos5-v9-cc-g++ \
|
||||||
ultrix-gcc:
|
ultrix-gcc:
|
||||||
@ if test -f configs/current -o -L configs/current; then \
|
@ if test -f configs/current || test -L configs/current ; then \
|
||||||
if ! cmp configs/$@ configs/current > /dev/null; then \
|
echo "Please run 'make realclean' before changing configs" ; \
|
||||||
echo "Please run 'make realclean' before changing configs" ; \
|
exit 1 ; \
|
||||||
exit 1 ; \
|
|
||||||
fi ; \
|
|
||||||
else \
|
|
||||||
cd configs && rm -f current && ln -s $@ current ; \
|
|
||||||
fi
|
fi
|
||||||
|
(cd configs && rm -f current && ln -s $@ current)
|
||||||
$(MAKE) default
|
$(MAKE) default
|
||||||
|
|
||||||
|
|
||||||
# Rules for making release tarballs
|
# Rules for making release tarballs
|
||||||
|
|
||||||
PACKAGE_VERSION=8.0.3
|
DIRECTORY = Mesa-7.1-rc3
|
||||||
PACKAGE_DIR = Mesa-$(PACKAGE_VERSION)
|
LIB_NAME = MesaLib-7.1-rc3
|
||||||
PACKAGE_NAME = MesaLib-$(PACKAGE_VERSION)
|
DEMO_NAME = MesaDemos-7.1-rc3
|
||||||
|
GLUT_NAME = MesaGLUT-7.1-rc3
|
||||||
|
|
||||||
EXTRA_FILES = \
|
MAIN_FILES = \
|
||||||
aclocal.m4 \
|
$(DIRECTORY)/Makefile* \
|
||||||
configure \
|
$(DIRECTORY)/configure \
|
||||||
tests/Makefile.in \
|
$(DIRECTORY)/configure.ac \
|
||||||
tests/glx/Makefile.in \
|
$(DIRECTORY)/acinclude.m4 \
|
||||||
src/glsl/glsl_parser.cpp \
|
$(DIRECTORY)/aclocal.m4 \
|
||||||
src/glsl/glsl_parser.h \
|
$(DIRECTORY)/descrip.mms \
|
||||||
src/glsl/glsl_lexer.cpp \
|
$(DIRECTORY)/mms-config. \
|
||||||
src/glsl/glcpp/glcpp-lex.c \
|
$(DIRECTORY)/bin/config.guess \
|
||||||
src/glsl/glcpp/glcpp-parse.c \
|
$(DIRECTORY)/bin/config.sub \
|
||||||
src/glsl/glcpp/glcpp-parse.h \
|
$(DIRECTORY)/bin/install-sh \
|
||||||
src/mesa/main/api_exec_es1.c \
|
$(DIRECTORY)/bin/mklib \
|
||||||
src/mesa/main/api_exec_es1_dispatch.h \
|
$(DIRECTORY)/bin/minstall \
|
||||||
src/mesa/main/api_exec_es1_remap_helper.h \
|
$(DIRECTORY)/bin/version.mk \
|
||||||
src/mesa/main/api_exec_es2.c \
|
$(DIRECTORY)/configs/[a-z]* \
|
||||||
src/mesa/main/api_exec_es2_dispatch.h \
|
$(DIRECTORY)/docs/*.html \
|
||||||
src/mesa/main/api_exec_es2_remap_helper.h \
|
$(DIRECTORY)/docs/COPYING \
|
||||||
src/mesa/program/lex.yy.c \
|
$(DIRECTORY)/docs/README.* \
|
||||||
src/mesa/program/program_parse.tab.c \
|
$(DIRECTORY)/docs/RELNOTES* \
|
||||||
src/mesa/program/program_parse.tab.h
|
$(DIRECTORY)/docs/*.spec \
|
||||||
|
$(DIRECTORY)/include/GL/internal/glcore.h \
|
||||||
IGNORE_FILES = \
|
$(DIRECTORY)/include/GL/amesa.h \
|
||||||
-x autogen.sh
|
$(DIRECTORY)/include/GL/dmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/fxmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/ggimesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/gl.h \
|
||||||
|
$(DIRECTORY)/include/GL/glext.h \
|
||||||
|
$(DIRECTORY)/include/GL/gl_mangle.h \
|
||||||
|
$(DIRECTORY)/include/GL/glu.h \
|
||||||
|
$(DIRECTORY)/include/GL/glu_mangle.h \
|
||||||
|
$(DIRECTORY)/include/GL/glx.h \
|
||||||
|
$(DIRECTORY)/include/GL/glxext.h \
|
||||||
|
$(DIRECTORY)/include/GL/glx_mangle.h \
|
||||||
|
$(DIRECTORY)/include/GL/glfbdev.h \
|
||||||
|
$(DIRECTORY)/include/GL/mesa_wgl.h \
|
||||||
|
$(DIRECTORY)/include/GL/mglmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/osmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/svgamesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/ugl*.h \
|
||||||
|
$(DIRECTORY)/include/GL/vms_x_fix.h \
|
||||||
|
$(DIRECTORY)/include/GL/wmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/xmesa.h \
|
||||||
|
$(DIRECTORY)/include/GL/xmesa_x.h \
|
||||||
|
$(DIRECTORY)/include/GL/xmesa_xf86.h \
|
||||||
|
$(DIRECTORY)/include/GLView.h \
|
||||||
|
$(DIRECTORY)/src/Makefile \
|
||||||
|
$(DIRECTORY)/src/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/Makefile* \
|
||||||
|
$(DIRECTORY)/src/mesa/sources \
|
||||||
|
$(DIRECTORY)/src/mesa/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/gl.pc.in \
|
||||||
|
$(DIRECTORY)/src/mesa/depend \
|
||||||
|
$(DIRECTORY)/src/mesa/main/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/main/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/glapi/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/glapi/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/math/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/math/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/grammar/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/grammar/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/library/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/library/*.gc \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/library/*.syn \
|
||||||
|
$(DIRECTORY)/src/mesa/shader/slang/library/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/swrast/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/swrast/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/swrast_setup/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/swrast_setup/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/vbo/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/vbo/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/tnl/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/tnl/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/tnl_dd/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/tnl_dd/imm/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/tnl_dd/imm/NOTES.imm \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/beos/*.cpp \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/beos/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/common/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/common/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/directfb/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/directfb/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dos/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/fbdev/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/fbdev/glfbdev.c \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/glide/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/ggimesa.conf.in \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/default/*.c \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/default/genkgi.conf.in \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/display/*.c \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/display/fbdev.conf.in \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/ggi/include/ggi/mesa/*.h \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/osmesa/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/osmesa/Makefile.win \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/osmesa/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/osmesa/osmesa.def \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/osmesa/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/svga/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/windows/*/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/windows/*/*.def \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/x11/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/x11/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/x11/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/ppc/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/sparc/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/x86/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/x86/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/x86/*.S \
|
||||||
|
$(DIRECTORY)/src/mesa/x86/rtasm/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/x86-64/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/x86-64/Makefile \
|
||||||
|
$(DIRECTORY)/progs/Makefile \
|
||||||
|
$(DIRECTORY)/progs/util/README \
|
||||||
|
$(DIRECTORY)/progs/util/*.[ch] \
|
||||||
|
$(DIRECTORY)/progs/util/sampleMakefile \
|
||||||
|
$(DIRECTORY)/vms/analyze_map.com \
|
||||||
|
$(DIRECTORY)/vms/xlib.opt \
|
||||||
|
$(DIRECTORY)/vms/xlib_share.opt \
|
||||||
|
$(DIRECTORY)/windows/VC8/mesa/mesa.sln \
|
||||||
|
$(DIRECTORY)/windows/VC8/mesa/gdi/gdi.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC8/mesa/glu/glu.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC8/mesa/mesa/mesa.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC8/mesa/osmesa/osmesa.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC8/progs/progs.sln \
|
||||||
|
$(DIRECTORY)/windows/VC8/progs/demos/gears.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC8/progs/glut/glut.vcproj
|
||||||
|
|
||||||
|
|
||||||
parsers: configure
|
DRI_FILES = \
|
||||||
-@touch $(TOP)/configs/current
|
$(DIRECTORY)/include/GL/internal/dri_interface.h \
|
||||||
$(MAKE) -C src/glsl glsl_parser.cpp glsl_parser.h glsl_lexer.cpp
|
$(DIRECTORY)/include/GL/internal/dri_sarea.h \
|
||||||
$(MAKE) -C src/glsl/glcpp glcpp-lex.c glcpp-parse.c glcpp-parse.h
|
$(DIRECTORY)/include/GL/internal/sarea.h \
|
||||||
$(MAKE) -C src/mesa program/lex.yy.c program/program_parse.tab.c program/program_parse.tab.h
|
$(DIRECTORY)/src/glx/Makefile \
|
||||||
|
$(DIRECTORY)/src/glx/x11/Makefile \
|
||||||
|
$(DIRECTORY)/src/glx/x11/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/Makefile.template \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/dri.pc.in \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/common/xmlpool/*.po \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/*/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/*/Makefile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/*/Doxyfile \
|
||||||
|
$(DIRECTORY)/src/mesa/drivers/dri/*/server/*.[ch]
|
||||||
|
|
||||||
|
SGI_GLU_FILES = \
|
||||||
|
$(DIRECTORY)/src/glu/Makefile \
|
||||||
|
$(DIRECTORY)/src/glu/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/glu/glu.pc.in \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/Makefile \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/Makefile.mgw \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/Makefile.win \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/Makefile.DJ \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/glu.def \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/dummy.cc \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/mesaglu.opt \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/include/gluos.h \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.h \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/interface/*.cc \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.h \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/internals/*.cc \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.h \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libnurbs/nurbtess/*.cc \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libtess/README \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libtess/alg-outline \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libtess/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glu/sgi/libutil/*.[ch]
|
||||||
|
|
||||||
|
MESA_GLU_FILES = \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/README[12] \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/Makefile* \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/mms_depend \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/*.def \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/depend \
|
||||||
|
$(DIRECTORY)/src/glu/mesa/*.[ch]
|
||||||
|
|
||||||
|
GLW_FILES = \
|
||||||
|
$(DIRECTORY)/src/glw/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glw/Makefile* \
|
||||||
|
$(DIRECTORY)/src/glw/README \
|
||||||
|
$(DIRECTORY)/src/glw/glw.pc.in \
|
||||||
|
$(DIRECTORY)/src/glw/depend
|
||||||
|
|
||||||
|
DEMO_FILES = \
|
||||||
|
$(DIRECTORY)/progs/beos/*.cpp \
|
||||||
|
$(DIRECTORY)/progs/beos/Makefile \
|
||||||
|
$(DIRECTORY)/progs/images/*.rgb \
|
||||||
|
$(DIRECTORY)/progs/images/*.rgba \
|
||||||
|
$(DIRECTORY)/progs/demos/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/demos/descrip.mms \
|
||||||
|
$(DIRECTORY)/progs/demos/*.[ch] \
|
||||||
|
$(DIRECTORY)/progs/demos/*.cxx \
|
||||||
|
$(DIRECTORY)/progs/demos/*.dat \
|
||||||
|
$(DIRECTORY)/progs/demos/README \
|
||||||
|
$(DIRECTORY)/progs/fbdev/Makefile \
|
||||||
|
$(DIRECTORY)/progs/fbdev/glfbdevtest.c \
|
||||||
|
$(DIRECTORY)/progs/osdemos/Makefile \
|
||||||
|
$(DIRECTORY)/progs/osdemos/*.c \
|
||||||
|
$(DIRECTORY)/progs/xdemos/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/xdemos/descrip.mms \
|
||||||
|
$(DIRECTORY)/progs/xdemos/*.[chf] \
|
||||||
|
$(DIRECTORY)/progs/redbook/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/redbook/README \
|
||||||
|
$(DIRECTORY)/progs/redbook/*.[ch] \
|
||||||
|
$(DIRECTORY)/progs/samples/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/samples/README \
|
||||||
|
$(DIRECTORY)/progs/samples/*.c \
|
||||||
|
$(DIRECTORY)/progs/glsl/Makefile* \
|
||||||
|
$(DIRECTORY)/progs/glsl/*.c \
|
||||||
|
$(DIRECTORY)/progs/glsl/*.txt \
|
||||||
|
$(DIRECTORY)/progs/windml/Makefile.ugl \
|
||||||
|
$(DIRECTORY)/progs/windml/*.c \
|
||||||
|
$(DIRECTORY)/progs/windml/*.bmp \
|
||||||
|
$(DIRECTORY)/progs/ggi/*.c \
|
||||||
|
$(DIRECTORY)/windows/VC6/progs/demos/*.dsp \
|
||||||
|
$(DIRECTORY)/windows/VC6/progs/progs.dsw \
|
||||||
|
$(DIRECTORY)/windows/VC7/progs/demos/*.vcproj \
|
||||||
|
$(DIRECTORY)/windows/VC7/progs/progs.sln
|
||||||
|
|
||||||
|
GLUT_FILES = \
|
||||||
|
$(DIRECTORY)/include/GL/glut.h \
|
||||||
|
$(DIRECTORY)/include/GL/glutf90.h \
|
||||||
|
$(DIRECTORY)/src/glut/glx/Makefile* \
|
||||||
|
$(DIRECTORY)/src/glut/glx/depend \
|
||||||
|
$(DIRECTORY)/src/glut/glx/glut.pc.in \
|
||||||
|
$(DIRECTORY)/src/glut/glx/*def \
|
||||||
|
$(DIRECTORY)/src/glut/glx/descrip.mms \
|
||||||
|
$(DIRECTORY)/src/glut/glx/mms_depend \
|
||||||
|
$(DIRECTORY)/src/glut/glx/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/beos/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/beos/*.cpp \
|
||||||
|
$(DIRECTORY)/src/glut/beos/Makefile \
|
||||||
|
$(DIRECTORY)/src/glut/dos/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/dos/Makefile.DJ \
|
||||||
|
$(DIRECTORY)/src/glut/dos/PC_HW/*.[chS] \
|
||||||
|
$(DIRECTORY)/src/glut/ggi/*.[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/ggi/Makefile \
|
||||||
|
$(DIRECTORY)/src/glut/fbdev/Makefile \
|
||||||
|
$(DIRECTORY)/src/glut/fbdev/*[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/mini/*[ch] \
|
||||||
|
$(DIRECTORY)/src/glut/mini/glut.pc.in \
|
||||||
|
$(DIRECTORY)/src/glut/directfb/Makefile \
|
||||||
|
$(DIRECTORY)/src/glut/directfb/NOTES \
|
||||||
|
$(DIRECTORY)/src/glut/directfb/*[ch] \
|
||||||
|
$(DIRECTORY)/windows/VC6/progs/glut/glut.dsp \
|
||||||
|
$(DIRECTORY)/windows/VC7/progs/glut/glut.vcproj
|
||||||
|
|
||||||
|
DEPEND_FILES = \
|
||||||
|
$(TOP)/src/mesa/depend \
|
||||||
|
$(TOP)/src/glx/x11/depend \
|
||||||
|
$(TOP)/src/glw/depend \
|
||||||
|
$(TOP)/src/glut/glx/depend \
|
||||||
|
$(TOP)/src/glu/sgi/depend
|
||||||
|
|
||||||
|
|
||||||
|
LIB_FILES = $(MAIN_FILES) $(DRI_FILES) $(SGI_GLU_FILES) $(GLW_FILES)
|
||||||
|
|
||||||
|
|
||||||
# Everything for new a Mesa release:
|
# Everything for new a Mesa release:
|
||||||
ARCHIVES = $(PACKAGE_NAME).tar.gz \
|
tarballs: rm_depend configure aclocal.m4 lib_gz demo_gz glut_gz \
|
||||||
$(PACKAGE_NAME).tar.bz2 \
|
lib_bz2 demo_bz2 glut_bz2 lib_zip demo_zip glut_zip md5
|
||||||
$(PACKAGE_NAME).zip \
|
|
||||||
|
|
||||||
tarballs: md5
|
|
||||||
rm -f ../$(PACKAGE_DIR) $(PACKAGE_NAME).tar
|
|
||||||
|
|
||||||
# Helper for autoconf builds
|
# Helper for autoconf builds
|
||||||
ACLOCAL = aclocal
|
ACLOCAL = aclocal
|
||||||
@@ -237,33 +459,82 @@ aclocal.m4: configure.ac acinclude.m4
|
|||||||
configure: configure.ac aclocal.m4 acinclude.m4
|
configure: configure.ac aclocal.m4 acinclude.m4
|
||||||
$(AUTOCONF) $(AC_FLAGS)
|
$(AUTOCONF) $(AC_FLAGS)
|
||||||
|
|
||||||
manifest.txt: .git
|
rm_depend:
|
||||||
( \
|
@for dep in $(DEPEND_FILES) ; do \
|
||||||
ls -1 $(EXTRA_FILES) ; \
|
rm -f $$dep ; \
|
||||||
git ls-files $(IGNORE_FILES) \
|
touch $$dep ; \
|
||||||
) | sed -e '/^\(.*\/\)\?\./d' -e "s@^@$(PACKAGE_DIR)/@" > $@
|
done
|
||||||
|
|
||||||
../$(PACKAGE_DIR):
|
lib_gz:
|
||||||
ln -s $(PWD) $@
|
rm -f configs/current ; \
|
||||||
|
rm -f configs/autoconf ; \
|
||||||
$(PACKAGE_NAME).tar: parsers ../$(PACKAGE_DIR) manifest.txt
|
|
||||||
cd .. ; tar -cf $(PACKAGE_DIR)/$(PACKAGE_NAME).tar -T $(PACKAGE_DIR)/manifest.txt
|
|
||||||
|
|
||||||
$(PACKAGE_NAME).tar.gz: $(PACKAGE_NAME).tar ../$(PACKAGE_DIR)
|
|
||||||
gzip --stdout --best $(PACKAGE_NAME).tar > $(PACKAGE_NAME).tar.gz
|
|
||||||
|
|
||||||
$(PACKAGE_NAME).tar.bz2: $(PACKAGE_NAME).tar
|
|
||||||
bzip2 --stdout --best $(PACKAGE_NAME).tar > $(PACKAGE_NAME).tar.bz2
|
|
||||||
|
|
||||||
$(PACKAGE_NAME).zip: parsers ../$(PACKAGE_DIR) manifest.txt
|
|
||||||
rm -f $(PACKAGE_NAME).zip ; \
|
|
||||||
cd .. ; \
|
cd .. ; \
|
||||||
zip -q -@ $(PACKAGE_NAME).zip < $(PACKAGE_DIR)/manifest.txt ; \
|
tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \
|
||||||
mv $(PACKAGE_NAME).zip $(PACKAGE_DIR)
|
gzip $(LIB_NAME).tar ; \
|
||||||
|
mv $(LIB_NAME).tar.gz $(DIRECTORY)
|
||||||
|
|
||||||
md5: $(ARCHIVES)
|
demo_gz:
|
||||||
@-md5sum $(PACKAGE_NAME).tar.gz
|
cd .. ; \
|
||||||
@-md5sum $(PACKAGE_NAME).tar.bz2
|
tar -cf $(DEMO_NAME).tar $(DEMO_FILES) ; \
|
||||||
@-md5sum $(PACKAGE_NAME).zip
|
gzip $(DEMO_NAME).tar ; \
|
||||||
|
mv $(DEMO_NAME).tar.gz $(DIRECTORY)
|
||||||
|
|
||||||
.PHONY: tarballs md5
|
glut_gz:
|
||||||
|
cd .. ; \
|
||||||
|
tar -cf $(GLUT_NAME).tar $(GLUT_FILES) ; \
|
||||||
|
gzip $(GLUT_NAME).tar ; \
|
||||||
|
mv $(GLUT_NAME).tar.gz $(DIRECTORY)
|
||||||
|
|
||||||
|
lib_bz2:
|
||||||
|
rm -f configs/current ; \
|
||||||
|
rm -f configs/autoconf ; \
|
||||||
|
cd .. ; \
|
||||||
|
tar -cf $(LIB_NAME).tar $(LIB_FILES) ; \
|
||||||
|
bzip2 $(LIB_NAME).tar ; \
|
||||||
|
mv $(LIB_NAME).tar.bz2 $(DIRECTORY)
|
||||||
|
|
||||||
|
demo_bz2:
|
||||||
|
cd .. ; \
|
||||||
|
tar -cf $(DEMO_NAME).tar $(DEMO_FILES) ; \
|
||||||
|
bzip2 $(DEMO_NAME).tar ; \
|
||||||
|
mv $(DEMO_NAME).tar.bz2 $(DIRECTORY)
|
||||||
|
|
||||||
|
glut_bz2:
|
||||||
|
cd .. ; \
|
||||||
|
tar -cf $(GLUT_NAME).tar $(GLUT_FILES) ; \
|
||||||
|
bzip2 $(GLUT_NAME).tar ; \
|
||||||
|
mv $(GLUT_NAME).tar.bz2 $(DIRECTORY)
|
||||||
|
|
||||||
|
lib_zip:
|
||||||
|
rm -f configs/current ; \
|
||||||
|
rm -f configs/autoconf ; \
|
||||||
|
rm -f $(LIB_NAME).zip ; \
|
||||||
|
cd .. ; \
|
||||||
|
zip -qr $(LIB_NAME).zip $(LIB_FILES) ; \
|
||||||
|
mv $(LIB_NAME).zip $(DIRECTORY)
|
||||||
|
|
||||||
|
demo_zip:
|
||||||
|
rm -f $(DEMO_NAME).zip ; \
|
||||||
|
cd .. ; \
|
||||||
|
zip -qr $(DEMO_NAME).zip $(DEMO_FILES) ; \
|
||||||
|
mv $(DEMO_NAME).zip $(DIRECTORY)
|
||||||
|
|
||||||
|
glut_zip:
|
||||||
|
rm -f $(GLUT_NAME).zip ; \
|
||||||
|
cd .. ; \
|
||||||
|
zip -qr $(GLUT_NAME).zip $(GLUT_FILES) ; \
|
||||||
|
mv $(GLUT_NAME).zip $(DIRECTORY)
|
||||||
|
|
||||||
|
md5:
|
||||||
|
@-md5sum $(LIB_NAME).tar.gz
|
||||||
|
@-md5sum $(LIB_NAME).tar.bz2
|
||||||
|
@-md5sum $(LIB_NAME).zip
|
||||||
|
@-md5sum $(DEMO_NAME).tar.gz
|
||||||
|
@-md5sum $(DEMO_NAME).tar.bz2
|
||||||
|
@-md5sum $(DEMO_NAME).zip
|
||||||
|
@-md5sum $(GLUT_NAME).tar.gz
|
||||||
|
@-md5sum $(GLUT_NAME).tar.bz2
|
||||||
|
@-md5sum $(GLUT_NAME).zip
|
||||||
|
|
||||||
|
.PHONY: tarballs rm_depend lib_gz demo_gz glut_gz lib_bz2 demo_bz2 \
|
||||||
|
glut_bz2 lib_zip demo_zip glut_zip md5
|
||||||
|
|||||||
88
Makefile.DJ
Normal file
88
Makefile.DJ
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
# Mesa 3-D graphics library
|
||||||
|
# Version: 4.0
|
||||||
|
#
|
||||||
|
# Copyright (C) 1999 Brian Paul All Rights Reserved.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# BRIAN PAUL 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.
|
||||||
|
|
||||||
|
# DOS/DJGPP makefile for Mesa
|
||||||
|
#
|
||||||
|
# Author: Daniel Borca
|
||||||
|
# Email : dborca@users.sourceforge.net
|
||||||
|
# Web : http://www.geocities.com/dborca
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Available options:
|
||||||
|
#
|
||||||
|
# Environment variables:
|
||||||
|
# GLIDE path to Glide3 SDK; used with FX.
|
||||||
|
# default = $(TOP)/glide3
|
||||||
|
# FX=1 build for 3dfx Glide3. Note that this disables
|
||||||
|
# compilation of most DMesa code and requires fxMesa.
|
||||||
|
# As a consequence, you'll need the DJGPP Glide3
|
||||||
|
# library to build any application.
|
||||||
|
# default = no
|
||||||
|
# X86=1 optimize for x86 (if possible, use MMX, SSE, 3DNow).
|
||||||
|
# default = no
|
||||||
|
#
|
||||||
|
# Targets:
|
||||||
|
# all: build everything
|
||||||
|
# libgl: build GL
|
||||||
|
# libglu: build GLU
|
||||||
|
# libglut: build GLUT
|
||||||
|
# clean: remove object files
|
||||||
|
# realclean: remove all generated files
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY : all libgl libglu libglut clean realclean
|
||||||
|
|
||||||
|
CFLAGS = -Wall -W -pedantic
|
||||||
|
CFLAGS += -O2 -ffast-math
|
||||||
|
|
||||||
|
export CFLAGS
|
||||||
|
|
||||||
|
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),)
|
||||||
|
UNLINK = del $(subst /,\,$(1))
|
||||||
|
else
|
||||||
|
UNLINK = $(RM) $(1)
|
||||||
|
endif
|
||||||
|
|
||||||
|
all: libgl libglu libglut
|
||||||
|
|
||||||
|
libgl: lib
|
||||||
|
$(MAKE) -f Makefile.DJ -C src/mesa
|
||||||
|
libglu: lib
|
||||||
|
$(MAKE) -f Makefile.DJ -C src/glu/sgi
|
||||||
|
libglut: lib
|
||||||
|
$(MAKE) -f Makefile.DJ -C src/glut/dos
|
||||||
|
|
||||||
|
lib:
|
||||||
|
mkdir lib
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -f Makefile.DJ clean -C src/mesa
|
||||||
|
$(MAKE) -f Makefile.DJ clean -C src/glu/mesa
|
||||||
|
$(MAKE) -f Makefile.DJ clean -C src/glu/sgi
|
||||||
|
$(MAKE) -f Makefile.DJ clean -C src/glut/dos
|
||||||
|
|
||||||
|
realclean: clean
|
||||||
|
-$(call UNLINK,lib/*.a)
|
||||||
|
-$(call UNLINK,lib/*.dxe)
|
||||||
110
Makefile.mgw
Normal file
110
Makefile.mgw
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
# Mesa 3-D graphics library
|
||||||
|
# Version: 4.0
|
||||||
|
#
|
||||||
|
# Copyright (C) 1999 Brian Paul All Rights Reserved.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# BRIAN PAUL 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.
|
||||||
|
|
||||||
|
# MinGW makefile v1.2 for Mesa
|
||||||
|
#
|
||||||
|
# Copyright (C) 2002 - Daniel Borca
|
||||||
|
# Email : dborca@users.sourceforge.net
|
||||||
|
# Web : http://www.geocities.com/dborca
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Available options:
|
||||||
|
#
|
||||||
|
# Environment variables:
|
||||||
|
# GLIDE path to Glide3 SDK; used with FX.
|
||||||
|
# default = $(TOP)/glide3
|
||||||
|
# FX=1 build for 3dfx Glide3. Note that this disables
|
||||||
|
# compilation of most WMesa code and requires fxMesa.
|
||||||
|
# As a consequence, you'll need the Win32 Glide3
|
||||||
|
# library to build any application.
|
||||||
|
# default = no
|
||||||
|
# ICD=1 build the installable client driver interface
|
||||||
|
# (windows opengl driver interface)
|
||||||
|
# default = no
|
||||||
|
# X86=1 optimize for x86 (if possible, use MMX, SSE, 3DNow).
|
||||||
|
# default = no
|
||||||
|
#
|
||||||
|
# Targets:
|
||||||
|
# all: build everything
|
||||||
|
# libgl: build GL
|
||||||
|
# clean: remove object files
|
||||||
|
# realclean: remove all generated files
|
||||||
|
#
|
||||||
|
|
||||||
|
# MinGW core makefile updated for Mesa 7.0
|
||||||
|
#
|
||||||
|
# Updated : by Heromyth, on 2007-7-21
|
||||||
|
# Email : zxpmyth@yahoo.com.cn
|
||||||
|
# Bugs : 1) All the default settings work fine. But the setting X86=1 can't work.
|
||||||
|
# The others havn't been tested yet.
|
||||||
|
# 2) The generated DLLs are *not* compatible with the ones built
|
||||||
|
# with the other compilers like VC8, especially for GLUT.
|
||||||
|
# 3) MAlthough more tests are needed, it can be used individually!
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY : all libgl clean realclean
|
||||||
|
|
||||||
|
ifeq ($(ICD),1)
|
||||||
|
# when -std=c99 mingw will not define WIN32
|
||||||
|
CFLAGS = -Wall -Werror
|
||||||
|
else
|
||||||
|
# I love c89
|
||||||
|
CFLAGS = -Wall -pedantic
|
||||||
|
endif
|
||||||
|
CFLAGS += -O2 -ffast-math
|
||||||
|
|
||||||
|
export CFLAGS
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),)
|
||||||
|
UNLINK = del $(subst /,\,$(1))
|
||||||
|
else
|
||||||
|
UNLINK = $(RM) $(1)
|
||||||
|
endif
|
||||||
|
|
||||||
|
all: libgl libglu libglut example
|
||||||
|
|
||||||
|
libgl: lib
|
||||||
|
$(MAKE) -f Makefile.mgw -C src/mesa
|
||||||
|
|
||||||
|
libglu: libgl
|
||||||
|
$(MAKE) -f Makefile.mgw -C src/glu/sgi
|
||||||
|
|
||||||
|
libglut: libglu
|
||||||
|
$(MAKE) -f Makefile.mgw -C src/glut/glx
|
||||||
|
|
||||||
|
example: libglut
|
||||||
|
$(MAKE) -f Makefile.mgw star -C progs/samples
|
||||||
|
copy progs\samples\star.exe lib
|
||||||
|
|
||||||
|
lib:
|
||||||
|
mkdir lib
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(MAKE) -f Makefile.mgw clean -C src/mesa
|
||||||
|
$(MAKE) -f Makefile.mgw clean -C src/glu/sgi
|
||||||
|
$(MAKE) -f Makefile.mgw clean -C src/glut/glx
|
||||||
|
|
||||||
|
realclean: clean
|
||||||
|
-$(call UNLINK,lib/*.a)
|
||||||
|
-$(call UNLINK,lib/*.dll)
|
||||||
161
SConstruct
161
SConstruct
@@ -1,161 +0,0 @@
|
|||||||
#######################################################################
|
|
||||||
# Top-level SConstruct
|
|
||||||
#
|
|
||||||
# For example, invoke scons as
|
|
||||||
#
|
|
||||||
# scons build=debug llvm=yes machine=x86
|
|
||||||
#
|
|
||||||
# to set configuration variables. Or you can write those options to a file
|
|
||||||
# named config.py:
|
|
||||||
#
|
|
||||||
# # config.py
|
|
||||||
# build='debug'
|
|
||||||
# llvm=True
|
|
||||||
# machine='x86'
|
|
||||||
#
|
|
||||||
# Invoke
|
|
||||||
#
|
|
||||||
# scons -h
|
|
||||||
#
|
|
||||||
# to get the full list of options. See scons manpage for more info.
|
|
||||||
#
|
|
||||||
|
|
||||||
import os
|
|
||||||
import os.path
|
|
||||||
import sys
|
|
||||||
import SCons.Util
|
|
||||||
|
|
||||||
import common
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Configuration options
|
|
||||||
|
|
||||||
opts = Variables('config.py')
|
|
||||||
common.AddOptions(opts)
|
|
||||||
|
|
||||||
env = Environment(
|
|
||||||
options = opts,
|
|
||||||
tools = ['gallium'],
|
|
||||||
toolpath = ['#scons'],
|
|
||||||
ENV = os.environ,
|
|
||||||
)
|
|
||||||
|
|
||||||
# XXX: This creates a many problems as it saves...
|
|
||||||
#opts.Save('config.py', env)
|
|
||||||
|
|
||||||
# Backwards compatability with old target configuration variable
|
|
||||||
try:
|
|
||||||
targets = ARGUMENTS['targets']
|
|
||||||
except KeyError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
targets = targets.split(',')
|
|
||||||
print 'scons: warning: targets option is deprecated; pass the targets on their own such as'
|
|
||||||
print
|
|
||||||
print ' scons %s' % ' '.join(targets)
|
|
||||||
print
|
|
||||||
COMMAND_LINE_TARGETS.append(targets)
|
|
||||||
|
|
||||||
|
|
||||||
Help(opts.GenerateHelpText(env))
|
|
||||||
|
|
||||||
# fail early for a common error on windows
|
|
||||||
if env['gles']:
|
|
||||||
try:
|
|
||||||
import libxml2
|
|
||||||
except ImportError:
|
|
||||||
raise SCons.Errors.UserError, "GLES requires libxml2-python to build"
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Environment setup
|
|
||||||
|
|
||||||
# Includes
|
|
||||||
env.Prepend(CPPPATH = [
|
|
||||||
'#/include',
|
|
||||||
])
|
|
||||||
env.Append(CPPPATH = [
|
|
||||||
'#/src/gallium/include',
|
|
||||||
'#/src/gallium/auxiliary',
|
|
||||||
'#/src/gallium/drivers',
|
|
||||||
'#/src/gallium/winsys',
|
|
||||||
])
|
|
||||||
|
|
||||||
if env['msvc']:
|
|
||||||
env.Append(CPPPATH = ['#include/c99'])
|
|
||||||
|
|
||||||
# for debugging
|
|
||||||
#print env.Dump()
|
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Invoke host SConscripts
|
|
||||||
#
|
|
||||||
# For things that are meant to be run on the native host build machine, instead
|
|
||||||
# of the target machine.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Create host environent
|
|
||||||
if env['crosscompile'] and not env['embedded']:
|
|
||||||
host_env = Environment(
|
|
||||||
options = opts,
|
|
||||||
# no tool used
|
|
||||||
tools = [],
|
|
||||||
toolpath = ['#scons'],
|
|
||||||
ENV = os.environ,
|
|
||||||
)
|
|
||||||
|
|
||||||
# Override options
|
|
||||||
host_env['platform'] = common.host_platform
|
|
||||||
host_env['machine'] = common.host_machine
|
|
||||||
host_env['toolchain'] = 'default'
|
|
||||||
host_env['llvm'] = False
|
|
||||||
|
|
||||||
host_env.Tool('gallium')
|
|
||||||
|
|
||||||
host_env['hostonly'] = True
|
|
||||||
assert host_env['crosscompile'] == False
|
|
||||||
|
|
||||||
if host_env['msvc']:
|
|
||||||
host_env.Append(CPPPATH = ['#include/c99'])
|
|
||||||
|
|
||||||
target_env = env
|
|
||||||
env = host_env
|
|
||||||
Export('env')
|
|
||||||
|
|
||||||
SConscript(
|
|
||||||
'src/SConscript',
|
|
||||||
variant_dir = host_env['build_dir'],
|
|
||||||
duplicate = 0, # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
|
|
||||||
)
|
|
||||||
|
|
||||||
env = target_env
|
|
||||||
|
|
||||||
Export('env')
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Invoke SConscripts
|
|
||||||
|
|
||||||
# TODO: Build several variants at the same time?
|
|
||||||
# http://www.scons.org/wiki/SimultaneousVariantBuilds
|
|
||||||
|
|
||||||
SConscript(
|
|
||||||
'src/SConscript',
|
|
||||||
variant_dir = env['build_dir'],
|
|
||||||
duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
|
||||||
# List all aliases
|
|
||||||
|
|
||||||
try:
|
|
||||||
from SCons.Node.Alias import default_ans
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
aliases = default_ans.keys()
|
|
||||||
aliases.sort()
|
|
||||||
env.Help('\n')
|
|
||||||
env.Help('Recognized targets:\n')
|
|
||||||
for alias in aliases:
|
|
||||||
env.Help(' %s\n' % alias)
|
|
||||||
@@ -11,10 +11,6 @@ if test "x$SRCDIR" != "x$ORIGDIR"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAKEFLAGS=""
|
|
||||||
|
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -v --install || exit 1
|
||||||
|
|
||||||
if test -z "$NOCONFIGURE"; then
|
"$srcdir"/configure "$@"
|
||||||
"$srcdir"/configure "$@"
|
|
||||||
fi
|
|
||||||
|
|||||||
2
bin/.gitignore
vendored
2
bin/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
/depcomp
|
|
||||||
/missing
|
|
||||||
71
bin/config.guess
vendored
71
bin/config.guess
vendored
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||||
# Free Software Foundation, Inc.
|
# Inc.
|
||||||
|
|
||||||
timestamp='2009-02-03'
|
timestamp='2007-07-22'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -56,8 +56,8 @@ version="\
|
|||||||
GNU config.guess ($timestamp)
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
Originally written by Per Bothner.
|
Originally written by Per Bothner.
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||||
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
@@ -331,20 +331,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||||
exit ;;
|
exit ;;
|
||||||
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
||||||
eval $set_cc_for_build
|
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||||
SUN_ARCH="i386"
|
|
||||||
# If there is a compiler, see if it is configured for 64-bit objects.
|
|
||||||
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
|
||||||
# This test works for both compilers.
|
|
||||||
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
|
||||||
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
|
||||||
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
|
||||||
grep IS_64BIT_ARCH >/dev/null
|
|
||||||
then
|
|
||||||
SUN_ARCH="x86_64"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
|
||||||
exit ;;
|
exit ;;
|
||||||
sun4*:SunOS:6*:*)
|
sun4*:SunOS:6*:*)
|
||||||
# According to config.sub, this is the proper way to canonicalize
|
# According to config.sub, this is the proper way to canonicalize
|
||||||
@@ -545,7 +532,7 @@ EOF
|
|||||||
echo rs6000-ibm-aix3.2
|
echo rs6000-ibm-aix3.2
|
||||||
fi
|
fi
|
||||||
exit ;;
|
exit ;;
|
||||||
*:AIX:*:[456])
|
*:AIX:*:[45])
|
||||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
||||||
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||||
IBM_ARCH=rs6000
|
IBM_ARCH=rs6000
|
||||||
@@ -809,12 +796,9 @@ EOF
|
|||||||
x86)
|
x86)
|
||||||
echo i586-pc-interix${UNAME_RELEASE}
|
echo i586-pc-interix${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
EM64T | authenticamd | genuineintel)
|
EM64T | authenticamd)
|
||||||
echo x86_64-unknown-interix${UNAME_RELEASE}
|
echo x86_64-unknown-interix${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
IA64)
|
|
||||||
echo ia64-unknown-interix${UNAME_RELEASE}
|
|
||||||
exit ;;
|
|
||||||
esac ;;
|
esac ;;
|
||||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||||
echo i${UNAME_MACHINE}-pc-mks
|
echo i${UNAME_MACHINE}-pc-mks
|
||||||
@@ -849,14 +833,7 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-minix
|
echo ${UNAME_MACHINE}-pc-minix
|
||||||
exit ;;
|
exit ;;
|
||||||
arm*:Linux:*:*)
|
arm*:Linux:*:*)
|
||||||
eval $set_cc_for_build
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
|
||||||
| grep -q __ARM_EABI__
|
|
||||||
then
|
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
|
||||||
else
|
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
|
||||||
fi
|
|
||||||
exit ;;
|
exit ;;
|
||||||
avr32*:Linux:*:*)
|
avr32*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
@@ -948,9 +925,6 @@ EOF
|
|||||||
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||||
exit ;;
|
exit ;;
|
||||||
padre:Linux:*:*)
|
|
||||||
echo sparc-unknown-linux-gnu
|
|
||||||
exit ;;
|
|
||||||
parisc:Linux:*:* | hppa:Linux:*:*)
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||||
# Look for CPU level
|
# Look for CPU level
|
||||||
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||||
@@ -980,8 +954,8 @@ EOF
|
|||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
echo x86_64-unknown-linux-gnu
|
echo x86_64-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo xtensa-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:Linux:*:*)
|
i*86:Linux:*:*)
|
||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
@@ -1001,6 +975,9 @@ EOF
|
|||||||
a.out-i386-linux)
|
a.out-i386-linux)
|
||||||
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||||
exit ;;
|
exit ;;
|
||||||
|
coff-i386)
|
||||||
|
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||||
|
exit ;;
|
||||||
"")
|
"")
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
||||||
# one that does not give us useful --help.
|
# one that does not give us useful --help.
|
||||||
@@ -1154,16 +1131,6 @@ EOF
|
|||||||
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
||||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||||
&& { echo i486-ncr-sysv4; exit; } ;;
|
&& { echo i486-ncr-sysv4; exit; } ;;
|
||||||
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
|
||||||
OS_REL='.3'
|
|
||||||
test -r /etc/.relid \
|
|
||||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
|
||||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
|
||||||
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
|
||||||
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
|
||||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
|
||||||
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
|
||||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
|
||||||
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
||||||
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
@@ -1239,9 +1206,6 @@ EOF
|
|||||||
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
||||||
echo i586-pc-beos
|
echo i586-pc-beos
|
||||||
exit ;;
|
exit ;;
|
||||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
||||||
echo i586-pc-haiku
|
|
||||||
exit ;;
|
|
||||||
SX-4:SUPER-UX:*:*)
|
SX-4:SUPER-UX:*:*)
|
||||||
echo sx4-nec-superux${UNAME_RELEASE}
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
@@ -1350,9 +1314,6 @@ EOF
|
|||||||
i*86:rdos:*:*)
|
i*86:rdos:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-rdos
|
echo ${UNAME_MACHINE}-pc-rdos
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:AROS:*:*)
|
|
||||||
echo ${UNAME_MACHINE}-pc-aros
|
|
||||||
exit ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
@@ -1513,9 +1474,9 @@ This script, last modified $timestamp, has failed to recognize
|
|||||||
the operating system you are using. It is advised that you
|
the operating system you are using. It is advised that you
|
||||||
download the most up to date version of the config scripts from
|
download the most up to date version of the config scripts from
|
||||||
|
|
||||||
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
||||||
and
|
and
|
||||||
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
||||||
|
|
||||||
If the version you run ($0) is already up to date, please
|
If the version you run ($0) is already up to date, please
|
||||||
send the following data and any information you think might be
|
send the following data and any information you think might be
|
||||||
|
|||||||
95
bin/config.sub
vendored
95
bin/config.sub
vendored
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||||
# Free Software Foundation, Inc.
|
# Inc.
|
||||||
|
|
||||||
timestamp='2009-02-03'
|
timestamp='2007-06-28'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@@ -72,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|||||||
version="\
|
version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||||
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
@@ -122,7 +122,6 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
|||||||
case $maybe_os in
|
case $maybe_os in
|
||||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||||
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||||
kopensolaris*-gnu* | \
|
|
||||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||||
os=-$maybe_os
|
os=-$maybe_os
|
||||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||||
@@ -250,16 +249,13 @@ case $basic_machine in
|
|||||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
| lm32 \
|
|
||||||
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
| maxq | mb | microblaze | mcore | mep | metag \
|
| maxq | mb | microblaze | mcore | mep \
|
||||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||||
| mips16 \
|
| mips16 \
|
||||||
| mips64 | mips64el \
|
| mips64 | mips64el \
|
||||||
| mips64octeon | mips64octeonel \
|
|
||||||
| mips64orion | mips64orionel \
|
|
||||||
| mips64r5900 | mips64r5900el \
|
|
||||||
| mips64vr | mips64vrel \
|
| mips64vr | mips64vrel \
|
||||||
|
| mips64orion | mips64orionel \
|
||||||
| mips64vr4100 | mips64vr4100el \
|
| mips64vr4100 | mips64vr4100el \
|
||||||
| mips64vr4300 | mips64vr4300el \
|
| mips64vr4300 | mips64vr4300el \
|
||||||
| mips64vr5000 | mips64vr5000el \
|
| mips64vr5000 | mips64vr5000el \
|
||||||
@@ -281,7 +277,7 @@ case $basic_machine in
|
|||||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||||
| pyramid \
|
| pyramid \
|
||||||
| score \
|
| score \
|
||||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||||
| sh64 | sh64le \
|
| sh64 | sh64le \
|
||||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||||
@@ -290,7 +286,7 @@ case $basic_machine in
|
|||||||
| v850 | v850e \
|
| v850 | v850e \
|
||||||
| we32k \
|
| we32k \
|
||||||
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||||
| z8k | z80)
|
| z8k)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12)
|
m6811 | m68hc11 | m6812 | m68hc12)
|
||||||
@@ -333,17 +329,14 @@ case $basic_machine in
|
|||||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||||
| i*86-* | i860-* | i960-* | ia64-* \
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
| lm32-* \
|
|
||||||
| m32c-* | m32r-* | m32rle-* \
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
|
| m88110-* | m88k-* | maxq-* | mcore-* \
|
||||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||||
| mips16-* \
|
| mips16-* \
|
||||||
| mips64-* | mips64el-* \
|
| mips64-* | mips64el-* \
|
||||||
| mips64octeon-* | mips64octeonel-* \
|
|
||||||
| mips64orion-* | mips64orionel-* \
|
|
||||||
| mips64r5900-* | mips64r5900el-* \
|
|
||||||
| mips64vr-* | mips64vrel-* \
|
| mips64vr-* | mips64vrel-* \
|
||||||
|
| mips64orion-* | mips64orionel-* \
|
||||||
| mips64vr4100-* | mips64vr4100el-* \
|
| mips64vr4100-* | mips64vr4100el-* \
|
||||||
| mips64vr4300-* | mips64vr4300el-* \
|
| mips64vr4300-* | mips64vr4300el-* \
|
||||||
| mips64vr5000-* | mips64vr5000el-* \
|
| mips64vr5000-* | mips64vr5000el-* \
|
||||||
@@ -365,24 +358,20 @@ case $basic_machine in
|
|||||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||||
| pyramid-* \
|
| pyramid-* \
|
||||||
| romp-* | rs6000-* \
|
| romp-* | rs6000-* \
|
||||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||||
| sparclite-* \
|
| sparclite-* \
|
||||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
||||||
| tahoe-* | thumb-* \
|
| tahoe-* | thumb-* \
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||||
| tron-* \
|
| tron-* \
|
||||||
| v850-* | v850e-* | vax-* \
|
| v850-* | v850e-* | vax-* \
|
||||||
| we32k-* \
|
| we32k-* \
|
||||||
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||||
| xstormy16-* | xtensa*-* \
|
| xstormy16-* | xtensa-* \
|
||||||
| ymp-* \
|
| ymp-* \
|
||||||
| z8k-* | z80-*)
|
| z8k-*)
|
||||||
;;
|
|
||||||
# Recognize the basic CPU types without company name, with glob match.
|
|
||||||
xtensa*)
|
|
||||||
basic_machine=$basic_machine-unknown
|
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
@@ -446,10 +435,6 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-apollo
|
basic_machine=m68k-apollo
|
||||||
os=-bsd
|
os=-bsd
|
||||||
;;
|
;;
|
||||||
aros)
|
|
||||||
basic_machine=i386-pc
|
|
||||||
os=-aros
|
|
||||||
;;
|
|
||||||
aux)
|
aux)
|
||||||
basic_machine=m68k-apple
|
basic_machine=m68k-apple
|
||||||
os=-aux
|
os=-aux
|
||||||
@@ -458,22 +443,10 @@ case $basic_machine in
|
|||||||
basic_machine=ns32k-sequent
|
basic_machine=ns32k-sequent
|
||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
blackfin)
|
|
||||||
basic_machine=bfin-unknown
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
blackfin-*)
|
|
||||||
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
c90)
|
c90)
|
||||||
basic_machine=c90-cray
|
basic_machine=c90-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
cegcc)
|
|
||||||
basic_machine=arm-unknown
|
|
||||||
os=-cegcc
|
|
||||||
;;
|
|
||||||
convex-c1)
|
convex-c1)
|
||||||
basic_machine=c1-convex
|
basic_machine=c1-convex
|
||||||
os=-bsd
|
os=-bsd
|
||||||
@@ -541,10 +514,6 @@ case $basic_machine in
|
|||||||
basic_machine=m88k-motorola
|
basic_machine=m88k-motorola
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
;;
|
;;
|
||||||
dicos)
|
|
||||||
basic_machine=i686-pc
|
|
||||||
os=-dicos
|
|
||||||
;;
|
|
||||||
djgpp)
|
djgpp)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
os=-msdosdjgpp
|
os=-msdosdjgpp
|
||||||
@@ -699,14 +668,6 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-isi
|
basic_machine=m68k-isi
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
m68knommu)
|
|
||||||
basic_machine=m68k-unknown
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
m68knommu-*)
|
|
||||||
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
m88k-omron*)
|
m88k-omron*)
|
||||||
basic_machine=m88k-omron
|
basic_machine=m88k-omron
|
||||||
;;
|
;;
|
||||||
@@ -852,14 +813,6 @@ case $basic_machine in
|
|||||||
basic_machine=i860-intel
|
basic_machine=i860-intel
|
||||||
os=-osf
|
os=-osf
|
||||||
;;
|
;;
|
||||||
parisc)
|
|
||||||
basic_machine=hppa-unknown
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
parisc-*)
|
|
||||||
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
|
||||||
os=-linux
|
|
||||||
;;
|
|
||||||
pbd)
|
pbd)
|
||||||
basic_machine=sparc-tti
|
basic_machine=sparc-tti
|
||||||
;;
|
;;
|
||||||
@@ -1068,10 +1021,6 @@ case $basic_machine in
|
|||||||
basic_machine=tic6x-unknown
|
basic_machine=tic6x-unknown
|
||||||
os=-coff
|
os=-coff
|
||||||
;;
|
;;
|
||||||
tile*)
|
|
||||||
basic_machine=tile-unknown
|
|
||||||
os=-linux-gnu
|
|
||||||
;;
|
|
||||||
tx39)
|
tx39)
|
||||||
basic_machine=mipstx39-unknown
|
basic_machine=mipstx39-unknown
|
||||||
;;
|
;;
|
||||||
@@ -1147,10 +1096,6 @@ case $basic_machine in
|
|||||||
basic_machine=z8k-unknown
|
basic_machine=z8k-unknown
|
||||||
os=-sim
|
os=-sim
|
||||||
;;
|
;;
|
||||||
z80-*-coff)
|
|
||||||
basic_machine=z80-unknown
|
|
||||||
os=-sim
|
|
||||||
;;
|
|
||||||
none)
|
none)
|
||||||
basic_machine=none-none
|
basic_machine=none-none
|
||||||
os=-none
|
os=-none
|
||||||
@@ -1189,7 +1134,7 @@ case $basic_machine in
|
|||||||
we32k)
|
we32k)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||||
basic_machine=sh-unknown
|
basic_machine=sh-unknown
|
||||||
;;
|
;;
|
||||||
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
||||||
@@ -1261,9 +1206,8 @@ case $os in
|
|||||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||||
| -kopensolaris* \
|
|
||||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||||
| -aos* | -aros* \
|
| -aos* \
|
||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||||
@@ -1272,7 +1216,7 @@ case $os in
|
|||||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -chorusos* | -chorusrdb* | -cegcc* \
|
| -chorusos* | -chorusrdb* \
|
||||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
@@ -1412,9 +1356,6 @@ case $os in
|
|||||||
-zvmoe)
|
-zvmoe)
|
||||||
os=-zvmoe
|
os=-zvmoe
|
||||||
;;
|
;;
|
||||||
-dicos*)
|
|
||||||
os=-dicos
|
|
||||||
;;
|
|
||||||
-none)
|
-none)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
if [ ! -f src/mesa/main/git_sha1.h ]; then
|
|
||||||
touch src/mesa/main/git_sha1.h
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d .git ]; then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if which git > /dev/null; then
|
|
||||||
# Extract the 7-digit "short" SHA1 for the current HEAD, convert
|
|
||||||
# it to a string, and wrap it in a #define. This is used in
|
|
||||||
# src/mesa/main/version.c to put the GIT SHA1 in the GL_VERSION string.
|
|
||||||
git log -n 1 --oneline |\
|
|
||||||
sed 's/^\([^ ]*\) .*/#define MESA_GIT_SHA1 "git-\1"/' \
|
|
||||||
> src/mesa/main/git_sha1.h.tmp
|
|
||||||
if ! cmp -s src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h; then
|
|
||||||
mv src/mesa/main/git_sha1.h.tmp src/mesa/main/git_sha1.h
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
28
bin/minstall
28
bin/minstall
@@ -31,7 +31,7 @@ if [ $# -ge 2 ] ; then
|
|||||||
|
|
||||||
# Last cmd line arg is the dest dir
|
# Last cmd line arg is the dest dir
|
||||||
for FILE in $@ ; do
|
for FILE in $@ ; do
|
||||||
DESTDIR="$FILE"
|
DEST="$FILE"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Loop over args, moving them to DEST directory
|
# Loop over args, moving them to DEST directory
|
||||||
@@ -42,25 +42,6 @@ if [ $# -ge 2 ] ; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEST=$DESTDIR
|
|
||||||
|
|
||||||
# On CYGWIN, because DLLs are loaded by the native Win32 loader,
|
|
||||||
# they are installed in the executable path. Stub libraries used
|
|
||||||
# only for linking are installed in the library path
|
|
||||||
case `uname` in
|
|
||||||
CYGWIN*)
|
|
||||||
case $FILE in
|
|
||||||
*.dll)
|
|
||||||
DEST="$DEST/../bin"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
PWDSAVE=`pwd`
|
PWDSAVE=`pwd`
|
||||||
|
|
||||||
# determine file's type
|
# determine file's type
|
||||||
@@ -85,11 +66,8 @@ if [ $# -ge 2 ] ; then
|
|||||||
|
|
||||||
elif [ -f "$FILE" ] ; then
|
elif [ -f "$FILE" ] ; then
|
||||||
#echo "$FILE" is a regular file
|
#echo "$FILE" is a regular file
|
||||||
# Only copy if the files differ
|
$RM "$DEST/`basename $FILE`"
|
||||||
if ! cmp -s $FILE $DEST/`basename $FILE`; then
|
cp "$FILE" "$DEST"
|
||||||
$RM "$DEST/`basename $FILE`"
|
|
||||||
cp "$FILE" "$DEST"
|
|
||||||
fi
|
|
||||||
if [ $MODE ] ; then
|
if [ $MODE ] ; then
|
||||||
FILE=`basename "$FILE"`
|
FILE=`basename "$FILE"`
|
||||||
chmod $MODE "$DEST/$FILE"
|
chmod $MODE "$DEST/$FILE"
|
||||||
|
|||||||
459
bin/mklib
459
bin/mklib
@@ -25,109 +25,6 @@
|
|||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
# Clear CDPATH as the 'cd' command will echo stuff
|
|
||||||
# to stdout if it is set
|
|
||||||
unset CDPATH
|
|
||||||
|
|
||||||
# Given a list of files, look for .a archives and unpack them.
|
|
||||||
# Return the original list of files minus the .a files plus the unpacked files.
|
|
||||||
# first param: name of a temp directory (to be deleted when finished)
|
|
||||||
# remaining params: list of .o and .a files
|
|
||||||
expand_archives() {
|
|
||||||
DIR=$1
|
|
||||||
shift
|
|
||||||
FILES=$@
|
|
||||||
NEWFILES=""
|
|
||||||
ORIG_DIR=`pwd`
|
|
||||||
mkdir -p "$DIR"
|
|
||||||
cd "$DIR"
|
|
||||||
for FILE in $FILES ; do
|
|
||||||
case $FILE in
|
|
||||||
*.a)
|
|
||||||
# extract the .o files from this .a archive
|
|
||||||
case $FILE in
|
|
||||||
/*) ;;
|
|
||||||
*) FILE="$ORIG_DIR/$FILE" ;;
|
|
||||||
esac
|
|
||||||
MEMBERS=`ar t $FILE`
|
|
||||||
ar x $FILE
|
|
||||||
for MEMBER in $MEMBERS ; do
|
|
||||||
NEWFILES="$NEWFILES $DIR/$MEMBER"
|
|
||||||
done
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# other file type, just add to list
|
|
||||||
NEWFILES="$NEWFILES $FILE"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
cd "$ORIG_DIR"
|
|
||||||
echo $NEWFILES
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Make static library with 'ar'
|
|
||||||
# params:
|
|
||||||
# options to ar
|
|
||||||
# 1 or 0 to indicate if ranlib should be run
|
|
||||||
# libname to make
|
|
||||||
# list of object files
|
|
||||||
# Return name of library we made
|
|
||||||
# Example: "make_ar_static_lib -ru 1 libfoo.a foo.o bar.o"
|
|
||||||
make_ar_static_lib() {
|
|
||||||
OPTS=$1
|
|
||||||
shift;
|
|
||||||
RANLIB=$1
|
|
||||||
shift;
|
|
||||||
LIBNAME=$1
|
|
||||||
shift;
|
|
||||||
OBJECTS=$@
|
|
||||||
|
|
||||||
# remove existing lib, if present
|
|
||||||
rm -f ${LIBNAME}
|
|
||||||
|
|
||||||
# make static lib
|
|
||||||
ar ${OPTS} ${LIBNAME} ${OBJECTS}
|
|
||||||
|
|
||||||
# run ranlib
|
|
||||||
if [ ${RANLIB} = 1 ] ; then
|
|
||||||
ranlib ${LIBNAME}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ${LIBNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Print usage info.
|
|
||||||
usage() {
|
|
||||||
echo 'Usage: mklib [options] objects'
|
|
||||||
echo 'Create a shared library from object files.'
|
|
||||||
echo ' -o LIBRARY specifies the name of the resulting library, without'
|
|
||||||
echo ' the leading "lib" or any suffix.'
|
|
||||||
echo ' (eg: "-o GL" might result in "libGL.so" being made)'
|
|
||||||
echo ' -major N specifies major version number (default is 1)'
|
|
||||||
echo ' -minor N specifies minor version number (default is 0)'
|
|
||||||
echo ' -patch N specifies patch version number (default is 0)'
|
|
||||||
echo ' -lLIBRARY specifies a dependency on LIBRARY'
|
|
||||||
echo ' -LDIR search in DIR for library dependencies at build time'
|
|
||||||
echo ' -RDIR search in DIR for library dependencies at run time'
|
|
||||||
echo ' -linker L explicity specify the linker program to use (eg: gcc, g++)'
|
|
||||||
echo ' Not observed on all systems at this time.'
|
|
||||||
echo ' -ldflags OPT specify any additional linker flags in OPT'
|
|
||||||
echo ' -cplusplus link with C++ runtime'
|
|
||||||
echo ' -static make a static library (default is dynamic/shared)'
|
|
||||||
echo ' -dlopen make a shared library suitable for dynamic loading'
|
|
||||||
echo ' -install DIR put resulting library file(s) in DIR'
|
|
||||||
echo ' -arch ARCH override using `uname` to determine host system'
|
|
||||||
echo ' -archopt OPT specify an extra achitecture-specific option OPT'
|
|
||||||
echo ' -altopts OPTS alternate options to override all others'
|
|
||||||
echo " -noprefix don't prefix library name with 'lib' nor add any suffix"
|
|
||||||
echo ' -exports FILE only export the symbols listed in FILE'
|
|
||||||
echo ' -id NAME Sets the id of the dylib (Darwin)'
|
|
||||||
echo ' -h, --help display this information and exit'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Option defaults
|
# Option defaults
|
||||||
#
|
#
|
||||||
@@ -146,7 +43,7 @@ ARCH="auto"
|
|||||||
ARCHOPT=""
|
ARCHOPT=""
|
||||||
NOPREFIX=0
|
NOPREFIX=0
|
||||||
EXPORTS=""
|
EXPORTS=""
|
||||||
ID=""
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Parse arguments
|
# Parse arguments
|
||||||
@@ -155,7 +52,30 @@ while true
|
|||||||
do
|
do
|
||||||
case $1 in
|
case $1 in
|
||||||
'-h' | '--help')
|
'-h' | '--help')
|
||||||
usage
|
echo 'Usage: mklib [options] objects'
|
||||||
|
echo 'Create a shared library from object files.'
|
||||||
|
echo ' -o LIBRARY specifies the name of the resulting library, without'
|
||||||
|
echo ' the leading "lib" or any suffix.'
|
||||||
|
echo ' (eg: "-o GL" might result in "libGL.so" being made)'
|
||||||
|
echo ' -major N specifies major version number (default is 1)'
|
||||||
|
echo ' -minor N specifies minor version number (default is 0)'
|
||||||
|
echo ' -patch N specifies patch version number (default is 0)'
|
||||||
|
echo ' -lLIBRARY specifies a dependency on LIBRARY'
|
||||||
|
echo ' -LDIR search in DIR for library dependencies at build time'
|
||||||
|
echo ' -RDIR search in DIR for library dependencies at run time'
|
||||||
|
echo ' -linker L explicity specify the linker program to use (eg: gcc, g++)'
|
||||||
|
echo ' Not observed on all systems at this time.'
|
||||||
|
echo ' -ldflags OPT specify any additional linker flags in OPT'
|
||||||
|
echo ' -cplusplus link with C++ runtime'
|
||||||
|
echo ' -static make a static library (default is dynamic/shared)'
|
||||||
|
echo ' -dlopen make a shared library suitable for dynamic loading'
|
||||||
|
echo ' -install DIR put resulting library file(s) in DIR'
|
||||||
|
echo ' -arch ARCH override using `uname` to determine host system'
|
||||||
|
echo ' -archopt OPT specify an extra achitecture-specific option OPT'
|
||||||
|
echo ' -altopts OPTS alternate options to override all others'
|
||||||
|
echo " -noprefix don't prefix library name with 'lib' nor add any suffix"
|
||||||
|
echo ' -exports FILE only export the symbols listed in FILE'
|
||||||
|
echo ' -h, --help display this information and exit'
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
'-o')
|
'-o')
|
||||||
@@ -233,10 +153,6 @@ do
|
|||||||
shift 1;
|
shift 1;
|
||||||
EXPORTS=$1
|
EXPORTS=$1
|
||||||
;;
|
;;
|
||||||
'-id')
|
|
||||||
shift 1;
|
|
||||||
ID=$1
|
|
||||||
;;
|
|
||||||
-*)
|
-*)
|
||||||
echo "mklib: Unknown option: " $1 ;
|
echo "mklib: Unknown option: " $1 ;
|
||||||
exit 1
|
exit 1
|
||||||
@@ -255,32 +171,15 @@ if [ ${ARCH} = "auto" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ $STATIC = 1 ]; then
|
|
||||||
# filter out linker options inside object list
|
|
||||||
NEWOBJECTS=""
|
|
||||||
for OBJ in $OBJECTS ; do
|
|
||||||
case $OBJ in
|
|
||||||
-Wl,*|-L*|-l*)
|
|
||||||
echo "mklib: warning: ignoring $OBJ for static library"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
NEWOBJECTS="$NEWOBJECTS $OBJ"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
OBJECTS=$NEWOBJECTS
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Error checking
|
# Error checking
|
||||||
#
|
#
|
||||||
if [ "x${LIBNAME}" = "x" ] ; then
|
if [ "x${LIBNAME}" = "x" ] ; then
|
||||||
echo "mklib: Error: no library name specified (-h for help)"
|
echo "mklib: Error: no library name specified"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ "x${OBJECTS}" = "x" ] ; then
|
if [ "x${OBJECTS}" = "x" ] ; then
|
||||||
echo "mklib: Error: no object files specified (-h for help)"
|
echo "mklib: Error: no object files specified"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -297,7 +196,6 @@ if [ ] ; then
|
|||||||
echo PATCH is $PATCH
|
echo PATCH is $PATCH
|
||||||
echo DEPS are $DEPS
|
echo DEPS are $DEPS
|
||||||
echo "EXPORTS in" $EXPORTS
|
echo "EXPORTS in" $EXPORTS
|
||||||
echo ID is $ID
|
|
||||||
echo "-----------------"
|
echo "-----------------"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -307,7 +205,7 @@ fi
|
|||||||
#
|
#
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
|
|
||||||
'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/* | 'NetBSD')
|
'Linux' | 'OpenBSD' | 'DragonFly' | 'GNU' | GNU/*)
|
||||||
# we assume gcc
|
# we assume gcc
|
||||||
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
if [ "x$LINK" = "x" ] ; then
|
||||||
@@ -334,9 +232,7 @@ case $ARCH in
|
|||||||
# environment. If so, pass -m32 flag to linker.
|
# environment. If so, pass -m32 flag to linker.
|
||||||
set ${OBJECTS}
|
set ${OBJECTS}
|
||||||
ABI32=`file $1 | grep 32-bit`
|
ABI32=`file $1 | grep 32-bit`
|
||||||
ARM=`file $1 | grep ARM`
|
if [ "${ABI32}" -a `uname -m` = "x86_64" ] ; then
|
||||||
# Do not add "-m32" option for arm.
|
|
||||||
if [ -z "$ARM" -a "${ABI32}" -a `uname -m` = "x86_64" ] ; then
|
|
||||||
OPTS="-m32 ${OPTS}"
|
OPTS="-m32 ${OPTS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -350,24 +246,20 @@ case $ARCH in
|
|||||||
# finish up
|
# finish up
|
||||||
FINAL_LIBS="${LIBNAME}"
|
FINAL_LIBS="${LIBNAME}"
|
||||||
elif [ $STATIC = 1 ] ; then
|
elif [ $STATIC = 1 ] ; then
|
||||||
# make a static .a library
|
|
||||||
LIBNAME="lib${LIBNAME}.a" # prefix with "lib", suffix with ".a"
|
LIBNAME="lib${LIBNAME}.a" # prefix with "lib", suffix with ".a"
|
||||||
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}
|
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}
|
||||||
|
LINK="ar"
|
||||||
OPTS="-ru"
|
OPTS="-ru"
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
|
rm -f ${LIBNAME}
|
||||||
# expand .a into .o files
|
# make lib
|
||||||
NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
|
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||||
|
ranlib ${LIBNAME}
|
||||||
# make static lib
|
# finish up
|
||||||
FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
|
FINAL_LIBS=${LIBNAME}
|
||||||
|
|
||||||
# remove temporary extracted .o files
|
|
||||||
rm -rf ${LIBNAME}.obj
|
|
||||||
else
|
else
|
||||||
# make dynamic library
|
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
||||||
case $ARCH in 'Linux' | 'GNU' | GNU/*)
|
case $ARCH in 'Linux' | 'GNU' | GNU/*)
|
||||||
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
|
||||||
@@ -379,7 +271,7 @@ case $ARCH in
|
|||||||
if [ $EXPORTS ] ; then
|
if [ $EXPORTS ] ; then
|
||||||
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
#OPTS="${OPTS} -Xlinker --retain-symbols-file ${EXPORTS}"
|
||||||
# Make the 'exptmp' file for --version-script option
|
# Make the 'exptmp' file for --version-script option
|
||||||
echo "{" > exptmp
|
echo "VERSION_${MAJOR}.${MINOR} {" > exptmp
|
||||||
echo "global:" >> exptmp
|
echo "global:" >> exptmp
|
||||||
sed 's/$/;/' ${EXPORTS} >> exptmp
|
sed 's/$/;/' ${EXPORTS} >> exptmp
|
||||||
echo "local:" >> exptmp
|
echo "local:" >> exptmp
|
||||||
@@ -393,9 +285,7 @@ case $ARCH in
|
|||||||
# environment. If so, pass -m32 flag to linker.
|
# environment. If so, pass -m32 flag to linker.
|
||||||
set ${OBJECTS}
|
set ${OBJECTS}
|
||||||
ABI32=`file $1 | grep 32-bit`
|
ABI32=`file $1 | grep 32-bit`
|
||||||
ARM=`file $1 | grep ARM`
|
if [ "${ABI32}" -a `uname -m` = "x86_64" ] ; then
|
||||||
# Do not add "-m32" option for arm.
|
|
||||||
if [ -z "$ARM" -a "${ABI32}" -a `uname -m` = "x86_64" ] ; then
|
|
||||||
OPTS="-m32 ${OPTS}"
|
OPTS="-m32 ${OPTS}"
|
||||||
fi
|
fi
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
@@ -430,7 +320,9 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making SunOS static library: " ${LIBNAME}
|
echo "mklib: Making SunOS static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib -ruc 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar -ruv ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
if [ $NOPREFIX = 0 ] ; then
|
if [ $NOPREFIX = 0 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.so"
|
LIBNAME="lib${LIBNAME}.so"
|
||||||
@@ -474,58 +366,29 @@ case $ARCH in
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If using Sun C++ compiler, need to tell it not to add runpaths
|
# Check if objects are SPARC v9
|
||||||
# that are specific to the build machine
|
|
||||||
if [ ${LINK} = "CC" ] ; then
|
|
||||||
OPTS="${OPTS} -norunpath"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Solaris linker requires explicitly listing the Standard C & C++
|
|
||||||
# libraries in the link path when building shared objects
|
|
||||||
if [ ${LINK} = "CC" ] ; then
|
|
||||||
DEPS="${DEPS} -lCrun"
|
|
||||||
fi
|
|
||||||
DEPS="${DEPS} -lc"
|
|
||||||
|
|
||||||
if [ $EXPORTS ] ; then
|
|
||||||
# Make the 'mapfile.scope' linker mapfile
|
|
||||||
echo "{" > mapfile.scope
|
|
||||||
echo "global:" >> mapfile.scope
|
|
||||||
sed 's/$/;/' ${EXPORTS} >> mapfile.scope
|
|
||||||
echo "local:" >> mapfile.scope
|
|
||||||
echo " *;" >> mapfile.scope
|
|
||||||
echo "};" >> mapfile.scope
|
|
||||||
OPTS="${OPTS} -Wl,-Mmapfile.scope"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if objects are 64-bit
|
|
||||||
# file says: ELF 64-bit MSB relocatable SPARCV9 Version 1
|
# file says: ELF 64-bit MSB relocatable SPARCV9 Version 1
|
||||||
set ${OBJECTS}
|
set ${OBJECTS}
|
||||||
if [ ${LINK} = "cc" -o ${LINK} = "CC" ] ; then
|
if [ ${LINK} = "cc" -o ${LINK} = "CC" ] ; then
|
||||||
ABI64=`file $1 | grep "ELF 64-bit"`
|
SPARCV9=`file $1 | grep SPARCV9`
|
||||||
if [ "${ABI64}" ] ; then
|
if [ "${SPARCV9}" ] ; then
|
||||||
case `uname -p` in
|
OPTS="${OPTS} -xarch=v9"
|
||||||
sparc) OPTS="${OPTS} -xarch=v9" ;;
|
|
||||||
i386) OPTS="${OPTS} -xarch=amd64" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# for debug:
|
# for debug:
|
||||||
#echo "mklib: linker is" ${LINK} ${OPTS}
|
#echo "mklib: linker is" ${LINK} ${OPTS}
|
||||||
if [ $NOPREFIX = 1 ] ; then
|
if [ $NOPREFIX = 1 ] ; then
|
||||||
rm -f ${LIBNAME}
|
rm -f ${LIBNAME}
|
||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
FINAL_LIBS="${LIBNAME}"
|
|
||||||
else
|
else
|
||||||
rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
|
rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.${MAJOR} -h ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.${MAJOR} -h ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
|
||||||
ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
|
ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
|
||||||
FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
|
|
||||||
fi
|
fi
|
||||||
|
FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -552,19 +415,13 @@ case $ARCH in
|
|||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
elif [ $STATIC = 1 ] ; then
|
elif [ $STATIC = 1 ] ; then
|
||||||
# make a static .a library
|
|
||||||
STLIB="lib${LIBNAME}.a"
|
STLIB="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making FreeBSD static library: " ${STLIB}
|
echo "mklib: Making FreeBSD static library: " ${STLIB}
|
||||||
|
rm -f ${STLIB}
|
||||||
# expand .a into .o files
|
ar cq ${STLIB} ${OBJECTS}
|
||||||
NEW_OBJECTS=`expand_archives ${STLIB}.obj $OBJECTS`
|
ranlib ${STLIB}
|
||||||
|
FINAL_LIBS=${STLIB}
|
||||||
FINAL_LIBS=`make_ar_static_lib cq 1 ${STLIB} ${NEW_OBJECTS}`
|
|
||||||
|
|
||||||
# remove temporary extracted .o files
|
|
||||||
rm -rf ${STLIB}.obj
|
|
||||||
else
|
else
|
||||||
# make dynamic library
|
|
||||||
SHLIB="lib${LIBNAME}.so.${MAJOR}"
|
SHLIB="lib${LIBNAME}.so.${MAJOR}"
|
||||||
OPTS="-shared -Wl,-soname,${SHLIB}"
|
OPTS="-shared -Wl,-soname,${SHLIB}"
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
@@ -578,10 +435,29 @@ case $ARCH in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
'NetBSD')
|
||||||
|
if [ $STATIC = 1 ] ; then
|
||||||
|
LIBNAME="lib${LIBNAME}_pic.a"
|
||||||
|
echo "mklib: Making NetBSD PIC static library: " ${LIBNAME}
|
||||||
|
rm -f ${LIBNAME}
|
||||||
|
ar cq ${LIBNAME} ${OBJECTS}
|
||||||
|
ranlib ${LIBNAME}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
|
else
|
||||||
|
LIBNAME="lib${LIBNAME}.so.${MAJOR}.${MINOR}"
|
||||||
|
echo "mklib: Making NetBSD PIC shared library: " ${LIBNAME}
|
||||||
|
rm -f ${LIBNAME}
|
||||||
|
ld -x -Bshareable -Bforcearchive -o ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
'IRIX' | 'IRIX64')
|
'IRIX' | 'IRIX64')
|
||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
FINAL_LIBS=`make_ar_static_lib rc 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar rc ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
||||||
|
|
||||||
@@ -632,7 +508,9 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making HP-UX static library: " ${LIBNAME}
|
echo "mklib: Making HP-UX static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar -ruv ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
# HP uses a .2 for their current GL/GLU libraries
|
# HP uses a .2 for their current GL/GLU libraries
|
||||||
if [ ${LIBNAME} = "GL" -o ${LIBNAME} = "GLU" ] ; then
|
if [ ${LIBNAME} = "GL" -o ${LIBNAME} = "GLU" ] ; then
|
||||||
@@ -662,7 +540,8 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making AIX static library: " ${LIBNAME}
|
echo "mklib: Making AIX static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
|
ar -ruv ${X64} ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
EXPFILE="lib${LIBNAME}.exp"
|
EXPFILE="lib${LIBNAME}.exp"
|
||||||
LIBNAME="lib${LIBNAME}.a" # shared objects are still stored in the .a libraries
|
LIBNAME="lib${LIBNAME}.a" # shared objects are still stored in the .a libraries
|
||||||
@@ -713,7 +592,9 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making OSF/1 static library: " ${LIBNAME}
|
echo "mklib: Making OSF/1 static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar -ruv ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
VERSION="${MAJOR}.${MINOR}"
|
VERSION="${MAJOR}.${MINOR}"
|
||||||
LIBNAME="lib${LIBNAME}.so"
|
LIBNAME="lib${LIBNAME}.so"
|
||||||
@@ -736,20 +617,12 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making Darwin static library: " ${LIBNAME}
|
echo "mklib: Making Darwin static library: " ${LIBNAME}
|
||||||
|
LINK="ar"
|
||||||
OPTS="-ruvs"
|
OPTS="-ruvs"
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
|
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
|
||||||
# expand .a into .o files
|
|
||||||
NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
|
|
||||||
|
|
||||||
# make static lib
|
|
||||||
FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
|
|
||||||
|
|
||||||
# remove temporary extracted .o files
|
|
||||||
rm -rf ${LIBNAME}.obj
|
|
||||||
|
|
||||||
FINAL_LIBS=${LIBNAME}
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
# On Darwin a .bundle is used for a library that you want to dlopen
|
# On Darwin a .bundle is used for a library that you want to dlopen
|
||||||
@@ -757,34 +630,44 @@ case $ARCH in
|
|||||||
LIBSUFFIX="bundle"
|
LIBSUFFIX="bundle"
|
||||||
OPTS="${ARCHOPT} -bundle -multiply_defined suppress"
|
OPTS="${ARCHOPT} -bundle -multiply_defined suppress"
|
||||||
else
|
else
|
||||||
LIBSUFFIX="dylib"
|
LIBSUFFIX="dylib"
|
||||||
if [ -z "$ID" ] ; then
|
OPTS="${ARCHOPT} -dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0 -install_name lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||||
ID="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
|
||||||
fi
|
|
||||||
OPTS="${ARCHOPT} -dynamiclib -multiply_defined suppress -current_version ${MAJOR}.${MINOR}.0 -compatibility_version ${MAJOR}.${MINOR}.0 -install_name ${ID}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${EXPORTS} ] ; then
|
if [ ${EXPORTS} ] ; then
|
||||||
if [ -f ${EXPORTS}".darwin" ] ; then
|
|
||||||
EXPORTS=$EXPORTS".darwin"
|
|
||||||
fi
|
|
||||||
OPTS="${OPTS} -exported_symbols_list ${EXPORTS}"
|
OPTS="${OPTS} -exported_symbols_list ${EXPORTS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LINKNAME="lib${LIBNAME}.${LIBSUFFIX}"
|
LINKNAME="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
||||||
LIBNAME="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
|
LINKNAME2="lib${LIBNAME}.${LIBSUFFIX}"
|
||||||
|
LIBNAME="lib${LIBNAME}.${MAJOR}.${MINOR}.${LIBSUFFIX}"
|
||||||
|
|
||||||
# examine first object to determine ABI
|
# examine first object to determine ABI
|
||||||
set ${OBJECTS}
|
set ${OBJECTS}
|
||||||
ABIS=`lipo -info $1 | sed s/.*://`
|
ABI_PPC=`file $1 | grep ' ppc'`
|
||||||
for ABI in $ABIS; do
|
ABI_I386=`file $1 | grep ' i386'`
|
||||||
OPTS="${OPTS} -arch ${ABI}"
|
ABI_PPC64=`file $1 | grep ' ppc64'`
|
||||||
done
|
ABI_X86_64=`file $1 | grep ' x86_64'`
|
||||||
|
if [ "${ABI_PPC}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch ppc"
|
||||||
|
fi
|
||||||
|
if [ "${ABI_I386}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch i386"
|
||||||
|
fi
|
||||||
|
if [ "${ABI_PPC64}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch ppc64"
|
||||||
|
fi
|
||||||
|
if [ "${ABI_X86_64}" ] ; then
|
||||||
|
OPTS="${OPTS} -arch x86_64"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# XXX can we always add -isysroot /Developer/SDKs/MacOSX10.4u.sdk
|
||||||
|
# to OPTS here?
|
||||||
|
|
||||||
# determine linker
|
# determine linker
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
LINK="g++"
|
LINK="g++"
|
||||||
@@ -796,14 +679,33 @@ case $ARCH in
|
|||||||
|
|
||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
|
||||||
ln -s ${LIBNAME} ${LINKNAME}
|
ln -s ${LIBNAME} ${LINKNAME}
|
||||||
FINAL_LIBS="${LIBNAME} ${LINKNAME}"
|
ln -s ${LIBNAME} ${LINKNAME2}
|
||||||
|
FINAL_LIBS="${LIBNAME} ${LINKNAME} ${LINKNAME2}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'LynxOS')
|
'LynxOS')
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making LynxOS static library: " ${LIBNAME}
|
echo "mklib: Making LynxOS static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib -ru 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar ru ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
|
;;
|
||||||
|
|
||||||
|
'BeOS')
|
||||||
|
if [ $STATIC = 1 ] ; then
|
||||||
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
|
echo "mklib: Making BeOS static library: " ${LIBNAME}
|
||||||
|
ar -cru "${LIBNAME}" ${OBJECTS}
|
||||||
|
else
|
||||||
|
LIBNAME="lib${LIBNAME}.so"
|
||||||
|
echo "mklib: Making BeOS shared library: " ${LIBNAME}
|
||||||
|
gcc -nostart -Xlinker "-soname=${LIBNAME}" -L/Be/develop/lib/x86 -lbe ${DEPS} ${OBJECTS} -o "${LIBNAME}"
|
||||||
|
mimeset -f "${LIBNAME}"
|
||||||
|
# XXX remove the Mesa3D stuff here since mklib isn't mesa-specific.
|
||||||
|
setversion "${LIBNAME}" -app ${MAJOR} ${MINOR} ${PATCH} -short "Powered by Mesa3D!" -long "Powered by Mesa3D!"
|
||||||
|
fi
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'QNX')
|
'QNX')
|
||||||
@@ -873,7 +775,9 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making AIX GCC static library: " ${LIBNAME}
|
echo "mklib: Making AIX GCC static library: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib ru 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar ru ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS=${LIBNAME}
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
||||||
echo "mklib: Making AIX GCC shared library: " ${LIBNAME}
|
echo "mklib: Making AIX GCC shared library: " ${LIBNAME}
|
||||||
@@ -894,65 +798,48 @@ case $ARCH in
|
|||||||
fi
|
fi
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making static library for Ultrix: " ${LIBNAME}
|
echo "mklib: Making static library for Ultrix: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib ru 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar ru ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS="${LIBNAME}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
CYGWIN*)
|
CYGWIN*)
|
||||||
# GCC-based environment
|
# GCC-based environment
|
||||||
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
|
||||||
# -linker was not specified so set default link command now
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
|
||||||
LINK=g++
|
|
||||||
else
|
|
||||||
LINK=gcc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $NOPREFIX = 1 ] ; then
|
|
||||||
# No "lib" or ".so" part
|
|
||||||
echo "mklib: Making CYGWIN shared library: " ${LIBNAME}
|
|
||||||
OPTS="-shared -Wl,--enable-auto-image-base"
|
|
||||||
if [ "${ALTOPTS}" ] ; then
|
|
||||||
OPTS=${ALTOPTS}
|
|
||||||
fi
|
|
||||||
rm -f ${LIBNAME}
|
|
||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS} || exit $?
|
|
||||||
FINAL_LIBS=${LIBNAME}
|
|
||||||
else
|
|
||||||
CYGNAME="cyg${LIBNAME}" # prefix with "cyg"
|
CYGNAME="cyg${LIBNAME}" # prefix with "cyg"
|
||||||
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
LIBNAME="lib${LIBNAME}" # prefix with "lib"
|
||||||
|
|
||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME=${LIBNAME}.a
|
echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a
|
||||||
echo "mklib: Making CYGWIN static library: " ${LIBNAME}
|
LINK="ar"
|
||||||
OPTS="-ru"
|
OPTS="-ru"
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
|
# make lib
|
||||||
# expand .a into .o files
|
${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS}
|
||||||
NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
|
ranlib ${LIBNAME}.a
|
||||||
|
# finish up
|
||||||
FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
|
FINAL_LIBS=${LIBNAME}.a
|
||||||
|
|
||||||
# remove temporary extracted .o files
|
|
||||||
rm -rf ${LIBNAME}.obj
|
|
||||||
else
|
else
|
||||||
OPTS="-shared -Wl,--enable-auto-image-base -Wl,-export-all -Wl,--out-implib=${LIBNAME}-${MAJOR}.dll.a"
|
OPTS="-shared -Wl,-export-all -Wl,--out-implib=${LIBNAME}-${MAJOR}.dll.a"
|
||||||
if [ "${ALTOPTS}" ] ; then
|
if [ "${ALTOPTS}" ] ; then
|
||||||
OPTS=${ALTOPTS}
|
OPTS=${ALTOPTS}
|
||||||
fi
|
fi
|
||||||
echo "mklib: Making CYGWIN shared library: " ${CYGNAME}-${MAJOR}.dll
|
echo "mklib: Making" $ARCH "shared library: " ${LIBNAME}-${MAJOR}.dll
|
||||||
|
|
||||||
|
if [ $CPLUSPLUS = 1 ] ; then
|
||||||
|
LINK="g++"
|
||||||
|
else
|
||||||
|
LINK="gcc"
|
||||||
|
fi
|
||||||
|
|
||||||
# rm any old libs
|
# rm any old libs
|
||||||
rm -f ${CYGNAME}-${MAJOR}.dll
|
rm -f ${LIBNAME}-${MAJOR}.dll
|
||||||
rm -f ${LIBNAME}-${MAJOR}.dll.a
|
|
||||||
rm -f ${LIBNAME}.dll.a
|
rm -f ${LIBNAME}.dll.a
|
||||||
rm -f ${LIBNAME}.a
|
rm -f ${LIBNAME}.a
|
||||||
|
|
||||||
# make lib
|
# make lib
|
||||||
${LINK} ${OPTS} ${LDFLAGS} -o ${CYGNAME}-${MAJOR}.dll ${OBJECTS} ${DEPS} || exit $?
|
${LINK} ${OPTS} ${LDFLAGS} -o ${CYGNAME}-${MAJOR}.dll ${OBJECTS} ${DEPS}
|
||||||
# make usual symlinks
|
# make usual symlinks
|
||||||
ln -s ${LIBNAME}-${MAJOR}.dll.a ${LIBNAME}.dll.a
|
ln -s ${LIBNAME}-${MAJOR}.dll.a ${LIBNAME}.dll.a
|
||||||
# finish up
|
# finish up
|
||||||
@@ -960,44 +847,6 @@ case $ARCH in
|
|||||||
# special case for installing in bin
|
# special case for installing in bin
|
||||||
FINAL_BINS="${CYGNAME}-${MAJOR}.dll"
|
FINAL_BINS="${CYGNAME}-${MAJOR}.dll"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
'Haiku')
|
|
||||||
if [ $STATIC = 1 ] ; then
|
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
|
||||||
# -linker was not specified so set default link command now
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
|
||||||
LINK=g++
|
|
||||||
else
|
|
||||||
LINK=gcc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
OPTS="-ru"
|
|
||||||
if [ "${ALTOPTS}" ] ; then
|
|
||||||
OPTS=${ALTOPTS}
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "mklib: Making static library for Haiku: " ${LIBNAME}
|
|
||||||
|
|
||||||
# expand .a into .o files
|
|
||||||
NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
|
|
||||||
|
|
||||||
# make static lib
|
|
||||||
FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
|
|
||||||
|
|
||||||
# remove temporary extracted .o files
|
|
||||||
rm -rf ${LIBNAME}.obj
|
|
||||||
else
|
|
||||||
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
|
||||||
OPTS="-shared"
|
|
||||||
|
|
||||||
echo "mklib: Making shared library for Haiku: " ${LIBNAME}
|
|
||||||
${LINK} ${OPTS} ${LDFLAGS} ${OBJECTS} ${DEPS} -o ${LIBNAME}
|
|
||||||
FINAL_LIBS="${LIBNAME}"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
'example')
|
'example')
|
||||||
@@ -1006,7 +855,9 @@ case $ARCH in
|
|||||||
if [ $STATIC = 1 ] ; then
|
if [ $STATIC = 1 ] ; then
|
||||||
LIBNAME="lib${LIBNAME}.a"
|
LIBNAME="lib${LIBNAME}.a"
|
||||||
echo "mklib: Making static library for example arch: " ${LIBNAME}
|
echo "mklib: Making static library for example arch: " ${LIBNAME}
|
||||||
FINAL_LIBS=`make_ar_static_lib rv 0 ${LIBNAME} ${OBJECTS}`
|
rm -f ${LIBNAME}
|
||||||
|
ar rv ${LIBNAME} ${OBJECTS}
|
||||||
|
FINAL_LIBS="${LIBNAME}"
|
||||||
else
|
else
|
||||||
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
|
||||||
echo "mklib: Making shared library for example arch: " ${LIBNAME}
|
echo "mklib: Making shared library for example arch: " ${LIBNAME}
|
||||||
@@ -1027,11 +878,5 @@ esac
|
|||||||
#
|
#
|
||||||
if [ ${INSTALLDIR} != "." ] ; then
|
if [ ${INSTALLDIR} != "." ] ; then
|
||||||
echo "mklib: Installing" ${FINAL_LIBS} "in" ${INSTALLDIR}
|
echo "mklib: Installing" ${FINAL_LIBS} "in" ${INSTALLDIR}
|
||||||
test -d ${INSTALLDIR} || mkdir -p ${INSTALLDIR}
|
|
||||||
mv ${FINAL_LIBS} ${INSTALLDIR}/
|
mv ${FINAL_LIBS} ${INSTALLDIR}/
|
||||||
|
|
||||||
if [ "x${FINAL_BINS}" != "x" ] ; then
|
|
||||||
echo "mklib: Installing" ${FINAL_BINS} "in" ${INSTALLDIR}
|
|
||||||
mv ${FINAL_BINS} ${INSTALLDIR}/
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
96
common.py
96
common.py
@@ -1,96 +0,0 @@
|
|||||||
#######################################################################
|
|
||||||
# Common SCons code
|
|
||||||
|
|
||||||
import os
|
|
||||||
import os.path
|
|
||||||
import re
|
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import platform as _platform
|
|
||||||
|
|
||||||
import SCons.Script.SConscript
|
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Defaults
|
|
||||||
|
|
||||||
host_platform = _platform.system().lower()
|
|
||||||
if host_platform.startswith('cygwin'):
|
|
||||||
host_platform = 'cygwin'
|
|
||||||
|
|
||||||
# Search sys.argv[] for a "platform=foo" argument since we don't have
|
|
||||||
# an 'env' variable at this point.
|
|
||||||
if 'platform' in SCons.Script.ARGUMENTS:
|
|
||||||
target_platform = SCons.Script.ARGUMENTS['platform']
|
|
||||||
else:
|
|
||||||
target_platform = host_platform
|
|
||||||
|
|
||||||
_machine_map = {
|
|
||||||
'x86': 'x86',
|
|
||||||
'i386': 'x86',
|
|
||||||
'i486': 'x86',
|
|
||||||
'i586': 'x86',
|
|
||||||
'i686': 'x86',
|
|
||||||
'ppc' : 'ppc',
|
|
||||||
'AMD64': 'x86_64',
|
|
||||||
'x86_64': 'x86_64',
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# find host_machine value
|
|
||||||
if 'PROCESSOR_ARCHITECTURE' in os.environ:
|
|
||||||
host_machine = os.environ['PROCESSOR_ARCHITECTURE']
|
|
||||||
else:
|
|
||||||
host_machine = _platform.machine()
|
|
||||||
host_machine = _machine_map.get(host_machine, 'generic')
|
|
||||||
|
|
||||||
default_machine = host_machine
|
|
||||||
default_toolchain = 'default'
|
|
||||||
|
|
||||||
if target_platform == 'windows' and host_platform != 'windows':
|
|
||||||
default_machine = 'x86'
|
|
||||||
default_toolchain = 'crossmingw'
|
|
||||||
|
|
||||||
|
|
||||||
# find default_llvm value
|
|
||||||
if 'LLVM' in os.environ:
|
|
||||||
default_llvm = 'yes'
|
|
||||||
else:
|
|
||||||
default_llvm = 'no'
|
|
||||||
try:
|
|
||||||
if target_platform != 'windows' and \
|
|
||||||
subprocess.call(['llvm-config', '--version'], stdout=subprocess.PIPE) == 0:
|
|
||||||
default_llvm = 'yes'
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# Common options
|
|
||||||
|
|
||||||
def AddOptions(opts):
|
|
||||||
try:
|
|
||||||
from SCons.Variables.BoolVariable import BoolVariable as BoolOption
|
|
||||||
except ImportError:
|
|
||||||
from SCons.Options.BoolOption import BoolOption
|
|
||||||
try:
|
|
||||||
from SCons.Variables.EnumVariable import EnumVariable as EnumOption
|
|
||||||
except ImportError:
|
|
||||||
from SCons.Options.EnumOption import EnumOption
|
|
||||||
opts.Add(EnumOption('build', 'build type', 'debug',
|
|
||||||
allowed_values=('debug', 'checked', 'profile', 'release')))
|
|
||||||
opts.Add(BoolOption('verbose', 'verbose output', 'no'))
|
|
||||||
opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine,
|
|
||||||
allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
|
|
||||||
opts.Add(EnumOption('platform', 'target platform', host_platform,
|
|
||||||
allowed_values=('linux', 'windows', 'darwin', 'cygwin', 'sunos', 'freebsd8')))
|
|
||||||
opts.Add(BoolOption('embedded', 'embedded build', 'no'))
|
|
||||||
opts.Add('toolchain', 'compiler toolchain', default_toolchain)
|
|
||||||
opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))
|
|
||||||
opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
|
|
||||||
opts.Add(BoolOption('openmp', 'EXPERIMENTAL: compile with openmp (swrast)', 'no'))
|
|
||||||
opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes'))
|
|
||||||
opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no'))
|
|
||||||
opts.Add(BoolOption('quiet', 'DEPRECATED: profile build', 'yes'))
|
|
||||||
if host_platform == 'windows':
|
|
||||||
opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0')))
|
|
||||||
@@ -17,11 +17,14 @@ MKLIB_OPTIONS =
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lpthread -lm
|
GL_LIB_DEPS = -lX11 -lXext -lpthread -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
|
GLU_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lm -lC
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/lib -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXm -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB) -lXm -lXt -lX11
|
||||||
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
|
OSMESA_LIB_DEPS = -L$(TOP)/lib -l$(GL_LIB)
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,13 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lC
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu -lX11 -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXm -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/lib64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -q64 -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
-lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
|
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ CXXFLAGS += -fno-strict-aliasing
|
|||||||
MKLIB_OPTIONS = -arch aix-gcc
|
MKLIB_OPTIONS = -arch aix-gcc
|
||||||
GL_LIB_DEPS = -lX11 -lXext -lm
|
GL_LIB_DEPS = -lX11 -lXext -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lXi -lXmu
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -Wl,-brtl -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lX11 -lXext -lXmu -lXi
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ MKLIB_OPTIONS = -static
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
|
||||||
|
-lX11 -lXext -lXmu -lXi -lm -lpthread -lC
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,38 +14,16 @@ ARCH_FLAGS = @ARCH_FLAGS@
|
|||||||
ASM_FLAGS = @ASM_FLAGS@
|
ASM_FLAGS = @ASM_FLAGS@
|
||||||
PIC_FLAGS = @PIC_FLAGS@
|
PIC_FLAGS = @PIC_FLAGS@
|
||||||
DEFINES = @DEFINES@
|
DEFINES = @DEFINES@
|
||||||
API_DEFINES = @API_DEFINES@
|
CFLAGS = @CPPFLAGS@ @CFLAGS@ \
|
||||||
SHARED_GLAPI = @SHARED_GLAPI@
|
|
||||||
CFLAGS_NOVISIBILITY = @CPPFLAGS@ @CFLAGS@ \
|
|
||||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
|
||||||
CXXFLAGS_NOVISIBILITY = @CPPFLAGS@ @CXXFLAGS@ \
|
CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@ \
|
||||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||||
CFLAGS = $(CFLAGS_NOVISIBILITY) @VISIBILITY_CFLAGS@
|
|
||||||
CXXFLAGS = $(CXXFLAGS_NOVISIBILITY) @VISIBILITY_CXXFLAGS@
|
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
EXTRA_LIB_PATH = @EXTRA_LIB_PATH@
|
EXTRA_LIB_PATH = @EXTRA_LIB_PATH@
|
||||||
RADEON_CFLAGS = @RADEON_CFLAGS@
|
|
||||||
RADEON_LIBS = @RADEON_LIBS@
|
|
||||||
NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@
|
|
||||||
NOUVEAU_LIBS = @NOUVEAU_LIBS@
|
|
||||||
INTEL_LIBS = @INTEL_LIBS@
|
|
||||||
INTEL_CFLAGS = @INTEL_CFLAGS@
|
|
||||||
X11_LIBS = @X11_LIBS@
|
|
||||||
X11_CFLAGS = @X11_CFLAGS@
|
|
||||||
LLVM_CFLAGS = @LLVM_CFLAGS@
|
|
||||||
LLVM_LDFLAGS = @LLVM_LDFLAGS@
|
|
||||||
LLVM_LIBS = @LLVM_LIBS@
|
|
||||||
GLW_CFLAGS = @GLW_CFLAGS@
|
|
||||||
GLX_TLS = @GLX_TLS@
|
|
||||||
DRI_CFLAGS = @DRI_CFLAGS@
|
|
||||||
DRI_CXXFLAGS = @DRI_CXXFLAGS@
|
|
||||||
|
|
||||||
# dlopen
|
# Assembler
|
||||||
DLOPEN_LIBS = @DLOPEN_LIBS@
|
ASM_SOURCES = @ASM_SOURCES@
|
||||||
|
ASM_API = @ASM_API@
|
||||||
# Source selection
|
|
||||||
MESA_ASM_SOURCES = @MESA_ASM_SOURCES@
|
|
||||||
GLAPI_ASM_SOURCES = @GLAPI_ASM_SOURCES@
|
|
||||||
|
|
||||||
# Misc tools and flags
|
# Misc tools and flags
|
||||||
MAKE = @MAKE@
|
MAKE = @MAKE@
|
||||||
@@ -53,110 +31,58 @@ SHELL = @SHELL@
|
|||||||
MKLIB_OPTIONS = @MKLIB_OPTIONS@
|
MKLIB_OPTIONS = @MKLIB_OPTIONS@
|
||||||
MKDEP = @MKDEP@
|
MKDEP = @MKDEP@
|
||||||
MKDEP_OPTIONS = @MKDEP_OPTIONS@
|
MKDEP_OPTIONS = @MKDEP_OPTIONS@
|
||||||
INSTALL = @INSTALL@
|
|
||||||
AWK = @AWK@
|
|
||||||
GREP = @GREP@
|
|
||||||
NM = @NM@
|
|
||||||
|
|
||||||
# Python and flags (generally only needed by the developers)
|
# Python and flags (generally only needed by the developers)
|
||||||
PYTHON2 = @PYTHON2@
|
PYTHON2 = python
|
||||||
PYTHON_FLAGS = -t -O -O
|
PYTHON_FLAGS = -t -O -O
|
||||||
|
|
||||||
# Flex and Bison for GLSL compiler
|
|
||||||
FLEX = @FLEX@
|
|
||||||
BISON = @BISON@
|
|
||||||
|
|
||||||
# Library names (base name)
|
# Library names (base name)
|
||||||
GL_LIB = @GL_LIB@
|
GL_LIB = GL
|
||||||
GLU_LIB = @GLU_LIB@
|
GLU_LIB = GLU
|
||||||
|
GLUT_LIB = glut
|
||||||
GLW_LIB = GLw
|
GLW_LIB = GLw
|
||||||
OSMESA_LIB = @OSMESA_LIB@
|
OSMESA_LIB = @OSMESA_LIB@
|
||||||
GLESv1_CM_LIB = GLESv1_CM
|
|
||||||
GLESv2_LIB = GLESv2
|
|
||||||
VG_LIB = OpenVG
|
|
||||||
GLAPI_LIB = glapi
|
|
||||||
WAYLAND_EGL_LIB = wayland-egl
|
|
||||||
GBM_LIB = gbm
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = @GL_LIB_NAME@
|
GL_LIB_NAME = @GL_LIB_NAME@
|
||||||
GLU_LIB_NAME = @GLU_LIB_NAME@
|
GLU_LIB_NAME = @GLU_LIB_NAME@
|
||||||
|
GLUT_LIB_NAME = @GLUT_LIB_NAME@
|
||||||
GLW_LIB_NAME = @GLW_LIB_NAME@
|
GLW_LIB_NAME = @GLW_LIB_NAME@
|
||||||
OSMESA_LIB_NAME = @OSMESA_LIB_NAME@
|
OSMESA_LIB_NAME = @OSMESA_LIB_NAME@
|
||||||
EGL_LIB_NAME = @EGL_LIB_NAME@
|
|
||||||
GLESv1_CM_LIB_NAME = @GLESv1_CM_LIB_NAME@
|
|
||||||
GLESv2_LIB_NAME = @GLESv2_LIB_NAME@
|
|
||||||
VG_LIB_NAME = @VG_LIB_NAME@
|
|
||||||
GLAPI_LIB_NAME = @GLAPI_LIB_NAME@
|
|
||||||
WAYLAND_EGL_LIB_NAME = @WAYLAND_EGL_LIB_NAME@
|
|
||||||
GBM_LIB_NAME = @GBM_LIB_NAME@
|
|
||||||
|
|
||||||
# Globs used to install the lib and all symlinks
|
|
||||||
GL_LIB_GLOB = @GL_LIB_GLOB@
|
|
||||||
GLU_LIB_GLOB = @GLU_LIB_GLOB@
|
|
||||||
GLW_LIB_GLOB = @GLW_LIB_GLOB@
|
|
||||||
OSMESA_LIB_GLOB = @OSMESA_LIB_GLOB@
|
|
||||||
EGL_LIB_GLOB = @EGL_LIB_GLOB@
|
|
||||||
GLESv1_CM_LIB_GLOB = @GLESv1_CM_LIB_GLOB@
|
|
||||||
GLESv2_LIB_GLOB = @GLESv2_LIB_GLOB@
|
|
||||||
VG_LIB_GLOB = @VG_LIB_GLOB@
|
|
||||||
GLAPI_LIB_GLOB = @GLAPI_LIB_GLOB@
|
|
||||||
WAYLAND_EGL_LIB_GLOB = @WAYLAND_EGL_LIB_GLOB@
|
|
||||||
GBM_LIB_GLOB = @GBM_LIB_GLOB@
|
|
||||||
|
|
||||||
# Directories to build
|
# Directories to build
|
||||||
LIB_DIR = @LIB_DIR@
|
LIB_DIR = @LIB_DIR@
|
||||||
SRC_DIRS = @SRC_DIRS@
|
SRC_DIRS = @SRC_DIRS@
|
||||||
GLU_DIRS = @GLU_DIRS@
|
GLU_DIRS = @GLU_DIRS@
|
||||||
DRIVER_DIRS = @DRIVER_DIRS@
|
DRIVER_DIRS = @DRIVER_DIRS@
|
||||||
EGL_DRIVERS_DIRS = @EGL_DRIVERS_DIRS@
|
# Which subdirs under $(TOP)/progs/ to enter:
|
||||||
GBM_BACKEND_DIRS = @GBM_BACKEND_DIRS@
|
PROGRAM_DIRS = @PROGRAM_DIRS@
|
||||||
GALLIUM_DIRS = @GALLIUM_DIRS@
|
|
||||||
GALLIUM_DRIVERS_DIRS = @GALLIUM_DRIVERS_DIRS@
|
|
||||||
GALLIUM_WINSYS_DIRS = @GALLIUM_WINSYS_DIRS@
|
|
||||||
GALLIUM_TARGET_DIRS = @GALLIUM_TARGET_DIRS@
|
|
||||||
GALLIUM_STATE_TRACKERS_DIRS = @GALLIUM_STATE_TRACKERS_DIRS@
|
|
||||||
GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a
|
|
||||||
GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
|
|
||||||
|
|
||||||
# Driver specific build vars
|
# Driver specific build vars
|
||||||
DRI_DIRS = @DRI_DIRS@
|
DRI_DIRS = @DRI_DIRS@
|
||||||
DRICORE_GLSL_LIBS = @DRICORE_GLSL_LIBS@
|
WINDOW_SYSTEM = @WINDOW_SYSTEM@
|
||||||
DRICORE_LIBS = @DRICORE_LIBS@
|
USING_EGL = @USING_EGL@
|
||||||
DRICORE_LIB_DEPS = @DRICORE_LIB_DEPS@
|
|
||||||
EGL_PLATFORMS = @EGL_PLATFORMS@
|
|
||||||
EGL_CLIENT_APIS = @EGL_CLIENT_APIS@
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
X11_INCLUDES = @X11_INCLUDES@
|
X11_INCLUDES = @X11_INCLUDES@
|
||||||
|
|
||||||
# GLw motif setup
|
|
||||||
GLW_SOURCES = @GLW_SOURCES@
|
|
||||||
MOTIF_CFLAGS = @MOTIF_CFLAGS@
|
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) @GL_LIB_DEPS@
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) @GL_LIB_DEPS@
|
||||||
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @OSMESA_MESA_DEPS@ \
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @OSMESA_MESA_DEPS@ \
|
||||||
$(EXTRA_LIB_PATH) @OSMESA_LIB_DEPS@
|
$(EXTRA_LIB_PATH) @OSMESA_LIB_DEPS@
|
||||||
EGL_LIB_DEPS = $(EXTRA_LIB_PATH) @EGL_LIB_DEPS@
|
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLU_MESA_DEPS@ \
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLU_MESA_DEPS@ \
|
||||||
$(EXTRA_LIB_PATH) @GLU_LIB_DEPS@
|
$(EXTRA_LIB_PATH) @GLU_LIB_DEPS@
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLUT_MESA_DEPS@ \
|
||||||
|
$(EXTRA_LIB_PATH) @GLUT_LIB_DEPS@
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
|
||||||
$(EXTRA_LIB_PATH) @GLW_LIB_DEPS@
|
$(EXTRA_LIB_PATH) @GLW_LIB_DEPS@
|
||||||
GLESv1_CM_LIB_DEPS = $(EXTRA_LIB_PATH) @GLESv1_CM_LIB_DEPS@
|
APP_LIB_DEPS = $(EXTRA_LIB_PATH) @APP_LIB_DEPS@
|
||||||
GLESv2_LIB_DEPS = $(EXTRA_LIB_PATH) @GLESv2_LIB_DEPS@
|
|
||||||
VG_LIB_DEPS = $(EXTRA_LIB_PATH) @VG_LIB_DEPS@
|
|
||||||
GLAPI_LIB_DEPS = $(EXTRA_LIB_PATH) @GLAPI_LIB_DEPS@
|
|
||||||
WAYLAND_EGL_LIB_DEPS = $(EXTRA_LIB_PATH) @WAYLAND_EGL_LIB_DEPS@
|
|
||||||
GBM_LIB_DEPS = $(EXTRA_LIB_PATH) @GBM_LIB_DEPS@
|
|
||||||
|
|
||||||
# DRI dependencies
|
# DRI dependencies
|
||||||
MESA_MODULES = @MESA_MODULES@
|
|
||||||
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
|
||||||
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
|
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
|
||||||
LIBDRM_LIB = @LIBDRM_LIBS@
|
LIBDRM_LIB = @LIBDRM_LIBS@
|
||||||
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
|
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
|
||||||
GLPROTO_CFLAGS = @GLPROTO_CFLAGS@
|
|
||||||
EXPAT_INCLUDES = @EXPAT_INCLUDES@
|
EXPAT_INCLUDES = @EXPAT_INCLUDES@
|
||||||
|
|
||||||
# Autoconf directories
|
# Autoconf directories
|
||||||
@@ -174,59 +100,4 @@ INSTALL_INC_DIR = $(includedir)
|
|||||||
DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@
|
DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@
|
||||||
|
|
||||||
# Where libGL will look for DRI hardware drivers
|
# Where libGL will look for DRI hardware drivers
|
||||||
DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@
|
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
||||||
|
|
||||||
# EGL driver install directory
|
|
||||||
EGL_DRIVER_INSTALL_DIR = @EGL_DRIVER_INSTALL_DIR@
|
|
||||||
|
|
||||||
# VDPAU library install directory
|
|
||||||
VDPAU_LIB_INSTALL_DIR=@VDPAU_LIB_INSTALL_DIR@
|
|
||||||
|
|
||||||
# VA library install directory
|
|
||||||
VA_LIB_INSTALL_DIR=@VA_LIB_INSTALL_DIR@
|
|
||||||
|
|
||||||
# Xorg driver install directory (for xorg state-tracker)
|
|
||||||
XORG_DRIVER_INSTALL_DIR = @XORG_DRIVER_INSTALL_DIR@
|
|
||||||
|
|
||||||
# pkg-config substitutions
|
|
||||||
GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@
|
|
||||||
GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@
|
|
||||||
GL_PC_CFLAGS = @GL_PC_CFLAGS@
|
|
||||||
DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@
|
|
||||||
GLU_PC_REQ = @GLU_PC_REQ@
|
|
||||||
GLU_PC_REQ_PRIV = @GLU_PC_REQ_PRIV@
|
|
||||||
GLU_PC_LIB_PRIV = @GLU_PC_LIB_PRIV@
|
|
||||||
GLU_PC_CFLAGS = @GLU_PC_CFLAGS@
|
|
||||||
GLW_PC_REQ_PRIV = @GLW_PC_REQ_PRIV@
|
|
||||||
GLW_PC_LIB_PRIV = @GLW_PC_LIB_PRIV@
|
|
||||||
GLW_PC_CFLAGS = @GLW_PC_CFLAGS@
|
|
||||||
OSMESA_PC_REQ = @OSMESA_PC_REQ@
|
|
||||||
OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@
|
|
||||||
GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@
|
|
||||||
GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@
|
|
||||||
EGL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@
|
|
||||||
EGL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@
|
|
||||||
EGL_PC_CFLAGS = @GL_PC_CFLAGS@
|
|
||||||
WAYLAND_EGL_PC_REQ_PRIV = @WAYLAND_EGL_PC_REQ_PRIV@
|
|
||||||
WAYLAND_EGL_PC_LIB_PRIV = @WAYLAND_EGL_PC_LIB_PRIV@
|
|
||||||
WAYLAND_EGL_PC_CFLAGS = @WAYLAND_EGL_PC_CFLAGS@
|
|
||||||
GBM_PC_REQ_PRIV = @GBM_PC_REQ_PRIV@
|
|
||||||
GBM_PC_LIB_PRIV = @GBM_PC_LIB_PRIV@
|
|
||||||
GBM_PC_CFLAGS = @GBM_PC_CFLAGS@
|
|
||||||
|
|
||||||
XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@
|
|
||||||
XCB_DRI2_LIBS = @XCB_DRI2_LIBS@
|
|
||||||
LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@
|
|
||||||
LIBUDEV_LIBS = @LIBUDEV_LIBS@
|
|
||||||
WAYLAND_CFLAGS = @WAYLAND_CFLAGS@
|
|
||||||
WAYLAND_LIBS = @WAYLAND_LIBS@
|
|
||||||
|
|
||||||
MESA_LLVM = @MESA_LLVM@
|
|
||||||
|
|
||||||
LLVM_VERSION = @LLVM_VERSION@
|
|
||||||
ifneq ($(LLVM_VERSION),)
|
|
||||||
HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=))
|
|
||||||
DEFINES += -DHAVE_LLVM=$(HAVE_LLVM)
|
|
||||||
endif
|
|
||||||
|
|
||||||
HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@
|
|
||||||
|
|||||||
104
configs/beos
Normal file
104
configs/beos
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
# Configuration for BeOS
|
||||||
|
# Written by Philippe Houdoin
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = beos
|
||||||
|
|
||||||
|
|
||||||
|
DEFINES = \
|
||||||
|
-DBEOS_THREADS
|
||||||
|
|
||||||
|
MACHINE=$(shell uname -m)
|
||||||
|
ifeq ($(MACHINE), BePC)
|
||||||
|
CPU = x86
|
||||||
|
else
|
||||||
|
CPU = ppc
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CPU), x86)
|
||||||
|
# BeOS x86 settings
|
||||||
|
|
||||||
|
DEFINES += \
|
||||||
|
-DGNU_ASSEMBLER \
|
||||||
|
-DUSE_X86_ASM \
|
||||||
|
-DUSE_MMX_ASM \
|
||||||
|
-DUSE_3DNOW_ASM \
|
||||||
|
-DUSE_SSE_ASM
|
||||||
|
|
||||||
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
|
ASM_API = $(X86_API)
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
LD = gcc
|
||||||
|
|
||||||
|
CFLAGS = \
|
||||||
|
-Wall -Wno-multichar -Wno-ctor-dtor-privacy \
|
||||||
|
$(DEFINES)
|
||||||
|
|
||||||
|
CXXFLAGS = $(CFLAGS)
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
LDFLAGS += -Xlinker
|
||||||
|
|
||||||
|
ifdef DEBUG
|
||||||
|
CFLAGS += -g -O0
|
||||||
|
LDFLAGS += -g
|
||||||
|
DEFINES += -DDEBUG
|
||||||
|
else
|
||||||
|
CFLAGS += -O3
|
||||||
|
endif
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
else
|
||||||
|
# BeOS PPC settings
|
||||||
|
|
||||||
|
CC = mwcc
|
||||||
|
CXX = $(CC)
|
||||||
|
LD = mwldppc
|
||||||
|
|
||||||
|
CFLAGS = \
|
||||||
|
-w on -requireprotos \
|
||||||
|
$(DEFINES)
|
||||||
|
|
||||||
|
CXXFLAGS = $(CFLAGS)
|
||||||
|
|
||||||
|
LDFLAGS += \
|
||||||
|
-export pragma \
|
||||||
|
-init _init_routine_ \
|
||||||
|
-term _term_routine_ \
|
||||||
|
-lroot \
|
||||||
|
/boot/develop/lib/ppc/glue-noinit.a \
|
||||||
|
/boot/develop/lib/ppc/init_term_dyn.o \
|
||||||
|
/boot/develop/lib/ppc/start_dyn.o
|
||||||
|
|
||||||
|
ifdef DEBUG
|
||||||
|
CFLAGS += -g -O0
|
||||||
|
CXXFLAGS += -g -O0
|
||||||
|
LDFLAGS += -g
|
||||||
|
else
|
||||||
|
CFLAGS += -O7
|
||||||
|
CXXFLAGS += -O7
|
||||||
|
endif
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
SRC_DIRS = mesa glu glut/beos
|
||||||
|
GLU_DIRS = sgi
|
||||||
|
DRIVER_DIRS = beos
|
||||||
|
PROGRAM_DIRS = beos samples redbook demos tests
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS = -lgame -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
APP_LIB_DEPS = -lbe -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLUT_LIB)
|
||||||
|
|
||||||
@@ -24,8 +24,10 @@ OSMESA_LIB_NAME = libOSMesa.a
|
|||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu
|
SRC_DIRS = mesa glu
|
||||||
DRIVER_DIRS = osmesa
|
DRIVER_DIRS = osmesa
|
||||||
|
PROGRAM_DIRS = osdemos
|
||||||
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
OSMESA_LIB_DEPS = -lm
|
OSMESA_LIB_DEPS = -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
|
APP_LIB_DEPS = -lOSMesa -lGLU -lm
|
||||||
|
|||||||
@@ -20,8 +20,10 @@ OSMESA_LIB_NAME = libOSMesa.a
|
|||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu
|
SRC_DIRS = mesa glu
|
||||||
DRIVER_DIRS = osmesa
|
DRIVER_DIRS = osmesa
|
||||||
|
PROGRAM_DIRS = osdemos
|
||||||
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
OSMESA_LIB_DEPS = -lm
|
OSMESA_LIB_DEPS = -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
|
APP_LIB_DEPS = -lOSMesa -lGLU -lm
|
||||||
|
|||||||
@@ -23,8 +23,10 @@ OSMESA_LIB_NAME = libOSMesa.a
|
|||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = mesa glu
|
SRC_DIRS = mesa glu
|
||||||
DRIVER_DIRS = osmesa
|
DRIVER_DIRS = osmesa
|
||||||
|
PROGRAM_DIRS = osdemos
|
||||||
|
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
OSMESA_LIB_DEPS = -lm
|
OSMESA_LIB_DEPS = -lm
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
|
||||||
|
APP_LIB_DEPS = -lOSMesa -lGLU -lm
|
||||||
|
|||||||
42
configs/config.mgw
Normal file
42
configs/config.mgw
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# MinGW config include file updated for Mesa 7.0
|
||||||
|
#
|
||||||
|
# Updated : by Heromyth, on 2007-7-21
|
||||||
|
# Email : zxpmyth@yahoo.com.cn
|
||||||
|
# Bugs : 1) All the default settings work fine. But the setting X86=1 can't work.
|
||||||
|
# The others havn't been tested yet.
|
||||||
|
# 2) The generated DLLs are *not* compatible with the ones built
|
||||||
|
# with the other compilers like VC8, especially for GLUT.
|
||||||
|
# 3) Although more tests are needed, it can be used individually!
|
||||||
|
|
||||||
|
# The generated DLLs by MingW with STDCALL are not totally compatible
|
||||||
|
# with the ones linked by Microsoft's compilers.
|
||||||
|
#
|
||||||
|
# xxx_USING_STDCALL = 1 Compiling MESA with __stdcall. This is default!
|
||||||
|
#
|
||||||
|
# xxx_USING_STDCALL = 0 Compiling MESA without __stdcall. I like this:)
|
||||||
|
#
|
||||||
|
|
||||||
|
# In fact, GL_USING_STDCALL and GLUT_USING_STDCALL can be
|
||||||
|
# different. For example:
|
||||||
|
#
|
||||||
|
# GL_USING_STDCALL = 0
|
||||||
|
# GLUT_USING_STDCALL = 1
|
||||||
|
#
|
||||||
|
# Suggested setting:
|
||||||
|
#
|
||||||
|
# ALL_USING_STDCALL = 1
|
||||||
|
#
|
||||||
|
# That's default!
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
ALL_USING_STDCALL = 1
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(ALL_USING_STDCALL),1)
|
||||||
|
GL_USING_STDCALL = 1
|
||||||
|
GLUT_USING_STDCALL = 1
|
||||||
|
else
|
||||||
|
GL_USING_STDCALL = 0
|
||||||
|
GLUT_USING_STDCALL = 0
|
||||||
|
endif
|
||||||
@@ -4,58 +4,37 @@ include $(TOP)/configs/default
|
|||||||
|
|
||||||
CONFIG_NAME = darwin
|
CONFIG_NAME = darwin
|
||||||
|
|
||||||
INSTALL_DIR = /usr/X11
|
DEFINES = -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L \
|
||||||
|
-D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE \
|
||||||
X11_DIR = $(INSTALL_DIR)
|
-DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING
|
||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = $(shell xcrun -find cc)
|
CC = gcc
|
||||||
CXX = $(shell xcrun -find c++)
|
CXX = gcc
|
||||||
PIC_FLAGS = -fPIC
|
CFLAGS = -I/usr/X11/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin $(DEFINES)
|
||||||
DEFINES = -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \
|
CXXFLAGS = -I/usr/X11/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin $(DEFINES)
|
||||||
-DGLX_ALIAS_UNSUPPORTED \
|
|
||||||
-DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL
|
|
||||||
|
|
||||||
# -DGLX_INDIRECT_RENDERING \
|
CFLAGS += $(RC_CFLAGS)
|
||||||
|
CXXFLAGS += $(RC_CFLAGS)
|
||||||
|
|
||||||
# -D_GNU_SOURCE - for src/mesa/main ...
|
# Work around aliasing bugs - developers should comment this out
|
||||||
# -DGLX_DIRECT_RENDERING - pulls in libdrm stuff in glx
|
CFLAGS += -fno-strict-aliasing
|
||||||
# -DGLX_USE_APPLEGL - supposed to be used with GLX_DIRECT_RENDERING to use AGL rather than DRM, but doesn't compile
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
# -DIN_DRI_DRIVER
|
|
||||||
|
|
||||||
ARCH_FLAGS += $(RC_CFLAGS)
|
|
||||||
INCLUDE_FLAGS = -I$(INSTALL_DIR)/include -I$(X11_DIR)/include
|
|
||||||
OPT_FLAGS = -g3 -gdwarf-2 -Os -ffast-math -fno-strict-aliasing
|
|
||||||
WARN_FLAGS = -Wall -Wmissing-prototypes
|
|
||||||
|
|
||||||
CFLAGS = -std=c99 -fvisibility=hidden \
|
|
||||||
$(OPT_FLAGS) $(WARN_FLAGS) $(INCLUDE_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES) $(EXTRA_CFLAGS)
|
|
||||||
CXXFLAGS = -fvisibility=hidden \
|
|
||||||
$(OPT_FLAGS) $(WARN_FLAGS) $(INCLUDE_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES) $(EXTRA_CFLAGS)
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = lib$(GL_LIB).dylib
|
GL_LIB_NAME = libGL.dylib
|
||||||
GLU_LIB_NAME = lib$(GLU_LIB).dylib
|
GLU_LIB_NAME = libGLU.dylib
|
||||||
GLW_LIB_NAME = lib$(GLW_LIB).dylib
|
GLUT_LIB_NAME = libglut.dylib
|
||||||
OSMESA_LIB_NAME = lib$(OSMESA_LIB).dylib
|
GLW_LIB_NAME = libGLw.dylib
|
||||||
VG_LIB_NAME = lib$(VG_LIB).dylib
|
OSMESA_LIB_NAME = libOSMesa.dylib
|
||||||
|
|
||||||
# globs used to install the lib and all symlinks
|
GL_LIB_DEPS = -L/usr/X11/lib -lX11 -lXext -lm -lpthread
|
||||||
GL_LIB_GLOB = lib$(GL_LIB).*dylib
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
GLU_LIB_GLOB = lib$(GLU_LIB).*dylib
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL
|
||||||
GLW_LIB_GLOB = lib$(GLW_LIB).*dylib
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lXi -lXext
|
||||||
OSMESA_LIB_GLOB = lib$(OSMESA_LIB).*dylib
|
GLW_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXt $(TOP)/lib/GL.dylib
|
||||||
VG_LIB_GLOB = lib$(VG_LIB).*dylib
|
APP_LIB_DEPS = -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
|
||||||
GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -lX11 -lXext $(EXTRA_LDFLAGS)
|
# omit glw lib for now:
|
||||||
OSMESA_LIB_DEPS = $(EXTRA_LDFLAGS)
|
SRC_DIRS = glx/x11 glu glut/glx mesa
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LDFLAGS)
|
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXt $(EXTRA_LDFLAGS)
|
|
||||||
|
|
||||||
SRC_DIRS = glsl mapi/glapi mapi/vgapi glx/apple mesa gallium glu
|
|
||||||
GLU_DIRS = sgi
|
|
||||||
DRIVER_DIRS = osmesa
|
DRIVER_DIRS = osmesa
|
||||||
#DRIVER_DIRS = dri
|
|
||||||
DRI_DIRS = swrast
|
|
||||||
GALLIUM_DRIVERS_DIRS = softpipe trace rbug noop identity galahad
|
|
||||||
#GALLIUM_DRIVERS_DIRS += llvmpipe
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Configuration for Darwin / MacOS X, making 32bit and 64bit fat dynamic libs for intel
|
|
||||||
|
|
||||||
RC_CFLAGS=-arch i386 -arch x86_64
|
|
||||||
|
|
||||||
include $(TOP)/configs/darwin
|
|
||||||
|
|
||||||
CONFIG_NAME = darwin-fat-intel
|
|
||||||
28
configs/darwin-static
Normal file
28
configs/darwin-static
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Configuration for Darwin / MacOS X, making static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/darwin
|
||||||
|
|
||||||
|
CONFIG_NAME = darwin-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
CXXFLAGS = -I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
MKLIB_OPTIONS = -static
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
OSMESA_LIB_DEPS =
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -Wl,-search_paths_first -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lstdc++ -lgcc_s.1 -lm
|
||||||
30
configs/darwin-static-x86ppc
Normal file
30
configs/darwin-static-x86ppc
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# Configuration for Darwin / MacOS X, making static libs
|
||||||
|
|
||||||
|
include $(TOP)/configs/darwin
|
||||||
|
|
||||||
|
CONFIG_NAME = darwin-static
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
CXXFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk \
|
||||||
|
-I/usr/X11R6/include -O3 -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin
|
||||||
|
MKLIB_OPTIONS = -static -archopt "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = libGL.a
|
||||||
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
|
GLW_LIB_NAME = libGLw.a
|
||||||
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
GL_LIB_DEPS =
|
||||||
|
OSMESA_LIB_DEPS =
|
||||||
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -Wl,-search_paths_first -L$(TOP)/lib -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lstdc++ -lgcc_s.1 -lm
|
||||||
17
configs/debian-default
Normal file
17
configs/debian-default
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Define Debian-specific defaults.
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-default
|
||||||
|
|
||||||
|
OPT_FLAGS = -O2 -g
|
||||||
|
|
||||||
|
# override settings in configs/linux-x86-64
|
||||||
|
LIB_DIR = lib
|
||||||
|
EXTRA_LIB_PATH =
|
||||||
|
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
PROGRAM_DIRS =
|
||||||
|
|
||||||
|
INSTALL_DIR = /usr
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-dri-amd64
Normal file
9
configs/debian-dri-amd64
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building the DRI drivers on i386.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-dri-x86-64
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-amd64
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-dri-any
Normal file
9
configs/debian-dri-any
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building the DRI drivers on the build architecture.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-dri
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-any
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
36
configs/debian-dri-default
Normal file
36
configs/debian-dri-default
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Configuration defaults for building the DRI drivers and DRI/GLX-enabled
|
||||||
|
# libGL.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-default
|
||||||
|
|
||||||
|
SRC_DIRS = glx/x11 mesa progs
|
||||||
|
DRIVER_DIRS = dri
|
||||||
|
PROGRAM_DIRS = xdemos
|
||||||
|
PROGS = glxdemo \
|
||||||
|
glxgears \
|
||||||
|
glxheads \
|
||||||
|
glxinfo
|
||||||
|
|
||||||
|
LIB_DIR = lib/glx
|
||||||
|
|
||||||
|
DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri
|
||||||
|
DRI_DRIVER_SEARCH_DIR = /usr/lib/dri
|
||||||
|
|
||||||
|
DRI_DIRS = mach64 mga r128 r200 r300 radeon s3v savage tdfx trident
|
||||||
|
|
||||||
|
ARCH_X86 = i386 amd64
|
||||||
|
|
||||||
|
ifneq ($(findstring $(DEB_BUILD_ARCH), $(ARCH_X86)),)
|
||||||
|
DRI_DIRS += i810 i915 i915tex i965 sis unichrome
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DEB_BUILD_ARCH), sparc)
|
||||||
|
DRI_DIRS += ffb
|
||||||
|
endif
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-dri-i386
Normal file
9
configs/debian-dri-i386
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building the DRI drivers on i386.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-dri-x86
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-i386
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
14
configs/debian-dri-i386-i686
Normal file
14
configs/debian-dri-i386-i686
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Configuration for building the DRI drivers on i386.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-dri-x86
|
||||||
|
include $(TOP)/configs/debian-dri-optimized-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-i386-i686
|
||||||
|
|
||||||
|
ARCH_FLAGS = -march=i686
|
||||||
|
LIB_DIR = lib/glx/i686/cmov
|
||||||
|
|
||||||
|
DRI_DRIVER_INSTALL_DIR = $(INSTALL_DIR)/lib/dri/i686/cmov
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
13
configs/debian-dri-optimized-default
Normal file
13
configs/debian-dri-optimized-default
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Configuration defaults for CPU-optimized builds of the DRI drivers and
|
||||||
|
# DRI/GLX-enabled libGL.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-dri-optimized-default
|
||||||
|
|
||||||
|
# override so that the utility programs are not rebuilt with CPU-specific
|
||||||
|
# optimizations
|
||||||
|
SRC_DIRS = glx/x11 mesa
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
7
configs/debian-indirect-default
Normal file
7
configs/debian-indirect-default
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Configuration defaults for building GLX-enabled libGL.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-dri-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-indirect-default
|
||||||
|
|
||||||
|
DRI_DIRS =
|
||||||
9
configs/debian-indirect-hurd-i386
Normal file
9
configs/debian-indirect-hurd-i386
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building the DRI drivers on the build architecture.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-indirect
|
||||||
|
include $(TOP)/configs/debian-indirect-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-indirect-hurd-i386
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-osmesa
Normal file
9
configs/debian-osmesa
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building only OSMesa on Debian.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-osmesa-default
Normal file
10
configs/debian-osmesa-default
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration defaults for building OSMesa.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa-default
|
||||||
|
|
||||||
|
DRIVER_DIRS = osmesa
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-osmesa-static
Normal file
9
configs/debian-osmesa-static
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building only OSMesa (static version) on Debian.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa-static
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa-static
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-osmesa16
Normal file
10
configs/debian-osmesa16
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building OSMesa with support for 16 bits per color
|
||||||
|
# channel.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa16
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa16
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-osmesa16-static
Normal file
10
configs/debian-osmesa16-static
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building a static version of OSMesa with support for 16
|
||||||
|
# bits per color channel.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa16-static
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa16-static
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-osmesa32
Normal file
10
configs/debian-osmesa32
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building OSMesa with support for 32 bits per color
|
||||||
|
# channel.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa32
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa32
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-osmesa32-static
Normal file
10
configs/debian-osmesa32-static
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building a static version of OSMesa with support for 32
|
||||||
|
# bits per color channel.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-osmesa32-static
|
||||||
|
include $(TOP)/configs/debian-osmesa-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-osmesa32-static
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
12
configs/debian-swx11+glu-alpha-ev5
Normal file
12
configs/debian-swx11+glu-alpha-ev5
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) on alpha (ev5 optimized).
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-alpha
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-alpha-ev5
|
||||||
|
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
LIB_DIR = lib/ev5/cmov
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-amd64
Normal file
10
configs/debian-swx11+glu-amd64
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on amd64.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86-64
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-amd64
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
9
configs/debian-swx11+glu-any
Normal file
9
configs/debian-swx11+glu-any
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) on the build architecture.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-any
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
14
configs/debian-swx11+glu-default
Normal file
14
configs/debian-swx11+glu-default
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Configuration defaults for building Mesa (swx11 and GLU).
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-default
|
||||||
|
|
||||||
|
SRC_DIRS = mesa glu glw
|
||||||
|
DRIVER_DIRS = x11
|
||||||
|
|
||||||
|
GLW_SOURCES += GLwMDrawA.c
|
||||||
|
GLW_LIB_DEPS += -lXm
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-i386
Normal file
10
configs/debian-swx11+glu-i386
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on i386.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-i386
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
14
configs/debian-swx11+glu-i386-i686
Normal file
14
configs/debian-swx11+glu-i386-i686
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on i386 (i686 optimized).
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-i386-i686
|
||||||
|
|
||||||
|
ARCH_FLAGS += -march=i686
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
LIB_DIR = lib/i686/cmov
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
13
configs/debian-swx11+glu-powerpc-603
Normal file
13
configs/debian-swx11+glu-powerpc-603
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on powerpc (603 optimized).
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-ppc
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-powerpc-603
|
||||||
|
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
LIB_DIR = lib/603/cmov
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
11
configs/debian-swx11+glu-ppc64
Normal file
11
configs/debian-swx11+glu-ppc64
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on ppc64.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-any
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-ppc64
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-sparc
Normal file
10
configs/debian-swx11+glu-sparc
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on sparc.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-sparc
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-sparc
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
13
configs/debian-swx11+glu-sparc-ultrasparc
Normal file
13
configs/debian-swx11+glu-sparc-ultrasparc
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Configuration for building Mesa (swx11 and GLU) with runtime-detected
|
||||||
|
# assembler optimizations on sparc (ultrasparc-optimized).
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-ultrasparc
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-sparc-ultrasparc
|
||||||
|
|
||||||
|
SRC_DIRS = mesa
|
||||||
|
LIB_DIR = lib/ultrasparc/cmov
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-static-amd64
Normal file
10
configs/debian-swx11+glu-static-amd64
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||||
|
# on amd64.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86-64-static
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-static-amd64
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-static-any
Normal file
10
configs/debian-swx11+glu-static-any
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||||
|
# on the build architecture.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-static
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-static-any
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
10
configs/debian-swx11+glu-static-i386
Normal file
10
configs/debian-swx11+glu-static-i386
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||||
|
# on i386.
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux-x86-static
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-default
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-static-i386
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
11
configs/debian-swx11+glu-static-ppc64
Normal file
11
configs/debian-swx11+glu-static-ppc64
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Configuration for building static versions of the libraries (swx11 and GLU)
|
||||||
|
# on ppc64.
|
||||||
|
|
||||||
|
include $(TOP)/configs/debian-swx11+glu-static-any
|
||||||
|
|
||||||
|
CONFIG_NAME = debian-swx11+glu-static-ppc64
|
||||||
|
|
||||||
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
# vim: ft=make
|
||||||
|
|
||||||
138
configs/default
138
configs/default
@@ -8,9 +8,9 @@
|
|||||||
CONFIG_NAME = default
|
CONFIG_NAME = default
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
MESA_MAJOR=8
|
MESA_MAJOR=7
|
||||||
MESA_MINOR=0
|
MESA_MINOR=1
|
||||||
MESA_TINY=3
|
MESA_TINY=0
|
||||||
MESA_VERSION = $(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
|
MESA_VERSION = $(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY)
|
||||||
|
|
||||||
# external projects. This should be useless now that we use libdrm.
|
# external projects. This should be useless now that we use libdrm.
|
||||||
@@ -19,17 +19,10 @@ DRM_SOURCE_PATH=$(TOP)/../drm
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CC = cc
|
CC = cc
|
||||||
CXX = CC
|
CXX = CC
|
||||||
HOST_CC = $(CC)
|
|
||||||
CFLAGS = -O
|
CFLAGS = -O
|
||||||
CXXFLAGS = -O
|
CXXFLAGS = -O
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
HOST_CFLAGS = $(CFLAGS)
|
|
||||||
GLU_CFLAGS =
|
GLU_CFLAGS =
|
||||||
GLX_TLS = no
|
|
||||||
|
|
||||||
# Compiler for building demos/tests/etc
|
|
||||||
APP_CC = $(CC)
|
|
||||||
APP_CXX = $(CXX)
|
|
||||||
|
|
||||||
# Misc tools and flags
|
# Misc tools and flags
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
@@ -38,13 +31,7 @@ MKLIB_OPTIONS =
|
|||||||
MKDEP = makedepend
|
MKDEP = makedepend
|
||||||
MKDEP_OPTIONS = -fdepend
|
MKDEP_OPTIONS = -fdepend
|
||||||
MAKE = make
|
MAKE = make
|
||||||
FLEX = flex
|
INSTALL = $(SHELL) $(TOP)/bin/minstall
|
||||||
BISON = bison
|
|
||||||
PKG_CONFIG = pkg-config
|
|
||||||
|
|
||||||
# Use MINSTALL for installing libraries, INSTALL for everything else
|
|
||||||
MINSTALL = $(SHELL) $(TOP)/bin/minstall
|
|
||||||
INSTALL = $(MINSTALL)
|
|
||||||
|
|
||||||
# Tools for regenerating glapi (generally only needed by the developers)
|
# Tools for regenerating glapi (generally only needed by the developers)
|
||||||
PYTHON2 = python
|
PYTHON2 = python
|
||||||
@@ -55,98 +42,47 @@ INDENT_FLAGS = -i4 -nut -br -brs -npcs -ce -T GLubyte -T GLbyte -T Bool
|
|||||||
# Library names (base name)
|
# Library names (base name)
|
||||||
GL_LIB = GL
|
GL_LIB = GL
|
||||||
GLU_LIB = GLU
|
GLU_LIB = GLU
|
||||||
|
GLUT_LIB = glut
|
||||||
GLW_LIB = GLw
|
GLW_LIB = GLw
|
||||||
OSMESA_LIB = OSMesa
|
OSMESA_LIB = OSMesa
|
||||||
EGL_LIB = EGL
|
|
||||||
GLESv1_CM_LIB = GLESv1_CM
|
|
||||||
GLESv2_LIB = GLESv2
|
|
||||||
VG_LIB = OpenVG
|
|
||||||
GLAPI_LIB = glapi
|
|
||||||
WAYLAND_EGL_LIB = wayland-egl
|
|
||||||
GBM_LIB = gbm
|
|
||||||
|
|
||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = lib$(GL_LIB).so
|
GL_LIB_NAME = lib$(GL_LIB).so
|
||||||
GLU_LIB_NAME = lib$(GLU_LIB).so
|
GLU_LIB_NAME = lib$(GLU_LIB).so
|
||||||
|
GLUT_LIB_NAME = lib$(GLUT_LIB).so
|
||||||
GLW_LIB_NAME = lib$(GLW_LIB).so
|
GLW_LIB_NAME = lib$(GLW_LIB).so
|
||||||
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
|
OSMESA_LIB_NAME = lib$(OSMESA_LIB).so
|
||||||
EGL_LIB_NAME = lib$(EGL_LIB).so
|
|
||||||
GLESv1_CM_LIB_NAME = lib$(GLESv1_CM_LIB).so
|
|
||||||
GLESv2_LIB_NAME = lib$(GLESv2_LIB).so
|
|
||||||
VG_LIB_NAME = lib$(VG_LIB).so
|
|
||||||
GLAPI_LIB_NAME = lib$(GLAPI_LIB).so
|
|
||||||
WAYLAND_EGL_LIB_NAME = lib$(WAYLAND_EGL_LIB).so
|
|
||||||
GBM_LIB_NAME = lib$(GBM_LIB).so
|
|
||||||
|
|
||||||
# globs used to install the lib and all symlinks
|
|
||||||
GL_LIB_GLOB = $(GL_LIB_NAME)*
|
|
||||||
GLU_LIB_GLOB = $(GLU_LIB_NAME)*
|
|
||||||
GLW_LIB_GLOB = $(GLW_LIB_NAME)*
|
|
||||||
OSMESA_LIB_GLOB = $(OSMESA_LIB_NAME)*
|
|
||||||
EGL_LIB_GLOB = $(EGL_LIB_NAME)*
|
|
||||||
GLESv1_CM_LIB_GLOB = $(GLESv1_CM_LIB_NAME)*
|
|
||||||
GLESv2_LIB_GLOB = $(GLESv2_LIB_NAME)*
|
|
||||||
VG_LIB_GLOB = $(VG_LIB_NAME)*
|
|
||||||
GLAPI_LIB_GLOB = $(GLAPI_LIB_NAME)*
|
|
||||||
WAYLAND_EGL_LIB_GLOB = $(WAYLAND_EGL_LIB_NAME)*
|
|
||||||
GBM_LIB_GLOB = $(GBM_LIB_NAME)*
|
|
||||||
|
|
||||||
DRI_CFLAGS = $(CFLAGS)
|
|
||||||
DRI_CXXFLAGS = $(CXXFLAGS)
|
|
||||||
|
|
||||||
# Optional assembly language optimization files for libGL
|
# Optional assembly language optimization files for libGL
|
||||||
MESA_ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
|
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
|
||||||
# order to build the Motif widget too)
|
# order to build the Motif widget too)
|
||||||
GLW_SOURCES = GLwDrawA.c
|
GLW_SOURCES = GLwDrawA.c
|
||||||
MOTIF_CFLAGS = -I/usr/include/Motif1.2
|
|
||||||
|
|
||||||
|
|
||||||
# Directories to build
|
# Directories to build
|
||||||
LIB_DIR = lib
|
LIB_DIR = lib
|
||||||
SRC_DIRS = glsl mapi/glapi mapi/vgapi mesa \
|
SRC_DIRS = mesa glu glut/glx glw
|
||||||
gallium egl gallium/winsys gallium/targets glu
|
|
||||||
GLU_DIRS = sgi
|
GLU_DIRS = sgi
|
||||||
DRIVER_DIRS = x11 osmesa
|
DRIVER_DIRS = x11 osmesa
|
||||||
|
# Which subdirs under $(TOP)/progs/ to enter:
|
||||||
|
PROGRAM_DIRS = demos redbook samples glsl xdemos
|
||||||
|
|
||||||
# EGL drivers to build
|
|
||||||
EGL_DRIVERS_DIRS = glx
|
|
||||||
|
|
||||||
# gbm backends to build
|
|
||||||
GBM_BACKEND_DIRS = dri
|
|
||||||
|
|
||||||
# Gallium directories and
|
|
||||||
GALLIUM_DIRS = auxiliary drivers state_trackers
|
|
||||||
GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a
|
|
||||||
GALLIUM_DRIVERS_DIRS = softpipe trace rbug noop identity galahad i915 svga r300 nvfx nv50
|
|
||||||
GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
|
|
||||||
GALLIUM_WINSYS_DIRS = sw sw/xlib
|
|
||||||
GALLIUM_TARGET_DIRS = libgl-xlib
|
|
||||||
GALLIUM_STATE_TRACKERS_DIRS = glx vega
|
|
||||||
|
|
||||||
# native platforms EGL should support
|
|
||||||
EGL_PLATFORMS = x11
|
|
||||||
EGL_CLIENT_APIS = $(GL_LIB)
|
|
||||||
|
|
||||||
# Library dependencies
|
# Library dependencies
|
||||||
#EXTRA_LIB_PATH ?=
|
#EXTRA_LIB_PATH ?=
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread
|
||||||
EGL_LIB_DEPS = $(EXTRA_LIB_PATH) -ldl -lpthread
|
OSMESA_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
OSMESA_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
GLU_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXi -lm
|
||||||
GLW_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
|
||||||
GLESv1_CM_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
|
|
||||||
GLESv2_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
|
|
||||||
VG_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
|
|
||||||
GLAPI_LIB_DEPS = $(EXTRA_LIB_PATH) -lpthread
|
|
||||||
WAYLAND_EGL_LIB_DEPS = $(EXTRA_LIB_PATH) -lwayland-client -ldrm
|
|
||||||
GBM_LIB_DEPS = $(EXTRA_LIB_PATH) -ludev -ldl
|
|
||||||
|
|
||||||
# Program dependencies - specific GL libraries added in Makefiles
|
# Program dependencies - specific GL/glut libraries added in Makefiles
|
||||||
X11_LIBS = -lX11
|
APP_LIB_DEPS = -lm
|
||||||
|
|
||||||
DLOPEN_LIBS = -ldl
|
|
||||||
|
|
||||||
# Installation directories (for make install)
|
# Installation directories (for make install)
|
||||||
INSTALL_DIR = /usr/local
|
INSTALL_DIR = /usr/local
|
||||||
@@ -157,41 +93,3 @@ DRI_DRIVER_INSTALL_DIR = $(INSTALL_LIB_DIR)/dri
|
|||||||
# Where libGL will look for DRI hardware drivers
|
# Where libGL will look for DRI hardware drivers
|
||||||
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
||||||
|
|
||||||
# EGL driver install directory
|
|
||||||
EGL_DRIVER_INSTALL_DIR = $(INSTALL_LIB_DIR)/egl
|
|
||||||
|
|
||||||
# gbm backend install directory
|
|
||||||
GBM_BACKEND_INSTALL_DIR = $(INSTALL_LIB_DIR)/gbm
|
|
||||||
|
|
||||||
# Xorg driver install directory (for xorg state-tracker)
|
|
||||||
XORG_DRIVER_INSTALL_DIR = $(INSTALL_LIB_DIR)/xorg/modules/drivers
|
|
||||||
|
|
||||||
# pkg-config substitutions
|
|
||||||
GL_PC_REQ_PRIV =
|
|
||||||
GL_PC_LIB_PRIV =
|
|
||||||
GL_PC_CFLAGS =
|
|
||||||
DRI_PC_REQ_PRIV =
|
|
||||||
GLU_PC_REQ = gl
|
|
||||||
GLU_PC_REQ_PRIV =
|
|
||||||
GLU_PC_LIB_PRIV =
|
|
||||||
GLU_PC_CFLAGS =
|
|
||||||
GLW_PC_REQ_PRIV =
|
|
||||||
GLW_PC_LIB_PRIV =
|
|
||||||
GLW_PC_CFLAGS =
|
|
||||||
OSMESA_PC_REQ =
|
|
||||||
OSMESA_PC_LIB_PRIV =
|
|
||||||
GLESv1_CM_PC_REQ_PRIV =
|
|
||||||
GLESv1_CM_PC_LIB_PRIV =
|
|
||||||
GLESv1_CM_PC_CFLAGS =
|
|
||||||
GLESv2_PC_REQ_PRIV =
|
|
||||||
GLESv2_PC_LIB_PRIV =
|
|
||||||
GLESv2_PC_CFLAGS =
|
|
||||||
VG_PC_REQ_PRIV =
|
|
||||||
VG_PC_LIB_PRIV =
|
|
||||||
VG_PC_CFLAGS =
|
|
||||||
WAYLAND_EGL_PC_REQ_PRIV =
|
|
||||||
WAYLAND_EGL_PC_LIB_PRIV =
|
|
||||||
WAYLAND_EGL_PC_CFLAGS =
|
|
||||||
GBM_PC_REQ_PRIV =
|
|
||||||
GBM_PC_LIB_PRIV =
|
|
||||||
GBM_PC_CFLAGS =
|
|
||||||
|
|||||||
75
configs/default-bp
Normal file
75
configs/default-bp
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# Default/template configuration
|
||||||
|
|
||||||
|
# This is included by other config files which may override some
|
||||||
|
# of these variables.
|
||||||
|
|
||||||
|
CONFIG_NAME = default
|
||||||
|
|
||||||
|
# Version info
|
||||||
|
MESA_MAJOR=6
|
||||||
|
MESA_MINOR=3
|
||||||
|
MESA_TINY=0
|
||||||
|
|
||||||
|
# external projects
|
||||||
|
#DRM_SOURCE_PATH=$(TOP)/../drm
|
||||||
|
DRM_SOURCE_PATH=/home/projects/DRI-freedesktop/drm
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = cc
|
||||||
|
CXX = CC
|
||||||
|
CFLAGS = -O
|
||||||
|
CXXFLAGS = -O
|
||||||
|
GLU_CFLAGS =
|
||||||
|
|
||||||
|
# Misc tools and flags
|
||||||
|
MKLIB_OPTIONS =
|
||||||
|
MKDEP = makedepend
|
||||||
|
MKDEP_OPTIONS = -fdepend
|
||||||
|
MAKE = make
|
||||||
|
|
||||||
|
# Library names (base name)
|
||||||
|
GL_LIB = GL
|
||||||
|
GLU_LIB = GLU
|
||||||
|
GLUT_LIB = glut
|
||||||
|
GLW_LIB = GLw
|
||||||
|
OSMESA_LIB = OSMesa
|
||||||
|
|
||||||
|
|
||||||
|
# Library names (actual file names)
|
||||||
|
GL_LIB_NAME = lib$(GL_LIB).so
|
||||||
|
GLU_LIB_NAME = lib$(GLU_LIB).so
|
||||||
|
GLUT_LIB_NAME = lib$(GLUT_LIB).so
|
||||||
|
GLW_LIB_NAME = lib$(GLW_LIB).so
|
||||||
|
OSMESA_LIB_NAME = lib$(OSMesa).so
|
||||||
|
|
||||||
|
|
||||||
|
# Optional assembly language optimization files for libGL
|
||||||
|
ASM_SOURCES =
|
||||||
|
|
||||||
|
# GLw widget sources (Append "GLwMDrawA.c" here and add -lXm to GLW_LIB_DEPS in
|
||||||
|
# order to build the Motif widget too)
|
||||||
|
GLW_SOURCES = GLwDrawA.c
|
||||||
|
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
LIB_DIR = $(TOP)/lib
|
||||||
|
INSTALL_PREFIX = /usr/local
|
||||||
|
SRC_DIRS = mesa glu glut/glx glw
|
||||||
|
GLU_DIRS = sgi
|
||||||
|
DRIVER_DIRS = x11 osmesa
|
||||||
|
# Which subdirs under $(TOP)/progs/ to enter:
|
||||||
|
PROGRAM_DIRS = demos redbook samples xdemos
|
||||||
|
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -lX11 -lXext -lm -lpthread
|
||||||
|
OSMESA_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
||||||
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
|
|
||||||
|
# Shading language support (set to 0 or 1)
|
||||||
|
SHADING_LANGUAGE = 0
|
||||||
|
|
||||||
@@ -21,9 +21,11 @@ CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ff
|
|||||||
|
|
||||||
CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)
|
CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
EXTRA_LIB_PATH = -L/usr/local/lib
|
EXTRA_LIB_PATH = -L/usr/local/lib
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|||||||
@@ -27,25 +27,28 @@ CFLAGS += -fno-strict-aliasing
|
|||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
MESA_ASM_SOURCES =
|
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||||
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
LIBDRM_CFLAGS = `$(PKG_CONFIG) --cflags libdrm`
|
DRI_LIB_DEPS = -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB)
|
||||||
LIBDRM_LIB = `$(PKG_CONFIG) --libs libdrm`
|
|
||||||
DRI_LIB_DEPS = $(MESA_MODULES) -L/usr/local/lib -lm -pthread -lexpat $(LIBDRM_LIB)
|
|
||||||
GL_LIB_DEPS = -L/usr/local/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
GL_LIB_DEPS = -L/usr/local/lib -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||||
-lm -pthread $(LIBDRM_LIB)
|
-lm -pthread $(LIBDRM_LIB)
|
||||||
|
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGL -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/local/lib -lGL -lXt -lX11
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
SRC_DIRS = glx gallium mesa glu
|
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
|
PROGRAM_DIRS =
|
||||||
|
WINDOW_SYSTEM=dri
|
||||||
|
|
||||||
DRM_SOURCE_PATH=$(TOP)/../drm
|
DRM_SOURCE_PATH=$(TOP)/../drm
|
||||||
|
|
||||||
DRI_DIRS = i915 i965 r200 radeon
|
# ffb and gamma are missing because they have not been converted to use the new
|
||||||
|
# interface.
|
||||||
|
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon tdfx \
|
||||||
|
unichrome savage sis
|
||||||
|
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ include $(TOP)/configs/freebsd-dri
|
|||||||
CONFIG_NAME = freebsd-dri-x86-64
|
CONFIG_NAME = freebsd-dri-x86-64
|
||||||
|
|
||||||
ASM_FLAGS = -DUSE_X86_64_ASM
|
ASM_FLAGS = -DUSE_X86_64_ASM
|
||||||
MESA_ASM_SOURCES = $(X86-64_SOURCES)
|
ASM_SOURCES = $(X86-64_SOURCES)
|
||||||
GLAPI_ASM_SOURCES = $(X86-64_API)
|
ASM_API = $(X86-64_API)
|
||||||
|
|||||||
@@ -9,5 +9,5 @@ CONFIG_NAME = freebsd-dri-x86
|
|||||||
PIC_FLAGS =
|
PIC_FLAGS =
|
||||||
|
|
||||||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
MESA_ASM_SOURCES = $(X86_SOURCES)
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
GLAPI_ASM_SOURCES = $(X86_API)
|
ASM_API = $(X86_API)
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ CXX = aCC
|
|||||||
CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
||||||
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE
|
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|||||||
@@ -10,9 +10,11 @@ CXX = g++
|
|||||||
|
|
||||||
CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
||||||
CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE
|
CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ MKLIB_OPTIONS = -static
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
@@ -23,4 +24,7 @@ OSMESA_LIB_NAME = libOSMesa.a
|
|||||||
GL_LIB_DEPS =
|
GL_LIB_DEPS =
|
||||||
OSMESA_LIB_DEPS =
|
OSMESA_LIB_DEPS =
|
||||||
GLU_LIB_DEPS =
|
GLU_LIB_DEPS =
|
||||||
|
GLUT_LIB_DEPS =
|
||||||
GLW_LIB_DEPS =
|
GLW_LIB_DEPS =
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -lstdc++
|
||||||
|
|||||||
@@ -18,10 +18,13 @@ MKLIB_OPTIONS =
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXt -lXi -lX11 -lm -lpthread
|
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXt -lXi -lX11 -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
|||||||
@@ -18,8 +18,10 @@ MKLIB_OPTIONS = -static
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lCsup -lcl
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,9 @@ MKLIB_OPTIONS = -static
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|||||||
@@ -19,10 +19,13 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
GL_LIB_DEPS = -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
GL_LIB_DEPS = -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6/pa20_64 -L/usr/contrib/X11R6/lib/pa20_64 -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread -lCsup -lcl
|
||||||
|
|||||||
@@ -19,10 +19,12 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.so
|
GL_LIB_NAME = libGL.so
|
||||||
GLU_LIB_NAME = libGLU.so
|
GLU_LIB_NAME = libGLU.so
|
||||||
|
GLUT_LIB_NAME = libglut.so
|
||||||
GLW_LIB_NAME = libGLw.so
|
GLW_LIB_NAME = libGLw.so
|
||||||
OSMESA_LIB_NAME = libOSMesa.so
|
OSMESA_LIB_NAME = libOSMesa.so
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
GL_LIB_DEPS = -L/usr/lib/X11R6/ -L/usr/contrib/X11R6/lib/ -lXext -lXmu -lXt -lXi -lX11 -lm -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -lm -lCsup -lcl
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
|||||||
@@ -19,7 +19,9 @@ LIB_DIR = lib64
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lXt -lX11 -lpthread -lm -lCsup -lcl
|
||||||
|
|||||||
@@ -12,4 +12,5 @@ CXX = c++
|
|||||||
CFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM
|
CFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM
|
||||||
CXXFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5
|
CXXFLAGS = +z -O +Olibcalls +ESlit -Ae +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ CXX = aCC
|
|||||||
CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
CFLAGS = -O +DAportable +z -Ae -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM
|
||||||
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE
|
CXXFLAGS = -O +DAportable +Z -Ae -D_HPUX_SOURCE
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm
|
||||||
|
|||||||
@@ -14,3 +14,4 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -64 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lpthread -lm
|
||||||
|
|||||||
@@ -15,9 +15,11 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -64 -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
|||||||
@@ -14,3 +14,4 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -n32 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXmu -lXi -lfpe -lpthread -lm
|
||||||
|
|||||||
@@ -15,9 +15,11 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -n32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lpthread -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,5 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -32 -rpath $(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,11 @@ GLW_SOURCES = GLwDrawA.c GLwMDrawA.c
|
|||||||
|
|
||||||
LIB_DIR = lib32
|
LIB_DIR = lib32
|
||||||
|
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -32 -glut -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lXext -lXmu -lXi -lm -lC
|
||||||
|
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
|||||||
@@ -22,16 +22,16 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
|||||||
|
|
||||||
X11_INCLUDES = -I/usr/X11R6/include
|
X11_INCLUDES = -I/usr/X11R6/include
|
||||||
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes -Wdeclaration-after-statement \
|
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
||||||
-Wpointer-arith $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
$(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math
|
||||||
$(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math
|
|
||||||
|
|
||||||
CXXFLAGS = -Wall -Wpointer-arith $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \
|
||||||
$(DEFINES) $(X11_INCLUDES)
|
$(X11_INCLUDES)
|
||||||
|
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
EXTRA_LIB_PATH = -L/usr/X11R6/lib
|
EXTRA_LIB_PATH = -L/usr/X11R6/lib
|
||||||
|
|||||||
@@ -9,11 +9,14 @@ CC = gcc
|
|||||||
CXX = g++
|
CXX = g++
|
||||||
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DUSE_XSHM
|
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DUSE_XSHM
|
||||||
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE
|
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ CC = gcc
|
|||||||
CXX = g++
|
CXX = g++
|
||||||
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE -DUSE_XSHM
|
CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE -DUSE_XSHM
|
||||||
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE
|
CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
MKLIB_OPTIONS = -static
|
MKLIB_OPTIONS = -static
|
||||||
PIC_FLAGS =
|
PIC_FLAGS =
|
||||||
|
|
||||||
@@ -19,9 +20,12 @@ CXXFLAGS += -fno-strict-aliasing
|
|||||||
# Library names (actual file names)
|
# Library names (actual file names)
|
||||||
GL_LIB_NAME = libGL.a
|
GL_LIB_NAME = libGL.a
|
||||||
GLU_LIB_NAME = libGLU.a
|
GLU_LIB_NAME = libGLU.a
|
||||||
|
GLUT_LIB_NAME = libglut.a
|
||||||
GLW_LIB_NAME = libGLw.a
|
GLW_LIB_NAME = libGLw.a
|
||||||
OSMESA_LIB_NAME = libOSMesa.a
|
OSMESA_LIB_NAME = libOSMesa.a
|
||||||
|
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -L/usr/X11R6/lib -lX11 -lm
|
||||||
|
|||||||
@@ -4,6 +4,5 @@ include $(TOP)/configs/linux
|
|||||||
|
|
||||||
CONFIG_NAME = linux-debug
|
CONFIG_NAME = linux-debug
|
||||||
|
|
||||||
OPT_FLAGS = -g
|
OPT_FLAGS = -g -ansi -pedantic
|
||||||
#CFLAGS += -pedantic
|
|
||||||
DEFINES += -DDEBUG -DDEBUG_MATH
|
DEFINES += -DDEBUG -DDEBUG_MATH
|
||||||
|
|||||||
38
configs/linux-directfb
Normal file
38
configs/linux-directfb
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# Configuration for DirectFB
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-directfb
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE \
|
||||||
|
-D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DPTHREADS
|
||||||
|
|
||||||
|
CXXFLAGS = -Wall -O3 -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
HAVE_X86 = $(shell uname -m | grep 'i[3-6]86' >/dev/null && echo yes)
|
||||||
|
ifeq ($(HAVE_X86), yes)
|
||||||
|
CFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
|
CXXFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
|
ASM_API = $(X86_API)
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
SRC_DIRS = mesa glu glut/directfb
|
||||||
|
GLU_DIRS = sgi
|
||||||
|
DRIVER_DIRS = directfb
|
||||||
|
PROGRAM_DIRS = demos directfb
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLU_LIB)
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -l$(GLU_LIB) -l$(GLUT_LIB)
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ CXX = g++
|
|||||||
#MKDEP = gcc -M
|
#MKDEP = gcc -M
|
||||||
#MKDEP_OPTIONS = -MF depend
|
#MKDEP_OPTIONS = -MF depend
|
||||||
|
|
||||||
OPT_FLAGS = -O2 -g
|
OPT_FLAGS = -O -g
|
||||||
PIC_FLAGS = -fPIC
|
PIC_FLAGS = -fPIC
|
||||||
|
|
||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
||||||
@@ -32,44 +32,43 @@ CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|||||||
|
|
||||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
||||||
|
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
MESA_ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
||||||
|
|
||||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||||
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
||||||
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
|
|
||||||
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||||
-lm -lpthread -ldl $(LIBDRM_LIB)
|
-lm -lpthread -ldl $(LIBDRM_LIB)
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
# This is now 0 by default since it seems to confuse the hell out of people
|
||||||
SRC_DIRS := glx egl $(SRC_DIRS)
|
# and generate a lot of extra noise on bugzilla. If you need to build with
|
||||||
|
# EGL, do 'make linux-dri USING_EGL=1'
|
||||||
|
|
||||||
# EGL directories
|
USING_EGL=0
|
||||||
EGL_DRIVERS_DIRS = glx
|
|
||||||
|
# Directories
|
||||||
|
ifeq ($(USING_EGL), 1)
|
||||||
|
SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS = egl xdemos
|
||||||
|
else
|
||||||
|
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS = xdemos
|
||||||
|
endif
|
||||||
|
|
||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
GALLIUM_WINSYS_DIRS = sw sw/xlib drm/vmware drm/intel svga/drm
|
WINDOW_SYSTEM=dri
|
||||||
GALLIUM_TARGET_DIRS = dri-vmwgfx
|
|
||||||
GALLIUM_STATE_TRACKERS_DIRS = egl dri
|
|
||||||
|
|
||||||
DRI_DIRS = i915 i965 nouveau r200 radeon swrast
|
# gamma are missing because they have not been converted to use the new
|
||||||
|
# interface.
|
||||||
INTEL_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_intel)
|
DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon s3v \
|
||||||
INTEL_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_intel)
|
savage sis tdfx trident unichrome ffb
|
||||||
|
|
||||||
NOUVEAU_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_nouveau)
|
|
||||||
NOUVEAU_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_nouveau)
|
|
||||||
|
|
||||||
RADEON_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_radeon)
|
|
||||||
RADEON_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
|
|
||||||
RADEON_LDFLAGS = $(LIBDRM_RADEON_LIBS)
|
|
||||||
|
|||||||
@@ -10,5 +10,7 @@ ARCH_FLAGS = -DDEBUG
|
|||||||
# Helpful to reduce the amount of stuff that gets built sometimes:
|
# Helpful to reduce the amount of stuff that gets built sometimes:
|
||||||
#DRI_DIRS = i915tex i915
|
#DRI_DIRS = i915tex i915
|
||||||
#DRI_DIRS = i965
|
#DRI_DIRS = i965
|
||||||
#DRI_DIRS = radeon r200
|
#DRI_DIRS = radeon r200 r300
|
||||||
|
#DRI_DIRS = unichrome sis trident
|
||||||
|
#DRI_DIRS = i810 mga r128 tdfx
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ OPT_FLAGS = -Os -mcpu=603
|
|||||||
PIC_FLAGS = -fPIC
|
PIC_FLAGS = -fPIC
|
||||||
|
|
||||||
ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM
|
ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM
|
||||||
MESA_ASM_SOURCES = $(PPC_SOURCES)
|
ASM_SOURCES = $(PPC_SOURCES)
|
||||||
|
|
||||||
# Build only the drivers for cards that exist on PowerPC. At some point MGA
|
# Build only the drivers for cards that exist on PowerPC. At some point MGA
|
||||||
# will be added, but not yet.
|
# will be added, but not yet.
|
||||||
DRI_DIRS = r200 radeon
|
DRI_DIRS = mach64 r128 r200 r300 radeon tdfx
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,10 @@ include $(TOP)/configs/linux-dri
|
|||||||
|
|
||||||
CONFIG_NAME = linux-dri-x86
|
CONFIG_NAME = linux-dri-x86
|
||||||
|
|
||||||
ARCH_FLAGS = -m32 -mmmx -msse -msse2
|
# Add -m32 to CFLAGS:
|
||||||
|
ARCH_FLAGS = -m32
|
||||||
|
|
||||||
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
|
||||||
MESA_ASM_SOURCES = $(X86_SOURCES)
|
ASM_SOURCES = $(X86_SOURCES)
|
||||||
GLAPI_ASM_SOURCES = $(X86_API)
|
ASM_API = $(X86_API)
|
||||||
|
|
||||||
|
|||||||
@@ -8,13 +8,17 @@ CONFIG_NAME = linux-dri-x86-64
|
|||||||
ARCH_FLAGS = -m64
|
ARCH_FLAGS = -m64
|
||||||
|
|
||||||
ASM_FLAGS = -DUSE_X86_64_ASM
|
ASM_FLAGS = -DUSE_X86_64_ASM
|
||||||
MESA_ASM_SOURCES = $(X86-64_SOURCES)
|
ASM_SOURCES = $(X86-64_SOURCES)
|
||||||
GLAPI_ASM_SOURCES = $(X86-64_API)
|
ASM_API = $(X86-64_API)
|
||||||
|
|
||||||
LIB_DIR = lib64
|
LIB_DIR = lib64
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
EXTRA_LIB_PATH=-L/usr/X11R6/lib64
|
||||||
|
|
||||||
DRI_DIRS = i915 i965 r200 radeon
|
# ffb, gamma, and sis are missing because they have not be converted to use
|
||||||
|
# the new interface. i810 are missing because there is no x86-64
|
||||||
|
# system where they could *ever* be used.
|
||||||
|
#
|
||||||
|
DRI_DIRS = i915 i965 mach64 mga r128 r200 r300 radeon savage tdfx unichrome
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
|||||||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
||||||
-DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN
|
-DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN
|
||||||
|
|
||||||
X11_INCLUDES = $(shell $(PKG_CONFIG) --cflags-only-I x11) $(shell $(PKG_CONFIG) --cflags-only-I xcb) $(shell $(PKG_CONFIG) --cflags-only-I x11-xcb) $(shell $(PKG_CONFIG) --cflags-only-I xcb-glx)
|
X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I x11-xcb` `pkg-config --cflags-only-I xcb-glx`
|
||||||
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \
|
||||||
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math
|
$(DEFINES) $(ASM_FLAGS) -std=c99 -ffast-math
|
||||||
@@ -36,20 +36,38 @@ CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
CXXFLAGS += -fno-strict-aliasing
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
MESA_ASM_SOURCES =
|
ASM_SOURCES =
|
||||||
|
|
||||||
# Library/program dependencies
|
# Library/program dependencies
|
||||||
EXTRA_LIB_PATH=$(shell $(PKG_CONFIG) --libs-only-L x11)
|
EXTRA_LIB_PATH=`pkg-config --libs-only-L x11`
|
||||||
|
|
||||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
LIBDRM_CFLAGS = `pkg-config --cflags libdrm`
|
||||||
|
LIBDRM_LIB = `pkg-config --libs libdrm`
|
||||||
|
DRI_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
||||||
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
||||||
|
-lm -lpthread -ldl $(LIBDRM_LIB) `pkg-config --libs xcb` \
|
||||||
|
`pkg-config --libs x11-xcb` `pkg-config --libs xcb-glx`
|
||||||
|
|
||||||
LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
|
|
||||||
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
|
|
||||||
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lm -lpthread -ldl \
|
|
||||||
$(LIBDRM_LIB) $(shell $(PKG_CONFIG) --libs xcb) $(shell $(PKG_CONFIG) --libs x11-xcb) $(shell $(PKG_CONFIG) --libs xcb-glx)
|
|
||||||
|
|
||||||
SRC_DIRS = glx gallium mesa glu
|
# This is now 0 by default since it seems to confuse the hell out of people
|
||||||
|
# and generate a lot of extra noise on bugzilla. If you need to build with
|
||||||
|
# EGL, do 'make linux-dri USING_EGL=1'
|
||||||
|
|
||||||
|
USING_EGL=0
|
||||||
|
|
||||||
|
# Directories
|
||||||
|
ifeq ($(USING_EGL), 1)
|
||||||
|
SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS = egl xdemos
|
||||||
|
else
|
||||||
|
SRC_DIRS = glx/x11 mesa glu glut/glx glw
|
||||||
|
PROGRAM_DIRS = xdemos
|
||||||
|
endif
|
||||||
|
|
||||||
DRIVER_DIRS = dri
|
DRIVER_DIRS = dri
|
||||||
DRI_DIRS = i915 r200 radeon
|
WINDOW_SYSTEM=dri
|
||||||
|
|
||||||
|
# gamma are missing because they have not been converted to use the new
|
||||||
|
# interface.
|
||||||
|
DRI_DIRS = i810 i915 mach64 mga r128 r200 r300 radeon s3v \
|
||||||
|
savage sis tdfx trident unichrome ffb nouveau
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
# -*-makefile-*-
|
|
||||||
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 & others
|
|
||||||
|
|
||||||
include $(TOP)/configs/default
|
|
||||||
|
|
||||||
CONFIG_NAME = linux-dri
|
|
||||||
|
|
||||||
# Compiler and flags
|
|
||||||
CC = gcc
|
|
||||||
CXX = g++
|
|
||||||
|
|
||||||
#MKDEP = /usr/X11R6/bin/makedepend
|
|
||||||
#MKDEP = gcc -M
|
|
||||||
#MKDEP_OPTIONS = -MF depend
|
|
||||||
|
|
||||||
OPT_FLAGS = -O -g
|
|
||||||
PIC_FLAGS = -fPIC
|
|
||||||
|
|
||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
|
||||||
ARCH_FLAGS ?=
|
|
||||||
|
|
||||||
DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \
|
|
||||||
-D_BSD_SOURCE -D_GNU_SOURCE \
|
|
||||||
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
|
|
||||||
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING \
|
|
||||||
-DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN
|
|
||||||
|
|
||||||
X11_INCLUDES = -I/usr/X11R6/include
|
|
||||||
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|
||||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
|
||||||
|
|
||||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|
||||||
|
|
||||||
|
|
||||||
MESA_ASM_SOURCES =
|
|
||||||
|
|
||||||
# Library/program dependencies
|
|
||||||
EXTRA_LIB_PATH=-L/usr/X11R6/lib
|
|
||||||
|
|
||||||
MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
|
||||||
|
|
||||||
LIBDRM_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm)
|
|
||||||
LIBDRM_LIB = $(shell $(PKG_CONFIG) --libs libdrm)
|
|
||||||
DRI_LIB_DEPS = $(MESA_MODULES) $(EXTRA_LIB_PATH) -lm -lpthread -lexpat -ldl $(LIBDRM_LIB)
|
|
||||||
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lX11 -lXext -lXxf86vm -lXdamage -lXfixes \
|
|
||||||
-lm -lpthread -ldl \
|
|
||||||
$(LIBDRM_LIB)
|
|
||||||
|
|
||||||
|
|
||||||
# Directories
|
|
||||||
SRC_DIRS = gallium mesa gallium/winsys gallium/targets glu egl
|
|
||||||
|
|
||||||
DRIVER_DIRS = dri
|
|
||||||
GALLIUM_WINSYS_DIRS = egl_drm
|
|
||||||
GALLIUM_TARGET_DIRS =
|
|
||||||
|
|
||||||
DRI_DIRS = intel
|
|
||||||
19
configs/linux-fbdev
Normal file
19
configs/linux-fbdev
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Configuration for Linux fbdev interface
|
||||||
|
|
||||||
|
include $(TOP)/configs/linux
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-fbdev
|
||||||
|
|
||||||
|
CFLAGS = -O3 -ffast-math -ansi -pedantic -fPIC -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS -DUSE_GLFBDEV_DRIVER
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
SRC_DIRS = mesa glu glut/fbdev
|
||||||
|
DRIVER_DIRS = fbdev osmesa
|
||||||
|
PROGRAM_DIRS = fbdev demos redbook samples
|
||||||
|
|
||||||
|
GL_LIB_DEPS = $(EXTRA_LIB_PATH) -lm -lpthread
|
||||||
|
OSMESA_LIB_DEPS = -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lgpm -lm
|
||||||
|
|
||||||
23
configs/linux-glide
Normal file
23
configs/linux-glide
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Configuration for generic Linux with 3Dfx Glide driver
|
||||||
|
|
||||||
|
include $(TOP)/configs/default
|
||||||
|
|
||||||
|
CONFIG_NAME = linux-glide
|
||||||
|
|
||||||
|
# Compiler and flags
|
||||||
|
CC = gcc
|
||||||
|
CXX = g++
|
||||||
|
|
||||||
|
CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DFX -I/usr/include/glide -I/usr/local/glide/include
|
||||||
|
CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
|
|
||||||
|
# Work around aliasing bugs - developers should comment this out
|
||||||
|
CFLAGS += -fno-strict-aliasing
|
||||||
|
CXXFLAGS += -fno-strict-aliasing
|
||||||
|
|
||||||
|
# Library/program dependencies
|
||||||
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -L/usr/local/glide/lib -lglide3x -lm -lpthread
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
|
||||||
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/local/glide/lib -lglide3x -lm
|
||||||
@@ -9,10 +9,13 @@ CC = icc
|
|||||||
CXX = icpc
|
CXX = icpc
|
||||||
CFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
CFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
CXXFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
CXXFLAGS = -O3 -ansi -KPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include
|
||||||
|
GLUT_CFLAGS = -fexceptions
|
||||||
MKLIB_OPTIONS = -arch icc-istatic
|
MKLIB_OPTIONS = -arch icc-istatic
|
||||||
|
|
||||||
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lpthread
|
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lpthread
|
||||||
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB)
|
||||||
|
GLUT_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi
|
||||||
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(GL_LIB_DEPS)
|
||||||
|
APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user