Compare commits
578 Commits
R3.14.10-p
...
R3.14.11-r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c28520bea6 | ||
|
|
bd4784a858 | ||
|
|
8c2278784c | ||
|
|
2caf1a4f50 | ||
|
|
1fba8dd866 | ||
|
|
87eace1bd4 | ||
|
|
db3a655374 | ||
|
|
8ae0c8960f | ||
|
|
ec26c0dc52 | ||
|
|
ea539fceb6 | ||
|
|
782ff1b303 | ||
|
|
2fb6b2100f | ||
|
|
0012042a5e | ||
|
|
e0d16659e1 | ||
|
|
8303cf053b | ||
|
|
78fc566dc4 | ||
|
|
3961c81740 | ||
|
|
0fdda3f794 | ||
|
|
9802e6c629 | ||
|
|
547c5d06ea | ||
|
|
50ddd62502 | ||
|
|
9fc48c9a6b | ||
|
|
e4075da4d7 | ||
|
|
8ace886cfe | ||
|
|
6c61c0de34 | ||
|
|
e581e88223 | ||
|
|
f4cbdec5ee | ||
|
|
b344841365 | ||
|
|
b867dabad0 | ||
|
|
0cea525682 | ||
|
|
2df7da052a | ||
|
|
59b820d2f5 | ||
|
|
3fda8dc2b0 | ||
|
|
3a335c88f0 | ||
|
|
44a6e9a005 | ||
|
|
1f129d3739 | ||
|
|
720236ed39 | ||
|
|
57c9f9344f | ||
|
|
64cb41f489 | ||
|
|
6fe047731f | ||
|
|
56c4c92588 | ||
|
|
562db1e24c | ||
|
|
1b70afa54b | ||
|
|
f316b4ca81 | ||
|
|
6d8cfeef01 | ||
|
|
b1b72e8cf0 | ||
|
|
cde59e262b | ||
|
|
40b6d1b0ba | ||
|
|
4464cfedaa | ||
|
|
b9fbf2e45b | ||
|
|
42ce1bd2db | ||
|
|
7de356519d | ||
|
|
ff5ca5e041 | ||
|
|
d1bb71809b | ||
|
|
7a49a17d1b | ||
|
|
7cf77b40e6 | ||
|
|
e387c06f59 | ||
|
|
c035566d7d | ||
|
|
57e5406684 | ||
|
|
b4948b4ff6 | ||
|
|
15f6b8c682 | ||
|
|
4868904839 | ||
|
|
1a2fa1bc86 | ||
|
|
e3a61ce4e4 | ||
|
|
efdee3c31a | ||
|
|
ee44663d89 | ||
|
|
90db5a4ab0 | ||
|
|
72dbaa8a0f | ||
|
|
458689a252 | ||
|
|
0daf347ef3 | ||
|
|
e32d8d77dc | ||
|
|
ffe7823c22 | ||
|
|
913f724ebf | ||
|
|
4e5fa9b6b3 | ||
|
|
a6b0ffebca | ||
|
|
7246366222 | ||
|
|
191668023b | ||
|
|
7a23b74a76 | ||
|
|
511d818d18 | ||
|
|
f8565139c2 | ||
|
|
30a02b365f | ||
|
|
b4bc931c72 | ||
|
|
e5d3815280 | ||
|
|
ebd65e6e34 | ||
|
|
8c45eb4a19 | ||
|
|
e1bb171f44 | ||
|
|
656c2462d3 | ||
|
|
f4ec20c8f0 | ||
|
|
72e1dba496 | ||
|
|
001b947702 | ||
|
|
c0d4317ade | ||
|
|
290ec3e22c | ||
|
|
d6b887b363 | ||
|
|
fbebea304b | ||
|
|
dd1d2c10bd | ||
|
|
d3e3137265 | ||
|
|
d764e7d4df | ||
|
|
49ddec4294 | ||
|
|
ce778819bd | ||
|
|
d5bffdb13d | ||
|
|
ba11940aad | ||
|
|
8725e4a67a | ||
|
|
a6e57ba17a | ||
|
|
7d137254af | ||
|
|
31fb3775fd | ||
|
|
1ba658b452 | ||
|
|
6eb25148c5 | ||
|
|
4ade695a60 | ||
|
|
bea22985b6 | ||
|
|
fd6d1ce69c | ||
|
|
844ed6345a | ||
|
|
7315f02888 | ||
|
|
1ba6da438b | ||
|
|
c986597f1c | ||
|
|
38b81b44be | ||
|
|
8382eee11a | ||
|
|
7d80ab72b0 | ||
|
|
3d86367330 | ||
|
|
16a6357ab4 | ||
|
|
f4bfc3928d | ||
|
|
4282d3e9f4 | ||
|
|
1e68d1f89b | ||
|
|
03b6345fe0 | ||
|
|
055bb953b9 | ||
|
|
01d223fafd | ||
|
|
7665d1340c | ||
|
|
dfdbe57fd3 | ||
|
|
0abb615d3a | ||
|
|
02281f4d19 | ||
|
|
f936104e47 | ||
|
|
9f51464ea1 | ||
|
|
f78b00d798 | ||
|
|
a55e69113e | ||
|
|
b6a22aa844 | ||
|
|
5b62da8229 | ||
|
|
8b9dc86233 | ||
|
|
4a898e6ed7 | ||
|
|
58a6493596 | ||
|
|
93809bd857 | ||
|
|
90ed36c572 | ||
|
|
9e49e0131f | ||
|
|
d01e54bd34 | ||
|
|
5c6975b24d | ||
|
|
d7ae0fbce6 | ||
|
|
7d2be4f947 | ||
|
|
6fc8ac3c91 | ||
|
|
6219ab5059 | ||
|
|
2b8055672d | ||
|
|
94301c8838 | ||
|
|
493085cb42 | ||
|
|
1a5bd98408 | ||
|
|
9d435693ab | ||
|
|
619d8aa541 | ||
|
|
4848b0d1e1 | ||
|
|
7651d3f5ac | ||
|
|
f5e287ae39 | ||
|
|
1c18e92da7 | ||
|
|
ae85d44190 | ||
|
|
83618673bc | ||
|
|
d1bbd5037f | ||
|
|
4c9fe7e0c0 | ||
|
|
1235a1444b | ||
|
|
3d717f4476 | ||
|
|
8655ea9e2a | ||
|
|
0fb320c263 | ||
|
|
9663cd58f1 | ||
|
|
039648824c | ||
|
|
4e0ab97038 | ||
|
|
d7d0531394 | ||
|
|
d6fcbe14ab | ||
|
|
710fc16aa4 | ||
|
|
afbcfeaa02 | ||
|
|
3e782f0220 | ||
|
|
7b52eaac73 | ||
|
|
42957877d9 | ||
|
|
245e9b5195 | ||
|
|
bf39f9935c | ||
|
|
70bf066ba9 | ||
|
|
a318ace551 | ||
|
|
16f839ac12 | ||
|
|
cba3d9673d | ||
|
|
162fa000c8 | ||
|
|
0e4891201e | ||
|
|
f7bfbf73f8 | ||
|
|
6a2044cb01 | ||
|
|
9f6e7a5cd7 | ||
|
|
47c6046eef | ||
|
|
eb800fd351 | ||
|
|
54928bf94f | ||
|
|
68dbf8addd | ||
|
|
2e38b09398 | ||
|
|
a2eb148726 | ||
|
|
6129bfc8d5 | ||
|
|
cc3245bf65 | ||
|
|
c73dba8037 | ||
|
|
813add592f | ||
|
|
7ffcfd9bc0 | ||
|
|
c916b60c1d | ||
|
|
f84e70487f | ||
|
|
9aeb33a040 | ||
|
|
530929cd5a | ||
|
|
81b1011d8c | ||
|
|
0d1200ef0b | ||
|
|
b98655b8f3 | ||
|
|
1590358de4 | ||
|
|
c1c8c914db | ||
|
|
9bbe163f52 | ||
|
|
f20ccc6c09 | ||
|
|
d8586726a4 | ||
|
|
d84d198733 | ||
|
|
f2a96aec94 | ||
|
|
957c869c87 | ||
|
|
3c19da6b3b | ||
|
|
f32394e795 | ||
|
|
5d9317339f | ||
|
|
bd57eb8c83 | ||
|
|
5a5e2d8f74 | ||
|
|
337f53c109 | ||
|
|
aea3c3cc66 | ||
|
|
3b27446fbf | ||
|
|
cb0f8d5c72 | ||
|
|
a66a192ed5 | ||
|
|
be6b1c4e31 | ||
|
|
4fc14d2dfb | ||
|
|
84d0a83ba3 | ||
|
|
ebec683578 | ||
|
|
f8e01c5536 | ||
|
|
9338d4ec59 | ||
|
|
5ce69c7db0 | ||
|
|
8edbf9268c | ||
|
|
719a82590c | ||
|
|
68bdaa899e | ||
|
|
a052ed56b2 | ||
|
|
a98ff64fb3 | ||
|
|
7653623e72 | ||
|
|
8d245ba595 | ||
|
|
20bd4e9b23 | ||
|
|
f1b1c6d105 | ||
|
|
6c26a81d97 | ||
|
|
ef06015322 | ||
|
|
23072c0a64 | ||
|
|
9e6b077c7f | ||
|
|
3b9ce581f0 | ||
|
|
01bd9f7ae0 | ||
|
|
f11d5ee101 | ||
|
|
a695c4a45a | ||
|
|
7adda5d417 | ||
|
|
9747ef7bd6 | ||
|
|
a187054e42 | ||
|
|
d023a46165 | ||
|
|
a65c477bd1 | ||
|
|
381efb921c | ||
|
|
1ea4b4414a | ||
|
|
8ee39f8cce | ||
|
|
42f0106d48 | ||
|
|
917e83e391 | ||
|
|
9e08d4d17a | ||
|
|
cff8e62690 | ||
|
|
9a2ce84718 | ||
|
|
d8e85d242b | ||
|
|
6e364ace47 | ||
|
|
365389437c | ||
|
|
a32d3a57c6 | ||
|
|
5f1106d060 | ||
|
|
03c82fa651 | ||
|
|
312c0f1203 | ||
|
|
c460eb410c | ||
|
|
c03f26d84a | ||
|
|
466317b23f | ||
|
|
b8df15f6fa | ||
|
|
f626d80cf8 | ||
|
|
1fe93a927d | ||
|
|
6ea470d7d8 | ||
|
|
39eaa0e335 | ||
|
|
ecc300b8ff | ||
|
|
bff0841343 | ||
|
|
ae35ba28c5 | ||
|
|
b05f1fe396 | ||
|
|
a8a5668142 | ||
|
|
28f70a28a1 | ||
|
|
e48308c850 | ||
|
|
f7412f0c46 | ||
|
|
13f064fd7f | ||
|
|
f0652aa1b6 | ||
|
|
f5f1c51b80 | ||
|
|
e7bb980257 | ||
|
|
c13dc77564 | ||
|
|
163c8c0215 | ||
|
|
31d149d8d9 | ||
|
|
b1234b4667 | ||
|
|
1bbeeb1c87 | ||
|
|
8015df9e1f | ||
|
|
b9886c7faa | ||
|
|
e01b6bd435 | ||
|
|
3c92824bfd | ||
|
|
e7932f03f7 | ||
|
|
78eaf3543c | ||
|
|
1b1c28f239 | ||
|
|
d79877c383 | ||
|
|
d545a8f04f | ||
|
|
23b3154fa8 | ||
|
|
93ac840d6e | ||
|
|
b5acee6f76 | ||
|
|
19073ea8e6 | ||
|
|
e12396c7dd | ||
|
|
acb1bf9b29 | ||
|
|
f3d07ad12f | ||
|
|
f357fd3b13 | ||
|
|
79ef84dc9d | ||
|
|
a8b20f07a8 | ||
|
|
134509a8ea | ||
|
|
6fd2685053 | ||
|
|
826cd573cd | ||
|
|
ca269744a6 | ||
|
|
b4d2fbc98f | ||
|
|
c70c3beca2 | ||
|
|
5d5fd663ff | ||
|
|
f5c64db59f | ||
|
|
990ba62e0b | ||
|
|
2e8595f17f | ||
|
|
cc4b462f8c | ||
|
|
7fccc59fe9 | ||
|
|
4715043141 | ||
|
|
c0052ea44f | ||
|
|
f30a89d249 | ||
|
|
40d0942a81 | ||
|
|
7228190dde | ||
|
|
f4311a3f9b | ||
|
|
5c8a51b6f6 | ||
|
|
8d68c85d8b | ||
|
|
2640c5fa07 | ||
|
|
e18eb714a8 | ||
|
|
b1556bd871 | ||
|
|
f156474714 | ||
|
|
88971886c5 | ||
|
|
433e400c4d | ||
|
|
e484093493 | ||
|
|
73470d5f4c | ||
|
|
776b8855fd | ||
|
|
91a9a60594 | ||
|
|
994e9471e4 | ||
|
|
78a2428dbc | ||
|
|
dc44901194 | ||
|
|
0765d5e0b1 | ||
|
|
6a17b86743 | ||
|
|
4d8ee62087 | ||
|
|
8179cf1d9c | ||
|
|
9958bf91e5 | ||
|
|
58b1017397 | ||
|
|
9a09be011f | ||
|
|
ed82e672b4 | ||
|
|
4569fa1e29 | ||
|
|
48b20cd400 | ||
|
|
f98d74b064 | ||
|
|
ed4a2972d6 | ||
|
|
547e9bcfea | ||
|
|
57635a364b | ||
|
|
cc35e59ff8 | ||
|
|
2e1e5b3949 | ||
|
|
86841c5078 | ||
|
|
32d5aed8b0 | ||
|
|
6b212b0e17 | ||
|
|
99ff6d9a02 | ||
|
|
7ce49bf131 | ||
|
|
7eeb70a8d9 | ||
|
|
dd54062496 | ||
|
|
683c5bddf1 | ||
|
|
80d0245193 | ||
|
|
49e317dccb | ||
|
|
78d25cbf4b | ||
|
|
89442d6ed6 | ||
|
|
3d588b13fc | ||
|
|
e42837e291 | ||
|
|
100318d1b3 | ||
|
|
f8c921e6a0 | ||
|
|
7ae6f9d137 | ||
|
|
aacee9c584 | ||
|
|
8e01d0dfe8 | ||
|
|
f3d2ba9551 | ||
|
|
2f6b8f3c61 | ||
|
|
2ad9341e45 | ||
|
|
20916bbf24 | ||
|
|
6766e46ab5 | ||
|
|
8597ae087b | ||
|
|
e2a933c51f | ||
|
|
11abbb06d7 | ||
|
|
edcb7b96f8 | ||
|
|
31d6255169 | ||
|
|
1fbf624e5f | ||
|
|
4cb0d85b34 | ||
|
|
aadbf07647 | ||
|
|
33b4942ae2 | ||
|
|
3093d8f4f4 | ||
|
|
3a6deaa60a | ||
|
|
9e07d56548 | ||
|
|
41abccccf9 | ||
|
|
9c3fa668f3 | ||
|
|
19409d9c74 | ||
|
|
654a7e05cd | ||
|
|
8be407d608 | ||
|
|
a75cb10cb6 | ||
|
|
3e68815a7b | ||
|
|
92c7cd98a2 | ||
|
|
6c23ca9f80 | ||
|
|
07d187b77a | ||
|
|
40c802ad7b | ||
|
|
68f6b7d47c | ||
|
|
ce3c3919ba | ||
|
|
e6b0b38f61 | ||
|
|
b62d796bff | ||
|
|
77669d793d | ||
|
|
e1b8caa8d7 | ||
|
|
9f5b1a11da | ||
|
|
62618480fd | ||
|
|
6e913fe0bb | ||
|
|
01218d0054 | ||
|
|
71ec516cf5 | ||
|
|
08a4fb3ce7 | ||
|
|
e2289a30df | ||
|
|
a213ccf624 | ||
|
|
e77736ddb2 | ||
|
|
f1a0584273 | ||
|
|
289f5500a4 | ||
|
|
03e3ce0513 | ||
|
|
ffe38fffb8 | ||
|
|
c85052de6c | ||
|
|
292a763d9a | ||
|
|
c5fd57e5ae | ||
|
|
db076183c0 | ||
|
|
15bd6bc402 | ||
|
|
63c20dbb4b | ||
|
|
deae06a694 | ||
|
|
0cabf024d7 | ||
|
|
c4857e820e | ||
|
|
9ca9a3c2e2 | ||
|
|
edf0875bcf | ||
|
|
e155dd411e | ||
|
|
dd7cb80555 | ||
|
|
105448f3f8 | ||
|
|
99053303fb | ||
|
|
a723ea357e | ||
|
|
f8d6677c72 | ||
|
|
b98392f50f | ||
|
|
9027026680 | ||
|
|
a294e3dcb8 | ||
|
|
579c7bad06 | ||
|
|
2862a9b8cf | ||
|
|
307762f424 | ||
|
|
0108f6ae94 | ||
|
|
76c9329b5e | ||
|
|
a7a6c01bea | ||
|
|
4026d9f27c | ||
|
|
1bccf6879e | ||
|
|
f14e6df788 | ||
|
|
bf3c47c3d3 | ||
|
|
a7af535a4f | ||
|
|
31fb641dff | ||
|
|
e6ab9aa7fb | ||
|
|
12e4ad3c5a | ||
|
|
0be13dfc0f | ||
|
|
67ef06c1e3 | ||
|
|
f951aab3f3 | ||
|
|
f3bcf735cc | ||
|
|
448fc10e35 | ||
|
|
1d9543997e | ||
|
|
a58fa323d8 | ||
|
|
e2e7864c3d | ||
|
|
79a2649596 | ||
|
|
e99e352e2c | ||
|
|
4126c71e0e | ||
|
|
fd5b03405a | ||
|
|
a37105e0c7 | ||
|
|
ca1e7b0613 | ||
|
|
438ed926ba | ||
|
|
519f54c06b | ||
|
|
c5773eafb4 | ||
|
|
e48b9ec4ab | ||
|
|
49421de296 | ||
|
|
eee915ced7 | ||
|
|
e4f741f97c | ||
|
|
0e08b62f34 | ||
|
|
2b37a8f746 | ||
|
|
f5967d268c | ||
|
|
078e30b7b9 | ||
|
|
01349a9448 | ||
|
|
dd2ef6d47a | ||
|
|
2d51fbc3c7 | ||
|
|
c5f15a3e17 | ||
|
|
cdd2748c98 | ||
|
|
6789814826 | ||
|
|
b3abcbb52e | ||
|
|
3274519a82 | ||
|
|
95b708a40b | ||
|
|
3b2bbd50e5 | ||
|
|
ab765613ec | ||
|
|
ba5080d6f4 | ||
|
|
a6ed0d3a53 | ||
|
|
edc141f98a | ||
|
|
7245f8127c | ||
|
|
ba37f17c89 | ||
|
|
e6e9b9a266 | ||
|
|
570825f693 | ||
|
|
2c020ffac4 | ||
|
|
bf829e0f48 | ||
|
|
9239b50615 | ||
|
|
2eb849b91c | ||
|
|
0fff507aea | ||
|
|
49687e27b2 | ||
|
|
98e09831fa | ||
|
|
36af6418db | ||
|
|
cd84a4cfd0 | ||
|
|
76af265f0d | ||
|
|
7558e0a468 | ||
|
|
925dcfd634 | ||
|
|
1d6bea83de | ||
|
|
2dad57f1da | ||
|
|
2e4d1f0d60 | ||
|
|
708b0be486 | ||
|
|
f58002e1fd | ||
|
|
980d790638 | ||
|
|
d579e30210 | ||
|
|
48257aec7c | ||
|
|
af2b7a3ef2 | ||
|
|
fd9867e973 | ||
|
|
e97439c7df | ||
|
|
150c4ff002 | ||
|
|
86740c98d7 | ||
|
|
d14713d675 | ||
|
|
11180d0c9c | ||
|
|
ec8761185d | ||
|
|
67e9d89ebd | ||
|
|
d3eb8170ff | ||
|
|
80eca1fafa | ||
|
|
3947594fe3 | ||
|
|
c73bf9545d | ||
|
|
917937b22f | ||
|
|
fb1d649290 | ||
|
|
227af040b0 | ||
|
|
078f919296 | ||
|
|
82e26e2d79 | ||
|
|
442633fc87 | ||
|
|
84f56e57f4 | ||
|
|
dff447028f | ||
|
|
1ba1909bdb | ||
|
|
2d5497fa07 | ||
|
|
32616ba5fa | ||
|
|
37f4457c03 | ||
|
|
896223e819 | ||
|
|
8b8f2bd0ed | ||
|
|
bc80fd0e35 | ||
|
|
6d99d6dd05 | ||
|
|
2e35ee986e | ||
|
|
9f71cf22cd | ||
|
|
fa161e4e5a | ||
|
|
506b303c3c | ||
|
|
1269897998 | ||
|
|
21e8912031 | ||
|
|
7f96b9c0fc | ||
|
|
91d9fdbda8 | ||
|
|
238ab41ba1 | ||
|
|
516a2cbf41 | ||
|
|
aa9b36d7f9 | ||
|
|
efa69eda5c | ||
|
|
7850ab921a | ||
|
|
c0dd8a788b | ||
|
|
65c2e51849 | ||
|
|
5d6b223229 | ||
|
|
1be79a4911 | ||
|
|
82abd96fc9 | ||
|
|
a149390015 | ||
|
|
2bf9959e11 | ||
|
|
a6f4c7efd9 | ||
|
|
c19d8848ed | ||
|
|
934f55b9cc | ||
|
|
3cc996a296 | ||
|
|
c0084256bd | ||
|
|
ba7b648bf8 | ||
|
|
92b991c857 |
@@ -130,6 +130,4 @@ endif
|
||||
#etc.
|
||||
|
||||
#CROSS_COMPILER_TARGET_ARCHS=vxWorks-68040
|
||||
#CMPLR=STRICT
|
||||
#CXXCMPLR=STRICT
|
||||
|
||||
|
||||
@@ -22,9 +22,6 @@ LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r
|
||||
CPP = $(CC) -x c -E
|
||||
RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)
|
||||
|
||||
CONFORM_CFLAGS_ANSI = -ansi
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CFLAGS_TRAD = -traditional
|
||||
PROF_CFLAGS_YES = -p
|
||||
GPROF_CFLAGS_YES = -pg
|
||||
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
|
||||
@@ -33,8 +30,6 @@ WARN_CFLAGS_NO = -w
|
||||
OPT_CFLAGS_YES = -O3
|
||||
OPT_CFLAGS_NO = -g
|
||||
|
||||
CONFORM_CXXFLAGS_NORMAL = -ansi
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
PROF_CXXFLAGS_YES = -p
|
||||
GPROF_CXXFLAGS_YES = -pg
|
||||
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
# 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
|
||||
# EPICS BASE is distributed subject to a Software License Agreement found
|
||||
# in file LICENSE that is included with this distribution.
|
||||
#*************************************************************************
|
||||
# $Id#
|
||||
# $Id$
|
||||
#
|
||||
# check for add-on CFLAGS and CXXFLAGS
|
||||
#
|
||||
@@ -20,8 +19,8 @@
|
||||
# 4) if you have the special case that your USR_CFLAGS_$(OS_CLASS) is
|
||||
# empty but you don't want 3), you have to define it as '-nil-', e.g.:
|
||||
# USR_CFLAGS = <defines for all systems>
|
||||
# USR_CFLAGS_sun4 = -nil-
|
||||
# USR_CFLAGS_DEFAULT = <defines for most systems, not sun4>
|
||||
# USR_CFLAGS_WIN = -nil-
|
||||
# USR_CFLAGS_DEFAULT = <defines for most systems, not WIN32>
|
||||
#
|
||||
# These rules apply to these Makefile-variables:
|
||||
# USR_CFLAGS C flags
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#*************************************************************************
|
||||
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
|
||||
# Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
|
||||
# National Laboratory.
|
||||
# Copyright (c) 2002 The Regents of the University of California, as
|
||||
# Operator of Los Alamos National Laboratory.
|
||||
@@ -19,17 +19,27 @@
|
||||
|
||||
BASE_3_14=YES
|
||||
|
||||
# EPICS_VERSION must be a number >0 and <256
|
||||
EPICS_VERSION = 3
|
||||
|
||||
# EPICS_REVISION must be a number >=0 and <256
|
||||
EPICS_REVISION = 14
|
||||
|
||||
# This part may contain letters, eg 0beta1
|
||||
EPICS_MODIFICATION = 10pre1
|
||||
# EPICS_MODIFICATION must be a number >=0 and <256
|
||||
EPICS_MODIFICATION = 11
|
||||
|
||||
# EPICS_PATCH_LEVEL must be a number (win32 resource file requirement)
|
||||
# Not included if zero
|
||||
EPICS_PATCH_LEVEL = 0
|
||||
|
||||
# This will be -CVS or empty at an official release point
|
||||
EPICS_CVS_SNAPSHOT=
|
||||
# This will end in -CVS between official releases
|
||||
EPICS_CVS_SNAPSHOT=-CVS
|
||||
#EPICS_CVS_SNAPSHOT=-pre1
|
||||
#EPICS_CVS_SNAPSHOT=-pre1-CVS
|
||||
#EPICS_CVS_SNAPSHOT=-RC1
|
||||
#EPICS_CVS_SNAPSHOT=-RC1-CVS
|
||||
#EPICS_CVS_SNAPSHOT=-RC2
|
||||
#EPICS_CVS_SNAPSHOT=-RC2-CVS
|
||||
#EPICS_CVS_SNAPSHOT=
|
||||
|
||||
# No changes should be needed below here
|
||||
|
||||
@@ -80,6 +80,10 @@ INSTALL_JAVA = $(INSTALL_LOCATION)/javalib
|
||||
#Directory for OS independant build created files
|
||||
COMMON_DIR = ../O.Common
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Make echo output - suppress echoing if make's '-s' flag is set
|
||||
ECHO := $(if $(findstring s,$(MAKEFLAGS)),\#,@echo)
|
||||
|
||||
#-------------------------------------------------------
|
||||
ifdef T_A
|
||||
|
||||
@@ -101,8 +105,6 @@ BUILD_CLASS = HOST
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Build defaults, CONFIG_SITE, CONFIG, or os/CONFIG* will override
|
||||
CMPLR=STRICT
|
||||
CXXCMPLR=STRICT
|
||||
STATIC_BUILD=NO
|
||||
SHARED_LIBRARIES=YES
|
||||
HDEPENDS=YES
|
||||
@@ -112,6 +114,10 @@ HOST_WARN=YES
|
||||
CROSS_WARN=YES
|
||||
GNU=NO
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Run checkRelease in $(TOP)/configure/O.*
|
||||
CONFIG_TARGETS += $(CHECK_RELEASE_$(CHECK_RELEASE))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prefix and suffix
|
||||
DEP=.depends
|
||||
@@ -177,14 +183,14 @@ LIB_BAF=$(addsuffix $(BAF),$(basename $(LIBRARY)))
|
||||
#--------------------------------------------------
|
||||
# C preprocessor, compiler, and linker flag defaults
|
||||
|
||||
# Target architecture specific (solaris,sun4,mv167,...) flags
|
||||
# Target architecture specific flags
|
||||
ARCH_DEP_CPPFLAGS =
|
||||
ARCH_DEP_CFLAGS =
|
||||
ARCH_DEP_CXXFLAGS = $(ARCH_DEP_CFLAGS)
|
||||
ARCH_DEP_LDFLAGS =
|
||||
ARCH_DEP_LDLIBS =
|
||||
|
||||
# Target operating system specific (Unix,Vx,WIN32...) flags
|
||||
# Target operating system specific flags
|
||||
OP_SYS_CPPFLAGS =
|
||||
OP_SYS_CFLAGS =
|
||||
OP_SYS_CXXFLAGS = $(OP_SYS_CFLAGS)
|
||||
@@ -225,16 +231,13 @@ TARGET_CPPFLAGS += $($(basename $@)_CPPFLAGS_$(OS_CLASS)) $($(basename $@)_CPPFL
|
||||
|
||||
TARGET_LDFLAGS = $($*_LDFLAGS)
|
||||
|
||||
# Level of ansi conformance flags
|
||||
CONFORM_CPPFLAGS = $(CONFORM_CPPFLAGS_$(CMPLR))
|
||||
CONFORM_CFLAGS = $(CONFORM_CFLAGS_$(CMPLR))
|
||||
CONFORM_CXXFLAGS = $(CONFORM_CXXFLAGS_$(CXXCMPLR))
|
||||
|
||||
# Warnings flags
|
||||
WARN_CPPFLAGS = $(WARN_CPPFLAGS_$($(BUILD_CLASS)_WARN))
|
||||
WARN_CFLAGS = $(WARN_CFLAGS_$($(BUILD_CLASS)_WARN))
|
||||
WARN_CXXFLAGS = $(WARN_CXXFLAGS_$($(BUILD_CLASS)_WARN))
|
||||
|
||||
# Optimization flags
|
||||
OPT_CPPFLAGS = $(OPT_CPPFLAGS_$($(BUILD_CLASS)_OPT))
|
||||
OPT_CFLAGS = $(OPT_CFLAGS_$($(BUILD_CLASS)_OPT))
|
||||
OPT_CXXFLAGS = $(OPT_CXXFLAGS_$($(BUILD_CLASS)_OPT))
|
||||
|
||||
@@ -267,22 +270,23 @@ OP_SYS_LDFLAGS += $(LDFLAGS_$(COMMANDLINE_LIBRARY))
|
||||
INCLUDES = -I. $(SRC_INCLUDES) $(INSTALL_INCLUDES) $(RELEASE_INCLUDES)\
|
||||
$(TARGET_INCLUDES) $(USR_INCLUDES) $(OP_SYS_INCLUDES) $($(BUILD_CLASS)_INCLUDES)
|
||||
|
||||
CFLAGS = $(CONFORM_CFLAGS) $($(BUILD_CLASS)_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
CFLAGS = $($(BUILD_CLASS)_CFLAGS) $(POSIX_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
$(PIPE_CFLAGS) $(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
CXXFLAGS = $(CONFORM_CXXFLAGS) $($(BUILD_CLASS)_CXXFLAGS) $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS)\
|
||||
CXXFLAGS = $($(BUILD_CLASS)_CXXFLAGS) $(POSIX_CXXFLAGS) $(OPT_CXXFLAGS) $(DEBUG_CXXFLAGS)\
|
||||
$(PIPE_CFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS) $(ARCH_DEP_CXXFLAGS)\
|
||||
$(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
|
||||
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) $(POSIX_LDFLAGS) \
|
||||
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $($(BUILD_CLASS)_LDFLAGS)\
|
||||
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
|
||||
|
||||
LDLIBS = $(STATIC_LDLIBS)\
|
||||
LDLIBS = \
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS) $(GNU_LDLIBS_$(GNU))
|
||||
|
||||
CPPFLAGS += $(CONFORM_CPPFLAGS) $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
CPPFLAGS += $($(BUILD_CLASS)_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
$(OPT_CPPFLAGS) $(DEBUG_CPPFLAGS) $(WARN_CPPFLAGS)\
|
||||
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
|
||||
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
|
||||
|
||||
@@ -296,10 +300,12 @@ ARCMD = $(AR) $(ARFLAGS) $(USR_ARFLAGS) $@ $(LIBRARY_LD_OBJS)
|
||||
MUNCH_CMD = $(LD) -o $@ $^
|
||||
|
||||
#--------------------------------------------------
|
||||
# LEX default option (valid for EPICS base 3.13.0.beta12 and later)
|
||||
# LEX default options
|
||||
#
|
||||
# to allow characters that are not plain 7bit standard ASCII
|
||||
LEXOPT += -8
|
||||
# Allow 8-bit characters
|
||||
LEXOPT += -8
|
||||
# Generate an "interactive" scanner, solves problems at EOF.
|
||||
LEXOPT += -I
|
||||
|
||||
#--------------------------------------------------
|
||||
# Build compile line here
|
||||
@@ -319,7 +325,7 @@ HDEPENDS_FLAGS =
|
||||
HDEPENDS_INCLUDES = $(subst -I,,$(INCLUDES))
|
||||
HDEPENDSFLAGS = -m $*$(DEP) $(HDEPENDS_INCLUDES) $@ $<
|
||||
HDEPENDS_CMD_YES = -$(MKMF) $(HDEPENDS_FLAGS) $(HDEPENDSFLAGS)
|
||||
HDEPENDS_CMD_NO = echo ""
|
||||
HDEPENDS_CMD_NO = $(ECHO) ""
|
||||
HDEPENDS_CMD = $(HDEPENDS_CMD_$(HDEPENDS))
|
||||
|
||||
#--------------------------------------------------
|
||||
|
||||
@@ -56,9 +56,6 @@ INSTALL_CFG = $(INSTALL_LOCATION)/cfg
|
||||
FILE_TYPE += EDL
|
||||
INSTALL_EDL = $(INSTALL_LOCATION)/edl
|
||||
|
||||
FILE_TYPE += IDL
|
||||
INSTALL_IDL = $(INSTALL_LOCATION_LIB)/idl
|
||||
|
||||
FILE_TYPE += PERL_MODULES
|
||||
INSTALL_PERL_MODULES = $(INSTALL_LOCATION_LIB)/perl
|
||||
|
||||
|
||||
@@ -24,21 +24,18 @@
|
||||
# darwin-ppcx86 (Universal binaries for both CPUs)
|
||||
# freebsd-x86 (GNU compiler used for host builds)
|
||||
# freebsd-x86_64 (GNU compiler used for host builds)
|
||||
# hpux-parisc (HP compiler used for host builds)
|
||||
# hpux-parisc-gnu (GNU compiler used for host builds)
|
||||
# linux-ppc (GNU compiler used for host builds)
|
||||
# linux-x86 (GNU compiler used for host builds)
|
||||
# linux-x86_64 (GNU compiler used for host builds)
|
||||
# linux-x86-borland (Borland C++ compiler used for host builds)
|
||||
# solaris-sparc (sun compiler used for host builds)
|
||||
# solaris-sparc (Sun compiler used for host builds)
|
||||
# solaris-sparc-gnu (GNU compiler used for host builds)
|
||||
# solaris-sparc64 (sun compiler used for host builds)
|
||||
# solaris-sparc64 (Sun compiler used for host builds)
|
||||
# solaris-sparc64-gnu (GNU compiler used for host builds)
|
||||
# solaris-x86 (sun compiler used for host builds)
|
||||
# solaris-x86 (Sun compiler used for host builds)
|
||||
# solaris-x86-gnu (GNU compiler used for host builds)
|
||||
# win32-x86 (MS Visual C++ compiler used for host builds)
|
||||
# win32-x86-mingw (MinGW compiler used for host builds)
|
||||
# win32-x86-borland (Borland C++ compiler used for host builds)
|
||||
# win32-x86-cygwin (WIN32 API with cygwin GNU compiler used for host builds)
|
||||
|
||||
# Debugging builds
|
||||
@@ -56,15 +53,18 @@
|
||||
# The cross-compiler architectures to build EPICS for
|
||||
#
|
||||
# Currently Supporting:
|
||||
# linux-386 (linux-x86 host)
|
||||
# linux-486 (linux-x86 host)
|
||||
# linux-586 (linux-x86 host)
|
||||
# linux-686 (linux-x86 host)
|
||||
# linux-athlon (linux-x86 host)
|
||||
# linux-cris (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-cris_v10 (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-cris_v32 (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-386 (linux-x86 host)
|
||||
# linux-486 (linux-x86 host)
|
||||
# linux-586 (linux-x86 host)
|
||||
# linux-686 (linux-x86 host)
|
||||
# linux-arm
|
||||
# linux-arm_eb
|
||||
# linux-arm_el
|
||||
# linux-athlon (linux-x86 host)
|
||||
# linux-cris (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-cris_v10 (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-cris_v32 (Axis GNU crosscompiler on linux-x86 host)
|
||||
# linux-xscale_be
|
||||
# vxWorks-486
|
||||
# vxWorks-68040
|
||||
# vxWorks-68040lc
|
||||
@@ -76,10 +76,13 @@
|
||||
# vxWorks-ppc604_long
|
||||
# vxWorks-ppc604_altivec
|
||||
# vxWorks-mpc8540
|
||||
# RTEMS-at91rm9200ek
|
||||
# RTEMS-beatnik
|
||||
# RTEMS-gen68360
|
||||
# RTEMS-mcp750
|
||||
# RTEMS-mvme167
|
||||
# RTEMS-mvme2100
|
||||
# RTEMS-mvme3100
|
||||
# RTEMS-mvme5500
|
||||
# RTEMS-pc386
|
||||
# RTEMS-psim
|
||||
@@ -99,19 +102,6 @@ CROSS_COMPILER_TARGET_ARCHS=
|
||||
#
|
||||
CROSS_COMPILER_HOST_ARCHS=
|
||||
|
||||
# Default ANSI level, individual Makefiles will override
|
||||
# if they cannot support ANSI compilation.
|
||||
# STRICT - ANSI C - force warning flags
|
||||
# ANSI - ANSI C
|
||||
# TRAD - Standard C - Not appropriate here.
|
||||
CMPLR=STRICT
|
||||
|
||||
# Default C++ compiler ANSI level
|
||||
# STRICT - ANSI C++ force strict warning flags
|
||||
# NORMAL - ANSI C++ optional warning flags
|
||||
# Individual Makefiles may override
|
||||
CXXCMPLR=STRICT
|
||||
|
||||
# Build shared libraries?
|
||||
# must be either YES or NO
|
||||
# NOTE: os/CONFIG.$(EPICS_HOST_ARCH).$(EPICS_HOST_ARCH) files and
|
||||
|
||||
@@ -33,15 +33,15 @@
|
||||
# where the start and end are mmddhh - that is month,day,hour
|
||||
# eg EPICS_TIMEZONE=CUS::360:033102:102802
|
||||
#
|
||||
# DST for 2007 US: Mar 11 - Nov 04
|
||||
# EU: Mar 25 - Oct 28
|
||||
# DST for 2009 US: Mar 08 - Nov 01
|
||||
# EU: Mar 29 - Oct 25
|
||||
# (see: http://www.worldtimezone.org/daylight.html)
|
||||
#
|
||||
# EPICS_TS_NTP_INET
|
||||
# NTP or Unix time server ip address. Uses boot host if not set.
|
||||
|
||||
EPICS_TIMEZONE=CUS::360:031102:110402
|
||||
#EPICS_TIMEZONE=MET::-60:032502:102802
|
||||
EPICS_TIMEZONE=CUS::360:030802:110102
|
||||
#EPICS_TIMEZONE=MET::-60:032902:102502
|
||||
EPICS_TS_NTP_INET=
|
||||
|
||||
# IOC Shell:
|
||||
|
||||
@@ -33,8 +33,9 @@ DBFLAGS = $($*_DBFLAGS) $(USR_DBFLAGS) -I. -I.. $(INSTALL_DBFLAGS) $(RELEASE_DBF
|
||||
# Following line added for backward compatibilty
|
||||
DBD += $(DBDNAME)
|
||||
|
||||
DBD += $(addsuffix .dbd,$(patsubst %.h,%,$(patsubst %.db,%,$(DBDINC))))
|
||||
INC += $(addsuffix .h,$(patsubst %.h,%,$(patsubst %.db,%,$(DBDINC))))
|
||||
DBDINC_NAME = $(patsubst %.h,%,$(patsubst %.db,%,$(DBDINC)))
|
||||
DBD += $(addsuffix .dbd,$(DBDINC_NAME))
|
||||
INC += $(addsuffix .h,$(DBDINC_NAME))
|
||||
|
||||
INSTALL_DBDS += $(addprefix $(INSTALL_DBD)/,$(notdir $(DBD)))
|
||||
|
||||
@@ -90,8 +91,8 @@ ACF_CMD = $(CPP) $(ACF_CPPFLAGS) $(ACF_INCLUDES) $< > $@
|
||||
|
||||
##################################################### dependancies
|
||||
|
||||
HINC += $(addsuffix .h,$(patsubst %.h,%,$(patsubst %.db,%,$(DBDINC))))
|
||||
COMMON_DBDINC += $(addprefix $(COMMON_DIR),$(HINC))
|
||||
HINC += $(addsuffix .h,$(DBDINC_NAME))
|
||||
COMMON_DBDINC += $(addprefix $(COMMON_DIR)/,$(HINC))
|
||||
|
||||
DBDDEPENDS_FILES += $(addsuffix $(DEP),$(COMMON_DBDS) \
|
||||
$(COMMON_DBDINC) $(COMMON_DBS))
|
||||
@@ -105,6 +106,7 @@ MAKEDBDEPENDS = $(PERL) $(TOOLS)/makeDbDepends.pl
|
||||
|
||||
ifndef T_A
|
||||
|
||||
ECHO := $(if $(findstring s,$(MAKEFLAGS)),\#,@echo)
|
||||
COMMON_DIR = .
|
||||
INSTALL_DBDS =
|
||||
INSTALL_DBS =
|
||||
@@ -161,13 +163,13 @@ $(COMMON_DIR)/%.edf: ../%.sch $(DEPSCHS)
|
||||
|
||||
ifdef CREATESUBSTITUTIONS
|
||||
$(COMMON_DIR)/%.substitutions:
|
||||
@echo "Create substitutions"
|
||||
$(ECHO) "Create substitutions"
|
||||
@$(RM) $@
|
||||
$(CREATESUBSTITUTIONS) $(COMMON_DIR)/$*
|
||||
$(CREATESUBSTITUTIONS) $@
|
||||
endif
|
||||
|
||||
$(INSTALL_DB)/%.substitutions: %.substitutions
|
||||
@echo "Installing db file $@"
|
||||
$(ECHO) "Installing db file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
.PRECIOUS: $(COMMON_DIR)/%.substitutions
|
||||
@@ -181,7 +183,7 @@ $(COMMON_DIR)/%.template: $(COMMON_DIR)/%.edf
|
||||
@$(RM) $@.VAR
|
||||
|
||||
$(INSTALL_DB)/%.template: %.template
|
||||
@echo "Installing db file $@"
|
||||
$(ECHO) "Installing db file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
.PRECIOUS: $(COMMON_DIR)/%.template
|
||||
@@ -189,20 +191,32 @@ $(INSTALL_DB)/%.template: %.template
|
||||
##################################################### INC files
|
||||
|
||||
$(COMMON_DIR)/%Record.h: $(COMMON_DIR)/%Record.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$<:../Makefile" >> $@$(DEP)
|
||||
@$(RM) $@
|
||||
$(DBTORECORDTYPEH) $(DBDFLAGS) $< $@
|
||||
|
||||
$(COMMON_DIR)/%Record.h: %Record.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$<:../Makefile" >> $@$(DEP)
|
||||
@$(RM) $@
|
||||
$(DBTORECORDTYPEH) $(DBDFLAGS) $< $@
|
||||
|
||||
$(COMMON_DIR)/menu%.h: $(COMMON_DIR)/menu%.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$<:../Makefile" >> $@$(DEP)
|
||||
@$(RM) $@
|
||||
$(DBTOMENUH) $< $@
|
||||
$(DBTOMENUH) $(DBDFLAGS) $< $@
|
||||
|
||||
$(COMMON_DIR)/menu%.h: menu%.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$<:../Makefile" >> $@$(DEP)
|
||||
@$(RM) $@
|
||||
$(DBTOMENUH) $< $@
|
||||
$(DBTOMENUH) $(DBDFLAGS) $< $@
|
||||
|
||||
.PRECIOUS: $(COMMON_DIR)/%.h
|
||||
|
||||
@@ -216,14 +230,14 @@ $(COMMON_DIR)/%.dbd: $(COMMON_DIR)/%Include.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "$<:../Makefile" >> $@$(DEP)
|
||||
@echo "Expanding dbd"
|
||||
$(ECHO) "Expanding dbd"
|
||||
@$(RM) $@
|
||||
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
|
||||
|
||||
$(COMMON_DIR)/%.dbd: %Include.dbd
|
||||
@$(RM) $@$(DEP)
|
||||
@$(DBDDEPENDS_CMD)
|
||||
@echo "Expanding dbd"
|
||||
$(ECHO) "Expanding dbd"
|
||||
@$(RM) $@
|
||||
$(DBEXPAND) $(DBDFLAGS) -o $@ $<
|
||||
|
||||
@@ -232,16 +246,16 @@ $(COMMON_DIR)/%Include.dbd:
|
||||
$(PERL) $(TOOLS)/makeIncludeDbd.pl $($*_DBD) $@
|
||||
|
||||
$(INSTALL_DBD)/%: $(COMMON_DIR)/%
|
||||
@echo "Installing created dbd file $@"
|
||||
$(ECHO) "Installing created dbd file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_DBD)/%: %
|
||||
@echo "Installing dbd file $@"
|
||||
$(ECHO) "Installing dbd file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
define DBD_INSTALLS_template
|
||||
$$(INSTALL_DBD)/$$(notdir $(1)) : $(1)
|
||||
@echo "Installing $$@"
|
||||
$(ECHO) "Installing $$@"
|
||||
@$$(INSTALL) -d -m $$(INSTALL_PERMISSIONS) $$^ $$(INSTALL_DBD)
|
||||
endef
|
||||
$(foreach file, $(DBD_INSTALLS), $(eval $(call DBD_INSTALLS_template, $(file))))
|
||||
@@ -258,7 +272,7 @@ $(COMMON_DIR)/%.db$(RAW): $(COMMON_DIR)/%.edf
|
||||
#$(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
|
||||
# @$(RM) $@$(DEP)
|
||||
# @$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
|
||||
# @echo "Inflating database from $^"
|
||||
# $(ECHO) "Inflating database from $^"
|
||||
# @$(RM) $@
|
||||
# $(MSI) $(DBFLAGS) -S$< $(firstword $(patsubst %.substitutions,,$^)) > msi.tmp
|
||||
# $(MV) msi.tmp $@
|
||||
@@ -267,7 +281,7 @@ $(COMMON_DIR)/%.db$(RAW): %.substitutions
|
||||
@$(RM) $@$(DEP)
|
||||
$(MAKEDBDEPENDS) $@ $< $(TEMPLATE_FILENAME) >> $@$(DEP)
|
||||
@echo "$@:$(TEMPLATE_FILENAME)" >> $@$(DEP)
|
||||
@echo "Inflating database from $< $(TEMPLATE_FILENAME)"
|
||||
$(ECHO) "Inflating database from $< $(TEMPLATE_FILENAME)"
|
||||
@$(RM) $@
|
||||
$(MSI) $(DBFLAGS) -S$< $(TEMPLATE_FILENAME) > msi.tmp
|
||||
$(MV) msi.tmp $@
|
||||
@@ -275,7 +289,7 @@ $(COMMON_DIR)/%.db$(RAW): %.substitutions
|
||||
$(COMMON_DIR)/%.db$(RAW): %.template
|
||||
@$(RM) $@$(DEP)
|
||||
@$(MAKEDBDEPENDS) $@ $^ >> $@$(DEP)
|
||||
@echo "Inflating database from $<"
|
||||
$(ECHO) "Inflating database from $<"
|
||||
@$(RM) $@
|
||||
$(MSI) $(DBFLAGS) $< > msi.tmp
|
||||
$(MV) msi.tmp $@
|
||||
@@ -283,7 +297,7 @@ $(COMMON_DIR)/%.db$(RAW): %.template
|
||||
$(COMMON_DIR)/%.acf: %.acs
|
||||
@$(RM) $@$(DEP)
|
||||
@$(ACFDEPENDS_CMD)
|
||||
@echo "Creating acf file $@"
|
||||
$(ECHO) "Creating acf file $@"
|
||||
@$(RM) $@
|
||||
$(ACF_CMD)
|
||||
|
||||
@@ -297,7 +311,7 @@ $(COMMON_DIR)/%.db$(RAW): ../%.db
|
||||
$(CP) $< $@
|
||||
|
||||
$(COMMON_DIR)/%.db: $(COMMON_DIR)/%.db$(RAW)
|
||||
@echo "Optimizing database $@"
|
||||
$(ECHO) "Optimizing database $@"
|
||||
@$(RM) $@
|
||||
$(DBST) . $< -d > $@
|
||||
|
||||
@@ -306,17 +320,17 @@ $(COMMON_DIR)/%.db: $(COMMON_DIR)/%.db$(RAW)
|
||||
else
|
||||
|
||||
$(INSTALL_DB)/%: %
|
||||
@echo "Installing db file $@"
|
||||
$(ECHO) "Installing db file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
endif
|
||||
|
||||
$(INSTALL_DB)/%.db: $(COMMON_DIR)/%.db
|
||||
@echo "Installing created db file $@"
|
||||
$(ECHO) "Installing created db file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
define DB_INSTALLS_template
|
||||
$$(INSTALL_DB)/$$(notdir $(1)) : $(1)
|
||||
@echo "Installing $$@"
|
||||
$(ECHO) "Installing $$@"
|
||||
@$$(INSTALL) -d -m $$(INSTALL_PERMISSIONS) $$^ $$(INSTALL_DB)
|
||||
endef
|
||||
$(foreach file, $(DB_INSTALLS), $(eval $(call DB_INSTALLS_template, $(file))))
|
||||
|
||||
@@ -10,18 +10,19 @@
|
||||
#RULES.ioc
|
||||
include $(CONFIG)/RULES_DIRS
|
||||
|
||||
build: buildInstall
|
||||
install: buildInstall
|
||||
build$(DIVIDER)$(ARCH) build: buildInstall
|
||||
install$(DIVIDER)$(ARCH) install: buildInstall
|
||||
$(ARCH): buildInstall
|
||||
|
||||
ifneq ($(findstring $(ARCH),$(BUILD_ARCHS)),)
|
||||
buildInstall: $(TARGETS)
|
||||
ifeq ($(filter $(ARCH),$(BUILD_ARCHS)),$(ARCH))
|
||||
buildInstall$(DIVIDER)$(ARCH) buildInstall: $(TARGETS)
|
||||
|
||||
clean:
|
||||
clean$(DIVIDER)$(ARCH) clean:
|
||||
$(RM) cdCommands envPaths dllPath.bat
|
||||
|
||||
else
|
||||
buildInstall:
|
||||
clean:
|
||||
buildInstall$(DIVIDER)$(ARCH) buildInstall:
|
||||
clean$(DIVIDER)$(ARCH) clean:
|
||||
endif
|
||||
|
||||
cdCommands envPaths dllPath.bat: $(wildcard $(TOP)/configure/RELEASE*) \
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
|
||||
all: install
|
||||
|
||||
build install buildInstall: $(CHECK_RELEASE_$(CHECK_RELEASE))
|
||||
|
||||
rebuild: clean install
|
||||
|
||||
ACTIONS = inc
|
||||
@@ -36,12 +34,16 @@ buildDirs = $(addprefix O.,$(BUILD_ARCHS))
|
||||
|
||||
#*************************************************************************
|
||||
# Create epics_host_arch dependancies for GNU make -j option
|
||||
# Only works with GNU make 3.80 or later (uses eval function)
|
||||
# Only works with GNU make 3.81 or later (uses eval function)
|
||||
# Needed in dirs where EPICS_HOST_ARCH build creates a tool used in
|
||||
# cross arch builds
|
||||
|
||||
CROSS_ARCHS += $(CROSS1) $(CROSS2)
|
||||
|
||||
# j is NOT found in MAKEFLAGS when using make 3.81
|
||||
# Hope to uncomment this for GNU make 3.82
|
||||
#ifeq ($(findstring j,$(MAKEFLAGS)),j)
|
||||
|
||||
define DEP_template
|
||||
$(2): $$(EPICS_HOST_ARCH)
|
||||
$(1)$$(DIVIDER)$(2): $(1)$$(DIVIDER)$$(EPICS_HOST_ARCH)
|
||||
@@ -50,6 +52,7 @@ endef
|
||||
$(foreach action, $(ACTIONS), $(foreach arch,\
|
||||
$(CROSS_ARCHS),$(eval $(call DEP_template,$(action),$(arch)))))
|
||||
|
||||
#endif
|
||||
#*************************************************************************
|
||||
|
||||
$(actionArchTargets) : $(buildDirs) O.Common
|
||||
@@ -66,26 +69,6 @@ $(buildDirs):
|
||||
O.Common:
|
||||
$(MKDIR) O.Common
|
||||
|
||||
#
|
||||
# RELEASE consistency checking
|
||||
|
||||
# The RELEASE.$(EPICS_HOST_ARCH) files don't need to be included here:
|
||||
targetReleaseFiles = $(wildcard $(foreach arch, $(BUILD_ARCHS), \
|
||||
$(TOP)/configure/RELEASE.Common.$(arch) \
|
||||
$(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(arch)))
|
||||
|
||||
checkReleaseTargets = $(addprefix checkRelease, $(suffix $(targetReleaseFiles)))
|
||||
checkRelease: $(checkReleaseTargets)
|
||||
$(CONVERTRELEASE) checkRelease
|
||||
$(checkReleaseTargets):checkRelease.%:
|
||||
$(CONVERTRELEASE) -a $* checkRelease
|
||||
|
||||
warnReleaseTargets = $(addprefix warnRelease, $(suffix $(targetReleaseFiles)))
|
||||
warnRelease: $(warnReleaseTargets)
|
||||
-$(CONVERTRELEASE) checkRelease
|
||||
$(warnReleaseTargets):warnRelease.%:
|
||||
-$(CONVERTRELEASE) -a $* checkRelease
|
||||
|
||||
#
|
||||
# special clean rule
|
||||
#
|
||||
@@ -105,4 +88,3 @@ realclean ::
|
||||
.PHONY : $(cleanArchTargets)
|
||||
.PHONY : $(BUILD_ARCHS)
|
||||
.PHONY : $(ACTIONS) clean realclean archclean all
|
||||
.PHONY : checkRelease $(checkReleaseTargets)
|
||||
|
||||
@@ -127,8 +127,8 @@ buildInstall : \
|
||||
$(INSTALL_BIN_INSTALLS)
|
||||
|
||||
clean::
|
||||
@echo "Cleaning"
|
||||
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME)\
|
||||
$(ECHO) "Cleaning"
|
||||
@$(RM) *.i *$(OBJ) *.a $(TESTPRODNAME) $(LIBNAME) $(SHRLIBNAME) \
|
||||
$(INC) $(TARGETS) $(DLL_LINK_LIBNAME) $(TDS) \
|
||||
*.out MakefileInclude $(LOADABLE_SHRLIBNAME) *.manifest *.exp \
|
||||
$(COMMON_INC) $(HDEPENDS_FILES) $(PRODTARGETS) $(TESTSCRIPTS)
|
||||
@@ -150,6 +150,14 @@ browse: $(LIB_BAF) $(PROD_BAF)
|
||||
$(DIRECTORY_TARGETS) :
|
||||
$(MKDIR) -p $@
|
||||
|
||||
$(PRODNAME): $(INSTALL_LIB_INSTALLS)
|
||||
|
||||
# RELEASE file consistency checking
|
||||
checkRelease:
|
||||
$(CONVERTRELEASE) checkRelease
|
||||
warnRelease:
|
||||
-$(CONVERTRELEASE) checkRelease
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# The order of the following rules is
|
||||
# VERY IMPORTANT !!!!
|
||||
@@ -199,7 +207,7 @@ $(OBJLIBNAME):%$(OBJ):
|
||||
|
||||
# WIN95/NT source browser
|
||||
%.bsc: %.sbr
|
||||
@echo "building source browser archive $@"
|
||||
$(ECHO) "building source browser archive $@"
|
||||
@$(RM) $@
|
||||
$(BAFCMD) $<
|
||||
|
||||
@@ -246,7 +254,7 @@ endif
|
||||
ifdef BAF
|
||||
|
||||
$(LIB_BAF): $(addsuffix $(BOF),$(basename $(LIBRARY_LD_OBJS)))
|
||||
@echo "Building source browser archive $@"
|
||||
$(ECHO) "Building source browser archive $@"
|
||||
@$(RM) $@
|
||||
$(BAFCMD) $^
|
||||
|
||||
@@ -256,29 +264,25 @@ ifneq (,$(wildcard ../baseLIBOBJS))
|
||||
$(LIBNAME): ../baseLIBOBJS
|
||||
endif
|
||||
|
||||
# rule for lib (archive of object files) creation
|
||||
$(LIBNAME): $(LIBRARY_OBJS)
|
||||
|
||||
$(LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX):
|
||||
$(DLL_LINK_LIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(LIBNAME) $(DLL_LINK_LIBNAME): $(LIB_PREFIX)%$(LIB_SUFFIX):
|
||||
@$(RM) $@
|
||||
$(ARCMD)
|
||||
ifneq ($(strip $(RANLIB)),)
|
||||
$(RANLIB) $@
|
||||
endif # RANLIB
|
||||
|
||||
$(DLL_LINK_LIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(DLL_LINK_LIBNAME):$(SHRLIB_PREFIX)%.lib:
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
$(MT_DLL_COMMAND)
|
||||
|
||||
$(SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
$(SHRLIBNAME):$(SHRLIB_PREFIX)%$(SHRLIB_SUFFIX):
|
||||
@$(RM) $@
|
||||
$(LINK.shrlib)
|
||||
ifeq ($(SHRLIB_SUFFIX),.dll)
|
||||
$(MT_DLL_COMMAND)
|
||||
endif
|
||||
|
||||
$(LOADABLE_SHRLIBNAME): $(LIBRARY_OBJS) $(LIBRARY_RESS) $(SHRLIB_DEPLIBS)
|
||||
|
||||
@@ -326,14 +330,14 @@ runtests: $(TESTSCRIPTS_$(BUILD_CLASS))
|
||||
## Install rules for BIN_INSTALLS and LIB_INSTALLS
|
||||
define BIN_INSTALLS_template
|
||||
$$(INSTALL_BIN)/$$(notdir $(1)) : $(1)
|
||||
@echo "Installing $$(<F)"
|
||||
$(ECHO) "Installing $$(<F)"
|
||||
@$$(INSTALL) -d -m $$(BIN_PERMISSIONS) $$^ $$(INSTALL_BIN)
|
||||
endef
|
||||
$(foreach file, $(BIN_INSTALLS), $(eval $(call BIN_INSTALLS_template, $(file))))
|
||||
|
||||
define LIB_INSTALLS_template
|
||||
$$(INSTALL_LIB)/$$(notdir $(1)) : $(1)
|
||||
@echo "Installing $$(<F)"
|
||||
$(ECHO) "Installing $$(<F)"
|
||||
@$$(INSTALL) -d -m $$(LIB_PERMISSIONS) $$^ $$(INSTALL_LIB)
|
||||
endef
|
||||
$(foreach file, $(LIB_INSTALLS), $(eval $(call LIB_INSTALLS_template, $(file))))
|
||||
@@ -341,30 +345,30 @@ $(foreach file, $(LIB_INSTALLS), $(eval $(call LIB_INSTALLS_template, $(file))))
|
||||
#---------------------------------------------------------------
|
||||
|
||||
$(INSTALL_BIN)/%: ../os/$(OS_CLASS)/%
|
||||
@echo "Installing os-specific script $@"
|
||||
$(ECHO) "Installing os-specific script $@"
|
||||
@$(INSTALL_PRODUCT) -d -m $(BIN_PERMISSIONS) $< $(INSTALL_BIN)
|
||||
|
||||
$(INSTALL_BIN)/%: %
|
||||
@echo "Installing created file $@"
|
||||
$(ECHO) "Installing created file $@"
|
||||
@$(INSTALL_PRODUCT) -d -m $(BIN_PERMISSIONS) $< $(INSTALL_BIN)
|
||||
|
||||
$(INSTALL_BIN)/%: ../%
|
||||
@echo "Installing script $@"
|
||||
$(ECHO) "Installing script $@"
|
||||
@$(INSTALL_PRODUCT) -d -m $(BIN_PERMISSIONS) $< $(INSTALL_BIN)
|
||||
|
||||
$(INSTALL_LIB)/%.a: %.a
|
||||
@echo "Installing library $@"
|
||||
$(ECHO) "Installing library $@"
|
||||
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_LIB)
|
||||
ifneq ($(strip $(RANLIB)),)
|
||||
$(RANLIB) $@
|
||||
endif # RANLIB
|
||||
|
||||
$(INSTALL_LIB)/%.lib: %.lib
|
||||
@echo "Installing library $@"
|
||||
$(ECHO) "Installing library $@"
|
||||
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_LIB)
|
||||
|
||||
$(INSTALL_SHRLIB)/lib%: lib%
|
||||
@echo "Installing shared library $@"
|
||||
$(ECHO) "Installing shared library $@"
|
||||
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
|
||||
ifneq (,$(strip $(SHRLIB_VERSION)))
|
||||
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)
|
||||
@@ -374,20 +378,20 @@ endif # SHRLIB_VERSION
|
||||
|
||||
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))
|
||||
$(INSTALL_TCLLIB)/%: %
|
||||
@echo "Installing Tcl library $@"
|
||||
$(ECHO) "Installing Tcl library $@"
|
||||
@$(INSTALL) -d -m $(BIN_PERMISSIONS) $< $(INSTALL_TCLLIB)
|
||||
|
||||
$(INSTALL_TCLLIB)/%: ../%
|
||||
@echo "Installing Tcl library $@"
|
||||
$(ECHO) "Installing Tcl library $@"
|
||||
@$(INSTALL) -d -m $(BIN_PERMISSIONS) $< $(INSTALL_TCLLIB)
|
||||
endif
|
||||
|
||||
$(INSTALL_TCLLIB)/$(TCLINDEX): $(INSTALL_TCLLIBS)
|
||||
@echo "Updating $@"
|
||||
@echo eval auto_mkindex $(INSTALL_TCLLIB) "$(TCLLIBNAME)" | tclsh
|
||||
$(ECHO) "Updating $@"
|
||||
$(ECHO) eval auto_mkindex $(INSTALL_TCLLIB) "$(TCLLIBNAME)" | tclsh
|
||||
|
||||
$(INSTALL_LOADABLE_SHRLIBS): $(INSTALL_SHRLIB)/%: %
|
||||
@echo "Installing loadable shared library $@"
|
||||
$(ECHO) "Installing loadable shared library $@"
|
||||
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
|
||||
ifneq (,$(strip $(LOADABLE_SHRLIB_VERSION)))
|
||||
@$(RM) $(subst .$(LOADABLE_SHRLIB_VERSION),,$@)
|
||||
@@ -395,47 +399,47 @@ ifneq (,$(strip $(LOADABLE_SHRLIB_VERSION)))
|
||||
endif # LOADABLE_SHRLIB_VERSION
|
||||
|
||||
$(INSTALL_CONFIG)/%: %
|
||||
@echo "Installing config file $@"
|
||||
$(ECHO) "Installing config file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_CONFIG)/%: ../%
|
||||
@echo "Installing config file $@"
|
||||
$(ECHO) "Installing config file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_INCLUDE)/% : $(COMMON_DIR)/%
|
||||
@echo "Installing generated generic include file $@"
|
||||
$(ECHO) "Installing generated generic include file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_INCLUDE)/% : %
|
||||
@echo "Installing generic include file $@"
|
||||
$(ECHO) "Installing generic include file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_INCLUDE)/os/$(OS_CLASS)/% : %
|
||||
@echo "Installing os dependent include file $@"
|
||||
$(ECHO) "Installing os dependent include file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_DOC)/%: %
|
||||
@echo "Installing doc $@"
|
||||
$(ECHO) "Installing doc $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(INSTALL_DOC)
|
||||
|
||||
$(INSTALL_DOC)/%: ../%
|
||||
@echo "Installing doc $@"
|
||||
$(ECHO) "Installing doc $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(INSTALL_DOC)
|
||||
|
||||
$(INSTALL_HTML)/$(HTMLS_DIR)/%: %
|
||||
@echo "Installing html $@"
|
||||
$(ECHO) "Installing html $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_HTML)/$(HTMLS_DIR)/%: ../%
|
||||
@echo "Installing html $@"
|
||||
$(ECHO) "Installing html $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_TEMPLATES_SUBDIR)/%: ../%
|
||||
@echo "Installing $@"
|
||||
$(ECHO) "Installing $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_TEMPLATES_SUBDIR)/%: %
|
||||
@echo "Installing $@"
|
||||
$(ECHO) "Installing $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
-include $(CONFIG)/RULES_EXPAND
|
||||
@@ -444,7 +448,7 @@ $(INSTALL_TEMPLATES_SUBDIR)/%: %
|
||||
.PRECIOUS: $(COMMON_INC)
|
||||
|
||||
.PHONY: all inc build install clean rebuild buildInstall
|
||||
.PHONY: runtests
|
||||
.PHONY: runtests checkRelease warnRelease
|
||||
|
||||
endif # BASE_RULES_BUILD
|
||||
# EOF RULES_BUILD
|
||||
|
||||
@@ -38,7 +38,7 @@ all : install
|
||||
rebuild : clean install
|
||||
|
||||
# Create directory dependancies lines for GNU make -j option
|
||||
# Only works with GNU make 3.80 or later (uses eval function)
|
||||
# Only works with GNU make 3.81 or later (uses eval function)
|
||||
define DEP_template1
|
||||
$(1): $$($(1)_DEPEND_DIRS)
|
||||
endef
|
||||
|
||||
@@ -13,11 +13,11 @@ EXPANDED = $(EXPAND:%@=%)
|
||||
buildInstall: $(EXPANDED)
|
||||
|
||||
$(EXPANDED): %: ../%@
|
||||
@echo "Expanding $< to $@"
|
||||
$(ECHO) "Expanding $< to $@"
|
||||
@$(RM) $@
|
||||
@$(EXPAND_TOOL) $(EXPANDFLAGS) $($@_EXPANDFLAGS) $< $@
|
||||
|
||||
clean::
|
||||
$(RM) $(EXPANDED)
|
||||
@$(RM) $(EXPANDED)
|
||||
|
||||
endif
|
||||
|
||||
@@ -49,16 +49,16 @@ endif
|
||||
|
||||
define FILE_TYPE_template
|
||||
|
||||
$(1) += $$(if $$(strip $$($(1)_$$(ARCH_CLASS))),$$(subst -nil-,,$$($(1)_$$(ARCH_CLASS))), $$($(1)_DEFAULT))
|
||||
$(1) += $$(if $$(strip $$($(1)_$$(OS_CLASS))),$$(subst -nil-,,$$($(1)_$$(OS_CLASS))), $$($(1)_DEFAULT))
|
||||
|
||||
INSTALLS_$(1) = $$($(1):%=$$(INSTALL_$(1))/%)
|
||||
|
||||
$$(INSTALL_$(1))/%: ../%
|
||||
@echo "Installing $(1) file $$@"
|
||||
$(ECHO) "Installing $(1) file $$@"
|
||||
@$$(INSTALL) -d -m $$(INSTALL_PERMISSIONS) $$< $$(dir $$@)
|
||||
|
||||
$$(INSTALL_$(1))/%: %
|
||||
@echo "Installing $(1) file $$@"
|
||||
$(ECHO) "Installing $(1) file $$@"
|
||||
@$$(INSTALL) -d -m $$(INSTALL_PERMISSIONS) $$< $$(dir $$@)
|
||||
|
||||
buildInstall : $$(INSTALLS_$(1))
|
||||
|
||||
@@ -114,40 +114,40 @@ $(JAVA_DIRECTORY_TARGETS):
|
||||
endif
|
||||
|
||||
$(COMMON_JAVAINC):$(JAVAINC_CLASSFILES)
|
||||
@echo Creating header files $(COMMON_JAVAINC)
|
||||
$(ECHO) Creating header files $(COMMON_JAVAINC)
|
||||
@$(RM) $@
|
||||
$(JAVAHCMD) $(JAVAINC_CLASSNAMES)
|
||||
|
||||
$(COMMON_TESTCLASSES): $(addprefix ../,$(DEPTESTJAVA))
|
||||
@echo Creating test java class files $(COMMON_TESTCLASSES)
|
||||
$(ECHO) Creating test java class files $(COMMON_TESTCLASSES)
|
||||
@$(RM) $@
|
||||
$(JAVACCMD) -d $(COMMON_DIR) $^
|
||||
|
||||
$(INSTALL_CLASSES): $(addprefix ../,$(JAVA))
|
||||
@echo Creating java class files
|
||||
$(ECHO) Creating java class files
|
||||
@$(RM) $@
|
||||
$(JAVACCMD) -d $(INSTALL_JAVA) $^
|
||||
|
||||
$(INSTALL_JAVADOC): $(addprefix ../,$(JAVA))
|
||||
@echo Creating java doc files
|
||||
$(ECHO) Creating java doc files
|
||||
@$(RM) $@
|
||||
$(JAVADOCCMD) -d $(addprefix $(INSTALL_HTML)/,$(JAVADOC)) $^
|
||||
|
||||
$(COMMON_DIR)/%.jar: $(JARDEPFILES)
|
||||
@echo Creating java jar file $@
|
||||
$(ECHO) Creating java jar file $@
|
||||
@$(RM) $@
|
||||
$(JARCMD)
|
||||
|
||||
$(INSTALL_JAVA)/%.jar: $(COMMON_DIR)/%.jar
|
||||
@echo "Installing java jar file $@"
|
||||
$(ECHO) "Installing java jar file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(INSTALL_JAVA)/%.jar: %.jar
|
||||
@echo "Installing java jar file $@"
|
||||
$(ECHO) "Installing java jar file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
$(addprefix $(INSTALL_JAVA)/, $(JARINPUT)): $(INSTALL_JAVA)/%: ../%
|
||||
@echo "Installing jar input file $@"
|
||||
$(ECHO) "Installing jar input file $@"
|
||||
@$(INSTALL) -d -m $(INSTALL_PERMISSIONS) $< $(@D)
|
||||
|
||||
.PHONY: all install buildInstall rebuild clean build inc
|
||||
|
||||
@@ -82,9 +82,9 @@ $(1)_DLL_DEPLIBS=$$(foreach lib, $$($(1)_DLL_LIBS),\
|
||||
|
||||
$$(LIB_PREFIX)$(1)$$(LIB_SUFFIX):$$($(1)_OBJSNAME) $$($(1)_RESS)
|
||||
$$(LIB_PREFIX)$(1)$$(LIB_SUFFIX):$$($(1)_DEPLIBS)
|
||||
$$(LIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_OBJSNAME) $$($(1)_RESS)
|
||||
$$(LIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_DEPLIBS)
|
||||
$$(LIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_DLL_DEPLIBS)
|
||||
$$(SHRLIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_OBJSNAME) $$($(1)_RESS)
|
||||
$$(SHRLIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_DEPLIBS)
|
||||
$$(SHRLIB_PREFIX)$(1)$$(SHRLIB_SUFFIX):$$($(1)_DLL_DEPLIBS)
|
||||
endef
|
||||
|
||||
$(foreach target, $(LIBRARY), \
|
||||
|
||||
@@ -63,9 +63,9 @@ a_file_CPPFLAGS_WIN32 = -DVERSION='WIN32 port'
|
||||
# again: if INC_$(OS_CLASS) is defined, it is added to INC,
|
||||
# otherwise INC_DEFAULT (if defined) is added:
|
||||
#
|
||||
INC_DEFAULT = for_all_but_WIN32_or_hp700.h
|
||||
INC_DEFAULT = for_all_but_WIN32_or_vxWorks.h
|
||||
INC_WIN32 = only_for_WIN32.h
|
||||
INC_hpux = -nil- # hpux uses no special include
|
||||
INC_vxWorks = -nil- # vxWorks uses no special include
|
||||
INC = file.h
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
@@ -24,6 +24,10 @@ unexport GCC_EXEC_PREFIX
|
||||
# Get RTEMS_BASE definition
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS
|
||||
|
||||
ifneq ($(CONFIG),$(TOP)/configure)
|
||||
-include $(TOP)/configure/CONFIG_SITE.Common.RTEMS
|
||||
endif
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
|
||||
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc
|
||||
@@ -32,13 +36,13 @@ include $(CONFIG.CC)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# RTEMS cross-development tools
|
||||
CC = $(RTEMS_BASE)/bin/$(CC_FOR_TARGET) $(GCCSPECS) -fasm
|
||||
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
|
||||
CC = $(RTEMS_TOOLS)/bin/$(CC_FOR_TARGET) $(GCCSPECS) -fasm
|
||||
CCC = $(RTEMS_TOOLS)/bin/$(CXX)
|
||||
CPP = $(RTEMS_TOOLS)/bin/$(CC_FOR_TARGET) -x c -E
|
||||
AR = $(RTEMS_TOOLS)/bin/$(AR_FOR_TARGET)
|
||||
LD = $(RTEMS_TOOLS)/bin/$(LD_FOR_TARGET) -r
|
||||
|
||||
RANLIB := $(RTEMS_BASE)/bin/$(RANLIB)
|
||||
RANLIB := $(RTEMS_TOOLS)/bin/$(RANLIB)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Build types
|
||||
@@ -47,11 +51,11 @@ VALID_BUILDS = Ioc
|
||||
#--------------------------------------------------
|
||||
# The RTEMS Makefiles redefine several macros, so we have to go
|
||||
# through the following contortions to get the EPICS flags back.
|
||||
CFLAGS = $(CONFORM_CFLAGS) $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
CFLAGS = $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
|
||||
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
|
||||
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)
|
||||
|
||||
CXXFLAGS = $(CONFORM_CXXFLAGS) $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
|
||||
CXXFLAGS = $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
|
||||
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
|
||||
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)\
|
||||
$(LIBRARY_SRC_CFLAGS)
|
||||
@@ -60,10 +64,10 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
|
||||
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
|
||||
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
|
||||
|
||||
LDLIBS = $(STATIC_LDLIBS)\
|
||||
LDLIBS = \
|
||||
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
|
||||
|
||||
CPPFLAGS += $(CONFORM_CPPFLAGS) $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
CPPFLAGS += $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
|
||||
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
|
||||
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
|
||||
|
||||
@@ -99,10 +103,8 @@ CODE_CFLAGS =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
#--------------------------------------------------
|
||||
# RTEMS uses the inline keyword so -pedantic causes too many problems.
|
||||
# Using -ansi turns off lots of useful prototypes (e.g. strtok_r).
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
# Override the usual RTEMS verbosity from ar
|
||||
ARFLAGS = rc
|
||||
|
||||
#--------------------------------------------------
|
||||
# Command-line input support
|
||||
|
||||
@@ -16,7 +16,7 @@ ARCH_DEP_CFLAGS += -DHAVE_MOTLOAD
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
endef
|
||||
|
||||
CROSS_COMPILER_TARGET_ARCHS=RTEMS-beatnik
|
||||
|
||||
@@ -13,9 +13,9 @@ ARCH_DEP_CFLAGS += -DHAVE_PPCBUG
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< rtems
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< rtems
|
||||
gzip -f9 rtems
|
||||
$(RTEMS_BASE)/bin/$(LD_FOR_TARGET) -o $@ \
|
||||
$(RTEMS_TOOLS)/bin/$(LD_FOR_TARGET) -o $@ \
|
||||
$(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$< \
|
||||
-b binary rtems.gz \
|
||||
|
||||
25
configure/os/CONFIG.Common.RTEMS-mvme2700
Normal file
25
configure/os/CONFIG.Common.RTEMS-mvme2700
Normal file
@@ -0,0 +1,25 @@
|
||||
#
|
||||
# Author: Matt Rippa
|
||||
#
|
||||
RTEMS_TARGET_CPU = powerpc
|
||||
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
|
||||
ARCH_DEP_CFLAGS += -DHAVE_PPCBUG
|
||||
ARCH_DEP_CFLAGS += -DNVRAM_INDIRECT
|
||||
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< rtems
|
||||
gzip -f9 rtems
|
||||
$(RTEMS_TOOLS)/bin/$(LD_FOR_TARGET) -o $@ \
|
||||
$(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$< \
|
||||
-b binary rtems.gz \
|
||||
-T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $<.map
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
|
||||
OP_SYS_LDLIBS += -lbspExt
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
@@ -10,7 +10,7 @@ ARCH_DEP_CFLAGS += -DHAVE_MOTLOAD
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
endef
|
||||
|
||||
CROSS_COMPILER_TARGET_ARCHS=RTEMS-beatnik
|
||||
|
||||
@@ -9,11 +9,12 @@
|
||||
RTEMS_TARGET_CPU = powerpc
|
||||
ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
|
||||
ARCH_DEP_CFLAGS += -DHAVE_MOTLOAD
|
||||
ARCH_DEP_CFLAGS += -DBSP_NVRAM_BASE_ADDR=0xf1110000
|
||||
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary $< $@
|
||||
endef
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
|
||||
@@ -11,7 +11,7 @@ RTEMS_TARGET_CPU=i386
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< temp.bin
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< temp.bin
|
||||
$(PROJECT_RELEASE)/build-tools/bin2boot $@ 0x00097E00 \
|
||||
$(PROJECT_RELEASE)/lib/start16.bin 0x00097C00 0 temp.bin 0x00100000 0
|
||||
rm -f temp.bin
|
||||
|
||||
@@ -12,7 +12,7 @@ ARCH_DEP_CFLAGS += -DMY_DO_BOOTP=NULL
|
||||
MUNCH_SUFFIX = .boot
|
||||
MUNCHNAME = $(PRODNAME:%$(EXE)=%$(MUNCH_SUFFIX))
|
||||
define MUNCH_CMD
|
||||
$(RTEMS_BASE)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@
|
||||
$(RTEMS_TOOLS)/bin/$(OBJCOPY_FOR_TARGET) -O binary -R .comment -S $< $@
|
||||
endef
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.RTEMS
|
||||
|
||||
@@ -28,11 +28,11 @@ LOADABLE_SHRLIB_PREFIX = lib
|
||||
# <lib> -> lib<lib>.a
|
||||
LIBNAME = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(LIB_SUFFIX))
|
||||
# <lib> -> lib<lib>.so.<version>
|
||||
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=$(LIB_PREFIX)%$(SHRLIB_SUFFIX))
|
||||
SHRLIBNAME_YES = $(BUILD_LIBRARY:%=$(SHRLIB_PREFIX)%$(SHRLIB_SUFFIX))
|
||||
LOADABLE_SHRLIBNAME = $(LOADABLE_BUILD_LIBRARY:%=$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX))
|
||||
|
||||
#-------------------------------------------------------
|
||||
# shrlib: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
# shrlib: SHRLIB_DEPLIBS, SHRLIB_LDLIBS and SHRLIBDIR_LDFLAGS definitions
|
||||
|
||||
# SHRLIB_LIBS deprecated
|
||||
LIB_LIBS += $(SHRLIB_LIBS)
|
||||
@@ -43,16 +43,18 @@ SHRLIB_DEPLIBS=$(foreach lib, $(LIB_LIBS) $(USR_LIBS), \
|
||||
$(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_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(LIB_LIBS) $(USR_LIBS))\
|
||||
$(STATIC_LDLIBS) \
|
||||
$(addprefix -l, $($*_SYS_LIBS) $(LIB_SYS_LIBS) $(USR_SYS_LIBS)) \
|
||||
$(LDLIBS)
|
||||
|
||||
SHRLIB_DEPLIB_DIRS = $(foreach word,$(sort $(dir $($*_DEPLIBS) $(SHRLIB_DEPLIBS))), \
|
||||
$(shell $(PERL) $(TOOLS)/fullPathName.pl $(word)))
|
||||
$(shell $(PERL) $(TOOLS)/fullPathName.pl $(word)))
|
||||
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-L%)
|
||||
|
||||
#-------------------------------------------------------
|
||||
# Prod: DEPLIBS, LDFLAGS, and LDLIBS definitions
|
||||
# Prod: PROD_DEPLIBS, PROD_LDLIBS and PRODDIR_LDFLAGS definitions
|
||||
|
||||
PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib).*, \
|
||||
@@ -60,8 +62,9 @@ PROD_DEPLIBS=$(foreach lib,$(PROD_LIBS) $(USR_LIBS), \
|
||||
$(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_LDLIBS = $(addprefix -l, $($*_LDLIBS) $(PROD_LIBS) $(USR_LIBS)) \
|
||||
$(STATIC_LDLIBS) \
|
||||
$(addprefix -l, $($*_SYS_LIBS) $(PROD_SYS_LIBS) $(USR_SYS_LIBS))
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Architecture-specific information
|
||||
#
|
||||
ARCH_CLASS = ppc
|
||||
# To build universal binaries, configure ARCH_CLASS
|
||||
# in the file CONFIG_SITE.Common.darwin-ppc
|
||||
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
|
||||
@@ -3,20 +3,13 @@
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for Darwin 'universal' (PowerPC, Intel) target builds
|
||||
# Definitions for Darwin universal PowerPC + x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.darwin-ppcx86
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Set architecture-specific information
|
||||
#
|
||||
ARCH_CLASS = ppcx86
|
||||
|
||||
#
|
||||
# Universal binary support
|
||||
#
|
||||
OP_SYS_CFLAGS += -arch i386 -arch ppc
|
||||
OP_SYS_LDFLAGS += -arch i386 -arch ppc
|
||||
# To build universal binaries, configure ARCH_CLASS
|
||||
# in the file CONFIG_SITE.Common.darwin-ppcx86
|
||||
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
#-------------------------------------------------------
|
||||
|
||||
#
|
||||
# Architecture-specific information
|
||||
#
|
||||
ARCH_CLASS = x86
|
||||
# To build universal binaries, configure ARCH_CLASS
|
||||
# in the file CONFIG_SITE.Common.darwin-x86
|
||||
|
||||
# Include definitions common to all Darwin targets
|
||||
include $(CONFIG)/os/CONFIG.darwinCommon.darwinCommon
|
||||
|
||||
@@ -30,3 +30,8 @@ PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
|
||||
GNU_LDLIBS_YES = -lgcc_pic
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.freebsdCommon
|
||||
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).freebsdCommon
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# CONFIG.Common.hpux-parisc
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for hpux-parisc target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.hpux-parisc
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = hpux
|
||||
ARCH_CLASS = parisc
|
||||
|
||||
# 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 = -DHP_UX
|
||||
OP_SYS_CFLAGS = -D_HPUX_SOURCE
|
||||
OP_SYS_CXXFLAGS =
|
||||
|
||||
SHRLIB_SUFFIX = .sl$(addprefix .,$(SHRLIB_VERSION))
|
||||
LOADABLE_SHRLIB_SUFFIX = .sl$(addprefix .,$(LOADABLE_SHRLIB_VERSION))
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
SHRLIBDIR_LDFLAGS += -Wl,+b$(subst $(space),:,$(SHRLIB_DEPLIB_DIRS)),+s
|
||||
|
||||
# Set runtime path for products
|
||||
PRODDIR_LDFLAGS += -Wl,+b$(subst $(space),:,$(PROD_DEPLIB_DIRS)),+s
|
||||
|
||||
GNU_TARGET=parisc-hp-unix
|
||||
@@ -1,11 +0,0 @@
|
||||
# CONFIG.Common.hpux-parisc-gnu
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for hpux-parisc gnu compiler target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.hpux-parisc-gnu
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all hpux-parisc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.hpux-parisc
|
||||
@@ -13,7 +13,6 @@ ARCH_CLASS = arm
|
||||
|
||||
# Set a special definition for network order of Netwinder ARM floating point
|
||||
ARCH_DEP_CPPFLAGS += -D_ARM_NWFP_
|
||||
ARCH_DEP_CPPFLAGS += -mcpu=arm9 -marm
|
||||
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
VALID_BUILDS = Ioc
|
||||
|
||||
@@ -10,3 +10,4 @@
|
||||
# Include definitions common to all linux-x86 target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
|
||||
HOST_OPT=NO
|
||||
|
||||
@@ -10,3 +10,4 @@
|
||||
# Include definitions common to all linux-x86_64 target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.linux-x86_64
|
||||
|
||||
HOST_OPT=NO
|
||||
|
||||
25
configure/os/CONFIG.Common.linux-xscale_be
Normal file
25
configure/os/CONFIG.Common.linux-xscale_be
Normal file
@@ -0,0 +1,25 @@
|
||||
# CONFIG.Common.linux-xscale_be
|
||||
#
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-xscale_be (big-endian) target builds.
|
||||
# This target has been tested with the MOXA UC-7408-LX Plus.
|
||||
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.linux-xscale_be
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Linux targets
|
||||
include $(CONFIG)/os/CONFIG.Common.linuxCommon
|
||||
|
||||
ARCH_CLASS = xscale
|
||||
|
||||
#
|
||||
# The vendor's tool chain needs to be located here
|
||||
#
|
||||
GNU_DIR=/usr/local/xscale_be
|
||||
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
VALID_BUILDS = Ioc
|
||||
GNU_TARGET = xscale_be
|
||||
CMPLR_PREFIX = $(addsuffix -,$(GNU_TARGET))
|
||||
endif
|
||||
@@ -20,7 +20,12 @@ POSIX_LDLIBS = -lpthread
|
||||
# -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_LDLIBS += -lrt
|
||||
OP_SYS_LDLIBS += -lrt -ldl
|
||||
|
||||
# Added here for cross-target builds which include this file
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
@@ -29,5 +34,9 @@ SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
LDLIBS_READLINE = -lreadline -lcurses
|
||||
LDLIBS_READLINE = -lreadline -lncurses
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.linuxCommon
|
||||
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).linuxCommon
|
||||
|
||||
@@ -16,7 +16,8 @@ ARCH_CLASS = alpha
|
||||
CODE_CPPFLAGS =
|
||||
|
||||
POSIX_CPPFLAGS += -pthread -ieee
|
||||
POSIX_LDFLAGS += -pthread -ieee
|
||||
# Unknown reason why this doesn't work in POSIX_LDFLAGS:
|
||||
POSIX_LDLIBS += -pthread -ieee
|
||||
|
||||
OP_SYS_CPPFLAGS += -D_OSF_SOURCE
|
||||
OP_SYS_LDLIBS += -lrt
|
||||
|
||||
@@ -47,13 +47,14 @@ USE_STLPORT=NO
|
||||
|
||||
OP_SYS_CFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT))
|
||||
OP_SYS_LDFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT))
|
||||
OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT))
|
||||
|
||||
# OS libraries used when generating shared libraries or static binaries
|
||||
OP_SYS_LDLIBS += -lsocket -lnsl
|
||||
OP_SYS_LDLIBS_8 += -lCrun -lc
|
||||
OP_SYS_LDLIBS_9 += -lCrun -lc
|
||||
OP_SYS_LDLIBS_10 += -lCrun -lc
|
||||
OP_SYS_LDLIBS_9 += -lumem -lCrun -lc
|
||||
OP_SYS_LDLIBS_10 += -lumem -lCrun -lc
|
||||
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
|
||||
OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT))
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
READLINE_DIR = $(GNU_DIR)
|
||||
|
||||
@@ -10,3 +10,5 @@
|
||||
# Include definitions common to all solaris-sparc target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
|
||||
|
||||
# Removes -O optimization and adds -g compile option
|
||||
HOST_OPT=NO
|
||||
|
||||
15
configure/os/CONFIG.Common.solaris-x86_64-gnu
Normal file
15
configure/os/CONFIG.Common.solaris-x86_64-gnu
Normal file
@@ -0,0 +1,15 @@
|
||||
# CONFIG.Common.solaris-x86_64-gnu
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86_64 gnu compiler target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.solaris-x86_64-gnu
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all solaris-x86-gnu target archs
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-x86-gnu
|
||||
|
||||
ARCH_DEP_CFLAGS += -m64
|
||||
ARCH_DEP_LDFLAGS += -m64
|
||||
#ARCH_DEP_LDFLAGS += -L$(GNU_LIB)/amd64 -R$(GNU_LIB)/amd64
|
||||
@@ -20,6 +20,4 @@ ARCH_DEP_CFLAGS = -m486
|
||||
ARCH_DEP_CXXFLAGS += -x 'c++'
|
||||
ARCH_DEP_CFLAGS += -fno-defer-pop
|
||||
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.Common.vxWorks-486
|
||||
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-486-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-486-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-486-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-486-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-486-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-486
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-68040lc-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-68040lc-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-68040lc-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-68040lc-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-68040lc-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-68040lc
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-68060-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-68060-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-68060-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-68060-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-68060-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-68060
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-mpc8540-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-mpc8540-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-mpc8540-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-mpc8540-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-mpc8540-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-mpc8540
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-pentium-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-pentium-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-pentium-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-pentium-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-pentium-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-pentium
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-ppc603-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-ppc603-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-ppc603-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc603-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc603
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-ppc603_long-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-ppc603_long-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-ppc603_long-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc603_long-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc603_long-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc603_long
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-ppc604-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-ppc604-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-ppc604-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc604-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-ppc604_altivec-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-ppc604_altivec-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-ppc604_altivec-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc604_altivec-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604_altivec-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_altivec
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
14
configure/os/CONFIG.Common.vxWorks-ppc604_long-debug
Normal file
14
configure/os/CONFIG.Common.vxWorks-ppc604_long-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.Common.vxWorks-ppc604_long-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for vxWorks-ppc604_long-debug target archs
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-ppc604_long-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all vxWorks archs
|
||||
include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long
|
||||
|
||||
CROSS_OPT = NO
|
||||
|
||||
@@ -16,5 +16,5 @@ OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
HOSTEXE=.exe
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
PATH := $(EPICS_BASE_BIN):$(PATH)
|
||||
|
||||
|
||||
@@ -23,15 +23,6 @@ SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
|
||||
# -ansi build errors need fixing: u_long undeclared, fd_set with no type
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
|
||||
# Override linking with gcc library from CONFIG.gnuCommon
|
||||
GNU_LDLIBS_YES =
|
||||
|
||||
|
||||
15
configure/os/CONFIG.cygwin-x86.cygwin-x86-debug
Normal file
15
configure/os/CONFIG.cygwin-x86.cygwin-x86-debug
Normal file
@@ -0,0 +1,15 @@
|
||||
# CONFIG.cygwin-x86.cygwin-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for cygwin-x86 host - cygwin-x86-debug target build
|
||||
# Sites may override these definitions in CONFIG_SITE.cygwin-x86.cygwin-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.cygwin-x86
|
||||
include $(CONFIG)/os/CONFIG.cygwin-x86.cygwin-x86
|
||||
|
||||
BUILD_CLASS = HOST
|
||||
|
||||
HOST_OPT = NO
|
||||
14
configure/os/CONFIG.darwin-ppc.darwin-ppc-debug
Normal file
14
configure/os/CONFIG.darwin-ppc.darwin-ppc-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.darwin-ppc.darwin-ppc-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for darwin-ppc host - darwin-ppc-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-ppc.darwin-ppc-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
-include $(CONFIG)/os/CONFIG.Common.darwin-ppc
|
||||
-include $(CONFIG)/os/CONFIG.darwin-ppc.darwin-ppc
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
HOST_OPT = NO
|
||||
@@ -3,7 +3,7 @@
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for Darwin 'universal' (PowerPC, Intel) host builds
|
||||
# Definitions for Darwin universal PowerPC + x86 host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-ppcx86.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
|
||||
14
configure/os/CONFIG.darwin-x86.darwin-x86-debug
Normal file
14
configure/os/CONFIG.darwin-x86.darwin-x86-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.darwin-x86.darwin-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for darwin-x86 host - darwin-x86-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-x86.darwin-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
-include $(CONFIG)/os/CONFIG.Common.darwin-x86
|
||||
-include $(CONFIG)/os/CONFIG.darwin-x86.darwin-x86
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
HOST_OPT = NO
|
||||
@@ -1,10 +1,10 @@
|
||||
# CONFIG.Common.darwinCommon
|
||||
# CONFIG.darwinCommon.darwinCommon
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for darwin target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.darwin-<arch>
|
||||
# Common definitions for darwin builds
|
||||
# Sites may override these definitions in CONFIG_SITE.darwinCommon.darwinCommon
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
@@ -18,6 +18,18 @@ include $(CONFIG)/CONFIG.gnuCommon
|
||||
#
|
||||
OS_CLASS = Darwin
|
||||
|
||||
#
|
||||
# Build architecture flags
|
||||
# For Darwin, ARCH_CLASS may be empty, or may contain a list of CPU
|
||||
# architectures which must be valid arguments to the -arch options
|
||||
# for the cc and ld commands.
|
||||
# ARCH_CLASS is defined in a CONFIG_SITE file which is not loaded
|
||||
# until after this file.
|
||||
#
|
||||
ARCH_DEP_FLAGS = $(addprefix -arch ,$(ARCH_CLASS))
|
||||
ARCH_DEP_CFLAGS += $(ARCH_DEP_FLAGS)
|
||||
ARCH_DEP_LDFLAGS += $(ARCH_DEP_FLAGS)
|
||||
|
||||
#
|
||||
# Special flags for Darwin
|
||||
# No common blocks (as required when using shared libraries)
|
||||
@@ -94,8 +106,7 @@ vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
%.o: %.m
|
||||
$(COMPILE.c) -c $<
|
||||
|
||||
#
|
||||
# Pedantic produces way too many unnecessary messages
|
||||
#
|
||||
CONFORM_CFLAGS_STRICT=-ansi
|
||||
CONFORM_CXXFLAGS_STRICT=-ansi
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.darwinCommon.darwinCommon
|
||||
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).darwinCommon
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
# CONFIG.hpux-parisc-gnu.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for hpux-parisc gnu compiler host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.hpux-parisc-gnu.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to hpux-parisc hosts
|
||||
include $(CONFIG)/os/CONFIG.hpux-parisc.Common
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
# CONFIG.hpux-parisc-gnu.hpux-parisc-gnu
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for hpux-parisc gnu compiler host - hpux-parisc gnu compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.hpux-parisc-gnu.hpux-parisc-gnu
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
AR = ar -rc
|
||||
RANLIB=
|
||||
LD = ld -r
|
||||
|
||||
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 += -D_REENTRANT -D_PTHREADS -D_POSIX_C_SOURCE=199506L
|
||||
USR_SYS_LIBS += pthread
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# CONFIG.hpux-parisc.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for hpux-parisc host archs
|
||||
# Sites may override these definitions in CONFIG_SITE.hpux-parisc.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
WIND_HOST_TYPE = parisc-hpux10
|
||||
@@ -1,55 +0,0 @@
|
||||
# CONFIG.hpux-parisc.hpux-parisc
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for host hpux-parisc - target hpux-parisc builds
|
||||
# Sites may override these definitions in CONFIG_SITE.hpux-parisc.hpux-parisc
|
||||
#-------------------------------------------------------
|
||||
|
||||
CC = cc
|
||||
CCC = aCC
|
||||
CPP = $(CC) -E
|
||||
RANLIB =
|
||||
AR = ar -rc
|
||||
LD = ld -r
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
CONFORM_CFLAGS_ANSI = -Aa -mt
|
||||
CONFORM_CFLAGS_STRICT = -Aa -mt
|
||||
CONFORM_CFLAGS_TRAD = -Ac -mt
|
||||
|
||||
# Portability across different PA-RISC architecture versions
|
||||
CODE_CFLAGS = +DAportable +z
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
OPT_CFLAGS_YES = -O
|
||||
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 -Aa -mt
|
||||
CONFORM_CXXFLAGS_STRICT = -AA -Aa -mt
|
||||
#CONFORM_CXXFLAGS_STRICT += +p
|
||||
|
||||
# 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
|
||||
STATIC_LDFLAGS_NO =
|
||||
|
||||
STATIC_LDLIBS_YES = -Wl,-a,default
|
||||
STATIC_LDLIBS_NO =
|
||||
|
||||
TARGET_LDFLAGS += -AA -mt
|
||||
|
||||
SHRLIB_LDFLAGS = -b
|
||||
LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS)
|
||||
@@ -34,22 +34,6 @@ CC = $(BORLAND_BIN)/bc++ $(CCLINKOPT)
|
||||
LD = $(BORLAND_BIN)/bc++ -r
|
||||
RANLIB =
|
||||
|
||||
#
|
||||
# __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
|
||||
@@ -77,17 +61,7 @@ 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
|
||||
@@ -137,10 +111,6 @@ OPT_LDFLAGS =
|
||||
|
||||
ARCH_DEP_CFLAGS=
|
||||
|
||||
# to identify the general architecture class:
|
||||
# should be BSD, SYSV, WIN32, ...
|
||||
# is: WIN32, sun4, hpux, linux, ...
|
||||
#
|
||||
OS_CLASS=Linux
|
||||
|
||||
|
||||
|
||||
@@ -14,3 +14,5 @@ STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
|
||||
SHRLIB_LDFLAGS += -Wl,-h$@
|
||||
LOADABLE_SHRLIB_LDFLAGS += -Wl,-h$@
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
|
||||
|
||||
# This will cause build failure when used with make -j option
|
||||
# See base/src/bpt MAKEBPT
|
||||
#BUILD_CLASS = HOST
|
||||
BUILD_CLASS=HOST
|
||||
HOST_OPT=NO
|
||||
|
||||
CROSS_OPT=NO
|
||||
|
||||
@@ -7,10 +7,5 @@
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
STATIC_LDFLAGS_YES= -Wl,-Bstatic
|
||||
STATIC_LDFLAGS_NO=
|
||||
STATIC_LDLIBS_YES= -Wl,-Bdynamic
|
||||
STATIC_LDLIBS_NO=
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
|
||||
|
||||
|
||||
@@ -3,13 +3,12 @@
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for linux-x86 host - linux-x86-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-x86-debug
|
||||
# Definitions for linux-x86_64 host - linux-x86_64-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.linux-x86_64.linux-x86_64-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64
|
||||
include $(CONFIG)/os/CONFIG.linux-x86.linux-x86
|
||||
|
||||
# This will cause build failure when used with make -j option
|
||||
# See base/src/bpt MAKEBPT
|
||||
#BUILD_CLASS = HOST
|
||||
BUILD_CLASS=HOST
|
||||
|
||||
HOST_OPT = NO
|
||||
|
||||
@@ -15,9 +15,6 @@ AR = ar -r
|
||||
LD = -r
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CFLAGS_TRAD =
|
||||
CODE_CFLAGS =
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
@@ -25,8 +22,6 @@ OPT_CFLAGS_YES = -O
|
||||
OPT_CFLAGS_NO = -g
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
PROF_CXXFLAGS_YES = +p
|
||||
PROF_CXXFLAGS_NO =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
@@ -15,9 +15,6 @@ AR = ar -r
|
||||
LD = -r
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
CONFORM_CFLAGS_ANSI = -std
|
||||
CONFORM_CFLAGS_STRICT = -std1
|
||||
CONFORM_CFLAGS_TRAD = -std0
|
||||
CODE_CFLAGS =
|
||||
WARN_CFLAGS_YES =
|
||||
WARN_CFLAGS_NO = -w
|
||||
@@ -25,8 +22,6 @@ OPT_CFLAGS_YES = -O
|
||||
OPT_CFLAGS_NO = -g
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = -std gnu
|
||||
PROF_CXXFLAGS_YES = +p
|
||||
PROF_CXXFLAGS_NO =
|
||||
CODE_CXXFLAGS =
|
||||
|
||||
@@ -21,3 +21,6 @@ STATIC_LDLIBS_NO=
|
||||
|
||||
OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
|
||||
|
||||
SHRLIB_LDFLAGS += -Wl,-z,defs -Wl,-z,text -Wl,-h,$@
|
||||
LOADABLE_SHRLIB_LDFLAGS += -Wl,-z,text -Wl,-h,$@
|
||||
GNU_LDLIBS_YES += -lc
|
||||
|
||||
@@ -9,9 +9,6 @@
|
||||
|
||||
include $(CONFIG)/os/CONFIG.solaris-sparc.solaris-sparc
|
||||
|
||||
BUILD_CLASS = HOST
|
||||
|
||||
GNU = NO
|
||||
|
||||
# Removes -O optimization and adds -g compile option
|
||||
BUILD_CLASS=HOST
|
||||
HOST_OPT=NO
|
||||
|
||||
|
||||
16
configure/os/CONFIG.solaris-sparc64.solaris-sparc64-debug
Normal file
16
configure/os/CONFIG.solaris-sparc64.solaris-sparc64-debug
Normal file
@@ -0,0 +1,16 @@
|
||||
# CONFIG.solaris-sparc64.solaris-sparc64-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-sparc64 host - solaris-sparc64-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64.solaris-sparc64-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-sparc64
|
||||
include $(CONFIG)/os/CONFIG.solaris-sparc64.solaris-sparc64
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
|
||||
# Removes -O optimization and adds -g compile option
|
||||
HOST_OPT=NO
|
||||
16
configure/os/CONFIG.solaris-x86.solaris-x86-debug
Normal file
16
configure/os/CONFIG.solaris-x86.solaris-x86-debug
Normal file
@@ -0,0 +1,16 @@
|
||||
# CONFIG.solaris-x86.solaris-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86 host - solaris-x86-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-x86.solaris-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-x86
|
||||
include $(CONFIG)/os/CONFIG.solaris-x86.solaris-x86
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
|
||||
# Removes -O optimization and adds -g compile option
|
||||
HOST_OPT=NO
|
||||
12
configure/os/CONFIG.solaris-x86_64-gnu.Common
Normal file
12
configure/os/CONFIG.solaris-x86_64-gnu.Common
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.solaris-x86_64-gnu.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86_64 gnu compiler host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-sparc64-gnu.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to solaris-x86-gnu hosts
|
||||
include $(CONFIG)/os/CONFIG.solaris-x86-gnu.Common
|
||||
|
||||
12
configure/os/CONFIG.solaris-x86_64-gnu.solaris-x86_64-gnu
Normal file
12
configure/os/CONFIG.solaris-x86_64-gnu.solaris-x86_64-gnu
Normal file
@@ -0,0 +1,12 @@
|
||||
# CONFIG.solaris-x86_64-gnu.solaris-x86_64-gnu
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86_64 gnu compiler host - solaris-sx86_64 gnu compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-x86_64-gnu.solaris-x86_64-gnu
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common solaris-x86-gnu definitions
|
||||
include $(CONFIG)/os/CONFIG.solaris-x86-gnu.solaris-x86-gnu
|
||||
|
||||
16
configure/os/CONFIG.solaris-x86_64.solaris-x86_64-debug
Normal file
16
configure/os/CONFIG.solaris-x86_64.solaris-x86_64-debug
Normal file
@@ -0,0 +1,16 @@
|
||||
# CONFIG.solaris-x86_64.solaris-x86_64-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for solaris-x86_64 host - solaris-x86_64-debug target build with debug compiler flags
|
||||
# Sites may override these definitions in CONFIG_SITE.solaris-x86_64.solaris-x86_64-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.solaris-x86_64
|
||||
include $(CONFIG)/os/CONFIG.solaris-x86_64.solaris-x86_64
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
|
||||
# Removes -O optimization and adds -g compile option
|
||||
HOST_OPT=NO
|
||||
@@ -8,6 +8,7 @@
|
||||
#-------------------------------------------------------
|
||||
|
||||
SPARCWORKS = /opt/SUNWspro
|
||||
GNU = NO
|
||||
|
||||
CC = $(SPARCWORKS)/bin/cc
|
||||
CCC = $(SPARCWORKS)/bin/CC
|
||||
@@ -23,9 +24,6 @@ PROFILE=NO
|
||||
GPROF=NO
|
||||
|
||||
# Configure OS vendor C compiler
|
||||
CONFORM_CFLAGS_ANSI = -Xa -v
|
||||
CONFORM_CFLAGS_STRICT = -Xa -v
|
||||
CONFORM_CFLAGS_TRAD = -Xs
|
||||
PROF_CFLAGS_YES = -p
|
||||
GPROF_CFLAGS_YES = -xpg
|
||||
CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF))
|
||||
@@ -35,8 +33,6 @@ OPT_CFLAGS_YES = -xO4
|
||||
OPT_CFLAGS_NO = -g
|
||||
|
||||
# Configure OS vendor C++ compiler
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
PROF_CXXFLAGS_YES = -p
|
||||
GPROF_CXXFLAGS_YES = -xpg
|
||||
CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))
|
||||
@@ -62,4 +58,7 @@ OP_SYS_LDFLAGS += -z ignore -z combreloc -z lazyload
|
||||
#COMPILE_FILTER.c = 2>&1 | $(EPICS_BASE)/configure/tools/filterWarnings.pl
|
||||
#COMPILE_FILTER.cpp = $(COMPILE_FILTER.c)
|
||||
|
||||
#--------------------------------------------------
|
||||
# Allow site overrides
|
||||
-include $(CONFIG)/os/CONFIG_SITE.solarisCommon.solarisCommon
|
||||
-include $(CONFIG)/os/CONFIG_SITE.(EPICS_HOST_ARCH).solarisCommon
|
||||
|
||||
@@ -12,7 +12,6 @@ MV = $(PERL) -MExtUtils::Command -e mv
|
||||
RM = $(PERL) -MExtUtils::Command -e rm_f
|
||||
MKDIR = $(PERL) -MExtUtils::Command -e mkpath
|
||||
RMDIR = $(PERL) -MExtUtils::Command -e rm_rf
|
||||
ECHO = echo
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
@@ -26,5 +25,5 @@ HOME = $(HOMEDRIVE)$(HOMEPATH)
|
||||
endif
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
PATH := $(EPICS_BASE_BIN):$(PATH)
|
||||
|
||||
|
||||
@@ -43,22 +43,6 @@ CC = $(BORLAND_BIN)/bcc32 $(CCLINKOPT)
|
||||
LD = $(BORLAND_BIN)/bcc32 -r
|
||||
RANLIB =
|
||||
|
||||
#
|
||||
# __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
|
||||
@@ -87,18 +71,7 @@ CPP = $(BORLAND_BIN)/cpp32 -Sr
|
||||
PREPROCESS.cpp = $(CPP) $(CPPFLAGS) $(subst /,\\,$(INCLUDES)) -o$@ $<
|
||||
|
||||
# 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)/bcc32 $(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
|
||||
@@ -155,10 +128,6 @@ OPT_LDFLAGS =
|
||||
SHRLIB_CFLAGS=
|
||||
ARCH_DEP_CFLAGS=
|
||||
|
||||
# to identify the general architecture class:
|
||||
# should be BSD, SYSV, WIN32, ...
|
||||
# is: WIN32, sun4, hpux, linux, ...
|
||||
#
|
||||
OS_CLASS=WIN32
|
||||
POSIX=NO
|
||||
|
||||
|
||||
@@ -18,5 +18,5 @@ WIND_HOST_TYPE = x86-win32
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
PATH := $(EPICS_BASE_BIN):$(PATH)
|
||||
|
||||
|
||||
@@ -23,15 +23,6 @@ SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT = -ansi
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = -ansi
|
||||
|
||||
# -ansi build errors need fixing: u_long undeclared, fd_set with no type
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
|
||||
# Override linking with gcc library from CONFIG.gnuCommon
|
||||
GNU_LDLIBS_YES =
|
||||
|
||||
|
||||
14
configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin-debug
Normal file
14
configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin-debug
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG.win32-x86-cygwin.win32-x86-cygwin-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win32-x86-cygwin compiler host - win32-x86-cygwin debug compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.win32-x86-cygwin
|
||||
include $(CONFIG)/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin
|
||||
|
||||
BUILD_CLASS=HOST
|
||||
HOST_OPT=NO
|
||||
@@ -1,10 +1,10 @@
|
||||
# CONFIG.solaris-x86-debug.solaris-x86-debug
|
||||
# CONFIG.win32-x86-debug.win32-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
|
||||
# Definitions for win32-x86 debug compiler host - win32-x86 debug compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-debug.win32-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.win32-x86.win32-x86
|
||||
|
||||
@@ -15,7 +15,6 @@ MV = $(PERL) -MExtUtils::Command -e mv
|
||||
RM = $(PERL) -MExtUtils::Command -e rm_f
|
||||
MKDIR = $(PERL) -MExtUtils::Command -e mkpath
|
||||
RMDIR = $(PERL) -MExtUtils::Command -e rm_rf
|
||||
ECHO = echo
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
@@ -23,5 +22,5 @@ OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
HOSTEXE=.exe
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
PATH := $(EPICS_BASE_BIN):$(PATH)
|
||||
|
||||
|
||||
@@ -23,12 +23,6 @@ SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX)
|
||||
|
||||
# Dont use -ansi option: eliminates _fdopen, _tempnam, ...
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT =
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT =
|
||||
|
||||
# Override linking with gcc library from CONFIG.gnuCommon
|
||||
GNU_LDLIBS_YES =
|
||||
|
||||
@@ -36,4 +30,3 @@ OPT_CFLAGS_NO = -O3 -g
|
||||
OPT_CXXFLAGS_NO = -O3 -g
|
||||
|
||||
OP_SYS_LDLIBS = -lws2_32
|
||||
PROD_SYS_LIBS = ws2_32
|
||||
|
||||
15
configure/os/CONFIG.win32-x86-mingw.win32-x86-mingw-debug
Normal file
15
configure/os/CONFIG.win32-x86-mingw.win32-x86-mingw-debug
Normal file
@@ -0,0 +1,15 @@
|
||||
# CONFIG.win32-x86-mingw.win32-x86-mingw-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win32-x86-mingw compiler host - win32-x86-mingw debug compiler target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-mingw.win32-x86-mingw-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.Common.win32-x86-mingw
|
||||
include $(CONFIG)/os/CONFIG.win32-x86-mingw.win32-x86-mingw
|
||||
|
||||
BUILD_CLASS = HOST
|
||||
|
||||
HOST_OPT=NO
|
||||
@@ -12,7 +12,6 @@ MV = $(PERL) -MExtUtils::Command -e mv
|
||||
RM = $(PERL) -MExtUtils::Command -e rm_f
|
||||
MKDIR = $(PERL) -MExtUtils::Command -e mkpath
|
||||
RMDIR = $(PERL) -MExtUtils::Command -e rm_rf
|
||||
ECHO = echo
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
@@ -26,5 +25,5 @@ HOME = $(HOMEDRIVE)$(HOMEPATH)
|
||||
endif
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
PATH := $(EPICS_BASE_BIN):$(PATH)
|
||||
|
||||
|
||||
@@ -31,17 +31,7 @@ BAFCMD = bscmake /nologo /o $@
|
||||
# Configure OS vendor C compiler
|
||||
CC = cl
|
||||
|
||||
#
|
||||
# __STDC__=0 is a real great idea of Jeff that gives us both:
|
||||
# 1) define STDC for build code (pretend ANSI conformance)
|
||||
# 2) set it to 0 to use MS C "extensions" (open for _open etc.)
|
||||
# because MS uses: if __STDC__ ... disable many nice things
|
||||
#
|
||||
# Use of /Za would dissable DLL import/export keywords which
|
||||
# include/excludes using architecture neutral macros
|
||||
CONFORM_CFLAGS_ANSI = /nologo /D__STDC__=0
|
||||
CONFORM_CFLAGS_STRICT = /nologo /D__STDC__=0
|
||||
CONFORM_CFLAGS_TRAD = /nologo
|
||||
GNU = NO
|
||||
|
||||
#
|
||||
# /W<N> use warning level N
|
||||
@@ -107,8 +97,7 @@ CPP = cl /C /E
|
||||
# /GR - generate code for run time type identification
|
||||
#
|
||||
CCC = cl /nologo /EHsc /GR
|
||||
CONFORM_CXXFLAGS_NORMAL =
|
||||
CONFORM_CXXFLAGS_STRICT = /D__STDC__=0
|
||||
CODE_CPPFLAGS += /nologo /D__STDC__=0
|
||||
CODE_CPPFLAGS += /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
|
||||
|
||||
#
|
||||
@@ -164,10 +153,6 @@ OPT_LDFLAGS = $(LINK_OPT_FLAGS_$(HOST_OPT))
|
||||
ARCH_DEP_CFLAGS=
|
||||
SHRLIB_CFLAGS=
|
||||
|
||||
# to identify the general architecture class:
|
||||
# should be BSD, SYSV, WIN32, ...
|
||||
# is: WIN32, sun4, hpux, linux, ...
|
||||
#
|
||||
OS_CLASS=WIN32
|
||||
POSIX=NO
|
||||
|
||||
@@ -260,7 +245,7 @@ PROD_LDLIBS += $(addsuffix .lib, \
|
||||
|
||||
LDLIBS_STATIC_YES = LDLIBS
|
||||
LDLIBS_SHARED_NO = LDLIBS
|
||||
PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
PROD_LDLIBS += $(STATIC_LDLIBS) $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
|
||||
$(LDLIBS_SHARED_$(SHARED_LIBRARIES))))
|
||||
|
||||
#--------------------------------------------------
|
||||
|
||||
16
configure/os/CONFIG.win32-x86.win32-x86-debug
Normal file
16
configure/os/CONFIG.win32-x86.win32-x86-debug
Normal file
@@ -0,0 +1,16 @@
|
||||
# CONFIG.win32-x86.win32-x86-debug
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win32-x86 host - win32-x86-debug target build
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86.win32-x86-debug
|
||||
#-------------------------------------------------------
|
||||
|
||||
include $(CONFIG)/os/CONFIG.win32-x86-debug.win32-x86-debug
|
||||
|
||||
GNU = NO
|
||||
|
||||
BUILD_CLASS = HOST
|
||||
|
||||
HOST_OPT = NO
|
||||
13
configure/os/CONFIG.windows-x64.Common
Normal file
13
configure/os/CONFIG.windows-x64.Common
Normal file
@@ -0,0 +1,13 @@
|
||||
# CONFIG.win-x86_64.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win-x86_64 host archs
|
||||
# Sites may override these definitions in CONFIG_SITE.win-x86_64.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
-include $(CONFIG)/os/CONFIG.win32-x86.Common
|
||||
|
||||
WIND_HOST_TYPE = x86_64-win
|
||||
|
||||
20
configure/os/CONFIG.windows-x64.windows-x64
Normal file
20
configure/os/CONFIG.windows-x64.windows-x64
Normal file
@@ -0,0 +1,20 @@
|
||||
# CONFIG.win-x86_64.win-x86_64
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win-x86_64 target archs when host arch is win-x86_64
|
||||
# Sites may override these definitions in CONFIG_SITE.win-x86_64.win-x86_64
|
||||
#-------------------------------------------------------
|
||||
|
||||
-include $(CONFIG)/os/CONFIG.win32-x86.win32-x86
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
|
||||
STATIC_LDLIBS_YES=ws2_64.lib advapi64.lib user64.lib kernel64.lib winmm.lib
|
||||
|
||||
WIN_DLLFLAGS = /subsystem:windows /dll $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(LIB_LDFLAGS)
|
||||
|
||||
LINK.shrlib = $(WINLINK) /nologo $(WIN_DLLFLAGS) /implib:$*.lib /out:$*.dll $(DLL_DEF_FLAG)
|
||||
|
||||
@@ -10,11 +10,9 @@
|
||||
# ARCH_<host_arch> = <epics_host_arch>
|
||||
ARCH_solaris = solaris-sparc
|
||||
ARCH_solarisGnu = solaris-sparc-gnu
|
||||
ARCH_sun4 = sun4-sparc
|
||||
ARCH_Linux = linux-x86
|
||||
ARCH_Darwin = darwin-ppc
|
||||
ARCH_WIN32 = win32-x86
|
||||
ARCH_hp700 = hpux-parisc
|
||||
ARCH_alpha = osf-alpha
|
||||
ARCH_cygwin32 = cygwin-x86
|
||||
ARCH_Borland = win32-x86-borland
|
||||
|
||||
@@ -5,8 +5,12 @@
|
||||
|
||||
# Where to find RTEMS
|
||||
#
|
||||
RTEMS_BASE=/usr/local/rtems/rtems-4.9
|
||||
RTEMS_VERSION=4.9
|
||||
RTEMS_BASE=/usr/local/rtems/rtems-4.9.2
|
||||
RTEMS_VERSION=4.9.2
|
||||
|
||||
# Cross-compile toolchain in $(RTEMS_TOOLS)/bin
|
||||
#
|
||||
RTEMS_TOOLS=$(RTEMS_BASE)
|
||||
|
||||
|
||||
# If you're using neither BOOTP/DHCP nor FLASH to pick up your IOC
|
||||
|
||||
14
configure/os/CONFIG_SITE.Common.darwin-ppc
Normal file
14
configure/os/CONFIG_SITE.Common.darwin-ppc
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG_SITE.Common.darwin-ppc
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Site override definitions for darwin-ppc target builds
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Select which CPU architectures to include in your universal binaries:
|
||||
# ppc
|
||||
# ppc64 - Not tested
|
||||
|
||||
ARCH_CLASS = ppc
|
||||
#ARCH_CLASS = ppc ppc64
|
||||
18
configure/os/CONFIG_SITE.Common.darwin-ppcx86
Normal file
18
configure/os/CONFIG_SITE.Common.darwin-ppcx86
Normal file
@@ -0,0 +1,18 @@
|
||||
# CONFIG_SITE.Common.darwin-ppcx86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Site override definitions for darwin-ppcx86 target builds
|
||||
#----------------------------------------------------------
|
||||
|
||||
# Select which CPU architectures to include in your universal binaries:
|
||||
# ppc
|
||||
# i386
|
||||
# ppc64 - Not tested
|
||||
# x86_64 - Needs MacOS 10.5 or 10.4 with Universal SDK
|
||||
|
||||
ARCH_CLASS = ppc i386
|
||||
#ARCH_CLASS = ppc i386 x86_64
|
||||
#ARCH_CLASS = ppc ppc64 i386
|
||||
#ARCH_CLASS = ppc ppc64 i386 x86_64
|
||||
14
configure/os/CONFIG_SITE.Common.darwin-x86
Normal file
14
configure/os/CONFIG_SITE.Common.darwin-x86
Normal file
@@ -0,0 +1,14 @@
|
||||
# CONFIG_SITE.Common.darwin-x86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Site override definitions for darwin-x86 target builds
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Select which CPU architectures to include in your universal binaries:
|
||||
# i386
|
||||
# x86_64 - Needs MacOS 10.5 or 10.4 with Universal SDK
|
||||
|
||||
ARCH_CLASS = i386
|
||||
#ARCH_CLASS = i386 x86_64
|
||||
@@ -1,19 +0,0 @@
|
||||
# CONFIG_SITE.Common.hpux-parisc
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Site Specific definitions for hpux-parisc target
|
||||
# Only the local epics system manager should modify this file
|
||||
|
||||
# NOTE: If SHARED_LIBRARIES=YES (now the default) then
|
||||
# a) Environment variable 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, or
|
||||
# b) Add the path to SHRLIB_DEPLIB_DIRS and PROD_DEPLIB_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_DEPLIB_DIRS += /opt/epics/R$(EPICS_SHORT_VERSION)/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_PATCH_LEVEL)$(EPICS_CVS_SNAPSHOT)$(EPICS_SITE_VSTRING)/lib/$(EPICS_HOST_ARCH)
|
||||
PROD_DEPLIB_DIRS += /opt/epics/R$(EPICS_SHORT_VERSION)/base/$(EPICS_VERSION)-$(EPICS_REVISION)-$(EPICS_MODIFICATION)-$(EPICS_PATCH_LEVEL)$(EPICS_CVS_SNAPSHOT)$(EPICS_SITE_VSTRING)/lib/$(EPICS_HOST_ARCH)
|
||||
@@ -1,13 +0,0 @@
|
||||
# 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