Compare commits
734 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84f9a59759 | ||
|
|
1f3ea0308f | ||
|
|
cd5a4be610 | ||
|
|
6560a3b0e8 | ||
|
|
b74ad51972 | ||
|
|
28ee04091d | ||
|
|
0dd7efb4a2 | ||
|
|
e7d51c5e30 | ||
|
|
0758661a87 | ||
|
|
5622816a92 | ||
|
|
9bf6bef12e | ||
|
|
9f95921260 | ||
|
|
bc0a241192 | ||
|
|
89717c16f4 | ||
|
|
20565b03eb | ||
|
|
0e2eddbcdb | ||
|
|
b68112ba6a | ||
|
|
dbbb6af9fd | ||
|
|
49d2ce69fb | ||
|
|
26a6df0652 | ||
|
|
4675c84bff | ||
|
|
d5de77bc5a | ||
|
|
cce78f0ec5 | ||
|
|
9c99a40de2 | ||
|
|
d6ab506379 | ||
|
|
e3c514ea9e | ||
|
|
fd33cf444e | ||
|
|
abb03fdfdf | ||
|
|
6edd359e47 | ||
|
|
bded68e14e | ||
|
|
eacaf67101 | ||
|
|
e35c8d0774 | ||
|
|
b9b48dfa77 | ||
|
|
fef72a5948 | ||
|
|
48c4992799 | ||
|
|
ac13592d0a | ||
|
|
c4184be87c | ||
|
|
4472f60249 | ||
|
|
088c35da63 | ||
|
|
bb0affc5ee | ||
|
|
44a9b25392 | ||
|
|
582a1aa0b5 | ||
|
|
3053584b56 | ||
|
|
6c4c063692 | ||
|
|
038ef5db8d | ||
|
|
bf51f20126 | ||
|
|
d2ac73f3ae | ||
|
|
ef9ed01e0c | ||
|
|
3035e9393c | ||
|
|
f7e9c7e1a1 | ||
|
|
2d50b04ca0 | ||
|
|
ce8fb13fe4 | ||
|
|
8c6d2ba91a | ||
|
|
7231e60a60 | ||
|
|
56fc694513 | ||
|
|
519f3d29cf | ||
|
|
2f5b606d4a | ||
|
|
89addc09d7 | ||
|
|
3b796aaf2d | ||
|
|
7fc94de997 | ||
|
|
e967392227 | ||
|
|
e31993bb84 | ||
|
|
4fb36b3104 | ||
|
|
cc06a46407 | ||
|
|
6f330ed44b | ||
|
|
95f694cfe7 | ||
|
|
5b1b3e80d8 | ||
|
|
fbc524d308 | ||
|
|
00c9d22936 | ||
|
|
31faca4b3d | ||
|
|
78b532ee75 | ||
|
|
ecc3206e11 | ||
|
|
4359938ed6 | ||
|
|
1fb594833b | ||
|
|
4202695246 | ||
|
|
5184d1807a | ||
|
|
9d14ea1a24 | ||
|
|
300af9164a | ||
|
|
5d13666e7b | ||
|
|
da00278de6 | ||
|
|
087f0afafb | ||
|
|
f973722d5a | ||
|
|
cd10c21647 | ||
|
|
6ea736d0ed | ||
|
|
ad9f577faf | ||
|
|
a892dffd12 | ||
|
|
8a65a17f68 | ||
|
|
0fc52db97b | ||
|
|
54868e8723 | ||
|
|
73b8c02bae | ||
|
|
ce29455411 | ||
|
|
2b85746e23 | ||
|
|
8d2b3ce0ea | ||
|
|
4f9530500b | ||
|
|
af35fa7eb8 | ||
|
|
b99238b93c | ||
|
|
e00b773830 | ||
|
|
d7b3f30111 | ||
|
|
8439f488f0 | ||
|
|
ec11da3a05 | ||
|
|
09d50b3213 | ||
|
|
12842d80dc | ||
|
|
e69481d196 | ||
|
|
c1f1511fac | ||
|
|
e80f7b4ce1 | ||
|
|
fecb32a960 | ||
|
|
1184e2ab21 | ||
|
|
0f74d195e1 | ||
|
|
44d234535e | ||
|
|
d719a6859c | ||
|
|
19dba4225a | ||
|
|
a50b83b918 | ||
|
|
b27dc431c8 | ||
|
|
a31f5e166c | ||
|
|
e5f47d5807 | ||
|
|
098d421a56 | ||
|
|
8faa55056d | ||
|
|
e186fde80c | ||
|
|
c811a766a2 | ||
|
|
a48245d385 | ||
|
|
6c9d48b8ff | ||
|
|
0034119588 | ||
|
|
3412fc65be | ||
|
|
d1d2a1bac8 | ||
|
|
0c8d2336b7 | ||
|
|
360c3f4a36 | ||
|
|
7e1db8bc95 | ||
|
|
e536c949e1 | ||
|
|
13fcc63153 | ||
|
|
af073e289d | ||
|
|
14d410cddb | ||
|
|
b9fb6caffb | ||
|
|
9b2d79a5c8 | ||
|
|
b0d5f21a87 | ||
|
|
952387a9dc | ||
|
|
c4bf96b4f8 | ||
|
|
956ddf6695 | ||
|
|
803f0bccbb | ||
|
|
f24895c325 | ||
|
|
e38db3e6d3 | ||
|
|
d96c061366 | ||
|
|
7bff35a687 | ||
|
|
9991b7300f | ||
|
|
b17bb61e68 | ||
|
|
55b72128e4 | ||
|
|
7455d3df07 | ||
|
|
a2d4436b83 | ||
|
|
e13dafb8af | ||
|
|
6661789143 | ||
|
|
a02b3b243e | ||
|
|
4428ca3661 | ||
|
|
9dc92c9b03 | ||
|
|
bb92682ed1 | ||
|
|
faf5bc3b0e | ||
|
|
10414b4429 | ||
|
|
44031b3e94 | ||
|
|
7cf94abe78 | ||
|
|
025a73ca42 | ||
|
|
da56d5e2b8 | ||
|
|
067c0a3db1 | ||
|
|
84666e054e | ||
|
|
b697fc2acc | ||
|
|
a907bc4df3 | ||
|
|
835edde87d | ||
|
|
ac4890e5c9 | ||
|
|
a4c82bfd9f | ||
|
|
417dfcc191 | ||
|
|
86158b907d | ||
|
|
d777dc654d | ||
|
|
e70dba5bf9 | ||
|
|
3f61b69fa3 | ||
|
|
1e2a950e0b | ||
|
|
a2b2ef414d | ||
|
|
fb3dfef5e8 | ||
|
|
1fef904a9e | ||
|
|
6ee9656f43 | ||
|
|
ac128fc048 | ||
|
|
7f56802052 | ||
|
|
ad6be99ae4 | ||
|
|
1ac82bb6bd | ||
|
|
d97ca30986 | ||
|
|
cd8b21fafc | ||
|
|
ccd94cd911 | ||
|
|
c6464b8797 | ||
|
|
03e7db8ff0 | ||
|
|
c8a106a50d | ||
|
|
773c12becc | ||
|
|
37476c6482 | ||
|
|
5f61e9c2fc | ||
|
|
6463589276 | ||
|
|
ee4b51b2f9 | ||
|
|
1a9f922454 | ||
|
|
29aad6c0c0 | ||
|
|
686990ccfa | ||
|
|
004b21a7a5 | ||
|
|
884514bb7a | ||
|
|
7b5ad4c8f2 | ||
|
|
d25ea19815 | ||
|
|
c606ecf428 | ||
|
|
8b0e1c88c4 | ||
|
|
83753fb9e6 | ||
|
|
8ecceef706 | ||
|
|
d5020308aa | ||
|
|
fee9dce2a0 | ||
|
|
5a9320525c | ||
|
|
8a6cbfde20 | ||
|
|
a063a2f0a9 | ||
|
|
2612b722fa | ||
|
|
12e97d5e91 | ||
|
|
78313c62f9 | ||
|
|
1e84246cb7 | ||
|
|
6d5061781c | ||
|
|
b6a001e4cb | ||
|
|
f44bc9a818 | ||
|
|
45609829f8 | ||
|
|
06064b444a | ||
|
|
9ab8596aff | ||
|
|
b6c6755918 | ||
|
|
e769ca29f1 | ||
|
|
ec411508e9 | ||
|
|
c82442b10c | ||
|
|
9cf089f0d3 | ||
|
|
6047ac5efe | ||
|
|
47363400cb | ||
|
|
b40d9ddcc3 | ||
|
|
00f28ff971 | ||
|
|
7ada50c005 | ||
|
|
b260612016 | ||
|
|
5e4a23d5be | ||
|
|
a41a72a4f4 | ||
|
|
0c7721d6ea | ||
|
|
2e3f3ba7eb | ||
|
|
f93c25f7f6 | ||
|
|
c11454ce4a | ||
|
|
f89bbee76d | ||
|
|
e978571919 | ||
|
|
f4949c8415 | ||
|
|
7673dc39ee | ||
|
|
518ec97f72 | ||
|
|
aad8fe9c94 | ||
|
|
9a0f23dfdf | ||
|
|
69a8bc6fd7 | ||
|
|
fa320889e3 | ||
|
|
738337049b | ||
|
|
72ff66925f | ||
|
|
5fe2fb480e | ||
|
|
ff1992066f | ||
|
|
1c84525a87 | ||
|
|
7b294e0d99 | ||
|
|
c6eca11921 | ||
|
|
6861be8270 | ||
|
|
ae3a888da7 | ||
|
|
a56c01378e | ||
|
|
2498b21fae | ||
|
|
45cde80ee8 | ||
|
|
4f465a1f7b | ||
|
|
52b8c02fa8 | ||
|
|
aa160c0a2b | ||
|
|
f5e2dce279 | ||
|
|
d04cfc8d03 | ||
|
|
eec0dc5ece | ||
|
|
29d0f4716c | ||
|
|
3bbec946b7 | ||
|
|
958b13368b | ||
|
|
0222a48595 | ||
|
|
d5d8241fdd | ||
|
|
c963333e78 | ||
|
|
642a582f24 | ||
|
|
d2d4f4ca6d | ||
|
|
1cfa435707 | ||
|
|
481235c41a | ||
|
|
1e93d812ac | ||
|
|
2bddff21eb | ||
|
|
5a3e4a6b5f | ||
|
|
60f4cac0d0 | ||
|
|
ffb828afda | ||
|
|
c2dbe7ddb1 | ||
|
|
12bd56b1b4 | ||
|
|
5ec41e6088 | ||
|
|
1de0a6c42d | ||
|
|
0fcf3e4fda | ||
|
|
1a451e4903 | ||
|
|
e3ceeb0eac | ||
|
|
f04fff8f83 | ||
|
|
db5c2d67f8 | ||
|
|
1be5dc154d | ||
|
|
6105888487 | ||
|
|
9408db2d54 | ||
|
|
41644804e8 | ||
|
|
ebacbfddcd | ||
|
|
817cd651c3 | ||
|
|
8b12a243a2 | ||
|
|
0c5b0c70d7 | ||
|
|
fd56498f95 | ||
|
|
ea7a1c160e | ||
|
|
5161226f81 | ||
|
|
24582e4a27 | ||
|
|
9b280179bf | ||
|
|
c0bc7a55e9 | ||
|
|
54934b1059 | ||
|
|
4c5dab8e72 | ||
|
|
6802e5154e | ||
|
|
e5928a8630 | ||
|
|
3bbc4b54c2 | ||
|
|
595eadb9f6 | ||
|
|
6b63f7c2f0 | ||
|
|
25fa8008f7 | ||
|
|
0761793165 | ||
|
|
ff9075881c | ||
|
|
913373d12d | ||
|
|
c149f17cc2 | ||
|
|
4794bf11bc | ||
|
|
b06976e69b | ||
|
|
ef5ce92ff8 | ||
|
|
a9372c4a5a | ||
|
|
88425b4433 | ||
|
|
4388d789a5 | ||
|
|
96b2d2c76f | ||
|
|
dc198c0ae0 | ||
|
|
5e20a6274f | ||
|
|
d668a2d8d2 | ||
|
|
96f8e4f323 | ||
|
|
9f09bc6b67 | ||
|
|
afdf3c9af2 | ||
|
|
2ad485368b | ||
|
|
7eda38a779 | ||
|
|
ee500e2ad8 | ||
|
|
57e941cb85 | ||
|
|
7da5f3c5c6 | ||
|
|
8e44835903 | ||
|
|
2624a16170 | ||
|
|
154ebd3153 | ||
|
|
d79b7c3880 | ||
|
|
a097eebfb1 | ||
|
|
cca00a0061 | ||
|
|
676d210340 | ||
|
|
acfeff3695 | ||
|
|
d812f89280 | ||
|
|
5bbf7bc341 | ||
|
|
9a991a3765 | ||
|
|
bf59a164b9 | ||
|
|
181d5f4ff0 | ||
|
|
884c05a15c | ||
|
|
1de5f1c3ef | ||
|
|
2d114dc5bb | ||
|
|
372528666a | ||
|
|
35d0d41f22 | ||
|
|
2399da3a1a | ||
|
|
88af86fbbd | ||
|
|
33ca9c7407 | ||
|
|
6da98f4e5e | ||
|
|
c50837d7f5 | ||
|
|
ae975a8e23 | ||
|
|
948718f253 | ||
|
|
378a70bb20 | ||
|
|
778f8936e5 | ||
|
|
40802e621c | ||
|
|
44a57584b7 | ||
|
|
d8db1abd38 | ||
|
|
2430736ff1 | ||
|
|
6b04c52f45 | ||
|
|
f484488842 | ||
|
|
0fd1f0103d | ||
|
|
6ab92a6dab | ||
|
|
3b7426e1a3 | ||
|
|
93d163ba83 | ||
|
|
1ee13af2a8 | ||
|
|
ff16932a0f | ||
|
|
b8a2f0495e | ||
|
|
a28065c900 | ||
|
|
3f28509df8 | ||
|
|
59ca167c5d | ||
|
|
a63da3e2a8 | ||
|
|
b04d6fc943 | ||
|
|
414811e98d | ||
|
|
2779547dcb | ||
|
|
b9148e0224 | ||
|
|
9e20859cfc | ||
|
|
2826afb3f9 | ||
|
|
b53f10dbb6 | ||
|
|
338d438830 | ||
|
|
ef8fb769a1 | ||
|
|
57db879905 | ||
|
|
cf80cd22da | ||
|
|
b921020943 | ||
|
|
15b35b60d1 | ||
|
|
032bb6e7fc | ||
|
|
d8e7cb5524 | ||
|
|
bd1e636fb0 | ||
|
|
ec94384106 | ||
|
|
000aaea550 | ||
|
|
ec3958a36e | ||
|
|
14f6fe08fb | ||
|
|
1f33045887 | ||
|
|
0330a9a085 | ||
|
|
f7fdc9a11e | ||
|
|
9e337cca2b | ||
|
|
6f8d94c8dd | ||
|
|
ef3a3629a5 | ||
|
|
6c07f8064a | ||
|
|
7600b37a9d | ||
|
|
fe98915920 | ||
|
|
7429e6a1de | ||
|
|
8e3b9a0453 | ||
|
|
12efe1ec2b | ||
|
|
9519c2646a | ||
|
|
48e9500f1a | ||
|
|
cb4e242b40 | ||
|
|
6958eafd44 | ||
|
|
c2480a2de6 | ||
|
|
e95d19ec1c | ||
|
|
bb431bdf7c | ||
|
|
14bd27a4f8 | ||
|
|
26fac718bf | ||
|
|
14b069660f | ||
|
|
34b8c943c5 | ||
|
|
c3cf188839 | ||
|
|
b97ef3dfeb | ||
|
|
c8c64a212c | ||
|
|
9242561f9f | ||
|
|
41e66161de | ||
|
|
b030fdeca3 | ||
|
|
e4e3945abb | ||
|
|
ef12a97150 | ||
|
|
655b95e2ba | ||
|
|
7d5128ca9b | ||
|
|
9752b0612d | ||
|
|
09c8888ccd | ||
|
|
b54793967a | ||
|
|
881ba6bb9d | ||
|
|
5b0d460260 | ||
|
|
261d9315bd | ||
|
|
09e36d5275 | ||
|
|
ab925d6878 | ||
|
|
3c94902cc0 | ||
|
|
68f93f75ed | ||
|
|
5209b3bd23 | ||
|
|
d29ba4b4dc | ||
|
|
8f59a176b9 | ||
|
|
27fcd9bf91 | ||
|
|
7ec63f6034 | ||
|
|
1d76d011a3 | ||
|
|
0cf8aa13b5 | ||
|
|
2261062c8c | ||
|
|
21375a0747 | ||
|
|
6990623a90 | ||
|
|
fa3501a4ad | ||
|
|
fcf98d1d26 | ||
|
|
3367ffaf12 | ||
|
|
994010511d | ||
|
|
9d729dbab3 | ||
|
|
04874dc353 | ||
|
|
e866170a5d | ||
|
|
d5c7dff2dd | ||
|
|
8b21143482 | ||
|
|
b9926ba931 | ||
|
|
3a877b73e2 | ||
|
|
cb3c89f1da | ||
|
|
385d813002 | ||
|
|
761cbdc882 | ||
|
|
bd53d21bd9 | ||
|
|
db8e461bf1 | ||
|
|
d17b216c73 | ||
|
|
d144a22633 | ||
|
|
d80c1a94b2 | ||
|
|
927446c261 | ||
|
|
4b95841fcd | ||
|
|
21ee244b5e | ||
|
|
499d1fa9af | ||
|
|
732d977ba0 | ||
|
|
a5af82c9ef | ||
|
|
f8175b3203 | ||
|
|
24abd0366d | ||
|
|
d7c25d1554 | ||
|
|
6c9d8e3b26 | ||
|
|
ece267dc62 | ||
|
|
9ad47b4b6a | ||
|
|
4d6c58393f | ||
|
|
9b9f61d49b | ||
|
|
37338038df | ||
|
|
6438775f6e | ||
|
|
88bbe19d70 | ||
|
|
245b7350a6 | ||
|
|
641b33129c | ||
|
|
12634b33f9 | ||
|
|
53ba74afe0 | ||
|
|
29132a9c5c | ||
|
|
5f1c656aed | ||
|
|
e3fb337b70 | ||
|
|
d0f68ee85f | ||
|
|
7b589b0e27 | ||
|
|
9d5a961ed4 | ||
|
|
534592997f | ||
|
|
c806e34d50 | ||
|
|
0ddf9a3039 | ||
|
|
7fb37da827 | ||
|
|
6500500697 | ||
|
|
73b7008a76 | ||
|
|
3050b73084 | ||
|
|
19adb1a419 | ||
|
|
e164e767b2 | ||
|
|
43a3cc4fe7 | ||
|
|
17ff237237 | ||
|
|
7013940665 | ||
|
|
3096b35961 | ||
|
|
03f495892c | ||
|
|
225970f1be | ||
|
|
652d3a41d8 | ||
|
|
f3380f81f0 | ||
|
|
ec1f3cf06f | ||
|
|
9f529f8ed0 | ||
|
|
0483b96784 | ||
|
|
80fc6bf2de | ||
|
|
cb8434c553 | ||
|
|
acb59a0a06 | ||
|
|
58627395b5 | ||
|
|
09db1430da | ||
|
|
5517c055da | ||
|
|
f41cdef0d6 | ||
|
|
e675fd2178 | ||
|
|
2f676b3e9a | ||
|
|
2598effd57 | ||
|
|
e6fd26dba3 | ||
|
|
39d3883325 | ||
|
|
2c3108c235 | ||
|
|
1388f8d0f2 | ||
|
|
76883c4a2f | ||
|
|
e808742fe1 | ||
|
|
57a22dab4d | ||
|
|
0792aebf95 | ||
|
|
4c142e759c | ||
|
|
9c4c5d887c | ||
|
|
be94e275cd | ||
|
|
83c0404bcf | ||
|
|
269e2938a2 | ||
|
|
062fdf6173 | ||
|
|
4ce05e77ab | ||
|
|
568997b573 | ||
|
|
c9fab5f830 | ||
|
|
e5dce2b256 | ||
|
|
89cfbc5e21 | ||
|
|
5f443dd538 | ||
|
|
3b4084e14c | ||
|
|
5fd1b028dd | ||
|
|
0f5ab03eb0 | ||
|
|
335269a25a | ||
|
|
63b588defb | ||
|
|
12e884b433 | ||
|
|
e23e6bc1c7 | ||
|
|
28c0170730 | ||
|
|
772e32365d | ||
|
|
ed80ec6650 | ||
|
|
700fab38df | ||
|
|
421310b544 | ||
|
|
22f533245b | ||
|
|
55b51195f4 | ||
|
|
f156dbef42 | ||
|
|
7489f53923 | ||
|
|
0226c3ff30 | ||
|
|
02485be3b5 | ||
|
|
cf0dca2100 | ||
|
|
6021e84957 | ||
|
|
1693b492f8 | ||
|
|
94347fc223 | ||
|
|
9e3e785ba6 | ||
|
|
1a2f2ad7e4 | ||
|
|
b26b70ec8e | ||
|
|
38aad33d78 | ||
|
|
18cac266cd | ||
|
|
7c4d4479ec | ||
|
|
2353e483c7 | ||
|
|
8efa36b734 | ||
|
|
04f4585891 | ||
|
|
c1128625bb | ||
|
|
4de99e49e7 | ||
|
|
5f80d74a79 | ||
|
|
b05d1db548 | ||
|
|
c13617af36 | ||
|
|
64e1a4ed0c | ||
|
|
88f4124c5b | ||
|
|
921e5b02f4 | ||
|
|
5ce6d6a723 | ||
|
|
0b6a5b3bad | ||
|
|
2ed8cf1549 | ||
|
|
fd5c03bdad | ||
|
|
b3a76e8c80 | ||
|
|
4707a60805 | ||
|
|
5dd9a8b785 | ||
|
|
eaf0c60fe5 | ||
|
|
3c02a693c7 | ||
|
|
36ffa70608 | ||
|
|
8c8be61128 | ||
|
|
0f35a43feb | ||
|
|
a1a6e8861e | ||
|
|
17624a28c3 | ||
|
|
22b33711e6 | ||
|
|
2d281841da | ||
|
|
05674860b9 | ||
|
|
f64cf11377 | ||
|
|
9cf668711b | ||
|
|
017a3c9a92 | ||
|
|
2c32590dfc | ||
|
|
c9f81cc05c | ||
|
|
30f0f765a3 | ||
|
|
162072dbd4 | ||
|
|
4f2ec7b68b | ||
|
|
2c21dd8737 | ||
|
|
385db085c7 | ||
|
|
63fdc318ac | ||
|
|
b73101f5e5 | ||
|
|
7624b0559b | ||
|
|
162fafc914 | ||
|
|
fc543b5647 | ||
|
|
4c980ea26f | ||
|
|
337e45d36c | ||
|
|
0a36ab72b6 | ||
|
|
58db479320 | ||
|
|
4ba569a03f | ||
|
|
57a9364c72 | ||
|
|
1fb29c2040 | ||
|
|
58837c8297 | ||
|
|
739bc335b7 | ||
|
|
26166e9195 | ||
|
|
003fed106b | ||
|
|
dd82684617 | ||
|
|
3f680362bb | ||
|
|
077fe6e1f3 | ||
|
|
0207edfdbd | ||
|
|
efa1cfac35 | ||
|
|
5e1df0e93b | ||
|
|
6a95724b78 | ||
|
|
7d80377cde | ||
|
|
19ae675bf0 | ||
|
|
d013a1cc95 | ||
|
|
31c67f87c5 | ||
|
|
e1629627c0 | ||
|
|
bc4957ceed | ||
|
|
31ece2df3c | ||
|
|
62ea4977f0 | ||
|
|
cf2e373436 | ||
|
|
87aca7838e | ||
|
|
90cf8344c2 | ||
|
|
4c23d311e4 | ||
|
|
14f3be7cb5 | ||
|
|
f264ba4927 | ||
|
|
96f1ac2d63 | ||
|
|
644e6eb273 | ||
|
|
234c515b05 | ||
|
|
648557b72c | ||
|
|
421e4b71b1 | ||
|
|
eb85ae1326 | ||
|
|
3f3f6963a0 | ||
|
|
27a12c8a0f | ||
|
|
33b4622a1f | ||
|
|
f8db8b4dc0 | ||
|
|
11dcec07bf | ||
|
|
517b60cb16 | ||
|
|
8e5aa40895 | ||
|
|
fb8aa21cc8 | ||
|
|
a1f332be01 | ||
|
|
57a21b390f | ||
|
|
3d68b58cbb | ||
|
|
4f2f873574 | ||
|
|
b35c92278b | ||
|
|
e359f48237 | ||
|
|
4b2ddb5e80 | ||
|
|
8eb5ff24c6 | ||
|
|
0e15ac20e3 | ||
|
|
3ed8f54151 | ||
|
|
7aacae66d4 | ||
|
|
f5170b7999 | ||
|
|
05d4a234aa | ||
|
|
dedb6c25f4 | ||
|
|
8345d76473 | ||
|
|
152d7430e8 | ||
|
|
8e64cdcd84 | ||
|
|
60d230c0b7 | ||
|
|
582e48cd6e | ||
|
|
3a4296cd4e | ||
|
|
df2451c7ee | ||
|
|
52fc660e03 | ||
|
|
8ee88feabb | ||
|
|
ad68425f39 | ||
|
|
2296613061 | ||
|
|
471bb75029 | ||
|
|
081cb42dc8 | ||
|
|
168c9c5503 | ||
|
|
0b8f25214f | ||
|
|
47c1f7b6a3 | ||
|
|
c60970a0ab | ||
|
|
6ce867d70d | ||
|
|
c5fe6a39d0 | ||
|
|
ed008a4d49 | ||
|
|
9c4d568546 | ||
|
|
e0705d2632 | ||
|
|
7c57ed82c9 | ||
|
|
92d9d53387 | ||
|
|
21058eed94 | ||
|
|
ca661479f8 | ||
|
|
69c4fe707a | ||
|
|
5a6a822e37 | ||
|
|
f119b11c57 | ||
|
|
407944854b | ||
|
|
1108c9e00a | ||
|
|
7d2390eb74 | ||
|
|
fa5a497f50 | ||
|
|
48258e1393 | ||
|
|
3c4c984954 | ||
|
|
36292e8c37 | ||
|
|
2311b4c9d5 | ||
|
|
205c0838ed | ||
|
|
f1cc9e98aa | ||
|
|
e09746cf38 | ||
|
|
2f7c14486b | ||
|
|
0b33801f3c | ||
|
|
adb0b5d9eb | ||
|
|
7cf6e3bcdd | ||
|
|
2ca9b78d56 | ||
|
|
7b5f3f85fe | ||
|
|
4994020e5e | ||
|
|
1fb9f3ca31 | ||
|
|
63d1c92aa7 | ||
|
|
eac2ab98be | ||
|
|
9421ac3696 | ||
|
|
d2ee701574 | ||
|
|
ae7a9ebfa2 | ||
|
|
c9a2188752 | ||
|
|
360204275e | ||
|
|
c3e1624478 | ||
|
|
e7a613e60a | ||
|
|
8243afe938 | ||
|
|
e8efa5b015 | ||
|
|
11ad86c68e | ||
|
|
9046d5f13c |
4
LICENSE
4
LICENSE
@@ -1,5 +1,5 @@
|
||||
Copyright (c) 2002 University of Chicago and The Regents of the University
|
||||
of California. All rights reserved.
|
||||
Copyright (c) 1991-2003 University of Chicago and The Regents of the
|
||||
University of California. All rights reserved.
|
||||
|
||||
EPICS BASE is distributed subject to the following license agreement:
|
||||
|
||||
|
||||
4
README
4
README
@@ -2,9 +2,9 @@
|
||||
EPICS Base - the central core of a control system toolkit
|
||||
---------------------------------------------------------
|
||||
|
||||
Copyright (c) 2002 The University of Chicago, as Operator
|
||||
Copyright (c) 1991-2003 The University of Chicago, as Operator
|
||||
of Argonne National Laboratory.
|
||||
Copyright (c) 2002 The Regents of the University of
|
||||
Copyright (c) 1991-2003 The Regents of the University of
|
||||
California, as Operator of Los Alamos National Laboratory.
|
||||
|
||||
EPICS Base Versions 3.13.7 and higher are distributed
|
||||
|
||||
@@ -37,7 +37,7 @@ OP_SYS_LDFLAGS += -L/sw/lib -L/usr/X11R6/lib
|
||||
#ARCH_DEP_LDLIBS += -lreadline
|
||||
|
||||
# Uncomment this if you're using the libtecla library
|
||||
ARCH_DEP_LDLIBS += -ltecla_r -ltermcap
|
||||
#ARCH_DEP_LDLIBS += -ltecla_r -ltermcap
|
||||
|
||||
#
|
||||
# Compiler/linker problems prevent the use of shared libraries at the moment
|
||||
|
||||
@@ -47,4 +47,9 @@ SYS_DLL_LIBS_Linux += pthread readline curses rt
|
||||
# and see if that makes the problem go away."
|
||||
#ARCH_DEP_CFLAGS += -D_GNU_SOURCE
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
|
||||
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)
|
||||
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ OP_SYS_LDLIBS = -lm
|
||||
# Link definitions
|
||||
LINK.c = $(CC) -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
||||
LINK.cc = $(CXX) -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
||||
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.UnixCommon
|
||||
|
||||
@@ -42,3 +42,9 @@ GCC_DEP_CFLAGS = -D_REENTRANT
|
||||
G++_DEP_CFLAGS = -D_REENTRANT
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH)
|
||||
RUNTIME_LDFLAGS = $(RUNTIME_LIBS:%=-Wl,-rpath,%)
|
||||
|
||||
|
||||
@@ -14,76 +14,61 @@
|
||||
|
||||
ARCH_CLASS = hpux
|
||||
|
||||
SHARED_LIBRARIES=YES
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
SHRLIB_SUFFIX = .sl
|
||||
|
||||
AR = ar
|
||||
ARFLAGS = -rc
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
ACC = cc
|
||||
ACC_ANSI = $(ACC) -Aa
|
||||
ACC_STRICT = $(ACC) -Aa
|
||||
ACC_TRAD = $(ACC)
|
||||
ACC_TRAD = $(ACC) -Ac
|
||||
ACC_WARN_YES =
|
||||
ACC_WARN_NO = -w
|
||||
ACC_OPT_YES = -O
|
||||
ACC_OPT_NO = -g
|
||||
ACC_SFLAGS_YES= -Wl,-a,archive
|
||||
ACC_SFLAGS_NO=
|
||||
# Always keep libc shared to force using the one supplied with the
|
||||
# target machine (HP system and libc must match - important e.g. for
|
||||
# multi-CPU-systems)
|
||||
ACC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
|
||||
ACC_SFLAGS_NO =
|
||||
ACC_SLIBS_YES =
|
||||
ACC_SLIBS_NO=
|
||||
ACC_SHRLIB_CFLAGS_YES = +Z
|
||||
ACC_SLIBS_NO =
|
||||
ACC_SHRLIB_LDFLAGS_YES = -b
|
||||
ACC_DEP_CFLAGS=+DAportable
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
HPCC = cc
|
||||
HPCC_ANSI = $(HPCC) -Aa
|
||||
HPCC_STRICT = $(HPCC) -Aa
|
||||
HPCC_TRAD = $(HPCC) -Ac
|
||||
HPCC_WARN_YES =
|
||||
HPCC_WARN_NO = -w
|
||||
HPCC_OPT_YES = -O
|
||||
HPCC_OPT_NO = -g
|
||||
HPCC_SFLAGS_YES= -Wl,-a,archive
|
||||
HPCC_SFLAGS_NO=
|
||||
HPCC_SLIBS_YES =
|
||||
HPCC_SLIBS_NO=
|
||||
HPCC_SHRLIB_CFLAGS_YES = +Z
|
||||
HPCC_SHRLIB_LDFLAGS_YES = -b
|
||||
HPCC_DEP_CFLAGS=+DAportable
|
||||
|
||||
#Old HP C++ compiler
|
||||
#CCC = CC
|
||||
#CCC_NORMAL = $(CCC) +p
|
||||
|
||||
#New HP C++ compiler
|
||||
# aCC HP C++ compiler
|
||||
CCC = aCC
|
||||
# avoid treating "future errors" as actual errors
|
||||
CCC_NORMAL = $(CCC) +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
|
||||
CCC_STRICT = $(CCC) +p
|
||||
# Suppress bogus warnings created by the aCC compiler
|
||||
CCC_NORMAL = $(CCC) -AA -Aa -mt +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
|
||||
CCC_STRICT = $(CCC) -AA -Aa -mt
|
||||
CCC_TEMPL_INST_FLAG =
|
||||
CCC_WARN_YES = +w
|
||||
CCC_WARN_NO =
|
||||
CCC_OPT_YES = -O
|
||||
CCC_OPT_YES = +O3
|
||||
CCC_OPT_NO = -g
|
||||
CCC_SFLAGS_YES= -Wl,-a,archive
|
||||
# Always keep libc shared to force using the one supplied with the
|
||||
# target machine (HP system and libc must match - important e.g. for
|
||||
# multi-CPU-systems)
|
||||
CCC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
|
||||
CCC_SFLAGS_NO=
|
||||
CCC_SLIBS_YES =
|
||||
CCC_SLIBS_NO=
|
||||
CCC_SHRLIB_CFLAGS_YES = +Z
|
||||
# shared libs will be found by searching environment variable SHLIB_PATH,
|
||||
# then by searching the specified path (see below)
|
||||
CCC_SHRLIB_LDFLAGS_YES = -b
|
||||
CCC_DEPENDS_FLAG = +m
|
||||
CCC_DEP_CFLAGS=+DAportable
|
||||
|
||||
# +DAportable causes portable object code to be created for execution
|
||||
# on different PA-Risc machines
|
||||
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX
|
||||
ARCH_DEP_CXXFLAGS = -D_HPUX_SOURCE -DHP_UX
|
||||
ARCH_DEP_LDLIBS =
|
||||
ARCH_DEP_LDFLAGS = -Wl,+b$(DEFAULT_SHRLIB_SEARCH_PATH),+s
|
||||
# Portability across different PA-RISC architecture versions, position
|
||||
# independent code, "-mt" (s.a.) handles all the posix stuff
|
||||
ARCH_DEP_CPPFLAGS = -DHP_UX +DAportable +z
|
||||
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
RUNTIME_LDFLAGS_YES = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|
||||
|
||||
49
config/CONFIG.Host.hpux-parisc-gnu
Normal file
49
config/CONFIG.Host.hpux-parisc-gnu
Normal file
@@ -0,0 +1,49 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# CONFIG.Host.hpux-parisc-gnu
|
||||
#
|
||||
# This file is maintained by the EPICS community.
|
||||
# Sites may override these definitions in CONFIG_SITE.Host.hpux-parisc-gnu
|
||||
|
||||
ARCH_CLASS = hpux
|
||||
|
||||
SHARED_LIBRARIES=YES
|
||||
|
||||
# Include definitions common to all Unix archs
|
||||
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
||||
|
||||
AR = ar -rc
|
||||
ARCMD = $(AR) $@
|
||||
|
||||
#==========================
|
||||
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
|
||||
ANSI=GCC
|
||||
CPLUSPLUS=G++
|
||||
#==========================
|
||||
|
||||
# Always keep libc shared to force using the one supplied with the
|
||||
# target machine (HP system and libc must match - important e.g. for
|
||||
# multi-CPU-systems)
|
||||
GCC_SLDFLAGS_YES = -l:libc.sl
|
||||
G++_SLDFLAGS_YES = -l:libc.sl
|
||||
|
||||
# socket and nsl needed by libca.a
|
||||
#ARCH_DEP_LDLIBS += -lsocket -lnsl
|
||||
ARCH_DEP_LDLIBS += -lpthread
|
||||
ARCH_DEP_CPPFLAGS += -D_PTHREADS -DOSITHREAD_USE_DEFAULT_STACK
|
||||
|
||||
# Allows R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_DLL_LIBS_hpux += pthread
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
RUNTIME_LDFLAGS_YES = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|
||||
@@ -35,23 +35,23 @@ ACC = $(SPARCWORKS)/bin/cc
|
||||
ACC_ANSI = $(ACC) -Xa -v
|
||||
ACC_STRICT = $(ACC) -Xc -v
|
||||
ACC_TRAD = $(ACC) -Xs
|
||||
ACC_DEP_CFLAGS = -KPIC
|
||||
ACC_DEP_CFLAGS = -KPIC -D_REENTRANT
|
||||
ACC_WARN_YES =
|
||||
ACC_WARN_NO = -w
|
||||
ACC_OPT_YES = -O
|
||||
ACC_OPT_NO = -g
|
||||
ACC_SFLAGS_YES= -Bstatic
|
||||
ACC_SFLAGS_NO=
|
||||
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
|
||||
ACC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
|
||||
ACC_SLIBS_NO=
|
||||
ACC_SHRLIB_CFLAGS_YES =
|
||||
ACC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
ACC_SHRLIB_LDFLAGS_YES = -G -h $@
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
CCC = $(SPARCWORKS)/bin/CC
|
||||
CCC_NORMAL = $(CCC) +p
|
||||
CCC_STRICT = $(CCC) +p
|
||||
CCC_DEP_CFLAGS = -KPIC
|
||||
CCC_DEP_CFLAGS = -KPIC -D_REENTRANT
|
||||
CCC_TEMPL_INST_FLAG =
|
||||
CCC_WARN_YES = +w
|
||||
CCC_WARN_NO =
|
||||
@@ -59,12 +59,12 @@ CCC_OPT_YES = -O
|
||||
CCC_OPT_NO = -g
|
||||
CCC_SFLAGS_YES= -Bstatic
|
||||
CCC_SFLAGS_NO=
|
||||
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic -lXext -lX
|
||||
CCC_SLIBS_YES= -lw -lintl -Bdynamic -ldl -Bstatic
|
||||
CCC_SLIBS_NO=
|
||||
CCC_DEPENDS_FLAG = -xM1
|
||||
CCC_SHRLIB_CFLAGS_YES =
|
||||
CCC_SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
|
||||
CCC_SHRLIB_LDFLAGS_YES = -G -h $@
|
||||
|
||||
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
|
||||
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
|
||||
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
|
||||
@@ -78,3 +78,11 @@ ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
|
||||
#Allows R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_DLL_LIBS_solaris_8 = Crun
|
||||
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
|
||||
|
||||
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload
|
||||
|
||||
|
||||
|
||||
@@ -7,24 +7,8 @@
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
TOP=../../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
# $Id$
|
||||
|
||||
INC += camacLib.h
|
||||
INC += fast_lock.h
|
||||
INC += drvTS.h
|
||||
INC += devLib.h
|
||||
INC += epicsDynLink.h
|
||||
INC += module_types.h
|
||||
INC += task_params.h
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
|
||||
|
||||
SRCS += drvTS.c
|
||||
SRCS += devLib.c
|
||||
SRCS += devLibVxWorks.c
|
||||
SRCS += veclist.c
|
||||
SRCS += epicsDynLink.c
|
||||
|
||||
OBJLIB_vxWorks += vxCom
|
||||
OBJLIB_SRCS = $(SRCS)
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
14
config/CONFIG.Host.solaris-sparc-staticlib
Normal file
14
config/CONFIG.Host.solaris-sparc-staticlib
Normal file
@@ -0,0 +1,14 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
|
||||
|
||||
@@ -46,3 +46,8 @@ ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
|
||||
#Allows R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_DLL_LIBS_solaris_8 = Crun
|
||||
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
|
||||
|
||||
|
||||
@@ -93,3 +93,6 @@ ARCH_DEP_CFLAGS = -DSUNOS4
|
||||
#SPECIAL_LANG = /usr/lang/SC3.0.1
|
||||
#SPECIAL_LANG = /usr/lang/lib
|
||||
|
||||
# Runtime ldflags
|
||||
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
|
||||
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))
|
||||
|
||||
13
config/CONFIG.Vx.vxWorks-ppc603-long
Normal file
13
config/CONFIG.Vx.vxWorks-ppc603-long
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# vxWorks-ppc603 is the new R3.14 name for ppc603
|
||||
include $(EPICS_BASE)/config/CONFIG.Vx.ppc603_long
|
||||
13
config/CONFIG.Vx.vxWorks-ppc604-long
Normal file
13
config/CONFIG.Vx.vxWorks-ppc604-long
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# vxWorks-ppc604 is the new R3.14 name for ppc604
|
||||
include $(EPICS_BASE)/config/CONFIG.Vx.ppc604_long
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
EPICS_VERSION=3
|
||||
EPICS_REVISION=14
|
||||
EPICS_MODIFICATION=1
|
||||
EPICS_MODIFICATION=3
|
||||
EPICS_UPDATE_NAME=
|
||||
EPICS_UPDATE_LEVEL=0
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ CXXFLAGS = $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS)
|
||||
$(OP_SYS_CFLAGS) $(TEMPL_INST_CXXFLAG) $(INCLUDES)
|
||||
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS)\
|
||||
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS)
|
||||
$(ARCH_DEP_LDFLAGS) $(STATIC_LDFLAGS) $(OP_SYS_LDFLAGS) $(RUNTIME_LDFLAGS)
|
||||
|
||||
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(ARCH_DEP_LDLIBS)\
|
||||
$(STATIC_LDLIBS) $(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#Syntax:
|
||||
# ARCH_<host_arch> = <epics_host_arch>
|
||||
ARCH_solarisGnu = solaris-sparc-gnu
|
||||
#ARCH_solaris = solaris-sparc-static
|
||||
#ARCH_solaris = solaris-sparc-debug
|
||||
ARCH_solaris = solaris-sparc
|
||||
ARCH_sun4 = sun4-sparc
|
||||
ARCH_Linux = linux-x86
|
||||
|
||||
@@ -25,5 +25,3 @@ export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(EPICS_BASE_HOST_LIB):$(LD_LIBRAR
|
||||
else
|
||||
export LD_LIBRARY_PATH := $(EPICS_BASE_HOST_LIB):$(LD_LIBRARY_PATH)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
13
config/CONFIG_HOST_ARCH.hpux-parisc-gnu
Normal file
13
config/CONFIG_HOST_ARCH.hpux-parisc-gnu
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
# hpux-parisc is the new name for hp700
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.hp700
|
||||
13
config/CONFIG_HOST_ARCH.solaris-sparc-debug
Normal file
13
config/CONFIG_HOST_ARCH.solaris-sparc-debug
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu
|
||||
|
||||
|
||||
13
config/CONFIG_HOST_ARCH.solaris-sparc-staticlib
Normal file
13
config/CONFIG_HOST_ARCH.solaris-sparc-staticlib
Normal file
@@ -0,0 +1,13 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
# EPICS BASE Versions 3.13.7
|
||||
# and higher are distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id$
|
||||
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# CONFIG_HOST_ARCH.solaris
|
||||
# CONFIG_HOST_ARCH.solarisGnu
|
||||
#
|
||||
# Override values in CONFIG.Vx
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
# solarisGnu (GNU compiler)
|
||||
# solaris-x86
|
||||
# sun4
|
||||
|
||||
#
|
||||
# HOST_ARCH now an environment variable
|
||||
# HOST_ARCH=$(shell /usr/local/epics/startup/HostArch)
|
||||
@@ -31,29 +32,18 @@ ifndef HOST_ARCH
|
||||
HOST_ARCH=unsupported
|
||||
endif
|
||||
|
||||
# The architectures to build EPICS for
|
||||
# The R3.14 architectures to build EPICS for
|
||||
#
|
||||
# Currently Supporting:
|
||||
# frc40
|
||||
# frc5ce
|
||||
# hkbaja47
|
||||
# hkv2f
|
||||
# mv147
|
||||
# mv1604
|
||||
# mv162
|
||||
# mv162lc
|
||||
# mv167
|
||||
# mv177
|
||||
# mv2700
|
||||
# niCpu030
|
||||
# pc486
|
||||
# ppc603
|
||||
# ppc604
|
||||
# ppc603_long (over 32MB)
|
||||
# ppc604_long (over 32MB)
|
||||
# sbs_pc6
|
||||
# vxipc
|
||||
#
|
||||
# vxWorks-486
|
||||
# vxWorks-68040
|
||||
# vxWorks-68040lc
|
||||
# vxWorks-68060
|
||||
# vxWorks-ppc603
|
||||
# vxWorks-ppc604
|
||||
# vxWorks-ppc603_long
|
||||
# vxWorks-ppc604_long
|
||||
|
||||
CROSS_COMPILER_TARGET_ARCHS=
|
||||
|
||||
|
||||
|
||||
@@ -4,23 +4,8 @@
|
||||
# Site Specific Configuration Information
|
||||
# Only the local epics system manager should modify this file
|
||||
|
||||
# by default, build and use shared libraries
|
||||
SHARED_LIBRARIES=YES
|
||||
|
||||
# where we expect to find shared libraries if not found elsewhere
|
||||
# DEFAULT_SHRLIB_SEARCH_PATH = /home/controls/epics/cdev/lib/hpux-10.20:/home/controls/epics/cdev/lib/hpux-10.XX:/opt/TclTk/lib:/opt/xpm/lib/X11:/usr/lib/pa1.1:/usr/lib:/lib:/opt/csr/installed/HP-UX/lib::/opt/OPI/GUI/lib/hp700:/opt/OPI/MapperApplications/lib/hp700:/opt/OPI/cdevAppl/lib/hp700:/opt/OPI/cmlog/lib/hp700:/opt/OPI/models/lib/hp700:/opt/OPI/sddsAppl/lib/hp700
|
||||
DEFAULT_SHRLIB_SEARCH_PATH = /cs/lib/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL):$(INSTALL_LIB)
|
||||
|
||||
#No special action should be required to build or use shared libraries.
|
||||
#However, when a new shared library is built using the above configuration,
|
||||
#it should be copied into the location specified by DEFAULT_SHRLIB_SEARCH_PATH
|
||||
#which in this specific case is: /cs/lib/R3.13.1.1/
|
||||
|
||||
# cal added this so that libraries can be built with position
|
||||
# independent code even if shared libraries aren't being built
|
||||
ifeq ($(RELOCATABLE), YES)
|
||||
ARCH_DEP_CFLAGS += +Z
|
||||
ARCH_DEP_CXXFLAGS += +Z
|
||||
endif
|
||||
|
||||
# By default, shared libraries are built and used. Override here.
|
||||
#SHARED_LIBRARIES=NO
|
||||
|
||||
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
|
||||
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)
|
||||
|
||||
11
config/CONFIG_SITE.Host.hpux-parisc-gnu
Normal file
11
config/CONFIG_SITE.Host.hpux-parisc-gnu
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Site Specific Configuration Information
|
||||
# Only the local epics system manager should modify this file
|
||||
|
||||
# By default, shared libraries are built and used. Override here.
|
||||
#SHARED_LIBRARIES=NO
|
||||
|
||||
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
|
||||
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
# APS overrides of definitions
|
||||
|
||||
GCC = /opt/gnu/bin/gcc
|
||||
G++ = /opt/gnu/bin/g++
|
||||
#GCC = /opt/gnu/bin/gcc
|
||||
#G++ = /opt/gnu/bin/g++
|
||||
|
||||
|
||||
4
config/CONFIG_SITE.Host.solaris-sparc-debug
Normal file
4
config/CONFIG_SITE.Host.solaris-sparc-debug
Normal file
@@ -0,0 +1,4 @@
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris
|
||||
4
config/CONFIG_SITE.Host.solaris-sparc-staticlib
Normal file
4
config/CONFIG_SITE.Host.solaris-sparc-staticlib
Normal file
@@ -0,0 +1,4 @@
|
||||
# $Id$
|
||||
|
||||
# solaris-sparc is the new name for solaris
|
||||
-include $(EPICS_BASE)/config/CONFIG_SITE.Host.solaris
|
||||
@@ -204,7 +204,7 @@ ifdef DBDEXPAND
|
||||
$(DBDNAME): ../$(DBDEXPAND)
|
||||
@echo "Expanding dbd"
|
||||
@$(RM) $@
|
||||
$(DBEXPAND) $(DBDFLAGS) $< > $@
|
||||
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
|
||||
endif
|
||||
|
||||
##################################################### Dependencies
|
||||
|
||||
@@ -463,10 +463,12 @@ endif #ifdef PROD
|
||||
# Java classes and packages
|
||||
#
|
||||
|
||||
ifdef JAVA
|
||||
DIRECTORY_TARGETS += $(INSTALL_JAVA)
|
||||
ifdef PACKAGE
|
||||
DIRECTORY_TARGETS += $(INSTALL_JAVA)/$(PACKAGE)
|
||||
endif
|
||||
endif
|
||||
|
||||
vpath %.class $(INSTALL_JAVA)/$(PACKAGE)
|
||||
|
||||
@@ -722,7 +724,7 @@ ifdef DBDEXPAND
|
||||
$(DBDNAME): ../$(DBDEXPAND)
|
||||
@echo Expanding dbd
|
||||
@$(RM) $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) -o $@ $<
|
||||
|
||||
ifneq (,$(wildcard ../base.dbd))
|
||||
$(DBDNAME): ../base.dbd
|
||||
|
||||
@@ -221,7 +221,7 @@ ifdef DBDEXPAND
|
||||
$(DBDNAME): ../$(DBDEXPAND)
|
||||
@echo expanding dbd
|
||||
@$(RM) $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand $(DBDFLAGS) $< > $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand $(DBDFLAGS) -o $@ $<
|
||||
|
||||
ifneq (,$(wildcard ../base.dbd))
|
||||
$(DBDNAME): ../base.dbd
|
||||
|
||||
@@ -93,7 +93,7 @@ endif
|
||||
clean::
|
||||
@echo "Cleaning"
|
||||
@$(RM) *.i *.o *.a *.out $(TARGETS) $(PROD) $(LIBNAME) $(INC) \
|
||||
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME)
|
||||
$(DBDINSTALL) $(MENUS) $(RECTYPES) $(BPTS) $(DBDNAME) *.c
|
||||
ifdef MUNCH
|
||||
@$(RM) $(MUNCHNAME) ctdt.c ctdt.o nm.out
|
||||
endif
|
||||
@@ -171,8 +171,8 @@ endif
|
||||
@$(RM) $@
|
||||
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i
|
||||
|
||||
%.c: %.stt
|
||||
@echo "converting $<
|
||||
%.c: ../%.stt
|
||||
@echo "converting $<"
|
||||
ln -s $< $*.st
|
||||
$(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.st
|
||||
@$(RM) $*.st
|
||||
@@ -248,7 +248,7 @@ ifdef DBDEXPAND
|
||||
$(DBDNAME): ../$(DBDEXPAND)
|
||||
@echo Expanding dbd
|
||||
@$(RM) $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) $< > $@
|
||||
$(EPICS_BASE_HOST_BIN)/dbExpand$(EXE) $(DBDFLAGS) -o $@ $<
|
||||
endif
|
||||
|
||||
$(LIBNAME): $(LIBOBJS)
|
||||
|
||||
@@ -104,7 +104,7 @@ sub Usage
|
||||
print "Usage:\n";
|
||||
print "\t$tool [ -m mode ] file ... directory\n";
|
||||
print "\n";
|
||||
print "\t-d Create non-exising directories\n";
|
||||
print "\t-d Create non-existing directories\n";
|
||||
print "\t-m mode Set the mode for the installed file";
|
||||
print " (0755 by default)\n";
|
||||
print "\tfile Name of file\n";
|
||||
|
||||
@@ -17,14 +17,13 @@
|
||||
# Common build definitions
|
||||
#
|
||||
|
||||
ifndef CONFIG
|
||||
CONFIG = $(TOP)/configure
|
||||
endif
|
||||
CONFIG ?= $(TOP)/configure
|
||||
|
||||
-include $(CONFIG)/os/CONFIG_COMPAT
|
||||
|
||||
-include $(CONFIG)/RELEASE
|
||||
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH)
|
||||
-include $(CONFIG)/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
|
||||
|
||||
include $(CONFIG)/CONFIG_COMMON
|
||||
|
||||
@@ -41,7 +40,7 @@ include $(CONFIG)/CONFIG_SITE
|
||||
#
|
||||
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
|
||||
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
|
||||
|
||||
-include $(CONFIG)/O.$(T_A)/CONFIG_APP_INCLUDE
|
||||
|
||||
ifdef T_A
|
||||
|
||||
|
||||
@@ -22,27 +22,31 @@ LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
|
||||
CPP = $(CC) -x c -E
|
||||
RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)
|
||||
|
||||
CODE_CFLAGS = -fPIC
|
||||
CONFORM_CFLAGS_ANSI = -ansi
|
||||
CONFORM_CFLAGS_STRICT = -ansi -pedantic
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CFLAGS_TRAD = -traditional
|
||||
PROF_CFLAGS_YES = -p
|
||||
GPROF_CFLAGS_YES = -pg
|
||||
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
|
||||
WARN_CFLAGS_YES = -Wall
|
||||
WARN_CFLAGS_NO = -w
|
||||
OPT_CFLAGS_YES = -O3
|
||||
OPT_CFLAGS_NO = -g
|
||||
|
||||
CODE_CXXFLAGS = -fPIC
|
||||
CONFORM_CXXFLAGS_NORMAL = -ansi -pedantic
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi -pedantic
|
||||
#WARN_CXXFLAGS_YES = -Wall -Weffc++
|
||||
CONFORM_CXXFLAGS_NORMAL = -ansi
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
PROF_CXXFLAGS_YES = -p
|
||||
GPROF_CXXFLAGS_YES = -pg
|
||||
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
WARN_CXXFLAGS_YES = -Wall
|
||||
WARN_CXXFLAGS_NO = -w
|
||||
OPT_CXXFLAGS_YES = -O3
|
||||
OPT_CXXFLAGS_NO = -g
|
||||
|
||||
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
|
||||
STATIC_LDFLAGS_YES = -static
|
||||
STATIC_LDFLAGS_NO =
|
||||
|
||||
SHRLIB_LDFLAGS_YES += -shared
|
||||
SHRLIB_LDFLAGS_NO +=
|
||||
SHRLIB_CFLAGS = -fPIC
|
||||
|
||||
|
||||
@@ -23,6 +23,59 @@
|
||||
# USR_CFLAGS_sun4 = -nil-
|
||||
# USR_CFLAGS_DEFAULT = <defines for most systems, not sun4>
|
||||
#
|
||||
# These rules apply to these Makefile-variables:
|
||||
# USR_CFLAGS C flags
|
||||
# USR_CXXFLAGS C++ flags
|
||||
# USR_CPPFLAGS c preprocesser flags
|
||||
# INC include-files to install
|
||||
# SRCS source files for building libraries and prods
|
||||
# USR_SRCS source files for building libraries and prods
|
||||
# PROD_SRCS source files for building prods
|
||||
# LIB_SRCS source files for building libraries
|
||||
# LIBSRCS source files for building libraries (deprecated)
|
||||
# PROD_OBJS object files for building prods
|
||||
# LIB_OBJS object files for building libraries
|
||||
# USR_LIBS libs needed by PROD and TESTPROD and LIBRARY
|
||||
# PROD_LIBS libs needed by PROD and TESTPROD
|
||||
# LIB_LIBS libs needed by shared LIBRARY
|
||||
# SHRLIB_LIBS libs needed by shared LIBRARY
|
||||
# USR_OBJLIBS R3.13 vxWorks object libs needed building libraries and prods
|
||||
# PROD_OBJLIBS R3.13 vxWorks object libs needed for building prods
|
||||
# LIB_OBJLIBS R3.13 vxWorks object libs needed for building libraries
|
||||
# USR_SYS_LIBS system libs needed building libraries and prods
|
||||
# PROD_SYS_LIBS system libs needed for building prods
|
||||
# LIB_SYS_LIBS system libs needed for building libraries
|
||||
# USR_LDFLAGS ld flags for building libraries and prods
|
||||
# PROD_LDFLAGS ld flags for building prods
|
||||
# LIB_LDFLAGS ld flags for building libraries
|
||||
# PROD products to build and install
|
||||
# PROD_HOST products to build and install
|
||||
# PROD_IOC products to build and install
|
||||
# TESTPROD products to build and install
|
||||
# TESTPROD_HOST products to build and install
|
||||
# TESTPROD_IOC products to build and install
|
||||
# LIBRARY products to build and install
|
||||
# LIBRARY_HOST products to build and install
|
||||
# LIBRARY_IOC products to build and install
|
||||
# LOADABLE_LIBRARY module to build and install
|
||||
# LOADABLE_LIBRARY_HOST module to build and install
|
||||
# SCRIPTS scripts and install
|
||||
# SCRIPTS_HOST host system scripts to install
|
||||
# SCRIPTS_IOC ioc system scripts to install
|
||||
# OBJS object files to build and install
|
||||
# OBJS_HOST host system object files to build and install
|
||||
# OBJS_IOC ioc system object files to build and install
|
||||
# USR_INCLUDES include directories
|
||||
# BIN_INSTALLS binaries to install
|
||||
# RCS win32 resource files for building libraries and prods
|
||||
# PROD_RCS win32 resource files for building prods
|
||||
# LIB_RCS win32 resource files for building libraries
|
||||
#
|
||||
# Remark:
|
||||
# If you define INC, e.g. INC = getopt.h, the source
|
||||
# (getopt.h) must be in the source directory (..) and/or
|
||||
# in one or more ../os/<OS_CLASS> directories.
|
||||
#
|
||||
# Additional target architecture, T_A, Rules for USR_CFLAGS, USR_CXXFLAGS,
|
||||
# and USR_CPPFLAGS which are applied before the above os_class Rules:
|
||||
# 1) USR_CFLAGS_$(OS_CLASS) is used
|
||||
@@ -36,27 +89,6 @@
|
||||
# USR_CFLAGS_vxWorks-68040 = -nil-
|
||||
# USR_CFLAGS_vxWorks_DEFAULT = <defines for most vxWorks systems, not 68040>
|
||||
#
|
||||
# These rules apply to these Makefile-variables:
|
||||
# USR_CFLAGS C flags
|
||||
# USR_CXXFLAGS C++ flags
|
||||
# USR_CPPFLAGS c preprocesser flags
|
||||
# INC include-files to install
|
||||
# LIBSRCS source files for building library
|
||||
# LIB_SRCS source files for building library
|
||||
# SHRLIB_LIBS libs needed by shared LIBRARY
|
||||
# PROD_LIBS libs needed by PROD and TESTPROD
|
||||
# USR_LIBS libs needed by PROD and TESTPROD
|
||||
# USR_LDFLAGS ld flags
|
||||
# SYS_PROD_LIBS system libs needed by PROD and TESTPROD
|
||||
# PROD products to build and install
|
||||
# SCRIPTS scripts to install
|
||||
# USR_INCLUDES include directories
|
||||
#
|
||||
# Remark:
|
||||
# If you define INC, e.g. INC = getopt.h, the source
|
||||
# (getopt.h) must be in the source directory (..) and/or
|
||||
# in one or more ../os/<OS_CLASS> directories.
|
||||
# The INC source files cannot be created by the build.
|
||||
#
|
||||
|
||||
ifneq ($(strip $(USR_CFLAGS_$(T_A))),)
|
||||
@@ -123,14 +155,19 @@ USR_LDFLAGS+=$(USR_LDFLAGS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
# check for special includes:
|
||||
#
|
||||
ifneq ($(strip $(INC_$(OS_CLASS))),)
|
||||
# os-specific includes go to the include/os-directory:
|
||||
INC += $(subst -nil-,,$(INC_$(OS_CLASS)))
|
||||
ifneq ($(strip $(PROD_LDFLAGS_$(OS_CLASS))),)
|
||||
PROD_LDFLAGS+=$(subst -nil-,,$(PROD_LDFLAGS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef INC_DEFAULT
|
||||
INC += $(INC_DEFAULT)
|
||||
ifdef PROD_LDFLAGS_DEFAULT
|
||||
PROD_LDFLAGS+=$(PROD_LDFLAGS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LIB_LDFLAGS_$(OS_CLASS))),)
|
||||
LIB_LDFLAGS+=$(subst -nil-,,$(LIB_LDFLAGS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef LIB_LDFLAGS_DEFAULT
|
||||
LIB_LDFLAGS+=$(LIB_LDFLAGS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -160,6 +197,14 @@ SRCS+=$(SRCS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USR_SRCS_$(OS_CLASS))),)
|
||||
USR_SRCS += $(subst -nil-,,$(USR_SRCS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef USR_SRCS_DEFAULT
|
||||
USR_SRCS+=$(USR_SRCS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(PROD_SRCS_$(OS_CLASS))),)
|
||||
PROD_SRCS += $(subst -nil-,,$(PROD_SRCS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -184,6 +229,14 @@ PROD_OBJS+=$(PROD_OBJS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USR_OBJS_$(OS_CLASS))),)
|
||||
USR_OBJS+=$(subst -nil-,,$(USR_OBJS_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(USR_OBJS_DEFAULT)))
|
||||
USR_OBJS+=$(USR_OBJS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(OBJS_$(OS_CLASS))),)
|
||||
OBJS+=$(subst -nil-,,$(OBJS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -208,11 +261,27 @@ OBJS_HOST+=$(OBJS_HOST_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LDOBJS_$(OS_CLASS))),)
|
||||
LDOBJS+=$(subst -nil-,,$(LDOBJS_$(OS_CLASS)))
|
||||
ifneq ($(strip $(PROD_OBJLIBS_$(OS_CLASS))),)
|
||||
PROD_OBJLIBS+=$(subst -nil-,,$(PROD_OBJLIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(LDOBJS_DEFAULT)))
|
||||
LDOBJS+=$(LDOBJS_DEFAULT)
|
||||
ifdef PROD_OBJLIBS_DEFAULT
|
||||
PROD_OBJLIBS+=$(PROD_OBJLIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LIB_OBJLIBS_$(OS_CLASS))),)
|
||||
LIB_OBJLIBS+=$(subst -nil-,,$(LIB_OBJLIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef LIB_OBJLIBS_DEFAULT
|
||||
LIB_OBJLIBS+=$(LIB_OBJLIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USR_OBJLIBS_$(OS_CLASS))),)
|
||||
USR_OBJLIBS+=$(subst -nil-,,$(USR_OBJLIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef USR_OBJLIBS_DEFAULT
|
||||
USR_OBJLIBS+=$(USR_OBJLIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -248,6 +317,22 @@ LIBRARY_HOST+=$(LIBRARY_HOST_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LOADABLE_LIBRARY_$(OS_CLASS))),)
|
||||
LOADABLE_LIBRARY+=$(subst -nil-,,$(LOADABLE_LIBRARY_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(LOADABLE_LIBRARY_DEFAULT)))
|
||||
LOADABLE_LIBRARY+=$(LOADABLE_LIBRARY_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LOADABLE_LIBRARY_HOST_$(OS_CLASS))),)
|
||||
LOADABLE_LIBRARY_HOST+=$(subst -nil-,,$(LOADABLE_LIBRARY_HOST_$(OS_CLASS)))
|
||||
else
|
||||
ifneq (,$(strip $(LOADABLE_LIBRARY_HOST_DEFAULT)))
|
||||
LOADABLE_LIBRARY_HOST+=$(LOADABLE_LIBRARY_HOST_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(PROD_LIBS_$(OS_CLASS))),)
|
||||
PROD_LIBS += $(subst -nil-,,$(PROD_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -256,6 +341,7 @@ PROD_LIBS += $(PROD_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
# SHRLIB_LIBS deprecated
|
||||
ifneq ($(strip $(SHRLIB_LIBS_$(OS_CLASS))),)
|
||||
SHRLIB_LIBS += $(subst -nil-,,$(SHRLIB_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -264,6 +350,14 @@ SHRLIB_LIBS += $(SHRLIB_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LIB_LIBS_$(OS_CLASS))),)
|
||||
LIB_LIBS += $(subst -nil-,,$(LIB_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef LIB_LIBS_DEFAULT
|
||||
LIB_LIBS += $(LIB_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USR_LIBS_$(OS_CLASS))),)
|
||||
USR_LIBS += $(subst -nil-,,$(USR_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -275,6 +369,7 @@ endif
|
||||
#
|
||||
# concat specific library contents (if defined) to SYS_PROD_LIBS
|
||||
#
|
||||
# SYS_PROD_LIBS deprecated
|
||||
ifneq ($(strip $(SYS_PROD_LIBS_$(OS_CLASS))),)
|
||||
SYS_PROD_LIBS += $(subst -nil-,,$(SYS_PROD_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
@@ -282,6 +377,31 @@ ifdef SYS_PROD_LIBS_DEFAULT
|
||||
SYS_PROD_LIBS += $(SYS_PROD_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
PROD_SYS_LIBS+=$(SYS_PROD_LIBS)
|
||||
|
||||
ifneq ($(strip $(PROD_SYS_LIBS_$(OS_CLASS))),)
|
||||
PROD_SYS_LIBS += $(subst -nil-,,$(PROD_SYS_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef PROD_SYS_LIBS_DEFAULT
|
||||
PROD_SYS_LIBS += $(PROD_SYS_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LIB_SYS_LIBS_$(OS_CLASS))),)
|
||||
LIB_SYS_LIBS += $(subst -nil-,,$(LIB_SYS_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef LIB_SYS_LIBS_DEFAULT
|
||||
LIB_SYS_LIBS += $(LIB_SYS_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(USR_SYS_LIBS_$(OS_CLASS))),)
|
||||
USR_SYS_LIBS += $(subst -nil-,,$(USR_SYS_LIBS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef USR_SYS_LIBS_DEFAULT
|
||||
USR_SYS_LIBS += $(USR_SYS_LIBS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
# concat specific products
|
||||
@@ -375,3 +495,19 @@ RCS += $(RCS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(PROD_RCS_$(OS_CLASS))),)
|
||||
PROD_RCS += $(subst -nil-,,$(PROD_RCS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef PROD_RCS_DEFAULT
|
||||
PROD_RCS+=$(PROD_RCS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(LIB_RCS_$(OS_CLASS))),)
|
||||
LIB_RCS += $(subst -nil-,,$(LIB_RCS_$(OS_CLASS)))
|
||||
else
|
||||
ifdef LIB_RCS_DEFAULT
|
||||
LIB_RCS+=$(LIB_RCS_DEFAULT)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -21,28 +21,18 @@ ifdef T_A
|
||||
EPICS_BASE_LIB = $(EPICS_BASE)/lib/$(T_A)
|
||||
endif
|
||||
|
||||
#Definitions for extensions convenience
|
||||
Com_DIR = $(EPICS_BASE_LIB)
|
||||
asHost_DIR = $(EPICS_BASE_LIB)
|
||||
asIoc_DIR = $(EPICS_BASE_LIB)
|
||||
ca_DIR = $(EPICS_BASE_LIB)
|
||||
cas_DIR = $(EPICS_BASE_LIB)
|
||||
dbIoc_DIR = $(EPICS_BASE_LIB)
|
||||
dbStaticHost_DIR = $(EPICS_BASE_LIB)
|
||||
dbStaticIoc_DIR = $(EPICS_BASE_LIB)
|
||||
dbtoolsIoc_DIR = $(EPICS_BASE_LIB)
|
||||
gdd_DIR = $(EPICS_BASE_LIB)
|
||||
iocsh_DIR = $(EPICS_BASE_LIB)
|
||||
miscIoc_DIR = $(EPICS_BASE_LIB)
|
||||
registryIoc_DIR = $(EPICS_BASE_LIB)
|
||||
rsrvIoc_DIR = $(EPICS_BASE_LIB)
|
||||
recIoc_DIR = $(EPICS_BASE_LIB)
|
||||
softDevIoc_DIR = $(EPICS_BASE_LIB)
|
||||
testDevIoc_DIR = $(EPICS_BASE_LIB)
|
||||
recIocObj_DIR = $(EPICS_BASE_LIB)
|
||||
softDevIocObj_DIR = $(EPICS_BASE_LIB)
|
||||
testDevIocObj_DIR = $(EPICS_BASE_LIB)
|
||||
iocCore_DIR = $(EPICS_BASE_LIB)
|
||||
#---------------------------------------------------------------
|
||||
# Epics base Ioc libraries
|
||||
|
||||
EPICS_BASE_IOC_LIBS += recIoc softDevIoc testDevIoc iocsh
|
||||
EPICS_BASE_IOC_LIBS += miscIoc rsrvIoc dbtoolsIoc asIoc
|
||||
EPICS_BASE_IOC_LIBS += dbIoc registryIoc dbStaticIoc ca Com
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Epics base Host libraries
|
||||
|
||||
EPICS_BASE_HOST_LIBS += cas gdd iocsh asHost dbStaticHost
|
||||
EPICS_BASE_HOST_LIBS += ca Com
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Version number for base shared libraries (and win32 products)
|
||||
@@ -66,15 +56,15 @@ BASE_CPPFLAGS += $(OSITHREAD_DEFAULT_STACK_FLAGS_$(OSITHREAD_USE_DEFAULT_STACK))
|
||||
#---------------------------------------------------------------
|
||||
# Epics base build tools and tool flags
|
||||
|
||||
MAKEBPT = $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE)
|
||||
DBEXPAND = $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE)
|
||||
DBTORECORDTYPEH = $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE)
|
||||
DBTOMENUH = $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE)
|
||||
MAKEBPT = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/makeBpt$(HOSTEXE))
|
||||
DBEXPAND = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbExpand$(HOSTEXE))
|
||||
DBTORECORDTYPEH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToRecordtypeH$(HOSTEXE))
|
||||
DBTOMENUH = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/dbToMenuH$(HOSTEXE))
|
||||
REGISTERRECORDDEVICEDRIVER = $(PERL) $(EPICS_BASE_HOST_BIN)/registerRecordDeviceDriver.pl
|
||||
|
||||
# private versions of lex/yacc from EPICS
|
||||
EYACC = $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE)
|
||||
ELEX = $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE) -S$(EPICS_BASE)/include/flex.skel.static
|
||||
EYACC = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/antelope$(HOSTEXE))
|
||||
ELEX = $(call PATH_FILTER, $(EPICS_BASE_HOST_BIN)/e_flex$(HOSTEXE)) -S$(EPICS_BASE)/include/flex.skel.static
|
||||
|
||||
YACC = $(EYACC)
|
||||
LEX = $(ELEX)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
EPICS_VERSION=3
|
||||
EPICS_REVISION=14
|
||||
EPICS_MODIFICATION=1
|
||||
EPICS_MODIFICATION=3
|
||||
EPICS_UPDATE_NAME=
|
||||
EPICS_UPDATE_LEVEL=0
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ CHECK_RELEASE_NO =
|
||||
#-------------------------------------------------------
|
||||
# Directories
|
||||
|
||||
INSTALL_LOCATION = $(TOP)
|
||||
INSTALL_LOCATION ?= $(TOP)
|
||||
TOOLS = $(CONFIG)/tools
|
||||
|
||||
INSTALL_LOCATION_LIB = $(INSTALL_LOCATION)/lib
|
||||
@@ -87,7 +87,7 @@ BUILD_CLASS = HOST
|
||||
CMPLR=STRICT
|
||||
CXXCMPLR=STRICT
|
||||
STATIC_BUILD=NO
|
||||
SHARED_LIBRARIES=NO
|
||||
SHARED_LIBRARIES=YES
|
||||
HDEPENDS=YES
|
||||
HOST_OPT=YES
|
||||
CROSS_OPT=YES
|
||||
@@ -140,13 +140,13 @@ JAR =
|
||||
#--------------------------------------------------
|
||||
# obj files
|
||||
|
||||
TARGET_OBJS = $($*_LDOBJS) $(addsuffix $(OBJ),$(basename $($*_OBJS)))
|
||||
TARGET_OBJS = $($*_OBJLIBS) $($*_LDOBJS) $(addsuffix $(OBJ),$(basename $($*_OBJS)))
|
||||
|
||||
PRODUCT_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(PROD_SRCS) $(PROD_OBJS)))
|
||||
PROD_LD_OBJS = $(LDOBJS) $(TARGET_OBJS) $(PRODUCT_OBJS)
|
||||
PRODUCT_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(USR_SRCS) $(PROD_SRCS) $(USR_OBJS) $(PROD_OBJS)))
|
||||
PROD_LD_OBJS = $(USR_OBJLIBS) $(PROD_OBJLIBS) $(TARGET_OBJS) $(PRODUCT_OBJS)
|
||||
|
||||
LIBRARY_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(LIB_SRCS) $(LIBSRCS) $(LIB_OBJS)))
|
||||
LIBRARY_LD_OBJS = $(LDOBJS) $(TARGET_OBJS) $(LIBRARY_OBJS)
|
||||
LIBRARY_OBJS = $(addsuffix $(OBJ),$(basename $(SRCS) $(USR_SRCS) $(LIB_SRCS) $(LIBSRCS) $(USR_OBJS) $(LIB_OBJS)))
|
||||
LIBRARY_LD_OBJS = $(USR_OBJLIBS) $(LIB_OBJLIBS) $(TARGET_OBJS) $(LIBRARY_OBJS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# WIN95/NT resource files
|
||||
@@ -156,7 +156,7 @@ TARGET_RESS = $(addsuffix $(RES),$(basename $($*_RCS)))
|
||||
PROD_RESS = $(addsuffix $(RES),$(basename $(RCS) $(PROD_RCS)))
|
||||
PROD_LD_RESS = $(TARGET_RESS) $(PROD_RESS)
|
||||
|
||||
LIBRARY_RESS = $(addsuffix $(RES),$(basename $(RCS) $(LIBRARY_RCS)))
|
||||
LIBRARY_RESS = $(addsuffix $(RES),$(basename $(RCS) $(LIB_RCS) $(LIBRARY_RCS)))
|
||||
LIBRARY_LD_RESS = $(TARGET_RESS) $(LIBRARY_RESS)
|
||||
|
||||
#--------------------------------------------------
|
||||
@@ -180,7 +180,6 @@ OP_SYS_CFLAGS =
|
||||
OP_SYS_CXXFLAGS = $(OP_SYS_CFLAGS)
|
||||
OP_SYS_LDFLAGS =
|
||||
OP_SYS_INCLUDES =
|
||||
OP_SYS_LDLIBS =
|
||||
|
||||
# SOURCE* used by WIN32 only
|
||||
SOURCE_CFLAG =
|
||||
@@ -196,19 +195,26 @@ USR_CPPFLAGS =
|
||||
USR_DBDFLAGS =
|
||||
USR_ARFLAGS =
|
||||
|
||||
# Debug specific options
|
||||
DEBUG_CPPFLAGS =
|
||||
DEBUG_CFLAGS =
|
||||
DEBUG_CXXFLAGS = $(DEBUG_CFLAGS)
|
||||
DEBUG_LDFLAGS =
|
||||
DEBUG_LDLIBS =
|
||||
|
||||
# Target specific options
|
||||
TARGET_INCLUDES = $($(basename $@)_INCLUDES_$(T_A))
|
||||
TARGET_CFLAGS = $($(basename $@)_CFLAGS_$(T_A))
|
||||
TARGET_CXXFLAGS = $($(basename $@)_CXXFLAGS_$(T_A))
|
||||
TARGET_LDFLAGS = $($(basename $@)_LDFLAGS_$(T_A))
|
||||
TARGET_CPPFLAGS = $($(basename $@)_CPPFLAGS_$(T_A))
|
||||
|
||||
TARGET_INCLUDES += $($(basename $@)_INCLUDES_$(OS_CLASS)) $($(basename $@)_INCLUDES)
|
||||
TARGET_CFLAGS += $($(basename $@)_CFLAGS_$(OS_CLASS)) $($(basename $@)_CFLAGS)
|
||||
TARGET_CXXFLAGS += $($(basename $@)_CXXFLAGS_$(OS_CLASS)) $($(basename $@)_CXXFLAGS)
|
||||
TARGET_LDFLAGS += $($(basename $@)_LDFLAGS_$(OS_CLASS)) $($(basename $@)_LDFLAGS)
|
||||
TARGET_CPPFLAGS += $($(basename $@)_CPPFLAGS_$(OS_CLASS)) $($(basename $@)_CPPFLAGS)
|
||||
|
||||
TARGET_LDFLAGS = $($*_LDFLAGS)
|
||||
|
||||
# Level of ansi conformance flags
|
||||
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
|
||||
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
|
||||
@@ -234,9 +240,15 @@ STATIC_LDFLAGS = $(STATIC_LDFLAGS_$(STATIC_BUILD))
|
||||
STATIC_LDLIBS = $(STATIC_LDLIBS_$(STATIC_BUILD))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Command-line input support default
|
||||
# cflags for library src file
|
||||
LIBRARY_SRCS=$(basename $(foreach lib,$(LIBRARY),$($(lib)_OBJS) $(LIBRARY_OBJS)))
|
||||
LIBRARY_SRC_CFLAGS=$($(patsubst $*,SHRLIB,$(findstring $*,$(LIBRARY_SRCS)))_CFLAGS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Command-line input support default
|
||||
COMMANDLINE_LIBRARY = EPICS
|
||||
OP_SYS_LDLIBS += $(LDLIBS_$(COMMANDLINE_LIBRARY))
|
||||
OP_SYS_LDFLAGS += $(LDFLAGS_$(COMMANDLINE_LIBRARY))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Flags
|
||||
@@ -246,17 +258,18 @@ INCLUDES = -I. $(GENERIC_SRC_INCLUDES) $(INSTALL_INCLUDES) $(RELEASE_INCLUDES)\
|
||||
|
||||
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS)
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
|
||||
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
|
||||
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)
|
||||
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(PROD_LDFLAGS)\
|
||||
$(ARCH_DEP_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
|
||||
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
|
||||
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
|
||||
|
||||
LDLIBS = $(PROD_LDLIBS) $(STATIC_LDLIBS)\
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(OP_SYS_LDLIBS)
|
||||
LDLIBS = $(STATIC_LDLIBS)\
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
|
||||
|
||||
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
|
||||
@@ -292,7 +305,7 @@ HDEPENDS_CMD = $(HDEPENDS_CMD_$(HDEPENDS))
|
||||
# depends definition
|
||||
|
||||
TARGET_SRCS = $(foreach name, $(TESTPROD) $(PROD) $(LIBRARY), $($(name)_SRCS))
|
||||
SRC_FILES = $(LIB_SRCS) $(LIBSRCS) $(SRCS) $(PROD_SRCS) $(TARGET_SRCS)
|
||||
SRC_FILES = $(LIB_SRCS) $(LIBSRCS) $(SRCS) $(USR_SRCS) $(PROD_SRCS) $(TARGET_SRCS)
|
||||
HDEPENDS_FILES_YES = $(addsuffix $(DEP),$(notdir $(basename $(SRC_FILES))))
|
||||
HDEPENDS_FILES = $(HDEPENDS_FILES_$(HDEPENDS))
|
||||
|
||||
@@ -306,6 +319,7 @@ INSTALL_PROD= $(PRODNAME:%= $(INSTALL_BIN)/%)
|
||||
INSTALL_LIBS= $(LIBNAME:%=$(INSTALL_LIB)/%)
|
||||
INSTALL_MUNCHS= $(MUNCHNAME:%=$(INSTALL_BIN)/%)
|
||||
INSTALL_SHRLIBS= $(SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
|
||||
INSTALL_LOADABLE_SHRLIBS= $(LOADABLE_SHRLIBNAME:%=$(INSTALL_SHRLIB)/%)
|
||||
INSTALL_DLL_LINK_LIBS=$(DLL_LINK_LIBNAME:%=$(INSTALL_LIB)/%)
|
||||
INSTALL_TCLLIBS=$(TCLLIBNAME:%=$(INSTALL_TCLLIB)/%)
|
||||
INSTALL_TCLINDEX=$(TCLINDEX:%=$(INSTALL_TCLLIB)/%)
|
||||
@@ -339,6 +353,7 @@ INSTALL_INC += $(foreach inc, $(INC), \
|
||||
$(OS_INSTALL_INC) \
|
||||
$(GENERIC_INSTALL_INC) \
|
||||
$(GENERATED_INSTALL_INC) ) )
|
||||
INSTALL_INC += $(addprefix $(INSTALL_INCLUDE)/os/$(OS_CLASS)/, $(INC_$(OS_CLASS)) )
|
||||
|
||||
#
|
||||
# Rule 1
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
# <operating system>-<architecture>[-<alternate compiler>]
|
||||
#
|
||||
# Currently Supporting:
|
||||
# hpux-parisc
|
||||
# hpux-parisc (HP compiler used for host builds)
|
||||
# hpux-parisc-gnu (GNU compiler used for host builds)
|
||||
# osf-alpha
|
||||
# solaris-sparc (sun compiler used for host builds)
|
||||
# solaris-sparc-gnu (GNU compiler used for host builds)
|
||||
@@ -37,6 +38,12 @@
|
||||
# darwin-ppc
|
||||
# linux-mpc82xx
|
||||
|
||||
# Debugging builds
|
||||
# linux-x86-debug (GNU compiler with -g option for host builds)
|
||||
# solaris-sparc-debug (sun compiler with -g option for host builds)
|
||||
# win32-x86-debug (MS Visual C++ compiler with debug option for host builds)
|
||||
|
||||
|
||||
# EPICS_HOST_ARCH is a required environment variable
|
||||
# Do not set EPICS_HOST_ARCH in this file.
|
||||
# Use base/startup files to set EPICS_HOST_ARCH or
|
||||
@@ -51,17 +58,21 @@
|
||||
# vxWorks-68060
|
||||
# vxWorks-pentium
|
||||
# vxWorks-ppc603
|
||||
# vxWorks-ppc603_long
|
||||
# vxWorks-ppc604
|
||||
# vxWorks-ppc604_long
|
||||
# RTEMS-gen68360
|
||||
# RTEMS-mvme167
|
||||
# RTEMS-pc386
|
||||
# RTEMS-mcp750
|
||||
# RTEMS-psim
|
||||
#
|
||||
# Definitions of CROSS_COMPILER_TARGET_ARCHS in
|
||||
# configure/os/CONFIG_SITE.<host>.Common files will
|
||||
# override
|
||||
#
|
||||
CROSS_COMPILER_TARGET_ARCHS=
|
||||
|
||||
#CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040
|
||||
|
||||
# If only a subset of the host architectures perform
|
||||
# the build for the CROSS_COMPILER_TARGET_ARCHS
|
||||
@@ -83,21 +94,19 @@ CMPLR=STRICT
|
||||
CXXCMPLR=STRICT
|
||||
|
||||
# Build shared libraries?
|
||||
# (archive libraries will also be built)
|
||||
# must be either YES or NO
|
||||
# NOTE: os/CONFIG.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files and
|
||||
# os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files may override
|
||||
#
|
||||
# NOTE WIN32: YES results in a DLL. CONFIG_SITE.Host.WIN32
|
||||
# distribution file contains YES override
|
||||
# NOTE WIN32: YES results in a DLL. Valid settings are
|
||||
# SHARED_LIBRARIES=YES and STATIC_BUILD=NO
|
||||
# SHARED_LIBRARIES=NO and STATIC_BUILD=YES
|
||||
#
|
||||
# NOTE solaris,Linux, and sun4: If YES then LD_LIBRARY_PATH must
|
||||
# include fullpathname to $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH)
|
||||
# for both the base build and when invoking base executables
|
||||
SHARED_LIBRARIES=NO
|
||||
SHARED_LIBRARIES=YES
|
||||
|
||||
# Build client objects statically ?
|
||||
# must be either YES or NO
|
||||
#
|
||||
STATIC_BUILD=NO
|
||||
|
||||
# Should header dependancy files be automatically generated
|
||||
@@ -122,5 +131,5 @@ HOST_WARN=YES
|
||||
CROSS_WARN=YES
|
||||
|
||||
# Installation directory
|
||||
INSTALL_LOCATION=$(TOP)
|
||||
#Note: INSTALL_LOCATION definition moved to configure/RELEASE file
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
# Time service:
|
||||
# EPICS_TIMEZONE needed for vxWorks
|
||||
# EPICS_TIMEZONE=<name>::<minutesWest>:<start daylight>:<end daylight>
|
||||
#NOTE: start and end are mmddhh that bis mounth,day,hour
|
||||
# eg EPICS_TIMEZONE=CUS::360:033102:102802
|
||||
# DST for 2003 US: Apr 6 - Oct 26
|
||||
# EU: Mar 30 - Oct 26
|
||||
|
||||
@@ -23,4 +23,6 @@ CONFIGS += $(subst ../,,$(wildcard ../RULES*))
|
||||
|
||||
CONFIGS += $(subst ../,,$(wildcard ../tools/*.pl))
|
||||
|
||||
TARGETS = CONFIG_APP_INCLUDE
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
|
||||
@@ -13,5 +13,7 @@
|
||||
|
||||
# Tornado directory
|
||||
VX_DIR = /usr/local/vw/tornado202
|
||||
# Is Tornado version >= 2.2 ? must be either YES or NO
|
||||
TORNADO_VERSION_2_2 = NO
|
||||
|
||||
# If you don't want to install into $(TOP) dir then
|
||||
# define INSTALL_LOCATION here
|
||||
#INSTALL_LOCATION=<fullpathname>
|
||||
|
||||
@@ -59,7 +59,7 @@ TEMPLATE2=$(patsubst %0,%,$(patsubst %1,%,$(patsubst %2,%,$(patsubst %3,%,$(pats
|
||||
$(patsubst %5,%,$(patsubst %6,%,$(patsubst %7,%,$(patsubst %8,%,$(patsubst %9,%, \
|
||||
$(TEMPLATE1)))))))))))
|
||||
TEMPLATE3=$(addsuffix .template,$(addprefix ../,$(TEMPLATE2)))
|
||||
TEMPLATE_FILENAME=$(firstword $(wildcard ../$*.template) $(TEMPLATE3))
|
||||
TEMPLATE_FILENAME=$(firstword $(wildcard $(addprefix ../,$($*_TEMPLATE)) ../$*.template $(TEMPLATE3)) $(TEMPLATE3))
|
||||
|
||||
# dbst based database optimization
|
||||
ifeq '$(DB_OPT)' 'YES'
|
||||
@@ -112,16 +112,26 @@ $(DBDDEPENDS_FILES):
|
||||
|
||||
##################################################### build dependancies, clean rule
|
||||
|
||||
ifdef DBD_INSTALLS
|
||||
buildInstall : dbdInstalls
|
||||
endif
|
||||
|
||||
ifdef DB_INSTALLS
|
||||
buildInstall : dbInstalls
|
||||
endif
|
||||
|
||||
.PHONY: dbdInstalls dbInstalls
|
||||
|
||||
inc : $(COMMON_INC) $(INSTALL_INC)
|
||||
|
||||
build : $(COMMON_DBDS) $(COMMON_DBS) \
|
||||
$(INSTALL_DBDS) $(INSTALL_DBS) \
|
||||
$(DBDDEPENDS_FILES) $(INDDBFROMTEMPLATE) $(TARGETS)
|
||||
$(DBDDEPENDS_FILES) $(TARGETS)
|
||||
|
||||
clean::
|
||||
@$(RM) $(COMMONS) $(DBDDEPENDS_FILES)
|
||||
@$(RM) *_registerRecordDeviceDriver.cpp
|
||||
@$(RM) $(INDDBFROMTEMPLATE) $(TARGETS)
|
||||
@$(RM) $(TARGETS)
|
||||
|
||||
##################################################### "Foreign" templates
|
||||
|
||||
@@ -201,12 +211,16 @@ $(COMMON_DIR)/%.dbd: %Include.dbd
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "Expanding dbd"
|
||||
@$(RM) $@
|
||||
$(DBEXPAND) $(DBDFLAGS) $< > $@
|
||||
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
|
||||
|
||||
$(INSTALL_DBD)/%: %
|
||||
@echo "Installing dbd file $@"
|
||||
@$(INSTALL) -d -m 644 $< $(@D)
|
||||
|
||||
dbdInstalls: $(DBD_INSTALLS)
|
||||
@echo "Installing $(^F)"
|
||||
@$(INSTALL) -d -m 555 $^ $(INSTALL_DBD)
|
||||
|
||||
.PRECIOUS: $(COMMON_DBDS)
|
||||
|
||||
##################################################### DB files
|
||||
@@ -216,13 +230,15 @@ $(COMMON_DIR)/%.db$(RAW): $(COMMON_DIR)/%.edf
|
||||
@$(REPLACEVAR) < $@.VAR > $@
|
||||
@$(RM) $@.VAR
|
||||
|
||||
# dbst based database optimization
|
||||
$(COMMON_DIR)/%.db$(RAW): %.substitutions
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$@:$(TEMPLATE_FILENAME)" >> $@$(DEP)
|
||||
@echo "Inflating database from $<"
|
||||
@$(RM) $@
|
||||
$(MSI) -S$< $(TEMPLATE_FILENAME) > $@
|
||||
$(MSI) -S$< $(TEMPLATE_FILENAME) > msi.tmp
|
||||
$(MV) msi.tmp $@
|
||||
|
||||
# dbst based database optimization
|
||||
ifeq '$(DB_OPT)' 'YES'
|
||||
@@ -249,6 +265,10 @@ $(INSTALL_DB)/%: %
|
||||
@$(INSTALL) -d -m 644 $< $(@D)
|
||||
endif
|
||||
|
||||
dbInstalls: $(DB_INSTALLS)
|
||||
@echo "Installing $(^F)"
|
||||
@$(INSTALL) -d -m 555 $^ $(INSTALL_DB)
|
||||
|
||||
.PRECIOUS: $(COMMON_DIR)/%.edf
|
||||
.PRECIOUS: $(COMMON_DBS)
|
||||
|
||||
@@ -256,7 +276,7 @@ endif
|
||||
|
||||
%_registerRecordDeviceDriver.cpp: %.dbd
|
||||
@$(RM) $@
|
||||
$(REGISTERRECORDDEVICEDRIVER) $< > $@
|
||||
$(REGISTERRECORDDEVICEDRIVER) $< $(basename $@) > $@
|
||||
|
||||
.PRECIOUS: %_registerRecordDeviceDriver.cpp
|
||||
|
||||
|
||||
@@ -15,7 +15,8 @@ install: buildInstall
|
||||
|
||||
buildInstall: $(TARGETS)
|
||||
|
||||
cdCommands: $(wildcard $(TOP)/configure/RELEASE*) $(TOP)/configure/CONFIG
|
||||
envPaths cdCommands: $(wildcard $(TOP)/configure/RELEASE*) \
|
||||
$(TOP)/configure/CONFIG $(TOP)/bin
|
||||
@$(RM) $@
|
||||
ifeq ($(IOCS_APPL_TOP),)
|
||||
$(PERL) $(TOOLS)/convertRelease.pl -a $(ARCH) $@
|
||||
@@ -24,5 +25,5 @@ else
|
||||
endif
|
||||
|
||||
clean:
|
||||
@$(RM) cdCommands
|
||||
@$(RM) cdCommands envPaths
|
||||
|
||||
|
||||
@@ -11,31 +11,8 @@
|
||||
#
|
||||
# Rules for making things specified in Makefile
|
||||
#
|
||||
# Some rules for filename-massage are system specific
|
||||
# and have "ifdefs" here instead of using definitions
|
||||
# from CONFIG.Target.<arch> - sorry about this,
|
||||
# but so far the rules are quite similar on all systems
|
||||
# except WIN32 has some specials.
|
||||
#
|
||||
# Maybe there is a way to use indentation to make it
|
||||
# easier to read this file?
|
||||
#
|
||||
# Most things may also work if you say e.g.
|
||||
# VAR+=ADD
|
||||
# even if ADD is not there, but this way "VAR" would
|
||||
# be defined in any case, that's why I try to use
|
||||
# ifdef ADD
|
||||
# VAR+=ADD
|
||||
# endif
|
||||
#
|
||||
# -kuk-
|
||||
|
||||
# we are in O.$(OS_CLASS), but most sources are one dir above:
|
||||
#
|
||||
# The use of VPATH (no suffix specification) caused everything
|
||||
# to break several times.
|
||||
# vpath, of course, has the disadvantage that we need explicit rules
|
||||
# for scripts or similar os-specific filed which have _no_ suffix...
|
||||
|
||||
ifndef BASE_RULES_BUILD
|
||||
BASE_RULES_BUILD=1
|
||||
@@ -59,6 +36,7 @@ include $(CONFIG)/CONFIG_ADDONS
|
||||
|
||||
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
|
||||
LIBRARY += $(LIBRARY_HOST)
|
||||
LOADABLE_LIBRARY += $(LOADABLE_LIBRARY_HOST)
|
||||
OBJS += $(OBJS_HOST)
|
||||
PROD += $(PROD_HOST)
|
||||
SCRIPTS += $(SCRIPTS_HOST)
|
||||
@@ -97,15 +75,15 @@ endif
|
||||
#---------------------------------------------------------------
|
||||
# Create included Makefile for prod,testprod, and library targets
|
||||
|
||||
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY)))
|
||||
ifneq (,$(strip $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY)))
|
||||
|
||||
MakefileInclude: ../Makefile
|
||||
@$(RM) $@
|
||||
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $@
|
||||
@$(PERL) $(TOOLS)/makeMakefileInclude.pl $(PROD) $(TESTPROD) $(LIBRARY) $(LOADABLE_LIBRARY) $@
|
||||
|
||||
-include MakefileInclude
|
||||
|
||||
endif # PROD, TESTPROD, or LIBRARY defined
|
||||
endif # PROD, TESTPROD, LIBRARY, or LOADABLE_LIBRARY defined
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# Products and Object libraries
|
||||
@@ -116,10 +94,10 @@ PRODTARGETS += $(PRODNAME) $(MUNCHNAME) $(CTDT_SRCS) $(CTDT_OBJS) $(NMS)
|
||||
# Libraries
|
||||
#
|
||||
|
||||
LIBTARGETS += $(LIBNAME)
|
||||
LIBTARGETS += $(INSTALL_LIBS)
|
||||
LIBTARGETS += $(SHRLIBNAME) $(INSTALL_SHRLIBS) \
|
||||
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS)
|
||||
LIBTARGETS += $(LIBNAME) $(INSTALL_LIBS) \
|
||||
$(SHRLIBNAME) $(INSTALL_SHRLIBS) \
|
||||
$(DLL_LINK_LIBNAME) $(INSTALL_DLL_LINK_LIBS) \
|
||||
$(LOADABLE_SHRLIBNAME) $(INSTALL_LOADABLE_SHRLIBS)
|
||||
|
||||
#---------------------------------------------------------------
|
||||
ifneq ($(CONFIG),$(TOP)/configure)
|
||||
@@ -160,7 +138,7 @@ clean::
|
||||
@echo "Cleaning"
|
||||
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
|
||||
$(INC) *$(RES) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
|
||||
*.out MakefileInclude \
|
||||
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) \
|
||||
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS)
|
||||
ifdef BAF
|
||||
@$(RM) $(PROD_BAF) $(LIB_BAF) *$(BOF)
|
||||
@@ -175,18 +153,6 @@ $(DIRECTORY_TARGETS) :
|
||||
$(MKDIR) -p $@
|
||||
|
||||
#---------------------------------------------------------------
|
||||
#---------------------------------------------------------------
|
||||
# Generic Rules for 'simple' targets that
|
||||
# can be generated from a single source with same basename.
|
||||
#
|
||||
# The usual two rules .c* -> $(OBJ) and then $(OBJ) -> $(EXE)
|
||||
# do not work because the $(OBJ)->$(EXE) rule wouldn't
|
||||
# know if the original source was C or C++.
|
||||
#
|
||||
# Hint: The $(subst...) construct removes the .c or .cpp
|
||||
# as well as the '../' from the filename and adds $(OBJ):
|
||||
# e.g. $< = '../abc.c' -> 'abc.o'
|
||||
#
|
||||
# The order of the following rules is
|
||||
# VERY IMPORTANT !!!!
|
||||
|
||||
@@ -295,14 +261,18 @@ ifneq ($(strip $(RANLIB)),)
|
||||
$(RANLIB) $@
|
||||
endif # RANLIB
|
||||
|
||||
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS)
|
||||
$(DLL_LINK_LIBNAME):$(LIB_PREFIX)%.lib: $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
|
||||
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS)
|
||||
$(SHRLIBNAME):$(LIB_PREFIX)%$(SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
|
||||
$(LOADABLE_SHRLIBNAME):$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
@$(RM) $@
|
||||
$(LINK.loadable_shrlib)
|
||||
|
||||
# C++ munching for VxWorks
|
||||
%.nm : %$(EXE)
|
||||
@$(RM) $@
|
||||
@@ -375,6 +345,10 @@ $(INSTALL_TCLLIB)/%: ../%
|
||||
@$(INSTALL) -d -m 555 $< $(INSTALL_TCLLIB)
|
||||
endif
|
||||
|
||||
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
|
||||
@echo "Installing loadable shared library $@"
|
||||
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
|
||||
|
||||
$(INSTALL_CONFIG)/%: %
|
||||
@echo "Installing config file $@"
|
||||
@$(INSTALL) -d -m 644 $< $(@D)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
JAVA_INC = $(JAVA_DIR)/include
|
||||
JAVA_BIN = $(JAVA_DIR)/bin
|
||||
JAVA_INCLUDES += -I${JAVA_INC} -I${JAVA_INC}/${OS_CLASS}
|
||||
JAVA_INCLUDES += -I$(JAVA_INC) -I$(JAVA_INC)/$(OS_CLASS) -I$(COMMON_DIR)
|
||||
|
||||
JAVACCMD = $(subst \,/,$(JAVA_BIN)/javac$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVACFLAGS))
|
||||
JAVAHCMD = $(subst \,/,$(JAVA_BIN)/javah$(EXE) -d $(COMMON_DIR) -force $(CLASSPATH) $(JAVAHFLAGS))
|
||||
@@ -29,18 +29,19 @@ CLASSPATH=-classpath $(INSTALL_JAVA)$(addprefix :,$(USR_CLASSPATH))
|
||||
SOURCEPATH=-sourcepath .:..:../..
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Java install directory
|
||||
# Java directory
|
||||
|
||||
INSTALL_JAVA = $(INSTALL_LOCATION)/javalib
|
||||
ifdef JAVA
|
||||
JAVA_DIRECTORY_TARGETS += $(INSTALL_JAVA)
|
||||
endif
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Java native method C header files
|
||||
|
||||
JAVAHFLAGS += $(USR_JAVAHFLAGS)
|
||||
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
|
||||
JAVAINC_CLASSFILES += $(addprefix $(INSTALL_JAVA)/,$(subst _,/,$(subst .h,.class,$(JAVAINC))))
|
||||
JAVAINC_CLASSNAMES += $(subst _,.,$(subst .h,,$(JAVAINC)))
|
||||
COMMON_JAVAINC += $(addprefix $(COMMON_DIR)/,$(JAVAINC))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Java class files
|
||||
@@ -70,10 +71,10 @@ endif
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Java doc definitions
|
||||
ifeq ($(JAVADOC),YES)
|
||||
ifdef JAVADOC
|
||||
JAVADOCFLAGS += $(USR_JAVADOCFLAGS)
|
||||
JAVADOCCMD = $(subst \,/,$(JAVA_BIN)/javadoc$(EXE) $(CLASSPATH) $(SOURCEPATH) $(JAVADOCFLAGS))
|
||||
INSTALL_JAVADOC = $(CLASSES:%.class=$(INSTALL_HTML)/%.html)
|
||||
INSTALL_JAVADOC = $(addprefix $(INSTALL_HTML)/,$(JAVADOC))/index.html
|
||||
endif
|
||||
|
||||
#-------------------------------------------------------
|
||||
@@ -101,8 +102,10 @@ clean::
|
||||
@$(RM) $(INSTALL_JAR) $(INSTALL_JAVADOC)
|
||||
@$(RM) $(COMMON_TESTCLASSES) $(COMMON_JAR) $(COMMON_JAVAINC)
|
||||
|
||||
ifdef JAVA_DIRECTORY_TARGETS
|
||||
$(JAVA_DIRECTORY_TARGETS):
|
||||
$(MKDIR) -p $@
|
||||
endif
|
||||
|
||||
$(COMMON_JAVAINC):$(JAVAINC_CLASSFILES)
|
||||
@echo Creating header files $(COMMON_JAVAINC)
|
||||
@@ -119,10 +122,10 @@ $(INSTALL_CLASSES): $(addprefix ../,$(DEPJAVA))
|
||||
@$(RM) $@
|
||||
$(JAVACCMD) -d $(INSTALL_JAVA) $^
|
||||
|
||||
$(INSTALL_JAVADOC): $(addprefix ../,$(DEPJAVA))
|
||||
@echo Creating java class files
|
||||
$(INSTALL_JAVADOC): $(addprefix ../,$(JAVA))
|
||||
@echo Creating java doc files
|
||||
@$(RM) $@
|
||||
$(JAVADOCCMD) -d $(INSTALL_JAVA) $^
|
||||
$(JAVADOCCMD) -d $(addprefix $(INSTALL_HTML)/,$(JAVADOC)) $^
|
||||
|
||||
$(COMMON_DIR)/%.jar: $(JARDEPFILES)
|
||||
@echo Creating java jar file $@
|
||||
@@ -134,3 +137,6 @@ $(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
|
||||
@$(INSTALL) -d -m 644 $< $(@D)
|
||||
|
||||
.PHONY: all install buildInstall rebuild clean build inc
|
||||
|
||||
.PRECIOUS: $(COMMON_JAVAINC)
|
||||
|
||||
|
||||
@@ -52,14 +52,12 @@ a_file_CPPFLAGS_WIN32 = -DVERSION='WIN32 port'
|
||||
#
|
||||
# In here you supply just the filename without '../' etc.
|
||||
# While building in an O.xxx subdir, the
|
||||
# sources are extracted from either the
|
||||
# '..'
|
||||
# dir or - if it exists - the dir
|
||||
# '../$(OS_CLASS)'
|
||||
# is preferred.
|
||||
# sources are extracted from the
|
||||
# ../os/$(OS_CLASS) directory if it exists, or
|
||||
# ../os/default directory if it exists, or
|
||||
# .. directory
|
||||
# ---------------------------------------------------------
|
||||
|
||||
|
||||
# includes to install from this Makefile
|
||||
#
|
||||
# again: if INC_$(OS_CLASS) is defined, it is added to INC,
|
||||
@@ -101,10 +99,11 @@ libname_SRCS_DEFAULT = posix.c
|
||||
libname_SRCS_WIN32 = win32_special.c
|
||||
libname_SRCS_Linux = -nil-
|
||||
#
|
||||
LIBSRCS = file_for_lib.c another_file.cpp
|
||||
LIBSRCS_DEFAULT = posix.c
|
||||
LIBSRCS_WIN32 = win32_special.c
|
||||
LIBSRCS_Linux = -nil-
|
||||
# SRCS that are used for all libraries
|
||||
LIB_SRCS = file_for_lib.c another_file.cpp
|
||||
LIB_SRCS_DEFAULT = posix.c
|
||||
LIB_SRCS_WIN32 = win32_special.c
|
||||
LIB_SRCS_Linux = -nil-
|
||||
|
||||
# Library to build:
|
||||
# lib$(LIBRARY).a or ..dll/..exp/..lib
|
||||
@@ -113,13 +112,9 @@ LIBRARY=libname
|
||||
#
|
||||
# Host or Ioc platform specific library to build:
|
||||
#
|
||||
LIBRARY_IOC=libname
|
||||
LIBRARY_HOST=libname
|
||||
LIBRARY_IOC=libnameIoc
|
||||
LIBRARY_HOST=libnameHost
|
||||
|
||||
# if SHARED_LIBRARIES is YES then shared and archive libraries will
|
||||
# both be built
|
||||
#SHARED_LIBRARIES = YES
|
||||
#
|
||||
# Library version
|
||||
SHRLIB_VERSION =
|
||||
# On WIN32 results in /version:$(SHRLIB_VERSION) link option
|
||||
@@ -132,10 +127,15 @@ SHRLIB_VERSION =
|
||||
# if SRCS is undefined, it defaults to $(PROD).c
|
||||
SRCS=a.c b.c c.c
|
||||
|
||||
# SRCS that are used for all PRODs
|
||||
#
|
||||
PROD_SRCS = ppp.c qqq.c
|
||||
|
||||
# SRCS that are only used for PROD a_file
|
||||
#
|
||||
a_file_SRCS = aa.c bb.c
|
||||
|
||||
#
|
||||
# EPICS libs needed to link PROD, TESTPROD and sharable library
|
||||
#
|
||||
# note that DLL_LIBS (the libraries needed to link a shareable
|
||||
@@ -143,33 +143,41 @@ a_file_SRCS = aa.c bb.c
|
||||
# below minus the name of the sharable library (LIBRARY)
|
||||
#
|
||||
#
|
||||
# for all systems:
|
||||
# ---------- libraries for a specific product pppp
|
||||
# for all systems
|
||||
pppp_LIBS = Com Ca
|
||||
# for most systems:
|
||||
pppp_LIBS_DEFAULT = mathlib
|
||||
pppp_LIBS_WIN32 = -nil-
|
||||
|
||||
# ---------- libraries for all products
|
||||
# for all systems
|
||||
PROD_LIBS = Com Ca
|
||||
# for most systems:
|
||||
PROD_LIBS_DEFAULT = mathlib
|
||||
PROD_LIBS_WIN32 = -nil-
|
||||
|
||||
# system libs needed to link PROD, TESTPROD and sharable library
|
||||
#
|
||||
# for all systems:
|
||||
SYS_PROD_LIBS = m
|
||||
# for most systems:
|
||||
SYS_PROD_LIBS_DEFAULT = foolib
|
||||
SYS_PROD_LIBS_WIN32 = -nil-
|
||||
|
||||
# other libs needed to link PROD, TESTPROD and sharable library
|
||||
#
|
||||
# for all systems:
|
||||
# ---------- Libraries for all products and all libraries:
|
||||
# for all systems
|
||||
USR_LIBS = Xm Xt X11
|
||||
Xm_DIR = $(MOTIF_LIB)
|
||||
Xt_DIR = $(X11_LIB)
|
||||
X11_DIR = $(X11_LIB)
|
||||
|
||||
# for most systems:
|
||||
# for most systems
|
||||
USR_LIBS_DEFAULT = foolib
|
||||
USR_LIBS_WIN32 = -nil-
|
||||
foolib_DIR = $(FOO_LIB)
|
||||
|
||||
# system libs needed to link PROD, TESTPROD and sharable library
|
||||
#
|
||||
# ---------- system libraries for all products
|
||||
# for all systems:
|
||||
PROD_SYS_LIBS = m
|
||||
# for most systems:
|
||||
PROD_SYS_LIBS_DEFAULT = foolib
|
||||
PROD_SYS_LIBS_WIN32 = -nil-
|
||||
|
||||
# Product,
|
||||
# may be caRepeater.o -> caRepeater
|
||||
# or caRepeater.obj -> caRepeater.exe
|
||||
@@ -179,6 +187,9 @@ PROD_WIN32 = product_only_for_WIN32
|
||||
PROD_Linux = product_only_for_Linux
|
||||
PROD_solaris = product_only_for_solaris
|
||||
|
||||
PROD_HOST = product_only_for_host_type_systems
|
||||
PROD_IOC = product_only_for_ioc_type_systems
|
||||
|
||||
# Product version
|
||||
PROD_VERSION =
|
||||
# On WIN32 results in /version:$(SHRLIB_VERSION) link option
|
||||
|
||||
@@ -34,8 +34,6 @@ CCC = $(RTEMS_BASE)/bin/$(CXX)
|
||||
CPP = $(RTEMS_BASE)/bin/$(CC_FOR_TARGET) -x c -E
|
||||
AR = $(RTEMS_BASE)/bin/$(AR_FOR_TARGET)
|
||||
LD = $(RTEMS_BASE)/bin/$(LD_FOR_TARGET) -r
|
||||
RTEMS_LDFLAGS := $(STATIC_LDFLAGS) $(LDFLAGS)
|
||||
LINK.cpp = $(CCC) -o $@ $(RTEMS_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
|
||||
|
||||
RANLIB := $(RTEMS_BASE)/bin/$(RANLIB)
|
||||
|
||||
@@ -48,27 +46,29 @@ VALID_BUILDS = Ioc
|
||||
# through the following contortions to get the EPICS flags back.
|
||||
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS)
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
|
||||
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
|
||||
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)\
|
||||
$(CROSS_CXXFLAGS)
|
||||
$(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(PROD_LDFLAGS)\
|
||||
$(ARCH_DEP_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
|
||||
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
|
||||
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
|
||||
|
||||
LDLIBS = $(PROD_LDLIBS) $(STATIC_LDLIBS)\
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(OP_SYS_LDLIBS)
|
||||
LDLIBS = $(STATIC_LDLIBS)\
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
|
||||
|
||||
CPPFLAGS += $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS) $(BASE_CPPFLAGS)\
|
||||
$(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
|
||||
$(OP_SYS_CPPFLAGS) $(CODE_CPPFLAGS)
|
||||
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
|
||||
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Although RTEMS uses gcc, it wants to use gcc its own way
|
||||
CROSS_CPPFLAGS =
|
||||
CROSS_LDFLAGS =
|
||||
SHRLIB_CFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# operating system class (include/os/<os_class>)
|
||||
@@ -92,7 +92,7 @@ CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# RTEMS uses the inline keyword, so get rid of pedantic warnings
|
||||
# RTEMS uses the inline keyword so -pedantic causes too many problems.
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@ OBJ = .o
|
||||
LIB_PREFIX = lib
|
||||
LIB_SUFFIX = .a
|
||||
SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
|
||||
LOADABLE_SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
|
||||
LOADABLE_SHRLIB_PREFIX = lib
|
||||
|
||||
#-------------------------------------------------------
|
||||
# names of libraries to build
|
||||
@@ -31,40 +33,60 @@ SHRLIB_SUFFIX = .so$(addprefix .,$(SHRLIB_VERSION))
|
||||
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
|
||||
# <lib> -> lib<lib>.so.<version>
|
||||
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(SHRLIB_SUFFIX))
|
||||
LOADABLE_SHRLIBNAME = $(LOADABLE_BUILD_LIBRARY:%=$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# shrlib: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
SHRLIB_DEPLIBS = $(foreach lib,$(SHRLIB_LIBS),$(firstword $(wildcard \
|
||||
$($(lib)_DIR)/$(LIB_PREFIX)$(lib).*)))
|
||||
|
||||
SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS_$(strip $(SHARED_LIBRARIES)))
|
||||
SHRLIB_LDLIBS = $($*_LDLIBS:%=-l%) $(SHRLIB_LIBS:%=-l%) \
|
||||
$($*_SYS_LIBS:%=-l%) $(SYS_SHRLIB_LIBS:%=-l%)
|
||||
# SHRLIB_LIBS deprecated
|
||||
LIB_LIBS += $(SHRLIB_LIBS)
|
||||
|
||||
SHRLIB_DEPLIBS=$(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
SHRLIB_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(LIB_LIBS) $(USR_LIBS) \
|
||||
$($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) $(LDLIBS)
|
||||
|
||||
SHRLIB_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(SHRLIB_DEPLIBS))
|
||||
SHRLIB_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
|
||||
SHRLIBDIR_LDFLAGS += $(sort $(SHRLIB_DEPLIB_DIRS:%=-L%))
|
||||
|
||||
#--------------------------------------------------
|
||||
#-------------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
PROD_DEPLIBS = $(foreach lib,$(PROD_LIBS) $(USR_LIBS),$(firstword $(wildcard \
|
||||
$($(lib)_DIR)/$(LIB_PREFIX)$(lib).*)))
|
||||
|
||||
PROD_LDLIBS = $($*_LDLIBS:%=-l%) $(PROD_LIBS:%=-l%) $(USR_LIBS:%=-l%)\
|
||||
$($*_SYS_LIBS:%=-l%) $(SYS_PROD_LIBS:%=-l%)
|
||||
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
PROD_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
|
||||
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
|
||||
PROD_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Link definitions
|
||||
LINK.cpp = $(CCC) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
|
||||
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
|
||||
LINK.shrlib = $(CCC) -o $@ $(SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
|
||||
LINK.shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
|
||||
LINK.loadable_shrlib = $(CCC) -o $@ $(LOADABLE_SHRLIB_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS)
|
||||
LINK.loadable_shrlib += $(LIB_LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Operating system definitions
|
||||
OP_SYS_CPPFLAGS += -DUNIX
|
||||
OP_SYS_LDLIBS += -lm
|
||||
|
||||
#--------------------------------------------------
|
||||
# Link definitions
|
||||
LINK.cpp = $(CCC) -o $@ $(STATIC_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
|
||||
LINK.shrlib = $(CCC) -o $@ $(SHRLIB_LDFLAGS) $(LDFLAGS) $(LIBRARY_LD_OBJS) $(LIBRARY_LD_RESS) $(SHRLIB_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.UnixCommon
|
||||
|
||||
25
configure/os/CONFIG.Common.aix-ppc
Normal file
25
configure/os/CONFIG.Common.aix-ppc
Normal file
@@ -0,0 +1,25 @@
|
||||
# CONFIG.Common.aix-ppc
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for aix-ppc target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.aix-ppc
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
#
|
||||
# Set OS-specific information
|
||||
#
|
||||
OS_CLASS = AIX
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
CODE_CPPFLAGS = -D_REENTRANT
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_ALL_SOURCE
|
||||
POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_YES = -lpthread
|
||||
|
||||
#SHARED_LIBRARIES=NO
|
||||
|
||||
11
configure/os/CONFIG.Common.aix-ppc-gnu
Normal file
11
configure/os/CONFIG.Common.aix-ppc-gnu
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.Common.aix-ppc-gnu
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for aix-ppc target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.aix-ppc
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all aix-ppc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.aix-ppc
|
||||
|
||||
@@ -10,12 +10,15 @@
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
#
|
||||
# Set OS-specific information
|
||||
#
|
||||
OS_CLASS = Darwin
|
||||
ARCH_CLASS = ppc
|
||||
|
||||
#
|
||||
# Special flags for Darwin
|
||||
# No common blocks (as required when going to shared libraries)
|
||||
# No common blocks (as required when using shared libraries)
|
||||
#
|
||||
OP_SYS_CFLAGS += -fno-common
|
||||
|
||||
@@ -25,23 +28,31 @@ OP_SYS_CFLAGS += -fno-common
|
||||
CPPSNCFLAGS += -no-cpp-precomp
|
||||
|
||||
#
|
||||
# Need to get some fink-installed packages
|
||||
# The following two definitions enable the use of DarwinPorts packages.
|
||||
#
|
||||
OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include
|
||||
OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib
|
||||
OP_SYS_LDLIBS +=
|
||||
OP_SYS_CPPFLAGS += -I/opt/local/include
|
||||
OP_SYS_LDFLAGS += -L/opt/local/lib
|
||||
|
||||
#
|
||||
# Stuff that will be needed when going to shared libraries
|
||||
# The following two definitions enable the use of Fink packages.
|
||||
#
|
||||
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
|
||||
-install_name $(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)/$@ \
|
||||
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
|
||||
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
||||
SHRLIB_SUFFIX = $(addprefix .,$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)).dylib
|
||||
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
||||
OP_SYS_CPPFLAGS += -I/sw/include
|
||||
OP_SYS_LDFLAGS += -L/sw/lib
|
||||
|
||||
# Command-line input support
|
||||
COMMANDLINE_LIBRARY=LIBTECLA
|
||||
#
|
||||
# Libraries for command-line editing.
|
||||
#
|
||||
LDLIBS_LIBTECLA = -ltecla_r -lncurses
|
||||
LDLIBS_READLINE = -lreadline
|
||||
|
||||
#
|
||||
# Command-line input support
|
||||
#
|
||||
# Install the DarwinPorts or Fink libtecla1 package and place the following
|
||||
# line in CONFIG_SITE.darwin-ppc.Common to use libtecla command-line editing:
|
||||
#COMMANDLINE_LIBRARY=LIBTECLA
|
||||
# or install the DarwinPorts or Fink readline package and place the following
|
||||
# line in CONFIG_SITE.darwin-ppc.Common to use GNU readline
|
||||
# command-line editing:
|
||||
#COMMANDLINE_LIBRARY=READLINE
|
||||
|
||||
|
||||
@@ -13,21 +13,24 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
OS_CLASS = hpux
|
||||
ARCH_CLASS = parisc
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500
|
||||
POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_NO +=
|
||||
# When compiling with gcc, static builds need two more libraries (*sigh*)
|
||||
POSIX_LDLIBS_GNU_YES_STATIC_YES += -lpthread -l:libdld.sl
|
||||
POSIX_LDLIBS_YES = $(POSIX_LDLIBS_GNU_$(GNU)_STATIC_$(STATIC_BUILD))
|
||||
# Posix stuff is not set here as "-mt" (in CONFIG.hpux-parisc.hpux-parisc)
|
||||
# does all defines and linker options to make posix threads work
|
||||
|
||||
OP_SYS_CPPFLAGS = -D_HPUX_SOURCE -DHP_UX
|
||||
OP_SYS_CPPFLAGS = -DHP_UX
|
||||
OP_SYS_CFLAGS = -D_HPUX_SOURCE
|
||||
OP_SYS_CXXFLAGS =
|
||||
|
||||
SHARED_LIBRARIES=YES
|
||||
SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
|
||||
LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
|
||||
LOADABLE_SHRLIB_PREFIX =
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=parisc-hp-unix
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
|
||||
@@ -26,9 +26,13 @@ OP_SYS_LDLIBS = -lrt
|
||||
|
||||
#ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=ppc_82xx
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
|
||||
|
||||
@@ -18,21 +18,17 @@ CODE_CPPFLAGS = -D_REENTRANT
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
|
||||
POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_YES = -lpthread
|
||||
POSIX_LDLIBS_NO =
|
||||
|
||||
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
|
||||
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
|
||||
OP_SYS_CPPFLAGS += -Dlinux
|
||||
OP_SYS_LDFLAGS +=
|
||||
OP_SYS_LDLIBS += -lrt
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
ARCH_DEP_CFLAGS += -mcpu=pentium
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
PROD_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%/lib/$(T_A)))
|
||||
SHRLIB_LDFLAGS_YES += $(sort $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%/lib/$(T_A)))
|
||||
PROD_LDFLAGS += $(PROD_LDFLAGS_$(SHARED_LIBRARIES))
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=i586-pc-linux-gnu
|
||||
@@ -40,7 +36,3 @@ ifdef CROSS
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
#Allow R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_SHRLIB_LIBS += pthread rt
|
||||
|
||||
|
||||
|
||||
33
configure/os/CONFIG.Common.linux-x86-borland
Normal file
33
configure/os/CONFIG.Common.linux-x86-borland
Normal file
@@ -0,0 +1,33 @@
|
||||
# CONFIG.Common.linux-x86-borland
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86-borland
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = Linux
|
||||
ARCH_CLASS = x86
|
||||
|
||||
POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_YES = libpthread.so
|
||||
|
||||
OP_SYS_CPPFLAGS += -D_BSD_SOURCE -D_SVID_SOURCE
|
||||
OP_SYS_CPPFLAGS += -Dlinux
|
||||
OP_SYS_LDLIBS = libc.so libm.so libdl.so librt.so
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
ARCH_DEP_CFLAGS += -mcpu=pentium
|
||||
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=i586-pc-linux-gnu
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
12
configure/os/CONFIG.Common.linux-x86-debug
Normal file
12
configure/os/CONFIG.Common.linux-x86-debug
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.Common.linux-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86 with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.linux-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all linux-x86 target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
|
||||
@@ -21,7 +21,6 @@ POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_NO +=
|
||||
|
||||
OP_SYS_CPPFLAGS = -D_OSF_SOURCE
|
||||
OP_SYS_LDLIBS +=
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=alpha-osf
|
||||
|
||||
@@ -19,22 +19,16 @@ SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
|
||||
|
||||
# Flags for solaris 6
|
||||
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
|
||||
POSIX_LDLIBS_YES_6 += -lthread
|
||||
|
||||
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
|
||||
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
|
||||
POSIX_LDLIBS_YES_6 += -lthread
|
||||
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
|
||||
|
||||
POSIX_CPPFLAGS_NO +=
|
||||
POSIX_LDLIBS_NO +=
|
||||
|
||||
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
|
||||
# socket and nsl needed by libca.a
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
|
||||
# -R does not work unless full path names are specified
|
||||
# use loader's -R option
|
||||
PROD_LDFLAGS += $(sort $(DEPLIB_DIRS:%=-R%))
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=sparc-sun-solaris2
|
||||
@@ -42,9 +36,16 @@ ifdef CROSS
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
# Lib for solaris 8
|
||||
SYS_SHRLIB_LIBS_8 += Crun
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
|
||||
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
|
||||
|
||||
#Allow R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_SHRLIB_LIBS += posix4 pthread $(SYS_SHRLIB_LIBS_$(SOLARIS_VERSION))
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
GNU_DIR = /opt/gnu
|
||||
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
||||
LDFLAGS_READLINE += -R$(GNU_DIR)/lib
|
||||
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
# Use archive if there is a problem with the readline shared library
|
||||
#LDLIBS_READLINE = -Bstatic -lreadline -Bdynamic -lcurses
|
||||
|
||||
|
||||
12
configure/os/CONFIG.Common.solaris-sparc-debug
Normal file
12
configure/os/CONFIG.Common.solaris-sparc-debug
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.Common.solaris-sparc-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-sparc with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.solaris-sparc-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all solaris-sparc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
|
||||
|
||||
@@ -9,4 +9,7 @@
|
||||
|
||||
# Include definitions common to all solaris-sparc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
|
||||
# CONFIG.Common.solaris-sparc
|
||||
|
||||
OP_SYS_LDLIBS_8 = -lc
|
||||
|
||||
|
||||
@@ -19,23 +19,17 @@ SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
|
||||
|
||||
# Flags for solaris 6
|
||||
POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
|
||||
POSIX_LDLIBS_YES_6 += -lthread
|
||||
|
||||
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
|
||||
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
|
||||
POSIX_LDLIBS_YES_6 += -lthread
|
||||
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
|
||||
|
||||
POSIX_CPPFLAGS_NO +=
|
||||
POSIX_LDLIBS_NO +=
|
||||
|
||||
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
|
||||
ARCH_DEP_CPPFLAGS = -D_X86_
|
||||
# socket and nsl needed by libca.a
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
|
||||
# -R does not work unless full path names are specified
|
||||
# use loader's -R option
|
||||
#PROD_LDFLAGS += $(sort $(DEPLIB_DIRS:%=-R%))
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=x86-sun-solaris2
|
||||
@@ -43,9 +37,6 @@ ifdef CROSS
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
# Lib for solaris 8
|
||||
SYS_SHRLIB_LIBS_8 += Crun
|
||||
|
||||
#Allow R3.13 built extensions to load R3.14 shared libs
|
||||
SYS_SHRLIB_LIBS += posix4 pthread $(SYS_SHRLIB_LIBS_$(SOLARIS_VERSION))
|
||||
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
OP_SYS_LDLIBS_8 += -lCrun -lc -lCstd
|
||||
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
|
||||
|
||||
@@ -16,18 +16,21 @@ ARCH_CLASS = x86
|
||||
CODE_CPPFLAGS = -D__EXTENSIONS__
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500
|
||||
POSIX_LDLIBS_YES += -lpthread -lthread
|
||||
POSIX_CPPFLAGS_NO =
|
||||
POSIX_LDLIBS_NO +=
|
||||
POSIX_LDLIBS_YES += -lpthread -lthread
|
||||
|
||||
OP_SYS_CPPFLAGS = -DSUNOS4
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
GNU_TARGET=x86-sun-sunos4
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
|
||||
|
||||
@@ -29,14 +29,19 @@ LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
PROD_DEPLIBS = $(foreach lib,$(PROD_LIBS) $(USR_LIBS),$(firstword $(wildcard \
|
||||
$($(lib)_DIR)/$(LIB_PREFIX)$(lib).*)))
|
||||
|
||||
PROD_LDLIBS = $($*_LDLIBS:%=-l%) $(PROD_LIBS:%=-l%) $(USR_LIBS:%=-l%)\
|
||||
$($*_SYS_LIBS:%=-l%) $(SYS_PROD_LIBS:%=-l%)
|
||||
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
|
||||
PROD_LDLIBS = $(addprefix -l,$($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)\
|
||||
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
|
||||
|
||||
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
|
||||
PROD_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
PRODDIR_LDFLAGS += $(sort $(PROD_DEPLIB_DIRS:%=-L%))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prod definitions
|
||||
@@ -47,10 +52,11 @@ NMS = $(PRODNAME:%$(EXE)=%.nm)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# R3.13 compatability object library definitions
|
||||
# Does not allow $*_SRCS or $*_OBJS. Allows only OBJLIB_SRCS and OBJLIB_OBJS.
|
||||
OBJLIB += $(OBJLIB_$(OS_CLASS))
|
||||
OBJLIB_SUFFIX = Library.o
|
||||
OBJLIBNAME = $(addsuffix $(OBJLIB_SUFFIX),$(basename $(OBJLIB)))
|
||||
OBJLIB_LD_OBJS = $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
|
||||
OBJLIB_LD_OBJS += $(addsuffix $(OBJ),$(basename $(OBJLIB_SRCS) $(OBJLIB_OBJS)))
|
||||
PRODTARGETS += $(OBJLIBNAME)
|
||||
INSTALL_PROD += $(OBJLIBNAME:%=$(INSTALL_BIN)/%)
|
||||
OBJLIB_MUNCHNAME += $(OBJLIBNAME:%$(OBJ)=%$(MUNCH_SUFFIX))
|
||||
@@ -60,7 +66,6 @@ CTDT_SRCS += $(OBJLIBNAME:%$(OBJ)=%_ctdt.c)
|
||||
CTDT_OBJS += $(OBJLIBNAME:%$(OBJ)=%_ctdt$(OBJ))
|
||||
NMS += $(OBJLIBNAME:%$(OBJ)=%.nm)
|
||||
OBJLIB_LINK.cpp = $(LD) -o $@ $(OBJLIB_LD_OBJS)
|
||||
TARGET_SRCS += $(foreach name, $(OBJLIB), $($(name)_SRCS))
|
||||
SRC_FILES += $(OBJLIB_SRCS)
|
||||
|
||||
#--------------------------------------------------
|
||||
@@ -90,7 +95,6 @@ OP_SYS_CPPFLAGS += -DvxWorks
|
||||
OP_SYS_CFLAGS += -fno-builtin
|
||||
#OP_SYS_CFLAGS += -fno-builtin -fdollars-in-identifiers
|
||||
OP_SYS_LDFLAGS +=
|
||||
OP_SYS_LDLIBS +=
|
||||
|
||||
# Fix for vxWorks headers using macros defined in
|
||||
# vxWorks.h but not including vxWorks.h
|
||||
@@ -111,13 +115,19 @@ CODE_CXXFLAGS = -fno-implicit-templates
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
|
||||
POSIX_CPPFLAGS_NO =
|
||||
|
||||
#--------------------------------------------------
|
||||
# no shared libs for vxWorks
|
||||
SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# osithead use default stack, YES or NO override
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
|
||||
#--------------------------------------------------
|
||||
# Link definitions
|
||||
LINK.cpp = $(LD) -o $@ $(STATIC_LDFLAGS) $(LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
|
||||
LINK.cpp = $(LD) -o $@ $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS)
|
||||
LINK.cpp += $(PROD_LDFLAGS) $(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Definitions for compile of *_ctdt.c file
|
||||
|
||||
@@ -15,15 +15,11 @@ ARCH_CLASS = x86
|
||||
|
||||
EXE=.exe
|
||||
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
POSIX_CPPFLAGS_NO =
|
||||
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
# _POSIX_SOURCE eliminates select()
|
||||
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
#POSIX_LDLIBS_YES += -lpthread
|
||||
POSIX_LDLIBS_NO =
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
OP_SYS_CPPFLAGS += -DCYGWIN32 -U_WIN32
|
||||
OP_SYS_LDFLAGS +=
|
||||
OP_SYS_LDLIBS +=
|
||||
####OP_SYS_LDLIBS += -lrt
|
||||
|
||||
|
||||
@@ -14,12 +14,5 @@ RM = rm -f
|
||||
MKDIR = mkdir
|
||||
RMDIR = rm -rf
|
||||
|
||||
# Set LD_LIBRARY_PATH for shared library builds
|
||||
ifneq ($(EPICS_BASE),$(INSTALL_LOCATION))
|
||||
export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(EPICS_BASE_HOST_LIB):$(LD_LIBRARY_PATH)
|
||||
else
|
||||
export LD_LIBRARY_PATH := $(INSTALL_HOST_LIB):$(LD_LIBRARY_PATH)
|
||||
endif
|
||||
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.UnixCommon.Common
|
||||
|
||||
12
configure/os/CONFIG.aix-ppc-gnu.Common
Normal file
12
configure/os/CONFIG.aix-ppc-gnu.Common
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.aix-ppc-gnu.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for aix-ppc gnu compiler host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.aix-ppc-gnu.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to aix-ppc hosts
|
||||
include $(CONFIG)/os/CONFIG.aix-ppc.Common
|
||||
|
||||
22
configure/os/CONFIG.aix-ppc-gnu.aix-ppc-gnu
Normal file
22
configure/os/CONFIG.aix-ppc-gnu.aix-ppc-gnu
Normal file
@@ -0,0 +1,22 @@
|
||||
# CONFIG.aix-ppc.aix-ppc
|
||||
#
|
||||
#
|
||||
# Definitions for aix-ppc host - aix-ppc target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.aix-ppc.aix-ppc
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
GNU_DIR = /usr/common/usg/gcc/3.2.1
|
||||
|
||||
CC = $(GNU_BIN)/gcc
|
||||
CCC = $(GNU_BIN)/g++
|
||||
|
||||
AR = ar
|
||||
ARFLAGS = rcv
|
||||
RANLIB = ranlib -t
|
||||
|
||||
SHRLIB_LDFLAGS = -shared
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared
|
||||
|
||||
10
configure/os/CONFIG.aix-ppc.Common
Normal file
10
configure/os/CONFIG.aix-ppc.Common
Normal file
@@ -0,0 +1,10 @@
|
||||
# CONFIG.aix-ppc.Common
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for aix-ppc host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.aix-ppc.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
@@ -14,6 +14,18 @@ GNU_DIR = /usr
|
||||
CC = $(GNU_BIN)/cc
|
||||
CCC = $(GNU_BIN)/c++
|
||||
|
||||
#
|
||||
# Darwin shared libraries
|
||||
#
|
||||
SHRLIB_LDFLAGS = -dynamiclib -flat_namespace -undefined suppress \
|
||||
-install_name $(firstword $(SHRLIB_SEARCH_DIRS))/$@ \
|
||||
-compatibility_version $(EPICS_VERSION).$(EPICS_REVISION) \
|
||||
-current_version $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
||||
SHRLIB_SUFFIX = .$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).dylib
|
||||
SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
|
||||
|
||||
LOADABLE_SHRLIB_LDFLAGS = -bundle -flat_namespace -undefined suppress
|
||||
|
||||
#
|
||||
# Position-independent code is the default on Darwin.
|
||||
#
|
||||
@@ -21,14 +33,14 @@ CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
#
|
||||
# -O3 is too agressive on Darwin with the April 2002 Developer Tools
|
||||
# and causes problems with undefined references to non-virtual thunks
|
||||
# with the August 2002 Developer Tools.
|
||||
# Add support for Objective-C source
|
||||
#
|
||||
OPT_CFLAGS_YES = -O2
|
||||
OPT_CXXFLAGS_YES = -O2
|
||||
vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
%.o: %.m
|
||||
$(COMPILE.c) -c $<
|
||||
|
||||
#
|
||||
# Static linking fails on OS X (missing crt0.o)
|
||||
# Pedantic produces way too many unnecessary messages
|
||||
#
|
||||
STATIC_LDFLAGS_YES =
|
||||
CONFORM_CFLAGS_STRICT=-ansi
|
||||
CONFORM_CXXFLAGS_STRICT=-ansi
|
||||
|
||||
@@ -10,12 +10,22 @@
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
#GNU_DIR = /opt/gnu
|
||||
|
||||
CC = $(GNU_BIN)/gcc
|
||||
CCC = $(GNU_BIN)/g++
|
||||
AR = ar -rc
|
||||
RANLIB=
|
||||
LD = ld -r
|
||||
|
||||
SHRLIB_LDFLAGS_YES += -fPIC
|
||||
STATIC_LDFLAGS_YES= -Wl,-a,archive
|
||||
STATIC_LDFLAGS_NO =
|
||||
|
||||
STATIC_LDLIBS_YES = -Wl,-a,default
|
||||
STATIC_LDLIBS_NO =
|
||||
|
||||
# Switch explicitly from default DCE threads to posix threads
|
||||
POSIX_CPPFLAGS_YES += -D_REENTRANT -D_PTHREADS -D_POSIX_C_SOURCE=199506L
|
||||
USR_SYS_LIBS += pthread
|
||||
|
||||
# C++ templates need PIC definition also in link phase
|
||||
SHRLIB_LDFLAGS += -shared -fPIC
|
||||
LOADABLE_SHRLIB_LDFLAGS += $(SHRLIB_LDFLAGS)
|
||||
|
||||
@@ -11,4 +11,3 @@
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
WIND_HOST_TYPE = parisc-hpux10
|
||||
|
||||
|
||||
@@ -18,9 +18,8 @@ LD = ld -r
|
||||
CONFORM_CFLAGS_ANSI = -Aa
|
||||
CONFORM_CFLAGS_STRICT = -Aa
|
||||
CONFORM_CFLAGS_TRAD = -Ac
|
||||
######################################################
|
||||
# +DAportable causes portable object code to be created for execution
|
||||
# on different PA-Risc machines
|
||||
|
||||
# Portability across different PA-RISC architecture versions
|
||||
CODE_CFLAGS = +DAportable +z
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
@@ -29,28 +28,28 @@ OPT_CFLAGS_NO = -g
|
||||
|
||||
CXXCMPLR=STRICT
|
||||
|
||||
# Selective filter for getting rid of bogus compiler warnings
|
||||
COMPILE_FILTER.cpp = 2>&1 | $(EPICS_BASE)/configure/tools/filterWarnings.pl
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
CONFORM_CXXFLAGS_NORMAL = -AA -mt -Aa
|
||||
#CONFORM_CXXFLAGS_STRICT = +p
|
||||
CONFORM_CXXFLAGS_STRICT = -AA -mt -Aa
|
||||
CONFORM_CXXFLAGS_NORMAL = -AA -Aa -mt
|
||||
CONFORM_CXXFLAGS_STRICT = -AA -Aa -mt
|
||||
#CONFORM_CXXFLAGS_STRICT += +p
|
||||
|
||||
######################################################
|
||||
# +DAportable causes portable object code to be created for execution
|
||||
# on different PA-Risc machines
|
||||
# Portability across different PA-RISC architecture versions
|
||||
CODE_CXXFLAGS = +DAportable +z
|
||||
WARN_CXXFLAGS_YES = +w
|
||||
WARN_CXXFLAGS_NO =
|
||||
OPT_CXXFLAGS_YES = +O3
|
||||
OPT_CXXFLAGS_NO = -g
|
||||
|
||||
STATIC_LDFLAGS_YES= -Wl,-a,archive -l:libc.sl
|
||||
# shared libs will be found by searching environment variable SHLIB_PATH,
|
||||
# then by searching the specified path (see below)
|
||||
STATIC_LDFLAGS_NO = -Wl,+b$(DEFAULT_SHRLIB_SEARCH_PATH),+s
|
||||
STATIC_LDLIBS_YES=
|
||||
STATIC_LDLIBS_NO=
|
||||
STATIC_LDFLAGS_YES= -Wl,-a,archive
|
||||
STATIC_LDFLAGS_NO =
|
||||
|
||||
STATIC_LDLIBS_YES = -Wl,-a,default
|
||||
STATIC_LDLIBS_NO =
|
||||
|
||||
TARGET_LDFLAGS += -AA -mt
|
||||
|
||||
SHRLIB_LDFLAGS_YES = -b
|
||||
SHRLIB_LDFLAGS = -b
|
||||
LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS)
|
||||
|
||||
@@ -11,3 +11,12 @@ GNU_DIR = /usr
|
||||
|
||||
CC = $(GNU_BIN)/gcc
|
||||
CCC = $(GNU_BIN)/g++
|
||||
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS += -shared -z defs
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared
|
||||
|
||||
|
||||
13
configure/os/CONFIG.linux-x86-borland.Common
Normal file
13
configure/os/CONFIG.linux-x86-borland.Common
Normal file
@@ -0,0 +1,13 @@
|
||||
# CONFIG.linux-x86-borland.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86-borland host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86-borland.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
WIND_HOST_TYPE = x86-linux
|
||||
223
configure/os/CONFIG.linux-x86-borland.linux-x86-borland
Normal file
223
configure/os/CONFIG.linux-x86-borland.linux-x86-borland
Normal file
@@ -0,0 +1,223 @@
|
||||
# CONFIG.linux-x86-borland.linux-x86-borland
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Definitions for linux-x86-borland host - linux-x86-borland target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86-borland.linux-x86-borland
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
SHRLIB_CFLAGS =
|
||||
|
||||
GNU_DIR = /usr
|
||||
|
||||
KYLIX=1
|
||||
|
||||
BORLAND_INC_STLPORT = $(BORLAND)/include/stlport
|
||||
BORLAND_INC = $(BORLAND)/include
|
||||
BORLAND_LIB = $(BORLAND)/lib
|
||||
BORLAND_BIN = $(BORLAND)/bin
|
||||
|
||||
WINLINK = $(BORLAND_BIN)/ilink -q
|
||||
#
|
||||
# Configure Borland C compiler
|
||||
# -q suppress compiler identification banner
|
||||
# -a8 quad word alignment
|
||||
#CCLINKOPT = -q -a8 -I/usr/include
|
||||
CCLINKOPT = -q -a8
|
||||
CC = $(BORLAND_BIN)/bc++ $(CCLINKOPT)
|
||||
LD = $(BORLAND_BIN)/bc++ -r
|
||||
|
||||
#
|
||||
# __STDC__=0 works but not as cleanly as with
|
||||
# Microsoft Visual C++.
|
||||
# The Borland header files use ifdef __STDC__
|
||||
# to disable many nice things. This is overridden
|
||||
# by defining NO_BORLAND_STDC in the Makefile.
|
||||
#
|
||||
ifdef NO_BORLAND_STDC
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
else
|
||||
CONFORM_CFLAGS_ANSI = -D__STDC__=0
|
||||
CONFORM_CFLAGS_STRICT = -D__STDC__=0
|
||||
endif
|
||||
CONFORM_CFLAGS_TRAD =
|
||||
|
||||
# -w display warnings on
|
||||
# -g0 no limit to warning messages
|
||||
# some warning message here are always disabled because they are
|
||||
# trivial and numerous
|
||||
# -w-8012 Comparing signed and unsigned values
|
||||
# -w-8060 Possibly incorrect assignment
|
||||
# -w-8071 Conversion may lose significant digits
|
||||
WARN_CFLAGS_YES = -w -g0 -w-8012 -w-8060 -w-8071 -w-dup
|
||||
# -w- display warnings off
|
||||
WARN_CFLAGS_NO = -w-
|
||||
|
||||
#
|
||||
# -k- turn off standard stack frame
|
||||
# -H- turn off precompiled headers
|
||||
# -R- don't include browser info in .obj files
|
||||
# -O1 optimization for size
|
||||
# -v- turn off source debugging
|
||||
# -vi control expansion of inline functions
|
||||
OPT_CFLAGS_YES = -k- -H- -R- -O1 -v- -vi
|
||||
#
|
||||
OPT_CFLAGS_NO =
|
||||
|
||||
# OS vendor c preprocessor
|
||||
CPP = $(BORLAND_BIN)/bcpp
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
#
|
||||
# __STDC__=0 works but not as cleanly as with
|
||||
# Microsoft Visual C++.
|
||||
# The Borland header files use ifdef __STDC__
|
||||
# to disable many nice things. This is overridden
|
||||
# by defining NO_BORLAND_STDC in the Makefile.
|
||||
#
|
||||
CCC = $(BORLAND_BIN)/bc++ $(CCLINKOPT)
|
||||
ifndef NO_BORLAND_STDC
|
||||
CONFORM_CXXFLAGS_NORMAL = -D__STDC__=0
|
||||
CONFORM_CXXFLAGS_STRICT = -D__STDC__=0
|
||||
endif
|
||||
|
||||
# -w display warnings on
|
||||
# -g0 no limit to warning messages
|
||||
# -w-8012 Comparing signed and unsigned values
|
||||
# -w-8060 Possibly incorrect assignment
|
||||
# -w-8071 Conversion may lose significant digits
|
||||
# -w-8008 Condition is always true or always false (compile time
|
||||
# know template parameters causes this to spew garbage)
|
||||
# -w-8027 Functions containing reserved words are not expanded inline
|
||||
# (Some compilers are better than others with inline)
|
||||
# -w-8066 Unreachable code (compile time know template parameters
|
||||
# causes this to spew garbage)
|
||||
# -w-8080 'identifier' declared but never used
|
||||
# (instantiating unused static const external parameters is
|
||||
# anachronistic compiler practice)
|
||||
# -w-8004 'identifier' is assigned a value that is never used
|
||||
# (compile time know template parameters
|
||||
# causes this to spew garbage)
|
||||
# -w-8026 Functions with exception specifications are not expanded inline
|
||||
#
|
||||
WARN_CXXFLAGS_YES = -w -g0 -w-8012 -w-8060 -w-8071 -w-8008 -w-8027 -w-8066 -w-8080 -w-8004 -w-8026
|
||||
# -w- display warnings off
|
||||
WARN_CXXFLAGS_NO = -w-
|
||||
|
||||
#
|
||||
# -k- turn off standard stack frame
|
||||
# -H- Turn off precompiled headers
|
||||
# -R- Don't include browser info in .obj files
|
||||
# -O1 optimization for size
|
||||
# -v- turn off source debugging
|
||||
# -vi control expansion of inline functions
|
||||
OPT_CXXFLAGS_YES = -k- -H- -R- -O1 -v- -vi
|
||||
#
|
||||
OPT_CXXFLAGS_NO =
|
||||
|
||||
# -c case sensitive linking
|
||||
# -C clear state before linking
|
||||
# -Gi generate import library
|
||||
# -Gn no state files
|
||||
# -Tpd targets a Windows .DLL file
|
||||
# -x no map
|
||||
# -w display warnings on
|
||||
#LINK_OPT_FLAGS_YES = -c -C -Gi -Gn -Tpd -x -w
|
||||
#LINK_OPT_FLAGS_NO = -c -C -Gi -Gn -Tpd -x -w-
|
||||
#Linux_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT)) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
|
||||
OPT_LDFLAGS =
|
||||
|
||||
ARCH_DEP_CFLAGS=
|
||||
|
||||
# to identify the general architecture class:
|
||||
# should be BSD, SYSV, WIN32, ...
|
||||
# is: WIN32, sun4, hpux, linux, ...
|
||||
#
|
||||
OS_CLASS=Linux
|
||||
|
||||
|
||||
OBJ=.o
|
||||
|
||||
# Problem: BorlandC does not recognize *.cc as C++ source,
|
||||
# we have to compile xx.cc using the flag -P xx.cc,
|
||||
SOURCE_CXXFLAG = -P
|
||||
|
||||
# Operating system flags
|
||||
OP_SYS_CFLAGS =
|
||||
|
||||
#
|
||||
# Borland specific include files
|
||||
#
|
||||
OP_SYS_INCLUDES = -I/usr/include
|
||||
#
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
|
||||
PROD_DEPLIBS= $(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).so, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).a, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
SHRLIB_DEPLIBS= $(foreach lib,$(LIB_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).so, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).a, \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_EXT), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
PROD_SYS_DEPLIBS= $(foreach lib,$(PROD_SYS_LIBS), \
|
||||
$(firstword $(wildcard \
|
||||
/lib/$(LIB_PREFIX)$(lib).so \
|
||||
/lib/$(LIB_PREFIX)$(lib).a \
|
||||
/usr/lib/$(LIB_PREFIX)$(lib).so \
|
||||
/usr/lib/$(LIB_PREFIX)$(lib).a) \
|
||||
$(lib)))
|
||||
|
||||
PROD_LDLIBS = $(addprefix lib, $($*_LDLIBS)) \
|
||||
$(notdir $(PROD_DEPLIBS)) \
|
||||
$(notdir $(PROD_SYS_DEPLIBS)) \
|
||||
$(addprefix lib, $($*_SYS_LIBS) $(USR_SYS_LIBS))
|
||||
|
||||
SHRLIB_LDLIBS = $(addprefix lib, $($*_LDLIBS)) \
|
||||
$(notdir $(SHRLIB_DEPLIBS)) \
|
||||
$(addprefix lib, $($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) $(LDLIBS)
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
LDLIBS_SHARED_YES = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
empty:=
|
||||
space:= $(empty) $(empty)
|
||||
PROD_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(PROD_DEPLIBS))
|
||||
SHRLIB_DEPLIB_DIRS = $(dir $($*_DEPLIBS)) $(dir $(SHRLIB_DEPLIBS))
|
||||
|
||||
PRODDIR_LDFLAGS = -L$(subst $(space),:,$(sort $(PROD_DEPLIB_DIRS) $(BORLAND_LIB)))
|
||||
SHRLIBDIR_LDFLAGS = -L$(subst $(space),:,$(sort $(SHRLIB_DEPLIB_DIRS) $(BORLAND_LIB)))
|
||||
|
||||
# -c case sensitive linking
|
||||
# -C clear state before linking
|
||||
# -Gn no state files
|
||||
# -Tpe targets a Windows .EXE file
|
||||
# -x no map
|
||||
# -w display warnings on
|
||||
LDFLAGS += -c -C -Gn -x -w
|
||||
LINKLIBS=rtl.a visualclx.a rtle.a libborcrtl.a libborstl.a libborunwind.a
|
||||
|
||||
LINK.cpp = $(WINLINK) $(STATIC_LDFLAGS) $(PRODDIR_LDFLAGS) $(LDFLAGS) -Tpe -w-dup
|
||||
LINK.cpp += $(PROD_LDFLAGS) borinit.o /usr/lib/crt1.o $(PROD_LD_OBJS)
|
||||
LINK.cpp += , $@ ,,$(LINKLIBS) $(PROD_LDLIBS)
|
||||
|
||||
LINK.shrlib = $(WINLINK) $(STATIC_LDFLAGS) $(SHRLIBDIR_LDFLAGS) $(LDFLAGS) -Tpd -Gi
|
||||
LINK.shrlib+= $(LIB_LDFLAGS) borinitso.o $(LIBRARY_LD_OBJS)
|
||||
LINK.shrlib+= , $@ ,,$(LINKLIBS) $(SHRLIB_LDLIBS)
|
||||
|
||||
12
configure/os/CONFIG.linux-x86-debug.Common
Normal file
12
configure/os/CONFIG.linux-x86-debug.Common
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.linux-x86-debug.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86 debug with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86-debug.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to linux-x86 hosts
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.Common
|
||||
|
||||
11
configure/os/CONFIG.linux-x86-debug.linux-x86-debug
Normal file
11
configure/os/CONFIG.linux-x86-debug.linux-x86-debug
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.linux-x86-debug.linux-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86 host - linux-x86 target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86-debug.linux-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
WIND_HOST_TYPE = i386-linux2
|
||||
WIND_HOST_TYPE = x86-linux
|
||||
|
||||
@@ -13,3 +13,12 @@ GNU_DIR = /usr
|
||||
|
||||
CC = $(GNU_BIN)/gcc
|
||||
CCC = $(GNU_BIN)/g++
|
||||
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS += -shared -z defs
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared
|
||||
|
||||
|
||||
@@ -40,7 +40,8 @@ STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS_YES = -shared
|
||||
SHRLIB_LDFLAGS = -shared
|
||||
LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS)
|
||||
|
||||
############# ???????????
|
||||
#####ACC_SFLAGS_YES= -non_shared
|
||||
|
||||
12
configure/os/CONFIG.solaris-sparc-debug.Common
Normal file
12
configure/os/CONFIG.solaris-sparc-debug.Common
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.solaris-sparc-debug.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-sparc debug with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-sparc-debug.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to solaris-sparc hosts
|
||||
include $(CONFIG)/os/CONFIG.solaris-sparc.Common
|
||||
|
||||
11
configure/os/CONFIG.solaris-sparc-debug.solaris-sparc-debug
Normal file
11
configure/os/CONFIG.solaris-sparc-debug.solaris-sparc-debug
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.solaris-sparc-debug.solaris-sparc-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-sparc host - solaris-sparc target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-sparc-debug.solaris-sparc-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.solaris-sparc.solaris-sparc
|
||||
|
||||
@@ -18,10 +18,12 @@ AR = ar -rc
|
||||
RANLIB=
|
||||
LD = ld -r
|
||||
|
||||
STATIC_LDFLAGS_YES= -Bstatic
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Bdynamic
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
#SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
SHRLIB_LDFLAGS = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
SHRLIB_LDFLAGS += -z defs
|
||||
LOADABLE_SHRLIB_LDFLAGS = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
|
||||
|
||||
@@ -19,14 +19,16 @@ RANLIB =
|
||||
|
||||
#Prepare the object code for profiling with prof. (YES or NO)
|
||||
PROFILE=NO
|
||||
#Prepare the object code for profiling with gprof. (YES or NO)
|
||||
GPROF=NO
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
CONFORM_CFLAGS_ANSI = -Xa -v
|
||||
CONFORM_CFLAGS_STRICT = -Xc -v
|
||||
CONFORM_CFLAGS_TRAD = -Xs
|
||||
PROF_CFLAGS_YES = -p
|
||||
PROF_CFLAGS_NO =
|
||||
CODE_CFLAGS = -KPIC $(PROF_CFLAGS_$(PROFILE))
|
||||
GPROF_CFLAGS_YES = -xpg
|
||||
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
OPT_CFLAGS_YES = -xO4
|
||||
@@ -36,18 +38,22 @@ OPT_CFLAGS_NO = -g
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
PROF_CXXFLAGS_YES = -p
|
||||
PROF_CXXFLAGS_NO =
|
||||
CODE_CXXFLAGS = -KPIC $(PROF_CXXFLAGS_$(PROFILE))
|
||||
GPROF_CXXFLAGS_YES = -xpg
|
||||
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
WARN_CXXFLAGS_YES = +w
|
||||
WARN_CXXFLAGS_NO =
|
||||
OPT_CXXFLAGS_YES = -O
|
||||
OPT_CXXFLAGS_NO = -g
|
||||
|
||||
CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
|
||||
STATIC_LDFLAGS_YES= -Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
SHRLIB_LDFLAGS += -z defs -KPIC -G -h $@
|
||||
LOADABLE_SHRLIB_LDFLAGS += -KPIC -G -h $@
|
||||
|
||||
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
|
||||
|
||||
|
||||
@@ -17,3 +17,9 @@ CCC = $(GNU_BIN)/g++
|
||||
AR = ar -rc
|
||||
RANLIB=
|
||||
LD = ld -r
|
||||
|
||||
SHRLIB_LDFLAGS = -z defs -G -h $@
|
||||
LOADABLE_SHRLIB_LDFLAGS += -G -h $@
|
||||
|
||||
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@ CONFORM_CFLAGS_ANSI = -Xa -v
|
||||
CONFORM_CFLAGS_STRICT = -Xc -v
|
||||
CONFORM_CFLAGS_TRAD = -Xs
|
||||
PROF_CFLAGS_YES = -p
|
||||
PROF_CFLAGS_NO =
|
||||
CODE_CFLAGS = -KPIC $(PROF_CFLAGS_$(PROFILE))
|
||||
GPROF_CFLAGS_YES = -xpg
|
||||
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
OPT_CFLAGS_YES = -xO4
|
||||
@@ -39,8 +39,8 @@ OPT_CFLAGS_NO = -g
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
PROF_CXXFLAGS_YES = -p
|
||||
PROF_CXXFLAGS_NO =
|
||||
CODE_CXXFLAGS = -KPIC $(PROF_CXXFLAGS_$(PROFILE))
|
||||
GPROF_CXXFLAGS_YES = -xpg
|
||||
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
WARN_CXXFLAGS_YES = +w
|
||||
WARN_CXXFLAGS_NO =
|
||||
OPT_CXXFLAGS_YES = -O
|
||||
@@ -51,5 +51,8 @@ STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS_YES = -G -h $@ -z ignore -z combreloc -z lazyload
|
||||
SHRLIB_LDFLAGS = -z defs -KPIC -G -h $@
|
||||
LOADABLE_SHRLIB_LDFLAGS = -KPIC -G -h $@
|
||||
|
||||
OP_SYS_LDFLAGS = -z ignore -z combreloc -z lazyload
|
||||
|
||||
|
||||
@@ -44,5 +44,6 @@ STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS_YES = -assert pure-text -h $@
|
||||
SHRLIB_LDFLAGS = -assert pure-text -h $@
|
||||
LOADABLE_SHRLIB_LDFLAGS = -assert pure-text -h $@
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ VALID_BUILDS = Host Ioc
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
BUILD_LIBRARY += $(LOADABLE_BUILD_LIBRARY)
|
||||
|
||||
BORLAND_INC = $(BORLAND)\\include
|
||||
BORLAND_LIB = $(BORLAND)\\lib
|
||||
BORLAND_BIN = $(BORLAND)\\bin
|
||||
@@ -136,8 +138,7 @@ OPT_CXXFLAGS_NO =
|
||||
#
|
||||
# no special libs for static link
|
||||
#
|
||||
STATIC_LDLIBS_YES=
|
||||
STATIC_LDLIBS_NO=
|
||||
LDLIBS = ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib
|
||||
|
||||
# -c case sensitive linking
|
||||
# -C clear state before linking
|
||||
@@ -148,7 +149,7 @@ STATIC_LDLIBS_NO=
|
||||
# -w display warnings on
|
||||
LINK_OPT_FLAGS_YES = -c -C -Gi -Gn -Tpd -x -w
|
||||
LINK_OPT_FLAGS_NO = -c -C -Gi -Gn -Tpd -x -w-
|
||||
WIN32_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
|
||||
WIN32_DLLFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT)) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
|
||||
OPT_LDFLAGS =
|
||||
|
||||
ARCH_DEP_CFLAGS=
|
||||
@@ -181,18 +182,17 @@ OP_SYS_CFLAGS =
|
||||
#
|
||||
OP_SYS_INCLUDES = -I$(BORLAND_INC)
|
||||
#
|
||||
OP_SYS_LDLIBS =
|
||||
|
||||
#
|
||||
# specify dll .def file only if it exists
|
||||
#
|
||||
#DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
|
||||
DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
|
||||
DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(addsuffix .def,$*)))
|
||||
|
||||
#
|
||||
# A WIN32 dll has three parts:
|
||||
# x.dll: the real dll (SHRLIBNAME)
|
||||
# x.lib: what you link to progs that use the dll (LIBNAME)
|
||||
# x.lib: what you link to progs that use the dll (DLL_LINK_LIBNAME)
|
||||
# x.exp: what you need to build the dll (in no variable)
|
||||
#
|
||||
LINK.shrlib = $(WINLINK) $(WIN32_DLLFLAGS) -L$(BORLAND_LIB) -L$(BORLAND_LIB)\\Psdk c0d32.obj
|
||||
@@ -209,45 +209,64 @@ SHRLIB_SUFFIX=.dll
|
||||
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=%$(SHRLIB_SUFFIX))
|
||||
|
||||
|
||||
#
|
||||
# Under WIN32 we have the unique situation where the DLL link creates the
|
||||
# DLL link library xxx.lib and we need to be very careful to avoid replacing
|
||||
# the xxx.lib created by the dll link with an xxx.lib created by $(AR).
|
||||
# Therefore, the object library is named xxxObj.lib
|
||||
#
|
||||
# SHARED_LIBRARIES is YES if we are building a DLL and NO if we aren't
|
||||
# When SHARED_LIBRARIES is YES we are building a DLL link library
|
||||
# and when SHARED_LIBRARIES is NO we are building an object library
|
||||
#
|
||||
DLL_LINK_LIBNAME_YES = $(BUILD_LIBRARY:%=%.lib)
|
||||
DLL_LINK_LIBNAME = $(DLL_LINK_LIBNAME_$(SHARED_LIBRARIES))
|
||||
LIB_PREFIX=
|
||||
LIB_SUFFIX=Obj.lib
|
||||
LIBNAME = $(BUILD_LIBRARY:%=%$(LIB_SUFFIX))
|
||||
LIB_SUFFIX=.lib
|
||||
LIBNAME_NO = $(BUILD_LIBRARY:%=%.lib)
|
||||
LIBNAME = $(LIBNAME_$(SHARED_LIBRARIES))
|
||||
|
||||
# dll install location
|
||||
INSTALL_SHRLIB = $(INSTALL_BIN)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Object lib name suffix
|
||||
OBJECT_LIB_EXT_YES = Obj.lib # object library extension for static build
|
||||
OBJECT_LIB_EXT_NO = .lib # object library extension for dynamic build
|
||||
OBJECT_LIB_EXT = $(OBJECT_LIB_EXT_$(STATIC_BUILD))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Products dependancy definitions
|
||||
PROD_DEPLIBS = $(foreach lib,$(PROD_LIBS) $(USR_LIBS),$(firstword \
|
||||
$($(lib)_DIR)/$(lib)$(OBJECT_LIB_EXT)))
|
||||
PROD_LDLIBS = $($*_DEPLIBS) $(PROD_DEPLIBS) \
|
||||
$($*_SYS_LIBS:%=%.lib) $(SYS_PROD_LIBS:%=%.lib)
|
||||
|
||||
# SYS_PROD_LIBS deprecated
|
||||
# Use PROD_SYS_LIBS
|
||||
|
||||
PROD_DEPLIBS=$(foreach lib, $(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
PROD_LDLIBS += $($*_DEPLIBS) $(PROD_DEPLIBS)
|
||||
PROD_LDLIBS += $(addsuffix .lib, \
|
||||
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS) )
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
#--------------------------------------------------
|
||||
#Libraries dependancy definitions
|
||||
|
||||
# EPICS libs that we need to link the DLL with
|
||||
# (it isnt necessary to rebuild the dll if these change)
|
||||
DLL_DEPLIBS = $(foreach lib,$($*_DLL_LIBS) $(DLL_LIBS),$($(lib)_DIR)/$(lib).lib)
|
||||
# <name>_DLL_LIBS <name>_SYS_DLL_LIBS deprecated.
|
||||
# Use <name>_LIBS and <name>_SYS_LIBS.
|
||||
# DLL_LIBS, and SYS_DLL_LIBS deprecated
|
||||
# Use LIB_LIBS and LIB_SYS_LIBS
|
||||
LIB_LIBS += $(DLL_LIBS)
|
||||
LIB_SYS_LIBS += $(SYS_DLL_LIBS)
|
||||
|
||||
# libs that we need to link the DLL with
|
||||
# (it isnt necessary to rebuild the dll if these change)
|
||||
|
||||
SHRLIB_DEPLIBS += $(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
SHRLIB_LDLIBS += $($*_DLL_DEPLIBS) $($*_DEPLIBS) $(SHRLIB_DEPLIBS)
|
||||
SHRLIB_LDLIBS += $(addsuffix .lib, \
|
||||
$($*_SYS_DLL_LIBS) \
|
||||
$($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS) )
|
||||
|
||||
SHRLIB_LDLIBS = $(DLL_DEPLIBS) $($*_SYS_DLL_LIBS:%=%.lib) \
|
||||
$(SYS_DLL_LIBS:%=%.lib) $(OP_SYS_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
|
||||
@@ -263,14 +282,11 @@ LDFLAGS += -c -C -Gn -Tpe -x -w -L$(BORLAND_LIB) -L$(BORLAND_LIB)\\Psdk
|
||||
LINKSTARTUP = c0x32.obj
|
||||
LINKLIBS=import32.lib cw32$(LIBSUF).lib
|
||||
|
||||
LINK.cpp = $(WINLINK) $(STATIC_LDFLAGS) $(LDFLAGS) $(LINKSTARTUP) $(subst /,\\,$(PROD_LD_OBJS))
|
||||
LINK.cpp += , $@ ,,$(LINKLIBS) $(subst /,\\,$(LDLIBS))
|
||||
LINK.cpp = $(WINLINK) $(STATIC_LDFLAGS) $(LDFLAGS) $(PROD_LDFLAGS) $(LINKSTARTUP) $(subst /,\\,$(PROD_LD_OBJS))
|
||||
LINK.cpp += , $@ ,,$(LINKLIBS) $(subst /,\\,$(PROD_LDLIBS))
|
||||
|
||||
#--------------------------------------------------
|
||||
|
||||
# override of CONFIG_SITE default
|
||||
SHARED_LIBRARIES = YES
|
||||
|
||||
# override of CONFIG_COMMON
|
||||
HDEPENDS_INCLUDES_MKMF = $(filter-out $(BORLAND_INC),$(subst -I,,$(INCLUDES)))
|
||||
|
||||
|
||||
@@ -19,6 +19,13 @@ AR = ar -rc
|
||||
LD = ld -r
|
||||
RANLIB = ranlib
|
||||
|
||||
CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
# Avoid position-independent code is always generated message
|
||||
SHRLIB_CFLAGS =
|
||||
|
||||
# -ansi eliminates strdup
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT = -pedantic
|
||||
CONFORM_CXXFLAGS_ANSI =
|
||||
CONFORM_CXXFLAGS_STRICT = -pedantic
|
||||
|
||||
|
||||
|
||||
12
configure/os/CONFIG.win32-x86-debug.Common
Normal file
12
configure/os/CONFIG.win32-x86-debug.Common
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.win32-x86-debug.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win32-x86 debug with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-debug.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to win32-x86 hosts
|
||||
include $(CONFIG)/os/CONFIG.win32-x86.Common
|
||||
|
||||
11
configure/os/CONFIG.win32-x86-debug.win32-x86-debug
Normal file
11
configure/os/CONFIG.win32-x86-debug.win32-x86-debug
Normal file
@@ -0,0 +1,11 @@
|
||||
# CONFIG.solaris-x86-debug.solaris-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86 debug compiler host - solaris-x86 debug compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-x86-debug.solaris-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.win32-x86.win32-x86
|
||||
|
||||
@@ -16,10 +16,11 @@ PATH_FILTER = $(subst /,\\,$(1))
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
BUILD_LIBRARY += $(LOADABLE_BUILD_LIBRARY)
|
||||
|
||||
#
|
||||
# "\ " forces gnu make to keep this as one token
|
||||
#
|
||||
MSVISC = c:\\Program\ Files\\DevStudio\\Vc
|
||||
WINLINK = link
|
||||
|
||||
RCCMD = rc -l 0x409 $(INCLUDES) -fo $@ $<
|
||||
@@ -30,7 +31,7 @@ BAFCMD = bscmake /nologo /o $@
|
||||
|
||||
#
|
||||
# Configure OS vendor C compiler
|
||||
CC = cl
|
||||
CC = cl
|
||||
|
||||
#
|
||||
# __STDC__=0 is a real great idea of Jeff that gives us both:
|
||||
@@ -47,13 +48,15 @@ CONFORM_CFLAGS_TRAD = /nologo
|
||||
#
|
||||
# /W<N> use warning level N
|
||||
# (maximum (lint type) warnings at level 4)
|
||||
WARN_CFLAGS_YES = /W3
|
||||
# /w44355 set "'this' used in the base initializer list" to be level 4
|
||||
WARN_CFLAGS_YES = /W3 /w44355
|
||||
WARN_CFLAGS_NO = /W1
|
||||
|
||||
#
|
||||
# /Ox maximum optimizations
|
||||
# /MD use MSVCRT (run-time as DLL, multi-thread support)
|
||||
# /GL whole program optimization
|
||||
# /Zi generate program database for debugging information
|
||||
OPT_CFLAGS_YES = /Ox /GL
|
||||
|
||||
#
|
||||
@@ -62,7 +65,9 @@ OPT_CFLAGS_YES = /Ox /GL
|
||||
# /Fr create source browser file
|
||||
# /GZ catch bugs occurring only in optimized code
|
||||
# /D_CRTDBG_MAP_ALLOC
|
||||
OPT_CFLAGS_NO = /Zi /DEPICS_FREELIST_DEBUG
|
||||
# /RTCsu catch bugs occuring only inoptimized code
|
||||
# /DEPICS_FREELIST_DEBUG good for detecting mem mrg bugs
|
||||
OPT_CFLAGS_NO = /Zi /RTCsu
|
||||
|
||||
# specify object file name and location
|
||||
OBJ_CFLAG = /Fo
|
||||
@@ -77,7 +82,7 @@ OBJ_CFLAG = /Fo
|
||||
# /MD multithreaded C RTL in DLL
|
||||
# /MDd multithreaded C RTL in DLL (debug version)
|
||||
VISC_DLL_NO = -DEPICS_DLL_NO
|
||||
VISC_DLL_YES =
|
||||
VISC_DLL_YES =
|
||||
VISC_DLL = $(VISC_DLL_$(SHARED_LIBRARIES))
|
||||
VISC_STATIC_CFLAGS_DEBUG_NO = d
|
||||
VISC_STATIC_CFLAGS_DEBUG_YES =
|
||||
@@ -103,28 +108,31 @@ CPP = gcc -x c -E
|
||||
# /GX - generate code for exceptions
|
||||
# /GR - generate code for run time type identification
|
||||
#
|
||||
CCC = cl
|
||||
CONFORM_CXXFLAGS_NORMAL = /nologo /D__STDC__=0 /GX /GR
|
||||
CONFORM_CXXFLAGS_STRICT = /nologo /D__STDC__=0 /GX /GR
|
||||
CCC = cl /nologo /GX /GR
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = /D__STDC__=0
|
||||
|
||||
#
|
||||
# /W<N> use warning level N
|
||||
# (maximum lint level warnings at level 4)
|
||||
WARN_CXXFLAGS_YES = /W3
|
||||
# /w44355 set "'this' used in the base initializer list" to be level 4
|
||||
WARN_CXXFLAGS_YES = /W3 /w44355
|
||||
WARN_CXXFLAGS_NO = /W1
|
||||
|
||||
#
|
||||
# /Ox maximum optimizations
|
||||
# /GL whole program optimization
|
||||
# /Zi generate program database for debugging information
|
||||
OPT_CXXFLAGS_YES = /Ox /GL
|
||||
|
||||
#
|
||||
# /Zi generate program database for debugging information
|
||||
# /Z7 include debugging info in object files
|
||||
# /Fr create source browser file
|
||||
# /GZ catch bugs occurring only in optimized code
|
||||
# /D_CRTDBG_MAP_ALLOC
|
||||
OPT_CXXFLAGS_NO = /Zi /DEPICS_FREELIST_DEBUG
|
||||
# /RTCsu catch bugs occurring only in optimized code
|
||||
# /DEPICS_FREELIST_DEBUG good for detecting mem mrg bugs
|
||||
OPT_CXXFLAGS_NO = /RTCsu /Zi
|
||||
|
||||
# specify object file name and location
|
||||
OBJ_CXXFLAG = /Fo
|
||||
@@ -141,15 +149,14 @@ OBJ_CXXFLAG = /Fo
|
||||
STATIC_CXXFLAGS_YES= /MT$(VISC_STATIC_CFLAGS_DEBUG) $(VISC_DLL)
|
||||
STATIC_CXXFLAGS_NO= /MD$(VISC_STATIC_CFLAGS_DEBUG) $(VISC_DLL)
|
||||
|
||||
#
|
||||
# no special libs for static link
|
||||
#
|
||||
STATIC_LDLIBS_YES=ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib
|
||||
STATIC_LDLIBS_NO=
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
# add /profile here to run the ms profiler
|
||||
# /LTCG - whole program optimization
|
||||
LINK_OPT_FLAGS_YES = /LTCG /incremental:no /opt:ref /release $(PROD_VERSION:%=/version:%)
|
||||
# /fixed:no good for programs such as purify and quantify
|
||||
# /debug good for programs such as purify and quantify
|
||||
LINK_OPT_FLAGS_YES = /LTCG /incremental:no /opt:ref /release $(PROD_VERSION:%=/version:%)
|
||||
LINK_OPT_FLAGS_NO = /debug /incremental:no /fixed:no
|
||||
OPT_LDFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
|
||||
|
||||
@@ -183,13 +190,6 @@ OP_SYS_CFLAGS =
|
||||
#
|
||||
#OP_SYS_INCLUDES = -I$(INSTALL_INCLUDE)\\os\\WIN32
|
||||
|
||||
#
|
||||
# These are now added to the individual makefiles that use them in order to
|
||||
# speed up the build
|
||||
#
|
||||
#OP_SYS_LDLIBS = user32.lib kernel32.lib advapi32.lib winmm.lib
|
||||
OP_SYS_LDLIBS =
|
||||
|
||||
# Files and flags needed to link DLLs (used in RULES_BUILD)
|
||||
#
|
||||
# Strange but seems to work without: WIN32_DLLFLAGS should contain
|
||||
@@ -197,17 +197,17 @@ OP_SYS_LDLIBS =
|
||||
# '-entry:_DllMainCRTStartup$(DLLENTRY)'
|
||||
DLLENTRY = @12
|
||||
|
||||
WIN32_DLLFLAGS = /subsystem:windows /dll $(OPT_LDFLAGS)
|
||||
WIN32_DLLFLAGS = /subsystem:windows /dll $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
|
||||
|
||||
#
|
||||
# specify dll .def file only if it exists
|
||||
#
|
||||
DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
|
||||
DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$*)))
|
||||
|
||||
#
|
||||
# A WIN32 dll has three parts:
|
||||
# x.dll: the real dll (SHRLIBNAME)
|
||||
# x.lib: what you link to progs that use the dll (LIBNAME)
|
||||
# x.lib: what you link to progs that use the dll (DLL_LINK_LIBNAME)
|
||||
# x.exp: what you need to build the dll (in no variable)
|
||||
#
|
||||
LINK.shrlib = $(WINLINK) /nologo $(WIN32_DLLFLAGS) /implib:$*.lib /out:$*.dll $(DLL_DEF_FLAG)
|
||||
@@ -224,52 +224,69 @@ SHRLIB_SUFFIX=.dll
|
||||
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=%$(SHRLIB_SUFFIX))
|
||||
|
||||
#
|
||||
# Under WIN32 we have the unique situation where the DLL link creates the
|
||||
# DLL link library xxx.lib and we need to be very careful to avoid replacing
|
||||
# the xxx.lib created by the dll link with an xxx.lib created by $(AR).
|
||||
# Therefore, the object library is named xxxObj.lib
|
||||
#
|
||||
# SHARED_LIBRARIES is YES if we are building a DLL and NO if we aren't
|
||||
# When SHARED_LIBRARIES is YES we are building a DLL link library
|
||||
# and when SHARED_LIBRARIES is NO we are building an object library
|
||||
#
|
||||
DLL_LINK_LIBNAME_YES = $(BUILD_LIBRARY:%=%.lib)
|
||||
DLL_LINK_LIBNAME = $(DLL_LINK_LIBNAME_$(SHARED_LIBRARIES))
|
||||
LIB_PREFIX=
|
||||
LIB_SUFFIX=Obj.lib
|
||||
LIBNAME = $(BUILD_LIBRARY:%=%$(LIB_SUFFIX))
|
||||
LIB_SUFFIX=.lib
|
||||
LIBNAME_NO = $(BUILD_LIBRARY:%=%.lib)
|
||||
LIBNAME = $(LIBNAME_$(SHARED_LIBRARIES))
|
||||
|
||||
# dll install location
|
||||
INSTALL_SHRLIB = $(INSTALL_BIN)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Object lib name suffix
|
||||
OBJECT_LIB_EXT_YES = Obj.lib # object library extension for static build
|
||||
OBJECT_LIB_EXT_NO = .lib # object library extension for dynamic build
|
||||
OBJECT_LIB_EXT = $(OBJECT_LIB_EXT_$(STATIC_BUILD))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Products dependancy definitions
|
||||
PROD_DEPLIBS = $(foreach lib,$(PROD_LIBS) $(USR_LIBS),$(firstword \
|
||||
$($(lib)_DIR)/$(lib)$(OBJECT_LIB_EXT)))
|
||||
PROD_LDLIBS = $($*_DEPLIBS) $(PROD_DEPLIBS) \
|
||||
$($*_SYS_LIBS:%=%.lib) $(SYS_PROD_LIBS:%=%.lib)
|
||||
|
||||
# SYS_PROD_LIBS deprecated
|
||||
# Use PROD_SYS_LIBS
|
||||
|
||||
PROD_DEPLIBS=$(foreach lib, $(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
PROD_LDLIBS += $($*_DEPLIBS) $(PROD_DEPLIBS)
|
||||
PROD_LDLIBS += $(addsuffix .lib, \
|
||||
$($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS) )
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
#--------------------------------------------------
|
||||
# Libraries dependancy definitions
|
||||
#Libraries dependancy definitions
|
||||
|
||||
# EPICS libs that we need to link the DLL with
|
||||
# (it isnt necessary to rebuild the dll if these change)
|
||||
DLL_DEPLIBS = $(foreach lib,$($*_DLL_LIBS) $(DLL_LIBS),$($(lib)_DIR)/$(lib).lib)
|
||||
# <name>_DLL_LIBS <name>_SYS_DLL_LIBS deprecated.
|
||||
# Use <name>_LIBS and <name>_SYS_LIBS.
|
||||
# DLL_LIBS, and SYS_DLL_LIBS deprecated
|
||||
# Use LIB_LIBS and LIB_SYS_LIBS
|
||||
LIB_LIBS += $(DLL_LIBS)
|
||||
LIB_SYS_LIBS += $(SYS_DLL_LIBS)
|
||||
|
||||
SHRLIB_LDLIBS = $(DLL_DEPLIBS) $($*_SYS_DLL_LIBS:%=%.lib) \
|
||||
$(SYS_DLL_LIBS:%=%.lib) $(OP_SYS_LDLIBS)
|
||||
# libs that we need to link the DLL with
|
||||
# (it isnt necessary to rebuild the dll if these change)
|
||||
|
||||
SHRLIB_DEPLIBS += $(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))) \
|
||||
$(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \
|
||||
$(firstword $($(lib)_DIR) $(INSTALL_LIB)))))
|
||||
|
||||
SHRLIB_LDLIBS += $($*_DLL_DEPLIBS) $($*_DEPLIBS) $(SHRLIB_DEPLIBS)
|
||||
SHRLIB_LDLIBS += $(addsuffix .lib, \
|
||||
$($*_SYS_DLL_LIBS) \
|
||||
$($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS) )
|
||||
|
||||
#--------------------------------------------------
|
||||
# Linker definition
|
||||
LINK.cpp = $(WINLINK) -nologo $(STATIC_LDFLAGS) $(LDFLAGS) -out:$@ \
|
||||
$(PROD_LD_OBJS) $(PROD_LD_RESS) $(LDLIBS)
|
||||
|
||||
LINK.cpp = $(WINLINK) -nologo $(STATIC_LDFLAGS) $(LDFLAGS) $(PROD_LDFLAGS) -out:$@ \
|
||||
$(PROD_LD_OBJS) $(PROD_LD_RESS) $(PROD_LDLIBS)
|
||||
|
||||
#--------------------------------------------------
|
||||
|
||||
# override of CONFIG_SITE
|
||||
SHARED_LIBRARIES = YES
|
||||
|
||||
13
configure/os/CONFIG_SITE.Common.darwin-ppc
Normal file
13
configure/os/CONFIG_SITE.Common.darwin-ppc
Normal file
@@ -0,0 +1,13 @@
|
||||
# CONFIG_SITE.Common.darwin-ppc
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Site override definitions for darwin-ppc host builds
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Other local options
|
||||
#
|
||||
#OP_SYS_CFLAGS += -g
|
||||
#COMMANDLINE_LIBRARY = READLINE
|
||||
18
configure/os/CONFIG_SITE.Common.hpux-parisc
Normal file
18
configure/os/CONFIG_SITE.Common.hpux-parisc
Normal file
@@ -0,0 +1,18 @@
|
||||
# CONFIG_SITE.Common.hpux-parisc
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Site Specific definitions for hpux-parisc target
|
||||
# Only the local epics system manager should modify this file
|
||||
|
||||
# NOTE for SHARED_LIBRARIES: If YES (which is the default now) then either
|
||||
# a) SHLIB_PATH must include the full absolute pathname to
|
||||
# $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH) (or wherever you install
|
||||
# the EPICS shared libraries on your system) when invoking base
|
||||
# executables.
|
||||
# b) Add the path to SHRLIB_SEARCH_DIRS below, which will burn
|
||||
# the runtime search path into the executables.
|
||||
#SHARED_LIBRARIES=YES
|
||||
|
||||
# This is the absolute path to the generic INSTALL_LOCATION, for SHARED_LIBRARY searches.
|
||||
SHRLIB_SEARCH_DIRS += /opt/epics/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)/support/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL)/lib/$(EPICS_HOST_ARCH)
|
||||
13
configure/os/CONFIG_SITE.Common.hpux-parisc-gnu
Normal file
13
configure/os/CONFIG_SITE.Common.hpux-parisc-gnu
Normal file
@@ -0,0 +1,13 @@
|
||||
# CONFIG_SITE.Common.hpux-parisc-gnu
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Site Specific definitions for hpux-parisc-gnu target
|
||||
# Only the local epics system manager should modify this file
|
||||
|
||||
# Include definitions for hpux-parisc, as gnu builds will use the HP linker
|
||||
include $(CONFIG)/os/CONFIG_SITE.Common.hpux-parisc
|
||||
|
||||
# If you have built the GNU suite yourself, set the install location here,
|
||||
# else the default (/usr/local) will be used
|
||||
#GNU_DIR = /opt/gcc
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user