Compare commits
673 Commits
WITH_OGL
...
BEFORE_ON_
Author | SHA1 | Date | |
---|---|---|---|
|
e1c04de272 | ||
|
30a70b29ce | ||
|
4a13f6e37e | ||
|
2040ececde | ||
|
0e74909dd1 | ||
|
089e459b74 | ||
|
7d610b90ff | ||
|
f71c3b49e2 | ||
|
2c5d45edb5 | ||
|
2f1ae41432 | ||
|
57681e5bfd | ||
|
1eaf19628c | ||
|
9ec98f7c7f | ||
|
df613907d0 | ||
|
695a326318 | ||
|
a98c006d8d | ||
|
3ca6a5f046 | ||
|
8fb3bfe20f | ||
|
2736b3ce6d | ||
|
3e14ad2f45 | ||
|
0ceae93229 | ||
|
2ada7c652c | ||
|
ad90972f27 | ||
|
aec4371660 | ||
|
33fed83514 | ||
|
0e67e9e2d0 | ||
|
266527ec60 | ||
|
29b5f2cc19 | ||
|
f737d3967f | ||
|
27316302a4 | ||
|
233058c7ab | ||
|
941830cbe5 | ||
|
3bd380a388 | ||
|
484523cf52 | ||
|
b1944ebcd0 | ||
|
b64de91622 | ||
|
63da7df701 | ||
|
bfc38e4363 | ||
|
8062a6ab7b | ||
|
9e85f5ec6c | ||
|
d44523b1e0 | ||
|
a793c17b6c | ||
|
4b0ca8b999 | ||
|
f6fb552e5d | ||
|
0bc6abf126 | ||
|
2695b17409 | ||
|
85d03040fc | ||
|
2f382cc6be | ||
|
5e5437e00b | ||
|
3f4fc7967b | ||
|
cbb4b02f09 | ||
|
c909783630 | ||
|
a6a997a68d | ||
|
11b6e0c533 | ||
|
75e0bd4460 | ||
|
ab13d1c58f | ||
|
45a248176c | ||
|
0bed1ceef8 | ||
|
f9c165b1d6 | ||
|
d62653e63f | ||
|
55b88634eb | ||
|
b0f853260e | ||
|
af2251f16f | ||
|
4ee0ff3bd6 | ||
|
7f3938321d | ||
|
f443043db0 | ||
|
1ad83f6b37 | ||
|
ae9cab0676 | ||
|
a0948e2723 | ||
|
0767cb6f44 | ||
|
4c7277db42 | ||
|
5c69031cd1 | ||
|
35a0184e7d | ||
|
10461e195f | ||
|
d3e41b770e | ||
|
78cb10ef7d | ||
|
fccd6cdc31 | ||
|
55db6a69ce | ||
|
4ccd46a29e | ||
|
dfc0e3fb9a | ||
|
1cfae2e074 | ||
|
1d43cb9e7f | ||
|
07d7f20b50 | ||
|
ad9cd15cb0 | ||
|
031dfec8d4 | ||
|
1126585b76 | ||
|
df801fc6d4 | ||
|
e45212eb04 | ||
|
fd433c2e31 | ||
|
3fa4bd0e78 | ||
|
3509d340e2 | ||
|
3112490359 | ||
|
56d2f75071 | ||
|
ca7408bd9a | ||
|
54ca0d120a | ||
|
3419e8e7bd | ||
|
5e679c4070 | ||
|
f77034779a | ||
|
3e61dfb0e8 | ||
|
0a1c1e6214 | ||
|
bb8a8dc5f7 | ||
|
2a2b997f07 | ||
|
012286eb3b | ||
|
632efa475b | ||
|
64c13219b0 | ||
|
51a58d8b4b | ||
|
4567f2b2c6 | ||
|
74afbadc17 | ||
|
494a19d6d9 | ||
|
71c97a89fa | ||
|
a55e0ebc56 | ||
|
264de0cc03 | ||
|
919ae91ad7 | ||
|
03817a5e24 | ||
|
78c49c5829 | ||
|
d82323930c | ||
|
47af912426 | ||
|
aff5d59148 | ||
|
e6afccba51 | ||
|
83918cccc9 | ||
|
f48d169c4a | ||
|
0f8d11dc8d | ||
|
8943b4030c | ||
|
a2d8ce854e | ||
|
dd00f3f6fa | ||
|
2afa14f2c7 | ||
|
ff67d5860d | ||
|
b7c2d6ffcb | ||
|
9d084560f8 | ||
|
e6ae733061 | ||
|
7edc258ec2 | ||
|
df530a2693 | ||
|
307fc8d582 | ||
|
2d4dc3a4d0 | ||
|
4aefa363ef | ||
|
63c8fa9565 | ||
|
d42508c2a0 | ||
|
8a667305e7 | ||
|
10ca1c1459 | ||
|
1cd5241886 | ||
|
66b3ec7f9a | ||
|
888b0f22a9 | ||
|
6f72b08293 | ||
|
ecc7ceee42 | ||
|
a3c8a7ad5e | ||
|
f6bcfd974e | ||
|
8a693e6e04 | ||
|
c42b1de68a | ||
|
b97a2c5385 | ||
|
05ba6762b5 | ||
|
00a96720ec | ||
|
a8e72c8f27 | ||
|
dbaf885e87 | ||
|
0384e718cf | ||
|
e0fcbf2390 | ||
|
55a76346b1 | ||
|
fbdcff4a78 | ||
|
8947dc6d65 | ||
|
1f7fd1a500 | ||
|
d8ecfb85ee | ||
|
09b61d999d | ||
|
69d4002111 | ||
|
da27bd0b4a | ||
|
b01ca3e3d9 | ||
|
8c6f3b9c6d | ||
|
88b780d9f9 | ||
|
64a3ee5fd2 | ||
|
13d7105a66 | ||
|
bb4624242b | ||
|
b963e7d546 | ||
|
40bd6154f1 | ||
|
96525e629a | ||
|
02c6eadbc8 | ||
|
15b8c27a7a | ||
|
61714c237d | ||
|
2df793f9f4 | ||
|
d92a1d4f5a | ||
|
d6a3816816 | ||
|
ea1f75db44 | ||
|
dc3d889d0b | ||
|
b18cfdd9bd | ||
|
f8f3e76318 | ||
|
f47cd02d71 | ||
|
05edc41991 | ||
|
6aa929e784 | ||
|
8916026b7e | ||
|
0a0352f2f8 | ||
|
26993c4f64 | ||
|
062a3faae7 | ||
|
09fb214e01 | ||
|
34cb2199dc | ||
|
cca602accb | ||
|
dae167759c | ||
|
8c5907cea3 | ||
|
c2c436609d | ||
|
dbf75be725 | ||
|
ceded8b925 | ||
|
281b0186b8 | ||
|
1f3c610d03 | ||
|
a20b6d3ab3 | ||
|
7ff26ec2ae | ||
|
bae411099c | ||
|
bd3277fec0 | ||
|
15909a16b3 | ||
|
3d6f72618e | ||
|
9c6751aa46 | ||
|
7fee680be8 | ||
|
8e792b5432 | ||
|
3720ab6a98 | ||
|
2633045c32 | ||
|
c837a756e8 | ||
|
a5ea1d7cc8 | ||
|
08c921042e | ||
|
e9f88d0414 | ||
|
af7451accc | ||
|
f7aa71fa81 | ||
|
444cb676b2 | ||
|
6e58645e86 | ||
|
d06b34a73e | ||
|
aaef15bf82 | ||
|
3711412e38 | ||
|
ede8795ff0 | ||
|
e8741ccae8 | ||
|
feea7c52e9 | ||
|
3b415ba4cd | ||
|
b59c98ddb8 | ||
|
999e841c9e | ||
|
7a85f3f97c | ||
|
6040c9de74 | ||
|
468e327aac | ||
|
eb4efbdc86 | ||
|
08abd69b58 | ||
|
c56371028f | ||
|
99ad02720b | ||
|
1bd59dddc3 | ||
|
fac2666314 | ||
|
7c1122c4eb | ||
|
2b33b72819 | ||
|
90cfeaab3f | ||
|
2d027cfa88 | ||
|
d50af7148c | ||
|
2c68bdb64e | ||
|
541418efad | ||
|
741f371c68 | ||
|
6787e41e49 | ||
|
528e0faf1c | ||
|
ee284519e4 | ||
|
bd53731ec3 | ||
|
4107335720 | ||
|
de9d9ed211 | ||
|
89e6035748 | ||
|
2e8a1588f8 | ||
|
c092213d52 | ||
|
1f0500b3ee | ||
|
8759d4d519 | ||
|
aa9fb2be6d | ||
|
6a6d5b4731 | ||
|
a7987cc1a2 | ||
|
b2b3552407 | ||
|
fb04b3438d | ||
|
b2cf617cb8 | ||
|
a37a5a73c5 | ||
|
3bfbab1e83 | ||
|
5d9fe0892b | ||
|
7d9fd00474 | ||
|
e5b502f3a6 | ||
|
bc1dcfc1aa | ||
|
f4bfe7e0c1 | ||
|
a18db02249 | ||
|
2d8a5cb1da | ||
|
7ef53f2dc5 | ||
|
5a074a3c22 | ||
|
780ee02d16 | ||
|
1c85008fcf | ||
|
a78e08d6cb | ||
|
27f37ae504 | ||
|
f6a3517155 | ||
|
ec974d2300 | ||
|
2750885629 | ||
|
6158481fe5 | ||
|
9c824f2977 | ||
|
595b5c4eb6 | ||
|
e2f1cfb2cc | ||
|
6fb8177afd | ||
|
d3f5d09d47 | ||
|
c3cea74805 | ||
|
cc534ff767 | ||
|
5c9eff3055 | ||
|
032d558182 | ||
|
80629c8bf6 | ||
|
609c60af5e | ||
|
8185521695 | ||
|
69d042c37d | ||
|
039bec17f4 | ||
|
3f755e2d96 | ||
|
df991b9dfb | ||
|
fdc0367851 | ||
|
4a8fc2c8b3 | ||
|
8128349e81 | ||
|
ab0f03868e | ||
|
4e0dcbb14a | ||
|
0d910be798 | ||
|
23d38b36f8 | ||
|
ccdb23df47 | ||
|
9239628cfc | ||
|
8e3aec856b | ||
|
13588544c5 | ||
|
aac67d4c3d | ||
|
29c25a8e01 | ||
|
0ca580f6fb | ||
|
967a572877 | ||
|
27df579a6f | ||
|
117082d17b | ||
|
89fc5e5d66 | ||
|
9fc3cba7fa | ||
|
8a9c22462a | ||
|
9eb662e94c | ||
|
7e42f2f863 | ||
|
c0dbf1fb90 | ||
|
8138a3b0c6 | ||
|
a99b3d76f2 | ||
|
d834f22c8e | ||
|
8dfea369ea | ||
|
669f7a111f | ||
|
2d8e9af9c9 | ||
|
8e907a13ea | ||
|
76990f630b | ||
|
e893cd66dc | ||
|
39fc1a6a05 | ||
|
5f3629babd | ||
|
7b28543293 | ||
|
f4d5e0098a | ||
|
52fbdb5892 | ||
|
53adbc34a2 | ||
|
896e4cbf4d | ||
|
2288191b9c | ||
|
032da43172 | ||
|
3cfd2b707d | ||
|
de8e98f133 | ||
|
bbd41262ca | ||
|
9f303149a0 | ||
|
ed2eb9afcb | ||
|
bac6b9676c | ||
|
f6f13cd4a8 | ||
|
627a3091c8 | ||
|
fa482912e4 | ||
|
8cb9f0d0f8 | ||
|
07a9af327e | ||
|
11e2dfd37d | ||
|
c4f02b1fd8 | ||
|
6718d773ad | ||
|
b2f757f9b7 | ||
|
14057bf4dc | ||
|
f30dcba95d | ||
|
8fef0a6eae | ||
|
13f5935c36 | ||
|
68662769ff | ||
|
5301d93336 | ||
|
e72007907a | ||
|
eeb75ae603 | ||
|
30b641919c | ||
|
9ce2171eed | ||
|
9ba09ba5e6 | ||
|
b4bee866f3 | ||
|
8461a0598c | ||
|
aaa2f29761 | ||
|
624d1a4f31 | ||
|
110b5d83a6 | ||
|
0f8df1b95c | ||
|
e9b663934d | ||
|
5d525ad911 | ||
|
e32ddbaae5 | ||
|
4e6bceff3b | ||
|
8e97b17bbd | ||
|
a1a4396142 | ||
|
8ba3dcde1e | ||
|
f6c881b448 | ||
|
73fd4a6046 | ||
|
dafec3de59 | ||
|
367e57ec9b | ||
|
a8a0b892df | ||
|
ee453a161f | ||
|
0902e71a16 | ||
|
9f15eeb32a | ||
|
0f3168aa5b | ||
|
997e13fca4 | ||
|
c0bcc48068 | ||
|
bc7e88ae03 | ||
|
da051b23fe | ||
|
09707570eb | ||
|
8c014dbafe | ||
|
1c282a3a62 | ||
|
70988afbb1 | ||
|
5ff8699684 | ||
|
ac6482e0eb | ||
|
711df835d3 | ||
|
672186efa8 | ||
|
8b8bff20d0 | ||
|
43b5058d59 | ||
|
e828e4f7f1 | ||
|
d29e95a922 | ||
|
afc68427d8 | ||
|
8df85a6123 | ||
|
399b60a0ad | ||
|
add95ac378 | ||
|
58b3bdc933 | ||
|
c6e7d14fa9 | ||
|
2035e10e83 | ||
|
5f170f33fd | ||
|
c9ce2da080 | ||
|
d5ab387d2a | ||
|
236a9de39a | ||
|
dfd2e67583 | ||
|
8290d43d0d | ||
|
6fc0f38fe0 | ||
|
12646a5ae2 | ||
|
e59890c3e8 | ||
|
f83e3685a5 | ||
|
6098c7f953 | ||
|
67003d1af8 | ||
|
a06066343d | ||
|
6e395e9c60 | ||
|
7e8583bdef | ||
|
856bc99a57 | ||
|
6e7b6cc6f7 | ||
|
760e231bf0 | ||
|
d6d26e0414 | ||
|
0d3a69ec70 | ||
|
2eca425d4b | ||
|
8f19c916dc | ||
|
10d432b1b4 | ||
|
36ba4665ff | ||
|
79f585d903 | ||
|
cbc66a2704 | ||
|
5028104652 | ||
|
e81910e077 | ||
|
f5ba273ecd | ||
|
86f6187197 | ||
|
0b7e6e7da2 | ||
|
c78b3acd0c | ||
|
451868847b | ||
|
aa5e1f75d9 | ||
|
4a64bee465 | ||
|
f3d05fe417 | ||
|
f3979fcc3b | ||
|
5d9dba5b1a | ||
|
71155438f0 | ||
|
04a4a2afd5 | ||
|
de52822400 | ||
|
ba9f095e75 | ||
|
77611ad4da | ||
|
7ece89c6b1 | ||
|
c5a7371313 | ||
|
954de0f158 | ||
|
7ff49f0c73 | ||
|
4c9993c3c7 | ||
|
8775b35700 | ||
|
b7e1921351 | ||
|
378d2bd3a8 | ||
|
7c8aaed1c7 | ||
|
b41cdbf4d3 | ||
|
9a0c6b1ed2 | ||
|
7bed7a507c | ||
|
0b7e77395d | ||
|
4a277ceb2b | ||
|
b420fb6a37 | ||
|
5adbbc2995 | ||
|
27d0ab2482 | ||
|
186baeb237 | ||
|
a5a55c458f | ||
|
66f55ec64c | ||
|
723d1b1da1 | ||
|
32e768ae94 | ||
|
3d407edab0 | ||
|
e32352cf66 | ||
|
2c4ad28347 | ||
|
3f8e5072f7 | ||
|
0a5835068c | ||
|
9bdc99bec2 | ||
|
af7b970e76 | ||
|
d853016702 | ||
|
02d15cad11 | ||
|
ee80814753 | ||
|
bffc1eaaf5 | ||
|
cdc59bb69e | ||
|
ecc888a08f | ||
|
f41986da2d | ||
|
dee1b66f85 | ||
|
d7da975624 | ||
|
3adb47a937 | ||
|
557e701169 | ||
|
5da69e38e6 | ||
|
98beeb8ba9 | ||
|
75acb5321e | ||
|
052e089dce | ||
|
413098d06c | ||
|
1d4ad4df1d | ||
|
4de601b128 | ||
|
7e415a0f66 | ||
|
3bedfb1d17 | ||
|
426d574504 | ||
|
60b8078990 | ||
|
9add53a470 | ||
|
b0a0942105 | ||
|
3283290881 | ||
|
7b28757f5e | ||
|
b4414c1f37 | ||
|
304e5625e5 | ||
|
9ce192d417 | ||
|
7b22b912fd | ||
|
fe98790977 | ||
|
50a5c3f33e | ||
|
c17e495529 | ||
|
7e12d1bf7f | ||
|
b4da05a638 | ||
|
8862e11b01 | ||
|
b97f6d757b | ||
|
bd9724b905 | ||
|
6cbe6d0821 | ||
|
0e8c82331d | ||
|
771779ed91 | ||
|
793867a736 | ||
|
c5d3832cfe | ||
|
0e93516996 | ||
|
6b10575493 | ||
|
f0d5fc50ef | ||
|
ca4f2b729c | ||
|
4bd87101b3 | ||
|
30bb7c133e | ||
|
d95b0c2ba0 | ||
|
b6fa52db66 | ||
|
6da3a3ef1f | ||
|
c77ae1d950 | ||
|
39d03faf4e | ||
|
5bcea60e1b | ||
|
ecb017924c | ||
|
a00d62c913 | ||
|
87e1d2a51b | ||
|
8fdffc7e9b | ||
|
58ca01aeae | ||
|
4dcfef961d | ||
|
7c4a59a881 | ||
|
07fce3c2f9 | ||
|
5fa399c9e2 | ||
|
90da75e673 | ||
|
061379e2ac | ||
|
6bf783984a | ||
|
f187448d85 | ||
|
62ea79f381 | ||
|
6ad7611a5c | ||
|
96becbd8fa | ||
|
70a5b429e7 | ||
|
f23208cacc | ||
|
49af73a59b | ||
|
3e282d337f | ||
|
fbf5995c02 | ||
|
635b44a118 | ||
|
71622a7ac0 | ||
|
3965571c7c | ||
|
ea8849aaf6 | ||
|
cf58a48f62 | ||
|
9898fcda80 | ||
|
3c002e048d | ||
|
f077f5c39f | ||
|
efa7ad84f6 | ||
|
78d5068a96 | ||
|
cb9fb5bb00 | ||
|
07e87221f6 | ||
|
1b6dea5de1 | ||
|
d76bb2182d | ||
|
d6c85bee75 | ||
|
3fa056ab78 | ||
|
19701d22df | ||
|
2a7750d939 | ||
|
3f04dfd331 | ||
|
ed8297b98d | ||
|
e8773bdf80 | ||
|
45ef0076bf | ||
|
a24cc774ec | ||
|
0dcf989311 | ||
|
59917a749b | ||
|
425652451b | ||
|
65dc92ca0f | ||
|
a6e2b3a831 | ||
|
6b4a39fb51 | ||
|
5cb9148949 | ||
|
03bbd98b9c | ||
|
b4e87ec32c | ||
|
1ea670896b | ||
|
d2249417f8 | ||
|
70d213e08b | ||
|
89e6463c1a | ||
|
67c0489076 | ||
|
260460ae06 | ||
|
f547e9bb27 | ||
|
a059bcd21c | ||
|
b3ddc4c2ec | ||
|
ee8dbe6308 | ||
|
b3ef4fb50c | ||
|
40903af771 | ||
|
05a1104392 | ||
|
5dffa63b2f | ||
|
e8482f24cf | ||
|
f5b9cde232 | ||
|
c661ecca60 | ||
|
0649ebbdb7 | ||
|
84899251f1 | ||
|
4d44947336 | ||
|
4767810533 | ||
|
87798c0030 | ||
|
d31b7b682c | ||
|
f7bd3a7d8f | ||
|
5e1febface | ||
|
41fd4136fc | ||
|
0912bee1aa | ||
|
581e8516ea | ||
|
0dd8a49d4d | ||
|
983a384436 | ||
|
5c8fc7c1de | ||
|
1f80a703f2 | ||
|
777fd647dc | ||
|
39a16cb41d | ||
|
11eaa98105 | ||
|
c07c37d70a | ||
|
043d16b225 | ||
|
a56fcaaf46 | ||
|
f1567cddea | ||
|
e1208c3103 | ||
|
a85139a1b7 | ||
|
d90d994c74 | ||
|
b14159f7d8 | ||
|
993f97eed6 | ||
|
36bec0acf0 | ||
|
bd4d918f36 | ||
|
2b396caaa2 | ||
|
261b9a3df1 | ||
|
5824f314a3 | ||
|
77a36397c0 | ||
|
3072610753 | ||
|
5d25c05039 | ||
|
9764dcbca3 | ||
|
9181a38382 | ||
|
d7bd7ca5bf | ||
|
e51b013093 | ||
|
70dc22dcc9 | ||
|
20590f751f | ||
|
a6a1ef9e7b | ||
|
75f245410a | ||
|
29b07a3821 | ||
|
5f9fd7ea86 | ||
|
2a47e1401b | ||
|
b58088819b | ||
|
d2e4966591 | ||
|
b531e140f1 | ||
|
b0230a69bc | ||
|
91ff98b7b5 | ||
|
1fc25a89ac | ||
|
b14391d1c8 | ||
|
422107f900 | ||
|
2c8e47380e | ||
|
914589c26c | ||
|
294f6bcbdb | ||
|
bc3cedfa48 | ||
|
cd6ce4a90c | ||
|
21e5527b59 | ||
|
d8e41d423d | ||
|
42d14d4e8f | ||
|
61a021a822 | ||
|
bc2e39e366 | ||
|
1cab5b8d99 | ||
|
0824a13502 | ||
|
9121bed249 | ||
|
a95e38c034 |
@@ -37,6 +37,7 @@ base
|
|||||||
gtk
|
gtk
|
||||||
motif
|
motif
|
||||||
win32
|
win32
|
||||||
|
univ
|
||||||
base-release
|
base-release
|
||||||
gtk-release
|
gtk-release
|
||||||
motif-release
|
motif-release
|
||||||
|
61
BuildCVS.txt
@@ -16,45 +16,30 @@ varaibles and PATH entries.
|
|||||||
Continue with item c) below.
|
Continue with item c) below.
|
||||||
|
|
||||||
|
|
||||||
b) If using the GNU MinGW32 or GNU CygWin32 compilers
|
b) If using the GNU Mingw32 or GNU Cygwin32 compilers
|
||||||
|
|
||||||
You'll need the compiler itself which is available from
|
You can get Mingw32 from http://www.mingw.org
|
||||||
|
|
||||||
http://www.cygwin.com
|
Cygwin32 is available at http://www.cygwin.com
|
||||||
|
|
||||||
When using MingW32 you'll need GNU make which is a part
|
The makefile might have small problems with Cygwin's tools
|
||||||
of the CygWin32 toolchain and is also available as a stand
|
so it is recommended to use Mingw32 and its toolchain instead
|
||||||
alone port without the infamous Cygwin.dll from
|
if possible.
|
||||||
|
|
||||||
http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32
|
|
||||||
|
|
||||||
The makefile has small problems with Cygwin<69>s tools
|
|
||||||
so it is recommended not to use these (but MingGW32
|
|
||||||
and its make.exe).
|
|
||||||
|
|
||||||
-> Set your path so that it includes the directory
|
-> Set your path so that it includes the directory
|
||||||
where your compiler and tools reside
|
where your compiler and tools reside
|
||||||
|
|
||||||
b-2) Using Mingw32 with gcc-2.95 and Anders Norlander's
|
-> If your are using an old Mingw32 version (gcc-2.95 or older),
|
||||||
Win32 headers
|
you might need to fix some headers with the patches contained
|
||||||
|
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
|
||||||
Using the newer gcc-2.95/Noralander header combination
|
PATCHES BY HAND! There are apparently a few different versions
|
||||||
will allow you to compile more of the MSW code, such
|
of the headers floating around. Note that these patches are
|
||||||
as OLE and Drag-n-Drop.
|
not needed if you are using Mingw32 gcc-2.95.2 or newer.
|
||||||
|
|
||||||
Instructions are similar to those for Regular Mingw32 except
|
-> Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
|
||||||
|
the file to either 1 (you have Mingw32) or 0 (you have Cygwin32).
|
||||||
->Get the compiler from
|
If using MINGW32, also set the MINGW32VERSION variable
|
||||||
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95/
|
appropiately.
|
||||||
|
|
||||||
->patch the gcc headers with info in wxWin\Mingw32-gcc295.patches.
|
|
||||||
PLEASE APPLY THESE PATCHES BY HAND! There are apparently a few
|
|
||||||
different versions of the headers floating around.
|
|
||||||
|
|
||||||
->Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
|
|
||||||
the file to either 1 (you have Mingw32) or 0 (you have Cygwin32).
|
|
||||||
If using MINGW32, also set the MINGW32VERSION variable
|
|
||||||
appropriately.
|
|
||||||
|
|
||||||
|
|
||||||
c) Build instructions
|
c) Build instructions
|
||||||
@@ -64,9 +49,9 @@ c) Build instructions
|
|||||||
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
||||||
to c:\wxWin\include\wx\msw\setup.h
|
to c:\wxWin\include\wx\msw\setup.h
|
||||||
-> Edit c:\wxWin\include\wx\msw\setup.h so that
|
-> Edit c:\wxWin\include\wx\msw\setup.h so that
|
||||||
most features are enabled (i.e. defined to 1) with
|
most features are enabled (i.e. defined to 1), for example:
|
||||||
#define wxUSE_ODBC 0
|
#define wxUSE_ODBC 0
|
||||||
#define wxUSE_SOCKETS 0
|
#define wxUSE_SOCKETS 1
|
||||||
#define wxUSE_HTML 1
|
#define wxUSE_HTML 1
|
||||||
#define wxUSE_THREADS 1
|
#define wxUSE_THREADS 1
|
||||||
#define wxUSE_FS_INET 0
|
#define wxUSE_FS_INET 0
|
||||||
@@ -77,14 +62,12 @@ c) Build instructions
|
|||||||
#define wxUSE_LIBJPEG 1
|
#define wxUSE_LIBJPEG 1
|
||||||
#define wxUSE_LIBPNG 1
|
#define wxUSE_LIBPNG 1
|
||||||
|
|
||||||
and iostreams ares disabled with
|
and std iostreams are disabled with
|
||||||
#define wxUSE_STD_IOSTREAM 0
|
#define wxUSE_STD_IOSTREAM 0
|
||||||
|
|
||||||
note: ODBC and SOCKETS can be 1 for gcc-2.95
|
|
||||||
|
|
||||||
-> type: cd c:\wxWin\src\msw
|
-> type: cd c:\wxWin\src\msw
|
||||||
-> type: make -f makefile.g95 (if using GNU tools)
|
-> type: make -f makefile.g95 (if using GNU tools)
|
||||||
or type: make -f makefile.vc (if using MS VC++)
|
or type: nmake -f makefile.vc (if using MS VC++)
|
||||||
|
|
||||||
|
|
||||||
II) Unix ports
|
II) Unix ports
|
||||||
|
407
Makefile.in
@@ -32,6 +32,7 @@ include ./src/make.env
|
|||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
|
||||||
VP1 = @top_srcdir@/src/common
|
VP1 = @top_srcdir@/src/common
|
||||||
|
VP1_5 = @top_srcdir@/src/univ@PATH_IFS@@top_srcdir@/src/univ/themes
|
||||||
VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
|
VP2 = @top_srcdir@/src/@TOOLKIT_DIR@
|
||||||
VP3 = @top_srcdir@/src/motif/xmcombo
|
VP3 = @top_srcdir@/src/motif/xmcombo
|
||||||
VP4 = @top_srcdir@/src/generic
|
VP4 = @top_srcdir@/src/generic
|
||||||
@@ -42,12 +43,11 @@ VP8 = @top_srcdir@/src/jpeg
|
|||||||
VP9 = @top_srcdir@/src/tiff
|
VP9 = @top_srcdir@/src/tiff
|
||||||
VP10 = @top_srcdir@/src/zlib
|
VP10 = @top_srcdir@/src/zlib
|
||||||
VP11 = @top_srcdir@/src/iodbc
|
VP11 = @top_srcdir@/src/iodbc
|
||||||
VP12 = @top_srcdir@/src/ogl
|
|
||||||
|
|
||||||
# the comment at the end of the next line is needed because otherwise autoconf
|
# the comment at the end of the next line is needed because otherwise autoconf
|
||||||
# would remove this line completely - it contains a built-in hack to remove
|
# would remove this line completely - it contains a built-in hack to remove
|
||||||
# any VPATH assignment not containing ':'
|
# any VPATH assignment not containing ':'
|
||||||
VPATH = $(VP1)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11)@PATH_IFS@$(VP12) # ':' for autoconf
|
VPATH = $(VP1)@PATH_IFS@$(VP1_5)@PATH_IFS@$(VP2)@PATH_IFS@$(VP3)@PATH_IFS@$(VP4)@PATH_IFS@$(VP5)@PATH_IFS@$(VP6)@PATH_IFS@$(VP7)@PATH_IFS@$(VP8)@PATH_IFS@$(VP9)@PATH_IFS@$(VP10)@PATH_IFS@$(VP11) # ':' for autoconf
|
||||||
|
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
@@ -68,6 +68,8 @@ oldincludedir = /usr/include
|
|||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
|
localedir = $(datadir)/locale
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
@@ -108,7 +110,6 @@ SRCDIR = $(WXDIR)/src
|
|||||||
GENDIR = $(WXDIR)/src/generic
|
GENDIR = $(WXDIR)/src/generic
|
||||||
COMMDIR = $(WXDIR)/src/common
|
COMMDIR = $(WXDIR)/src/common
|
||||||
HTMLDIR = $(WXDIR)/src/html
|
HTMLDIR = $(WXDIR)/src/html
|
||||||
OGLDIR = $(WXDIR)/src/ogl
|
|
||||||
UNIXDIR = $(WXDIR)/src/unix
|
UNIXDIR = $(WXDIR)/src/unix
|
||||||
PNGDIR = $(WXDIR)/src/png
|
PNGDIR = $(WXDIR)/src/png
|
||||||
JPEGDIR = $(WXDIR)/src/jpeg
|
JPEGDIR = $(WXDIR)/src/jpeg
|
||||||
@@ -125,18 +126,28 @@ DEMODIR = $(WXDIR)/demos
|
|||||||
UTILSDIR = $(WXDIR)/utils
|
UTILSDIR = $(WXDIR)/utils
|
||||||
MISCDIR = $(WXDIR)/misc
|
MISCDIR = $(WXDIR)/misc
|
||||||
|
|
||||||
DOCDIR = $(WXDIR)/docs
|
DOCDIR = $(WXDIR)/docs
|
||||||
|
INTLDIR = $(WXDIR)/locale
|
||||||
|
|
||||||
########################## Archive name ###############################
|
########################## Archive name ###############################
|
||||||
|
|
||||||
WXARCHIVE = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
|
WXARCHIVE = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.gz
|
||||||
WXGLARCHIVE = @DISTDIR@-gl-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
|
WXGLARCHIVE = @DISTDIR@-gl-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.gz
|
||||||
WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
|
WXSAMPLES = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.gz
|
||||||
WXDEMOS = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
|
WXDEMOS = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.gz
|
||||||
|
|
||||||
|
WXARCHIVE_BZIP = @DISTDIR@-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.bz2
|
||||||
|
WXGLARCHIVE_BZIP = @DISTDIR@-gl-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.bz2
|
||||||
|
WXSAMPLES_BZIP = wx$(TOOLKIT)-samples-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.bz2
|
||||||
|
WXDEMOS_BZIP = wx$(TOOLKIT)-demos-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tar.bz2
|
||||||
|
|
||||||
DISTDIR = ./_dist_dir/@DISTDIR@
|
DISTDIR = ./_dist_dir/@DISTDIR@
|
||||||
|
|
||||||
|
|
||||||
############################## Files ##################################
|
############################## Files ##################################
|
||||||
|
|
||||||
|
WX_LINGUAS = `cd $(top_srcdir)/locale && ls *.mo 2> /dev/null | sed -n 's/\.mo//p'`
|
||||||
|
|
||||||
# this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
|
# this line will include a file which defines ALL_SOURCES, ALL_OBJECTS,
|
||||||
# ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
|
# ALL_DEPFILES and ALL_HEADERS variables with the complete list of .cpp, .o,
|
||||||
# .d and .h/.inl files for the current toolkit
|
# .d and .h/.inl files for the current toolkit
|
||||||
@@ -338,7 +349,7 @@ CREATE_INSTALLED_LINKS: preinstall
|
|||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK2@ \
|
||||||
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
|
&& $(LN_S) @WX_LIBRARY_NAME_SHARED@ @WX_LIBRARY_LINK3@
|
||||||
|
|
||||||
CREATE_INSTALLED_LINKS_GL: preinstall
|
CREATE_INSTALLED_LINKS_GL: preinstall_gl
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
$(RM) $(libdir)/@WX_LIBRARY_LINK1_GL@
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
||||||
$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
||||||
@@ -382,7 +393,7 @@ afminstall: preinstall
|
|||||||
|
|
||||||
# this is the real install target: copies the library, wx-config and the
|
# this is the real install target: copies the library, wx-config and the
|
||||||
# headers to the installation directory
|
# headers to the installation directory
|
||||||
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_DIR@-config
|
preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_NAME@-config
|
||||||
@echo " "
|
@echo " "
|
||||||
@echo " Installing wxWindows..."
|
@echo " Installing wxWindows..."
|
||||||
@echo " "
|
@echo " "
|
||||||
@@ -391,15 +402,15 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_D
|
|||||||
$(INSTALL) -d $(bindir)
|
$(INSTALL) -d $(bindir)
|
||||||
$(INSTALL) -d $(libdir)
|
$(INSTALL) -d $(libdir)
|
||||||
|
|
||||||
$(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_DIR@-config $(bindir)/wx@TOOLKIT_DIR@-config
|
$(INSTALL_SCRIPT) $(top_builddir)/wx@TOOLKIT_NAME@-config $(bindir)/wx@TOOLKIT_NAME@-config
|
||||||
cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_DIR@-config wx-config
|
cd $(bindir) && rm -f wx-config && $(LN_S) wx@TOOLKIT_NAME@-config wx-config
|
||||||
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
|
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
|
||||||
|
|
||||||
$(INSTALL) -d $(libdir)/wx
|
$(INSTALL) -d $(libdir)/wx
|
||||||
$(INSTALL) -d $(libdir)/wx/include
|
$(INSTALL) -d $(libdir)/wx/include
|
||||||
$(INSTALL) -d $(libdir)/wx/include/wx
|
$(INSTALL) -d $(libdir)/wx/include/wx
|
||||||
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@
|
$(INSTALL) -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@
|
||||||
$(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
|
$(INSTALL_DATA) $(top_builddir)/include/wx/@TOOLKIT_DIR@/setup.h $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
|
||||||
|
|
||||||
$(INSTALL) -d $(includedir)/wx
|
$(INSTALL) -d $(includedir)/wx
|
||||||
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
|
@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@TOOLKIT_DIR@; fi
|
||||||
@@ -412,6 +423,21 @@ preinstall: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx@TOOLKIT_D
|
|||||||
echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
|
echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
$(INSTALL) -d $(localedir)
|
||||||
|
@for p in $(WX_LINGUAS); do \
|
||||||
|
$(INSTALL) -d $(localedir)/$$p; \
|
||||||
|
$(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; \
|
||||||
|
$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
|
||||||
|
echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
|
||||||
|
done
|
||||||
|
|
||||||
|
preinstall_gl: $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@
|
||||||
|
@echo " "
|
||||||
|
@echo " Installing wxWindows OpenGl add-on..."
|
||||||
|
@echo " "
|
||||||
|
$(INSTALL) -d $(libdir)
|
||||||
|
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY_GL@ $(libdir)/@WX_TARGET_LIBRARY_GL@
|
||||||
|
|
||||||
install: @AFMINSTALL@ @WX_ALL_INSTALLED@
|
install: @AFMINSTALL@ @WX_ALL_INSTALLED@
|
||||||
@echo " "
|
@echo " "
|
||||||
@echo " The installation of wxWindows is finished. On certain"
|
@echo " The installation of wxWindows is finished. On certain"
|
||||||
@@ -440,9 +466,9 @@ uninstall:
|
|||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK2_GL@
|
||||||
@$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
@$(RM) $(libdir)/@WX_LIBRARY_LINK3_GL@
|
||||||
@echo " Removing helper files..."
|
@echo " Removing helper files..."
|
||||||
@$(RM) $(libdir)/wx/include/wx/@TOOLKIT_DIR@/setup.h
|
@$(RM) $(libdir)/wx/include/wx/@TOOLKIT_NAME@/setup.h
|
||||||
@$(RM) $(bindir)/wx-config
|
@$(RM) $(bindir)/wx-config
|
||||||
@$(RM) $(bindir)/wx@TOOLKIT_DIR@-config
|
@$(RM) $(bindir)/wx@TOOLKIT_NAME@-config
|
||||||
@$(RM) $(datadir)/wx/afm/*
|
@$(RM) $(datadir)/wx/afm/*
|
||||||
@$(RM) $(datadir)/wx/gs_afm/*
|
@$(RM) $(datadir)/wx/gs_afm/*
|
||||||
# FIXME: wxBase doesnt install these next 3 dirs.
|
# FIXME: wxBase doesnt install these next 3 dirs.
|
||||||
@@ -453,8 +479,15 @@ uninstall:
|
|||||||
@list='$(HEADERS)'; for p in $$list; do \
|
@list='$(HEADERS)'; for p in $$list; do \
|
||||||
$(RM) $(includedir)/wx/$$p; \
|
$(RM) $(includedir)/wx/$$p; \
|
||||||
done
|
done
|
||||||
|
@echo " Removing i18n files..."
|
||||||
|
@-for p in $(WX_LINGUAS); do \
|
||||||
|
$(RM) $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
|
||||||
|
rmdir $(localedir)/$$p/LC_MESSAGES; \
|
||||||
|
rmdir $(localedir)/$$p; \
|
||||||
|
done
|
||||||
@echo " Removing directories..."
|
@echo " Removing directories..."
|
||||||
@if test -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
|
@-rmdir $(localedir)
|
||||||
|
@if test -d $(libdir)/wx/include/wx/@TOOLKIT_NAME@; then rmdir $(libdir)/wx/include/wx/@TOOLKIT_NAME@; fi
|
||||||
@if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
|
@if test -d $(libdir)/wx/include/wx; then rmdir $(libdir)/wx/include/wx; fi
|
||||||
@if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
|
@if test -d $(libdir)/wx/include; then rmdir $(libdir)/wx/include; fi
|
||||||
@if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
|
@if test -d $(libdir)/wx; then rmdir $(libdir)/wx; fi
|
||||||
@@ -462,7 +495,6 @@ uninstall:
|
|||||||
@if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
|
@if test -d $(includedir)/wx/motif; then rmdir $(includedir)/wx/motif; fi
|
||||||
@if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
|
@if test -d $(includedir)/wx/msw; then rmdir $(includedir)/wx/msw; fi
|
||||||
@if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
|
@if test -d $(includedir)/wx/html; then rmdir $(includedir)/wx/html; fi
|
||||||
@if test -d $(includedir)/wx/ogl; then rmdir $(includedir)/wx/ogl; fi
|
|
||||||
@if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
|
@if test -d $(includedir)/wx/unix; then rmdir $(includedir)/wx/unix; fi
|
||||||
@if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
|
@if test -d $(includedir)/wx/generic; then rmdir $(includedir)/wx/generic; fi
|
||||||
@if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
|
@if test -d $(includedir)/wx/protocol; then rmdir $(includedir)/wx/protocol; fi
|
||||||
@@ -481,10 +513,21 @@ ALL_DIST: distclean
|
|||||||
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
|
||||||
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
cp $(WXDIR)/wx-config.in $(DISTDIR)
|
||||||
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
cp $(WXDIR)/setup.h.in $(DISTDIR)
|
||||||
|
cp $(WXDIR)/setup.h_vms $(DISTDIR)
|
||||||
|
cp $(WXDIR)/descrip.mms $(DISTDIR)
|
||||||
cp $(WXDIR)/Makefile.in $(DISTDIR)
|
cp $(WXDIR)/Makefile.in $(DISTDIR)
|
||||||
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
cp $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||||
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
cp $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||||
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
cp $(DOCDIR)/symbols.txt $(DISTDIR)/SYMBOLS.txt
|
||||||
|
mkdir $(DISTDIR)/lib
|
||||||
|
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
||||||
|
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
||||||
|
mkdir $(DISTDIR)/src
|
||||||
|
mkdir $(DISTDIR)/src/zlib
|
||||||
|
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||||
|
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||||
|
cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
||||||
|
cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
|
||||||
|
|
||||||
# this target is the common part of distribution script for all GUI toolkits,
|
# this target is the common part of distribution script for all GUI toolkits,
|
||||||
# but is not used when building wxBase distribution
|
# but is not used when building wxBase distribution
|
||||||
@@ -499,7 +542,6 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
||||||
mkdir $(DISTDIR)/include/wx/generic
|
mkdir $(DISTDIR)/include/wx/generic
|
||||||
mkdir $(DISTDIR)/include/wx/html
|
mkdir $(DISTDIR)/include/wx/html
|
||||||
mkdir $(DISTDIR)/include/wx/ogl
|
|
||||||
mkdir $(DISTDIR)/include/wx/protocol
|
mkdir $(DISTDIR)/include/wx/protocol
|
||||||
mkdir $(DISTDIR)/include/wx/unix
|
mkdir $(DISTDIR)/include/wx/unix
|
||||||
cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
|
cp $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
|
||||||
@@ -508,42 +550,37 @@ ALL_GUI_DIST: ALL_DIST
|
|||||||
cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
|
cp $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
|
||||||
cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
|
cp $(INCDIR)/wx/generic/*.xpm $(DISTDIR)/include/wx/generic
|
||||||
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
|
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
|
||||||
cp $(INCDIR)/wx/ogl/*.h $(DISTDIR)/include/wx/ogl
|
|
||||||
cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
|
cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
|
||||||
cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
|
cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
|
||||||
mkdir $(DISTDIR)/src
|
|
||||||
mkdir $(DISTDIR)/src/common
|
mkdir $(DISTDIR)/src/common
|
||||||
mkdir $(DISTDIR)/src/generic
|
mkdir $(DISTDIR)/src/generic
|
||||||
mkdir $(DISTDIR)/src/html
|
mkdir $(DISTDIR)/src/html
|
||||||
mkdir $(DISTDIR)/src/ogl
|
|
||||||
mkdir $(DISTDIR)/src/html/bitmaps
|
mkdir $(DISTDIR)/src/html/bitmaps
|
||||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||||
mkdir $(DISTDIR)/src/png
|
mkdir $(DISTDIR)/src/png
|
||||||
mkdir $(DISTDIR)/src/jpeg
|
mkdir $(DISTDIR)/src/jpeg
|
||||||
mkdir $(DISTDIR)/src/tiff
|
mkdir $(DISTDIR)/src/tiff
|
||||||
mkdir $(DISTDIR)/src/zlib
|
|
||||||
mkdir $(DISTDIR)/src/iodbc
|
mkdir $(DISTDIR)/src/iodbc
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
|
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
||||||
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.c $(DISTDIR)/src/common
|
||||||
cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
|
|
||||||
cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
|
|
||||||
cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
|
||||||
cp $(COMMDIR)/*.l $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.l $(DISTDIR)/src/common
|
||||||
cp $(COMMDIR)/*.h $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.h $(DISTDIR)/src/common
|
||||||
cp $(COMMDIR)/*.y $(DISTDIR)/src/common
|
cp $(COMMDIR)/*.y $(DISTDIR)/src/common
|
||||||
|
cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
|
||||||
|
cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
|
||||||
|
cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
|
||||||
|
cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
|
||||||
cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
|
cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
|
||||||
cp $(OGLDIR)/*.cpp $(DISTDIR)/src/ogl
|
cp $(GENDIR)/*.mms $(DISTDIR)/src/generic
|
||||||
cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
|
cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
|
||||||
cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
|
cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
|
||||||
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
|
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
|
||||||
cp $(PNGDIR)/*.c $(DISTDIR)/src/png
|
cp $(PNGDIR)/*.c $(DISTDIR)/src/png
|
||||||
cp $(PNGDIR)/README $(DISTDIR)/src/png
|
cp $(PNGDIR)/README $(DISTDIR)/src/png
|
||||||
cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
|
||||||
cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
|
||||||
cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
|
||||||
cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
|
cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
|
||||||
cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
|
cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
|
||||||
cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
|
cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
|
||||||
@@ -563,10 +600,9 @@ BASE_DIST: ALL_DIST
|
|||||||
mkdir $(DISTDIR)/include/wx
|
mkdir $(DISTDIR)/include/wx
|
||||||
mkdir $(DISTDIR)/include/wx/protocol
|
mkdir $(DISTDIR)/include/wx/protocol
|
||||||
mkdir $(DISTDIR)/include/wx/unix
|
mkdir $(DISTDIR)/include/wx/unix
|
||||||
mkdir $(DISTDIR)/src
|
|
||||||
mkdir $(DISTDIR)/src/common
|
mkdir $(DISTDIR)/src/common
|
||||||
mkdir $(DISTDIR)/src/unix
|
mkdir $(DISTDIR)/src/unix
|
||||||
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
|
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)
|
||||||
cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
|
cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
|
||||||
cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
|
cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
|
||||||
cp $(WXDIR)/wxBase.dsp $(DISTDIR)
|
cp $(WXDIR)/wxBase.dsp $(DISTDIR)
|
||||||
@@ -575,6 +611,7 @@ BASE_DIST: ALL_DIST
|
|||||||
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
|
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
|
||||||
cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
|
cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
|
||||||
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
cp $(SRCDIR)/*.in $(DISTDIR)/src
|
||||||
|
cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common/unzip.h
|
||||||
list='$(HEADERS)'; for p in $$list; do \
|
list='$(HEADERS)'; for p in $$list; do \
|
||||||
cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
|
cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
|
||||||
done
|
done
|
||||||
@@ -589,6 +626,9 @@ GTK_DIST: ALL_GUI_DIST
|
|||||||
cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
||||||
cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
||||||
cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
||||||
|
cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
|
||||||
|
mkdir $(DISTDIR)/contrib
|
||||||
|
cp -R $(WXDIR)/contrib $(DISTDIR)
|
||||||
|
|
||||||
MOTIF_DIST: ALL_GUI_DIST
|
MOTIF_DIST: ALL_GUI_DIST
|
||||||
cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
|
cp $(WXDIR)/wxMOTIF.spec $(DISTDIR)
|
||||||
@@ -645,6 +685,7 @@ DEMOS_DIST: ALL_GUI_DIST
|
|||||||
cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
|
cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
|
||||||
cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
|
cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
|
||||||
cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
|
cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
|
||||||
|
cp $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
|
||||||
cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
|
cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
|
||||||
|
|
||||||
mkdir $(DISTDIR)/demos/poem
|
mkdir $(DISTDIR)/demos/poem
|
||||||
@@ -666,56 +707,59 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
|
cp $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
|
||||||
cp $(SAMPDIR)/configure $(DISTDIR)/samples
|
cp $(SAMPDIR)/configure $(DISTDIR)/samples
|
||||||
cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
|
cp $(SAMPDIR)/configure.in $(DISTDIR)/samples
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/calendar
|
||||||
|
cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
|
||||||
|
cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
|
||||||
|
cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/caret
|
mkdir $(DISTDIR)/samples/caret
|
||||||
cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
|
cp $(SAMPDIR)/caret/Makefile.in $(DISTDIR)/samples/caret
|
||||||
cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
|
cp $(SAMPDIR)/caret/makefile.unx $(DISTDIR)/samples/caret
|
||||||
cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
|
cp $(SAMPDIR)/caret/*.cpp $(DISTDIR)/samples/caret
|
||||||
cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
|
cp $(SAMPDIR)/caret/*.xpm $(DISTDIR)/samples/caret
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/calendar
|
mkdir $(DISTDIR)/samples/checklst
|
||||||
cp $(SAMPDIR)/calendar/Makefile.in $(DISTDIR)/samples/calendar
|
cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
|
||||||
cp $(SAMPDIR)/calendar/makefile.unx $(DISTDIR)/samples/calendar
|
cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
|
||||||
cp $(SAMPDIR)/calendar/*.cpp $(DISTDIR)/samples/calendar
|
cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
|
||||||
|
cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
|
||||||
|
cp $(SAMPDIR)/checklst/*.mms $(DISTDIR)/samples/checklst
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/config
|
mkdir $(DISTDIR)/samples/config
|
||||||
cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
|
cp $(SAMPDIR)/config/Makefile.in $(DISTDIR)/samples/config
|
||||||
cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
|
cp $(SAMPDIR)/config/makefile.unx $(DISTDIR)/samples/config
|
||||||
cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
|
cp $(SAMPDIR)/config/*.cpp $(DISTDIR)/samples/config
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/console
|
mkdir $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
|
||||||
cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
|
cp $(SAMPDIR)/console/*.cpp $(DISTDIR)/samples/console
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/controls
|
mkdir $(DISTDIR)/samples/controls
|
||||||
mkdir $(DISTDIR)/samples/controls/icons
|
mkdir $(DISTDIR)/samples/controls/icons
|
||||||
cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
|
cp $(SAMPDIR)/controls/Makefile.in $(DISTDIR)/samples/controls
|
||||||
cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
|
cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
|
||||||
cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
|
cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
|
||||||
cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
|
cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
|
||||||
|
cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
|
||||||
cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
|
cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/checklst
|
|
||||||
cp $(SAMPDIR)/checklst/Makefile.in $(DISTDIR)/samples/checklst
|
|
||||||
cp $(SAMPDIR)/checklst/makefile.unx $(DISTDIR)/samples/checklst
|
|
||||||
cp $(SAMPDIR)/checklst/*.cpp $(DISTDIR)/samples/checklst
|
|
||||||
cp $(SAMPDIR)/checklst/*.xpm $(DISTDIR)/samples/checklst
|
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/db
|
mkdir $(DISTDIR)/samples/db
|
||||||
cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
|
cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
|
||||||
cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
|
cp $(SAMPDIR)/db/makefile.unx $(DISTDIR)/samples/db
|
||||||
cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
|
cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
|
||||||
cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
|
cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
|
||||||
cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
|
cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dialogs
|
mkdir $(DISTDIR)/samples/dialogs
|
||||||
cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
|
cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
|
||||||
cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
|
cp $(SAMPDIR)/dialogs/makefile.unx $(DISTDIR)/samples/dialogs
|
||||||
cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
|
cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
|
||||||
cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
|
cp $(SAMPDIR)/dialogs/*.h $(DISTDIR)/samples/dialogs
|
||||||
cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
|
cp $(SAMPDIR)/dialogs/*.txt $(DISTDIR)/samples/dialogs
|
||||||
|
cp $(SAMPDIR)/dialogs/*.mms $(DISTDIR)/samples/dialogs
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dnd
|
mkdir $(DISTDIR)/samples/dnd
|
||||||
cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
|
cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
|
||||||
cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
|
cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
|
||||||
@@ -724,52 +768,56 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
|
cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
|
||||||
cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
|
cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
|
||||||
cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
|
cp $(SAMPDIR)/dnd/*.png $(DISTDIR)/samples/dnd
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/docview
|
mkdir $(DISTDIR)/samples/docview
|
||||||
cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
|
cp $(SAMPDIR)/docview/Makefile.in $(DISTDIR)/samples/docview
|
||||||
cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
|
cp $(SAMPDIR)/docview/makefile.unx $(DISTDIR)/samples/docview
|
||||||
cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
|
cp $(SAMPDIR)/docview/*.cpp $(DISTDIR)/samples/docview
|
||||||
cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
|
cp $(SAMPDIR)/docview/*.h $(DISTDIR)/samples/docview
|
||||||
cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
|
cp $(SAMPDIR)/docview/*.xpm $(DISTDIR)/samples/docview
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/docvwmdi
|
mkdir $(DISTDIR)/samples/docvwmdi
|
||||||
cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
|
cp $(SAMPDIR)/docvwmdi/Makefile.in $(DISTDIR)/samples/docvwmdi
|
||||||
cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
|
cp $(SAMPDIR)/docvwmdi/makefile.unx $(DISTDIR)/samples/docvwmdi
|
||||||
cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
|
cp $(SAMPDIR)/docvwmdi/*.cpp $(DISTDIR)/samples/docvwmdi
|
||||||
cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
|
cp $(SAMPDIR)/docvwmdi/*.h $(DISTDIR)/samples/docvwmdi
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/Makefile.in $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/makefile.unx $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/*.cpp $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/*.h $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/*.xpm $(DISTDIR)/samples/dragimag
|
||||||
|
cp $(SAMPDIR)/dragimag/*.png $(DISTDIR)/samples/dragimag
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/drawing
|
mkdir $(DISTDIR)/samples/drawing
|
||||||
cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
|
cp $(SAMPDIR)/drawing/Makefile.in $(DISTDIR)/samples/drawing
|
||||||
cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
|
cp $(SAMPDIR)/drawing/makefile.unx $(DISTDIR)/samples/drawing
|
||||||
cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
|
cp $(SAMPDIR)/drawing/*.cpp $(DISTDIR)/samples/drawing
|
||||||
cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
|
cp $(SAMPDIR)/drawing/*.xpm $(DISTDIR)/samples/drawing
|
||||||
|
cp $(SAMPDIR)/drawing/*.bmp $(DISTDIR)/samples/drawing
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dynamic
|
mkdir $(DISTDIR)/samples/dynamic
|
||||||
cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
|
cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
|
||||||
cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
|
cp $(SAMPDIR)/dynamic/makefile.unx $(DISTDIR)/samples/dynamic
|
||||||
cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
|
cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
|
||||||
cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
|
cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/exec
|
mkdir $(DISTDIR)/samples/exec
|
||||||
cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
|
cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
|
||||||
|
cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec
|
||||||
cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
|
cp $(SAMPDIR)/exec/*.cpp $(DISTDIR)/samples/exec
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/ipc
|
|
||||||
cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
|
|
||||||
cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
|
|
||||||
cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
|
|
||||||
cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
|
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/font
|
mkdir $(DISTDIR)/samples/font
|
||||||
cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
|
cp $(SAMPDIR)/font/Makefile.in $(DISTDIR)/samples/font
|
||||||
cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
|
cp $(SAMPDIR)/font/makefile.unx $(DISTDIR)/samples/font
|
||||||
cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
|
cp $(SAMPDIR)/font/*.cpp $(DISTDIR)/samples/font
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/grid
|
mkdir $(DISTDIR)/samples/grid
|
||||||
cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
|
cp $(SAMPDIR)/grid/Makefile.in $(DISTDIR)/samples/grid
|
||||||
cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
|
cp $(SAMPDIR)/grid/makefile.unx $(DISTDIR)/samples/grid
|
||||||
cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
|
cp $(SAMPDIR)/grid/*.cpp $(DISTDIR)/samples/grid
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/help
|
mkdir $(DISTDIR)/samples/help
|
||||||
mkdir $(DISTDIR)/samples/help/doc
|
mkdir $(DISTDIR)/samples/help/doc
|
||||||
cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
|
cp $(SAMPDIR)/help/Makefile.in $(DISTDIR)/samples/help
|
||||||
@@ -777,7 +825,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
|
cp $(SAMPDIR)/help/*.cpp $(DISTDIR)/samples/help
|
||||||
cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
|
cp $(SAMPDIR)/help/*.xpm $(DISTDIR)/samples/help
|
||||||
cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
|
cp $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/html
|
mkdir $(DISTDIR)/samples/html
|
||||||
cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
|
cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
|
||||||
mkdir $(DISTDIR)/samples/html/about
|
mkdir $(DISTDIR)/samples/html/about
|
||||||
@@ -804,6 +852,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/*.cpp $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/*.bmp $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/*.png $(DISTDIR)/samples/html/test
|
||||||
|
cp $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
|
||||||
mkdir $(DISTDIR)/samples/html/virtual
|
mkdir $(DISTDIR)/samples/html/virtual
|
||||||
@@ -819,11 +868,12 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
|
cp $(SAMPDIR)/html/zip/*.cpp $(DISTDIR)/samples/html/zip
|
||||||
cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
|
cp $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
|
||||||
cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
|
cp $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/image
|
mkdir $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/Makefile.in $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
|
||||||
|
cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
|
||||||
cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
|
cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
|
||||||
@@ -837,17 +887,31 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
|
cp $(SAMPDIR)/internat/*.xpm $(DISTDIR)/samples/internat
|
||||||
cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
|
cp $(SAMPDIR)/internat/*.txt $(DISTDIR)/samples/internat
|
||||||
cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
|
cp $(SAMPDIR)/internat/*.po $(DISTDIR)/samples/internat
|
||||||
cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
|
cp $(SAMPDIR)/internat/fr/*.mo $(DISTDIR)/samples/internat/fr
|
||||||
cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
|
cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
|
||||||
cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
|
cp $(SAMPDIR)/internat/fr/*.po $(DISTDIR)/samples/internat/fr
|
||||||
cp $(SAMPDIR)/internat/de/*.mo $(DISTDIR)/samples/internat/de
|
cp $(SAMPDIR)/internat/de/*.po $(DISTDIR)/samples/internat/de
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/ipc
|
||||||
|
cp $(SAMPDIR)/ipc/Makefile.in $(DISTDIR)/samples/ipc
|
||||||
|
cp $(SAMPDIR)/ipc/makefile.unx $(DISTDIR)/samples/ipc
|
||||||
|
cp $(SAMPDIR)/ipc/*.cpp $(DISTDIR)/samples/ipc
|
||||||
|
cp $(SAMPDIR)/ipc/*.h $(DISTDIR)/samples/ipc
|
||||||
|
cp $(SAMPDIR)/ipc/*.xpm $(DISTDIR)/samples/ipc
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/joytest
|
||||||
|
cp $(SAMPDIR)/joytest/Makefile.in $(DISTDIR)/samples/joytest
|
||||||
|
cp $(SAMPDIR)/joytest/makefile.unx $(DISTDIR)/samples/joytest
|
||||||
|
cp $(SAMPDIR)/joytest/*.cpp $(DISTDIR)/samples/joytest
|
||||||
|
cp $(SAMPDIR)/joytest/*.h $(DISTDIR)/samples/joytest
|
||||||
|
cp $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/layout
|
mkdir $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/Makefile.in $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/makefile.unx $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/*.cpp $(DISTDIR)/samples/layout
|
||||||
cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
|
cp $(SAMPDIR)/layout/*.h $(DISTDIR)/samples/layout
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/listctrl
|
mkdir $(DISTDIR)/samples/listctrl
|
||||||
mkdir $(DISTDIR)/samples/listctrl/bitmaps
|
mkdir $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/Makefile.in $(DISTDIR)/samples/listctrl
|
||||||
@@ -856,7 +920,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/mdi
|
mkdir $(DISTDIR)/samples/mdi
|
||||||
mkdir $(DISTDIR)/samples/mdi/bitmaps
|
mkdir $(DISTDIR)/samples/mdi/bitmaps
|
||||||
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
||||||
@@ -865,18 +929,18 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
|
cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/memcheck
|
mkdir $(DISTDIR)/samples/memcheck
|
||||||
cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
|
cp $(SAMPDIR)/memcheck/Makefile.in $(DISTDIR)/samples/memcheck
|
||||||
cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
|
cp $(SAMPDIR)/memcheck/makefile.unx $(DISTDIR)/samples/memcheck
|
||||||
cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
|
cp $(SAMPDIR)/memcheck/*.cpp $(DISTDIR)/samples/memcheck
|
||||||
cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
|
cp $(SAMPDIR)/memcheck/*.xpm $(DISTDIR)/samples/memcheck
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/menu
|
mkdir $(DISTDIR)/samples/menu
|
||||||
cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
|
cp $(SAMPDIR)/menu/Makefile.in $(DISTDIR)/samples/menu
|
||||||
cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
|
cp $(SAMPDIR)/menu/makefile.unx $(DISTDIR)/samples/menu
|
||||||
cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
|
cp $(SAMPDIR)/menu/*.cpp $(DISTDIR)/samples/menu
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/minifram
|
mkdir $(DISTDIR)/samples/minifram
|
||||||
mkdir $(DISTDIR)/samples/minifram/bitmaps
|
mkdir $(DISTDIR)/samples/minifram/bitmaps
|
||||||
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
||||||
@@ -885,37 +949,64 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/minimal
|
mkdir $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/makefile.unx $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
||||||
|
cp $(SAMPDIR)/minimal/*.mms $(DISTDIR)/samples/minimal
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/dialup
|
mkdir $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/Makefile.in $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/makefile.unx $(DISTDIR)/samples/dialup
|
||||||
cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
|
cp $(SAMPDIR)/dialup/*.cpp $(DISTDIR)/samples/dialup
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/newgrid
|
mkdir $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/makefile.unx $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/*.h $(DISTDIR)/samples/newgrid
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/notebook
|
mkdir $(DISTDIR)/samples/notebook
|
||||||
cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
|
cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
|
||||||
cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
|
cp $(SAMPDIR)/notebook/makefile.unx $(DISTDIR)/samples/notebook
|
||||||
cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
|
cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
|
||||||
cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
|
cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/opengl
|
||||||
|
cp $(SAMPDIR)/opengl/Makefile.in $(DISTDIR)/samples/opengl
|
||||||
|
mkdir $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/Makefile.in $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/makefile.unx $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
|
||||||
|
cp $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
|
||||||
|
mkdir $(DISTDIR)/samples/opengl/cube
|
||||||
|
cp $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
|
||||||
|
cp $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
|
||||||
|
cp $(SAMPDIR)/opengl/cube/*.cpp $(DISTDIR)/samples/opengl/cube
|
||||||
|
cp $(SAMPDIR)/opengl/cube/*.h $(DISTDIR)/samples/opengl/cube
|
||||||
|
mkdir $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
cp $(SAMPDIR)/opengl/isosurf/Makefile.in $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
cp $(SAMPDIR)/opengl/isosurf/makefile.unx $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
cp $(SAMPDIR)/opengl/isosurf/*.cpp $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
cp $(SAMPDIR)/opengl/isosurf/*.h $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
cp $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/plot
|
||||||
|
cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
|
||||||
|
cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
|
||||||
|
cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/png
|
mkdir $(DISTDIR)/samples/png
|
||||||
cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
|
cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
|
||||||
cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
|
cp $(SAMPDIR)/png/makefile.unx $(DISTDIR)/samples/png
|
||||||
cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
|
cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
|
||||||
cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
|
cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
|
||||||
cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
|
cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/printing
|
mkdir $(DISTDIR)/samples/printing
|
||||||
cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
|
cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
|
||||||
cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
|
cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
|
||||||
@@ -923,14 +1014,14 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
|
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
|
||||||
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
|
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
|
||||||
cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
|
cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/resource
|
mkdir $(DISTDIR)/samples/resource
|
||||||
cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
|
cp $(SAMPDIR)/resource/Makefile.in $(DISTDIR)/samples/resource
|
||||||
cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
|
cp $(SAMPDIR)/resource/makefile.unx $(DISTDIR)/samples/resource
|
||||||
cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
|
cp $(SAMPDIR)/resource/*.cpp $(DISTDIR)/samples/resource
|
||||||
cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
|
cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
|
||||||
cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
|
cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/rotate
|
mkdir $(DISTDIR)/samples/rotate
|
||||||
cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
|
cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
|
||||||
cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
|
cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
|
||||||
@@ -939,29 +1030,28 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
|
|
||||||
mkdir $(DISTDIR)/samples/richedit
|
mkdir $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
|
||||||
|
cp $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
|
||||||
cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
|
cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/plot
|
|
||||||
cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
|
|
||||||
cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
|
|
||||||
cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
|
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/proplist
|
mkdir $(DISTDIR)/samples/proplist
|
||||||
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
|
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
|
||||||
|
cp $(SAMPDIR)/proplist/makefile.unx $(DISTDIR)/samples/proplist
|
||||||
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
|
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
|
||||||
cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
|
cp $(SAMPDIR)/proplist/*.h $(DISTDIR)/samples/proplist
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/propsize
|
mkdir $(DISTDIR)/samples/propsize
|
||||||
cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
|
cp $(SAMPDIR)/propsize/Makefile.in $(DISTDIR)/samples/propsize
|
||||||
|
cp $(SAMPDIR)/propsize/makefile.unx $(DISTDIR)/samples/propsize
|
||||||
cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
|
cp $(SAMPDIR)/propsize/*.cpp $(DISTDIR)/samples/propsize
|
||||||
cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
|
cp $(SAMPDIR)/propsize/*.xpm $(DISTDIR)/samples/propsize
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/sashtest
|
mkdir $(DISTDIR)/samples/sashtest
|
||||||
cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
|
cp $(SAMPDIR)/sashtest/Makefile.in $(DISTDIR)/samples/sashtest
|
||||||
|
cp $(SAMPDIR)/sashtest/makefile.unx $(DISTDIR)/samples/sashtest
|
||||||
cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
|
cp $(SAMPDIR)/sashtest/*.cpp $(DISTDIR)/samples/sashtest
|
||||||
cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
|
cp $(SAMPDIR)/sashtest/*.h $(DISTDIR)/samples/sashtest
|
||||||
|
|
||||||
@@ -975,13 +1065,20 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
|
cp $(SAMPDIR)/scrollsub/makefile.unx $(DISTDIR)/samples/scrollsub
|
||||||
cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
|
cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/sockets
|
||||||
|
cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
|
||||||
|
cp $(SAMPDIR)/sockets/makefile.unx $(DISTDIR)/samples/sockets
|
||||||
|
cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
|
||||||
|
cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/splitter
|
mkdir $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
|
|
||||||
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
||||||
|
cp $(SAMPDIR)/splitter/makefile.unx $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/statbar
|
mkdir $(DISTDIR)/samples/statbar
|
||||||
cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
|
cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
|
||||||
|
cp $(SAMPDIR)/statbar/makefile.unx $(DISTDIR)/samples/statbar
|
||||||
cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
|
cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
|
||||||
cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
|
cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
|
||||||
|
|
||||||
@@ -998,6 +1095,7 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
|
|
||||||
mkdir $(DISTDIR)/samples/toolbar
|
mkdir $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/Makefile.in $(DISTDIR)/samples/toolbar
|
||||||
|
cp $(SAMPDIR)/toolbar/makefile.unx $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
||||||
mkdir $(DISTDIR)/samples/toolbar/bitmaps
|
mkdir $(DISTDIR)/samples/toolbar/bitmaps
|
||||||
@@ -1005,38 +1103,69 @@ SAMPLES_DIST: ALL_GUI_DIST
|
|||||||
|
|
||||||
mkdir $(DISTDIR)/samples/treectrl
|
mkdir $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
||||||
|
cp $(SAMPDIR)/treectrl/makefile.unx $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/*.h $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/*.xpm $(DISTDIR)/samples/treectrl
|
||||||
|
mkdir $(DISTDIR)/samples/treectrl/bitmaps
|
||||||
|
cp $(SAMPDIR)/treectrl/bitmaps/*.bmp $(DISTDIR)/samples/treectrl/bitmaps
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/samples/treelay
|
||||||
|
cp $(SAMPDIR)/treelay/Makefile.in $(DISTDIR)/samples/treelay
|
||||||
|
cp $(SAMPDIR)/treelay/makefile.unx $(DISTDIR)/samples/treelay
|
||||||
|
cp $(SAMPDIR)/treelay/*.cpp $(DISTDIR)/samples/treelay
|
||||||
|
cp $(SAMPDIR)/treelay/*.h $(DISTDIR)/samples/treelay
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/typetest
|
mkdir $(DISTDIR)/samples/typetest
|
||||||
cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
|
cp $(SAMPDIR)/typetest/Makefile.in $(DISTDIR)/samples/typetest
|
||||||
|
cp $(SAMPDIR)/typetest/makefile.unx $(DISTDIR)/samples/typetest
|
||||||
cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
|
cp $(SAMPDIR)/typetest/*.cpp $(DISTDIR)/samples/typetest
|
||||||
cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
|
cp $(SAMPDIR)/typetest/*.h $(DISTDIR)/samples/typetest
|
||||||
cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
|
cp $(SAMPDIR)/typetest/*.xpm $(DISTDIR)/samples/typetest
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/validate
|
mkdir $(DISTDIR)/samples/validate
|
||||||
cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
|
cp $(SAMPDIR)/validate/Makefile.in $(DISTDIR)/samples/validate
|
||||||
|
cp $(SAMPDIR)/validate/makefile.unx $(DISTDIR)/samples/validate
|
||||||
cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
|
cp $(SAMPDIR)/validate/*.cpp $(DISTDIR)/samples/validate
|
||||||
cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
|
cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
|
||||||
cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
|
cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/wizard
|
mkdir $(DISTDIR)/samples/wizard
|
||||||
cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
|
cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
|
||||||
|
cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
|
||||||
cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
|
cp $(SAMPDIR)/wizard/*.cpp $(DISTDIR)/samples/wizard
|
||||||
cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
|
cp $(SAMPDIR)/wizard/*.xpm $(DISTDIR)/samples/wizard
|
||||||
|
|
||||||
mkdir $(DISTDIR)/samples/sockets
|
|
||||||
cp $(SAMPDIR)/sockets/Makefile.in $(DISTDIR)/samples/sockets
|
|
||||||
cp $(SAMPDIR)/sockets/*.cpp $(DISTDIR)/samples/sockets
|
|
||||||
cp $(SAMPDIR)/sockets/*.xpm $(DISTDIR)/samples/sockets
|
|
||||||
|
|
||||||
UTILS_DIST: ALL_GUI_DIST
|
UTILS_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/utils
|
mkdir $(DISTDIR)/utils
|
||||||
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
||||||
cp $(UTILSDIR)/configure $(DISTDIR)/utils
|
cp $(UTILSDIR)/configure $(DISTDIR)/utils
|
||||||
cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
|
cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/tex2rtf
|
||||||
|
mkdir $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
|
||||||
|
cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/makegen
|
||||||
|
mkdir $(DISTDIR)/utils/makegen/templates
|
||||||
|
cp $(UTILSDIR)/makegen/Makefile.in $(DISTDIR)/utils/makegen
|
||||||
|
cp $(UTILSDIR)/makegen/*.cpp $(DISTDIR)/utils/makegen
|
||||||
|
cp $(UTILSDIR)/makegen/templates/*.* $(DISTDIR)/utils/makegen/templates
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/hhp2cached
|
||||||
|
cp $(UTILSDIR)/hhp2cached/*.* $(DISTDIR)/utils/hhp2cached
|
||||||
|
|
||||||
|
mkdir $(DISTDIR)/utils/HelpGen
|
||||||
|
mkdir $(DISTDIR)/utils/HelpGen/src
|
||||||
|
cp $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
|
||||||
|
cp $(UTILSDIR)/HelpGen/src/*.* $(DISTDIR)/utils/HelpGen/src
|
||||||
|
|
||||||
|
cp -R $(UTILSDIR)/dialoged $(DISTDIR)/utils/dialoged
|
||||||
|
|
||||||
MISC_DIST: ALL_GUI_DIST
|
MISC_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/misc
|
mkdir $(DISTDIR)/misc
|
||||||
mkdir $(DISTDIR)/misc/afm
|
mkdir $(DISTDIR)/misc/afm
|
||||||
@@ -1044,6 +1173,12 @@ MISC_DIST: ALL_GUI_DIST
|
|||||||
mkdir $(DISTDIR)/misc/gs_afm
|
mkdir $(DISTDIR)/misc/gs_afm
|
||||||
cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
|
cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
|
||||||
|
|
||||||
|
INTL_DIST:
|
||||||
|
mkdir $(DISTDIR)/locale
|
||||||
|
cp $(INTLDIR)/Makefile $(DISTDIR)/locale
|
||||||
|
cp $(INTLDIR)/*.po $(DISTDIR)/locale
|
||||||
|
-cp $(INTLDIR)/*.mo $(DISTDIR)/locale
|
||||||
|
|
||||||
MANUAL_DIST:
|
MANUAL_DIST:
|
||||||
mkdir $(DISTDIR)/docs
|
mkdir $(DISTDIR)/docs
|
||||||
mkdir $(DISTDIR)/docs/latex
|
mkdir $(DISTDIR)/docs/latex
|
||||||
@@ -1054,53 +1189,49 @@ MANUAL_DIST:
|
|||||||
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
|
||||||
|
|
||||||
-mkdir $(DISTDIR)/utils
|
|
||||||
mkdir $(DISTDIR)/utils/tex2rtf
|
|
||||||
mkdir $(DISTDIR)/utils/tex2rtf/src
|
|
||||||
cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
|
|
||||||
cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
|
|
||||||
cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
|
|
||||||
cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
|
||||||
cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
|
|
||||||
|
|
||||||
# this target does not generate a complete wxPython dist, it only includes
|
# this target does not generate a complete wxPython dist, it only includes
|
||||||
# those files needed for the Debian source package.
|
# those files needed for the Debian source package.
|
||||||
# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
|
# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
|
||||||
PYTHON_DIST:
|
PYTHON_DIST:
|
||||||
mkdir $(DISTDIR)/utils/wxPython
|
mkdir $(DISTDIR)/wxPython
|
||||||
mkdir $(DISTDIR)/utils/wxPython/demo
|
mkdir $(DISTDIR)/wxPython/contrib
|
||||||
mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps
|
mkdir $(DISTDIR)/wxPython/contrib/glcanvas
|
||||||
mkdir $(DISTDIR)/utils/wxPython/demo/data
|
mkdir $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
||||||
mkdir $(DISTDIR)/utils/wxPython/distrib
|
mkdir $(DISTDIR)/wxPython/contrib/ogl
|
||||||
mkdir $(DISTDIR)/utils/wxPython/lib
|
mkdir $(DISTDIR)/wxPython/contrib/stc
|
||||||
mkdir $(DISTDIR)/utils/wxPython/lib/editor
|
mkdir $(DISTDIR)/wxPython/demo
|
||||||
mkdir $(DISTDIR)/utils/wxPython/lib/sizers
|
mkdir $(DISTDIR)/wxPython/demo/bitmaps
|
||||||
mkdir $(DISTDIR)/utils/wxPython/modules
|
mkdir $(DISTDIR)/wxPython/demo/data
|
||||||
mkdir $(DISTDIR)/utils/wxPython/modules/html
|
mkdir $(DISTDIR)/wxPython/distrib
|
||||||
mkdir $(DISTDIR)/utils/wxPython/modules/utils
|
mkdir $(DISTDIR)/wxPython/src
|
||||||
mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk
|
mkdir $(DISTDIR)/wxPython/src/gtk
|
||||||
mkdir $(DISTDIR)/utils/wxPython/src
|
mkdir $(DISTDIR)/wxPython/wxPython
|
||||||
mkdir $(DISTDIR)/utils/wxPython/src/gtk
|
mkdir $(DISTDIR)/wxPython/wxPython/lib
|
||||||
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
|
mkdir $(DISTDIR)/wxPython/wxPython/lib/sizers
|
||||||
|
|
||||||
cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython
|
cp $(WXDIR)/wxPython/*.txt $(DISTDIR)/wxPython
|
||||||
-cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo
|
cp $(WXDIR)/wxPython/contrib/buildall.py $(DISTDIR)/wxPython/contrib
|
||||||
-cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps
|
-cp $(WXDIR)/wxPython/contrib/glcanvas/* $(DISTDIR)/wxPython/contrib/glcanvas
|
||||||
-cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data
|
cp $(WXDIR)/wxPython/contrib/glcanvas/gtk/glcanvas.* $(DISTDIR)/wxPython/contrib/glcanvas/gtk
|
||||||
cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib
|
-cp $(WXDIR)/wxPython/contrib/ogl/* $(DISTDIR)/wxPython/contrib/ogl
|
||||||
cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib
|
-cp $(WXDIR)/wxPython/contrib/stc/* $(DISTDIR)/wxPython/contrib/stc
|
||||||
cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor
|
-cp $(WXDIR)/wxPython/demo/* $(DISTDIR)/wxPython/demo
|
||||||
cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers
|
-cp $(WXDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/wxPython/demo/bitmaps
|
||||||
-cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html
|
-cp $(WXDIR)/wxPython/demo/data/* $(DISTDIR)/wxPython/demo/data
|
||||||
-cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils
|
cp $(WXDIR)/wxPython/distrib/build.py $(DISTDIR)/wxPython/distrib
|
||||||
cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk
|
-cp $(WXDIR)/wxPython/src/* $(DISTDIR)/wxPython/src
|
||||||
-cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src
|
cp $(WXDIR)/wxPython/src/gtk/*.py $(DISTDIR)/wxPython/src/gtk
|
||||||
cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk
|
cp $(WXDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/wxPython/src/gtk
|
||||||
cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk
|
cp $(WXDIR)/wxPython/wxPython/lib/*.py $(DISTDIR)/wxPython/wxPython/lib
|
||||||
|
cp $(WXDIR)/wxPython/wxPython/lib/editor/*.py $(DISTDIR)/wxPython/wxPython/lib/editor
|
||||||
|
cp $(WXDIR)/wxPython/wxPython/lib/sizers/*.py $(DISTDIR)/wxPython/wxPython/lib/sizers
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
$(RM) -r _dist_dir
|
$(RM) -r _dist_dir
|
||||||
|
|
||||||
dist: @GUIDIST@
|
dist: @GUIDIST@
|
||||||
|
cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
|
||||||
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
||||||
cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
|
cd _dist_dir; tar ch @DISTDIR@ | gzip -f9 > $(WXARCHIVE); mv $(WXARCHIVE) ..
|
||||||
@if test "$(USE_GUI)" = 1; then \
|
@if test "$(USE_GUI)" = 1; then \
|
||||||
@@ -1113,6 +1244,20 @@ dist: @GUIDIST@
|
|||||||
mv wxDemos demos; \
|
mv wxDemos demos; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
bzip-dist: @GUIDIST@
|
||||||
|
cp $(WXDIR)/src/files.lst $(DISTDIR)/src/
|
||||||
|
@echo "*** Creating wxWindows distribution in $(DISTDIR)..."
|
||||||
|
cd _dist_dir; tar ch @DISTDIR@ | bzip2 -f9 > $(WXARCHIVE_BZIP); mv $(WXARCHIVE_BZIP) ..
|
||||||
|
@if test "$(USE_GUI)" = 1; then \
|
||||||
|
cd $(DISTDIR); \
|
||||||
|
mv samples wxSamples; \
|
||||||
|
tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
|
||||||
|
mv wxSamples samples; \
|
||||||
|
mv demos wxDemos; \
|
||||||
|
tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
|
||||||
|
mv wxDemos demos; \
|
||||||
|
fi
|
||||||
|
|
||||||
debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
|
debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
|
||||||
mkdir $(DISTDIR)/debian
|
mkdir $(DISTDIR)/debian
|
||||||
-cp $(WXDIR)/debian/* $(DISTDIR)/debian
|
-cp $(WXDIR)/debian/* $(DISTDIR)/debian
|
||||||
@@ -1129,6 +1274,6 @@ clean:
|
|||||||
$(RM) *.d
|
$(RM) *.d
|
||||||
$(RM) parser.c
|
$(RM) parser.c
|
||||||
$(RM) lexer.c
|
$(RM) lexer.c
|
||||||
$(RM) ./lib/*
|
$(RM) -r ./lib/*
|
||||||
|
|
||||||
cleanall: clean
|
cleanall: clean
|
||||||
|
@@ -142,3 +142,28 @@ PURE;
|
|||||||
#define MoveMemory RtlMoveMemory
|
#define MoveMemory RtlMoveMemory
|
||||||
#define CopyMemory RtlCopyMemory
|
#define CopyMemory RtlCopyMemory
|
||||||
|
|
||||||
|
--- i386-mingw32\include\winsock.h Sat Jul 31 17:48:50 1999
|
||||||
|
+++ winsock.h Mon Mar 20 13:47:12 2000
|
||||||
|
@@ -13,6 +13,10 @@
|
||||||
|
#define _GNU_H_WINDOWS32_SOCKETS
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef _SYS_TYPES_H
|
||||||
|
typedef unsigned char u_char;
|
||||||
|
typedef unsigned short u_short;
|
||||||
|
@@ -495,4 +499,9 @@
|
||||||
|
typedef struct timeval TIMEVAL;
|
||||||
|
typedef struct timeval *PTIMEVAL;
|
||||||
|
typedef struct timeval *LPTIMEVAL;
|
||||||
|
+
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
|
||||||
|
|
||||||
|
10
TODO
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
All
|
||||||
|
|
||||||
|
* problem with horz scrolling: the focus rect isn't drawn entirely...
|
||||||
|
* write sample testing all listbox styles/events
|
||||||
|
|
||||||
|
MSW
|
||||||
|
|
||||||
|
GTK
|
||||||
|
|
||||||
|
* check/radio box remains pressed
|
194
aclocal.m4
vendored
Normal file
@@ -0,0 +1,194 @@
|
|||||||
|
# Configure paths for GTK+
|
||||||
|
# Owen Taylor 97-11-3
|
||||||
|
|
||||||
|
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||||
|
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||||
|
dnl
|
||||||
|
AC_DEFUN(AM_PATH_GTK_2_0,
|
||||||
|
[dnl
|
||||||
|
dnl Get the cflags and libraries from the gtk-config-2.0 script
|
||||||
|
dnl
|
||||||
|
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||||
|
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||||
|
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||||
|
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||||
|
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||||
|
, enable_gtktest=yes)
|
||||||
|
|
||||||
|
for module in . $4
|
||||||
|
do
|
||||||
|
case "$module" in
|
||||||
|
gthread)
|
||||||
|
gtk_config_args="$gtk_config_args gthread"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if test x$gtk_config_exec_prefix != x ; then
|
||||||
|
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
|
||||||
|
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||||
|
GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$gtk_config_prefix != x ; then
|
||||||
|
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
|
||||||
|
if test x${GTK_CONFIG_2_0+set} != xset ; then
|
||||||
|
GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_PATH_PROG(GTK_CONFIG_2_0, gtk-config-2.0, no)
|
||||||
|
min_gtk_version=ifelse([$1], ,1.3.1,$1)
|
||||||
|
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
|
||||||
|
no_gtk=""
|
||||||
|
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||||
|
no_gtk=yes
|
||||||
|
else
|
||||||
|
GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
|
||||||
|
GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
|
||||||
|
gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||||
|
gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||||
|
gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||||
|
if test "x$enable_gtktest" = "xyes" ; then
|
||||||
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||||
|
LIBS="$GTK_LIBS $LIBS"
|
||||||
|
dnl
|
||||||
|
dnl Now check if the installed GTK is sufficiently new. (Also sanity
|
||||||
|
dnl checks the results of gtk-config-2.0 to some extent
|
||||||
|
dnl
|
||||||
|
rm -f conf.gtktest
|
||||||
|
AC_TRY_RUN([
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
int major, minor, micro;
|
||||||
|
char *tmp_version;
|
||||||
|
|
||||||
|
system ("touch conf.gtktest");
|
||||||
|
|
||||||
|
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||||
|
tmp_version = g_strdup("$min_gtk_version");
|
||||||
|
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||||
|
printf("%s, bad version string\n", "$min_gtk_version");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||||
|
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||||
|
(gtk_micro_version != $gtk_config_micro_version))
|
||||||
|
{
|
||||||
|
printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||||
|
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
|
||||||
|
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||||
|
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||||
|
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||||
|
printf("*** required on your system.\n");
|
||||||
|
printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
|
||||||
|
printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
|
||||||
|
printf("*** before re-running configure\n");
|
||||||
|
}
|
||||||
|
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||||
|
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||||
|
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||||
|
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||||
|
{
|
||||||
|
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||||
|
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||||
|
printf("*** library (version %d.%d.%d)\n",
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
}
|
||||||
|
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ((gtk_major_version > major) ||
|
||||||
|
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||||
|
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||||
|
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||||
|
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||||
|
major, minor, micro);
|
||||||
|
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||||
|
printf("***\n");
|
||||||
|
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||||
|
printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
|
||||||
|
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||||
|
printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
|
||||||
|
printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
|
||||||
|
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||||
|
printf("*** so that the correct libraries are found at run-time))\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||||
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test "x$no_gtk" = x ; then
|
||||||
|
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||||
|
ifelse([$2], , :, [$2])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
if test "$GTK_CONFIG_2_0" = "no" ; then
|
||||||
|
echo "*** The gtk-config-2.0 script installed by GTK could not be found"
|
||||||
|
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||||
|
echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
|
||||||
|
echo "*** full path to gtk-config-2.0."
|
||||||
|
else
|
||||||
|
if test -f conf.gtktest ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "*** Could not run GTK test program, checking why..."
|
||||||
|
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||||
|
LIBS="$LIBS $GTK_LIBS"
|
||||||
|
AC_TRY_LINK([
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||||
|
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||||
|
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||||
|
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||||
|
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||||
|
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||||
|
echo "*** is required on your system"
|
||||||
|
echo "***"
|
||||||
|
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||||
|
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||||
|
echo "***"
|
||||||
|
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||||
|
echo "*** came with the system with the command"
|
||||||
|
echo "***"
|
||||||
|
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||||
|
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||||
|
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||||
|
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||||
|
echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0" ])
|
||||||
|
CFLAGS="$ac_save_CFLAGS"
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
GTK_CFLAGS=""
|
||||||
|
GTK_LIBS=""
|
||||||
|
ifelse([$3], , :, [$3])
|
||||||
|
fi
|
||||||
|
AC_SUBST(GTK_CFLAGS)
|
||||||
|
AC_SUBST(GTK_LIBS)
|
||||||
|
rm -f conf.gtktest
|
||||||
|
])
|
286
config.guess
vendored
@@ -1,6 +1,7 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
@@ -23,6 +24,7 @@
|
|||||||
|
|
||||||
# Written by Per Bothner <bothner@cygnus.com>.
|
# Written by Per Bothner <bothner@cygnus.com>.
|
||||||
# The master version of this file is at the FSF in /home/gd/gnu/lib.
|
# The master version of this file is at the FSF in /home/gd/gnu/lib.
|
||||||
|
# Please send patches to the Autoconf mailing list <autoconf@gnu.org>.
|
||||||
#
|
#
|
||||||
# This script attempts to guess a canonical system name similar to
|
# This script attempts to guess a canonical system name similar to
|
||||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
@@ -35,6 +37,20 @@
|
|||||||
# (but try to keep the structure clean).
|
# (but try to keep the structure clean).
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Use $HOST_CC if defined. $CC may point to a cross-compiler
|
||||||
|
if test x"$CC_FOR_BUILD" = x; then
|
||||||
|
if test x"$HOST_CC" != x; then
|
||||||
|
CC_FOR_BUILD="$HOST_CC"
|
||||||
|
else
|
||||||
|
if test x"$CC" != x; then
|
||||||
|
CC_FOR_BUILD="$CC"
|
||||||
|
else
|
||||||
|
CC_FOR_BUILD=cc
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
|
||||||
# (ghazi@noc.rutgers.edu 8/24/94.)
|
# (ghazi@noc.rutgers.edu 8/24/94.)
|
||||||
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
|
||||||
@@ -46,7 +62,8 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
|||||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
|
|
||||||
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
|
dummy=dummy-$$
|
||||||
|
trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15
|
||||||
|
|
||||||
# Note: order is significant - the case branches are not exclusive.
|
# Note: order is significant - the case branches are not exclusive.
|
||||||
|
|
||||||
@@ -59,7 +76,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
# A Tn.n version is a released field test version.
|
# A Tn.n version is a released field test version.
|
||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
cat <<EOF >dummy.s
|
cat <<EOF >$dummy.s
|
||||||
.globl main
|
.globl main
|
||||||
.ent main
|
.ent main
|
||||||
main:
|
main:
|
||||||
@@ -76,9 +93,9 @@ main:
|
|||||||
ret \$31,(\$26),1
|
ret \$31,(\$26),1
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.s -o dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./dummy
|
./$dummy
|
||||||
case "$?" in
|
case "$?" in
|
||||||
7)
|
7)
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
@@ -97,8 +114,14 @@ EOF
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f dummy.s dummy
|
rm -f $dummy.s $dummy
|
||||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
|
exit 0 ;;
|
||||||
|
Alpha\ *:Windows_NT*:*)
|
||||||
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||||
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
||||||
|
# of the specific Alpha model?
|
||||||
|
echo alpha-pc-interix
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
21064:Windows_NT:50:3)
|
21064:Windows_NT:50:3)
|
||||||
echo alpha-dec-winnt3.5
|
echo alpha-dec-winnt3.5
|
||||||
@@ -142,7 +165,7 @@ EOF
|
|||||||
SR2?01:HI-UX/MPP:*:*)
|
SR2?01:HI-UX/MPP:*:*)
|
||||||
echo hppa1.1-hitachi-hiuxmpp
|
echo hppa1.1-hitachi-hiuxmpp
|
||||||
exit 0;;
|
exit 0;;
|
||||||
Pyramid*:OSx*:*:*|MIS*:OSx*:*:*|MIS*:SMP_DC-OSx*:*:*)
|
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
|
||||||
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
|
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
|
||||||
if test "`(/bin/universe) 2>/dev/null`" = att ; then
|
if test "`(/bin/universe) 2>/dev/null`" = att ; then
|
||||||
echo pyramid-pyramid-sysv3
|
echo pyramid-pyramid-sysv3
|
||||||
@@ -150,7 +173,7 @@ EOF
|
|||||||
echo pyramid-pyramid-bsd
|
echo pyramid-pyramid-bsd
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
NILE:*:*:dcosx)
|
NILE*:*:*:dcosx)
|
||||||
echo pyramid-pyramid-svr4
|
echo pyramid-pyramid-svr4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
sun4H:SunOS:5.*:*)
|
sun4H:SunOS:5.*:*)
|
||||||
@@ -201,6 +224,32 @@ EOF
|
|||||||
atari*:OpenBSD:*:*)
|
atari*:OpenBSD:*:*)
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
# The situation for MiNT is a little confusing. The machine name
|
||||||
|
# can be virtually everything (everything which is not
|
||||||
|
# "atarist" or "atariste" at least should have a processor
|
||||||
|
# > m68000). The system name ranges from "MiNT" over "FreeMiNT"
|
||||||
|
# to the lowercase version "mint" (or "freemint"). Finally
|
||||||
|
# the system name "TOS" denotes a system which is actually not
|
||||||
|
# MiNT. But MiNT is downward compatible to TOS, so this should
|
||||||
|
# be no problem.
|
||||||
|
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
||||||
|
echo m68k-atari-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
||||||
|
echo m68k-atari-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
||||||
|
echo m68k-atari-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
||||||
|
echo m68k-milan-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
||||||
|
echo m68k-hades-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||||
|
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
sun3*:NetBSD:*:*)
|
sun3*:NetBSD:*:*)
|
||||||
echo m68k-sun-netbsd${UNAME_RELEASE}
|
echo m68k-sun-netbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -234,12 +283,16 @@ EOF
|
|||||||
VAX*:ULTRIX*:*:*)
|
VAX*:ULTRIX*:*:*)
|
||||||
echo vax-dec-ultrix${UNAME_RELEASE}
|
echo vax-dec-ultrix${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
2020:CLIX:*:*)
|
2020:CLIX:*:* | 2430:CLIX:*:*)
|
||||||
echo clipper-intergraph-clix${UNAME_RELEASE}
|
echo clipper-intergraph-clix${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
mips:*:*:UMIPS | mips:*:*:RISCos)
|
mips:*:*:UMIPS | mips:*:*:RISCos)
|
||||||
sed 's/^ //' << EOF >dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
int main (argc, argv) int argc; char **argv; {
|
#ifdef __cplusplus
|
||||||
|
int main (int argc, char *argv[]) {
|
||||||
|
#else
|
||||||
|
int main (argc, argv) int argc; char *argv[]; {
|
||||||
|
#endif
|
||||||
#if defined (host_mips) && defined (MIPSEB)
|
#if defined (host_mips) && defined (MIPSEB)
|
||||||
#if defined (SYSTYPE_SYSV)
|
#if defined (SYSTYPE_SYSV)
|
||||||
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
|
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
|
||||||
@@ -254,10 +307,10 @@ EOF
|
|||||||
exit (-1);
|
exit (-1);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.c -o dummy \
|
$CC_FOR_BUILD $dummy.c -o $dummy \
|
||||||
&& ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
&& ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
|
||||||
&& rm dummy.c dummy && exit 0
|
&& rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
echo mips-mips-riscos${UNAME_RELEASE}
|
echo mips-mips-riscos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
Night_Hawk:Power_UNIX:*:*)
|
Night_Hawk:Power_UNIX:*:*)
|
||||||
@@ -309,7 +362,7 @@ EOF
|
|||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:AIX:2:3)
|
*:AIX:2:3)
|
||||||
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
sed 's/^ //' << EOF >dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <sys/systemcfg.h>
|
#include <sys/systemcfg.h>
|
||||||
|
|
||||||
main()
|
main()
|
||||||
@@ -320,8 +373,8 @@ EOF
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
echo rs6000-ibm-aix3.2.5
|
echo rs6000-ibm-aix3.2.5
|
||||||
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
|
||||||
echo rs6000-ibm-aix3.2.4
|
echo rs6000-ibm-aix3.2.4
|
||||||
@@ -368,25 +421,25 @@ EOF
|
|||||||
case "${UNAME_MACHINE}" in
|
case "${UNAME_MACHINE}" in
|
||||||
9000/31? ) HP_ARCH=m68000 ;;
|
9000/31? ) HP_ARCH=m68000 ;;
|
||||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||||
9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 )
|
9000/[678][0-9][0-9])
|
||||||
sed 's/^ //' << EOF >dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main ()
|
int main ()
|
||||||
{
|
{
|
||||||
#if defined(_SC_KERNEL_BITS)
|
#if defined(_SC_KERNEL_BITS)
|
||||||
long bits = sysconf(_SC_KERNEL_BITS);
|
long bits = sysconf(_SC_KERNEL_BITS);
|
||||||
#endif
|
#endif
|
||||||
long cpu = sysconf (_SC_CPU_VERSION);
|
long cpu = sysconf (_SC_CPU_VERSION);
|
||||||
|
|
||||||
switch (cpu)
|
switch (cpu)
|
||||||
{
|
{
|
||||||
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
||||||
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
||||||
case CPU_PA_RISC2_0:
|
case CPU_PA_RISC2_0:
|
||||||
#if defined(_SC_KERNEL_BITS)
|
#if defined(_SC_KERNEL_BITS)
|
||||||
switch (bits)
|
switch (bits)
|
||||||
{
|
{
|
||||||
case 64: puts ("hppa2.0w"); break;
|
case 64: puts ("hppa2.0w"); break;
|
||||||
case 32: puts ("hppa2.0n"); break;
|
case 32: puts ("hppa2.0n"); break;
|
||||||
@@ -394,20 +447,20 @@ EOF
|
|||||||
} break;
|
} break;
|
||||||
#else /* !defined(_SC_KERNEL_BITS) */
|
#else /* !defined(_SC_KERNEL_BITS) */
|
||||||
puts ("hppa2.0"); break;
|
puts ("hppa2.0"); break;
|
||||||
#endif
|
#endif
|
||||||
default: puts ("hppa1.0"); break;
|
default: puts ("hppa1.0"); break;
|
||||||
}
|
}
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(${CC-cc} dummy.c -o dummy 2>/dev/null ) && HP_ARCH=`./dummy`
|
($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
esac
|
esac
|
||||||
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
3050*:HI-UX:*:*)
|
3050*:HI-UX:*:*)
|
||||||
sed 's/^ //' << EOF >dummy.c
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
int
|
int
|
||||||
main ()
|
main ()
|
||||||
@@ -432,8 +485,8 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
echo unknown-hitachi-hiuxwe2
|
echo unknown-hitachi-hiuxwe2
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
|
||||||
@@ -442,6 +495,9 @@ EOF
|
|||||||
9000/8??:4.3bsd:*:*)
|
9000/8??:4.3bsd:*:*)
|
||||||
echo hppa1.0-hp-bsd
|
echo hppa1.0-hp-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
*9??*:MPE/iX:*:*)
|
||||||
|
echo hppa1.0-hp-mpeix
|
||||||
|
exit 0 ;;
|
||||||
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
|
||||||
echo hppa1.1-hp-osf
|
echo hppa1.1-hp-osf
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -458,6 +514,9 @@ EOF
|
|||||||
parisc*:Lites*:*:*)
|
parisc*:Lites*:*:*)
|
||||||
echo hppa1.1-hp-lites
|
echo hppa1.1-hp-lites
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
hppa*:OpenBSD:*:*)
|
||||||
|
echo hppa-unknown-openbsd
|
||||||
|
exit 0 ;;
|
||||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||||
echo c1-convex-bsd
|
echo c1-convex-bsd
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -490,11 +549,14 @@ EOF
|
|||||||
CRAY*TS:*:*:*)
|
CRAY*TS:*:*:*)
|
||||||
echo t90-cray-unicos${UNAME_RELEASE}
|
echo t90-cray-unicos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
CRAY*T3E:*:*:*)
|
||||||
|
echo t3e-cray-unicosmk${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
CRAY-2:*:*:*)
|
CRAY-2:*:*:*)
|
||||||
echo cray2-cray-unicos
|
echo cray2-cray-unicos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
F300:UNIX_System_V:*:*)
|
F300:UNIX_System_V:*:*)
|
||||||
FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
|
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||||
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -507,13 +569,22 @@ EOF
|
|||||||
hp300:OpenBSD:*:*)
|
hp300:OpenBSD:*:*)
|
||||||
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
echo m68k-unknown-openbsd${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i?86:BSD/386:*:* | i?86:BSD/OS:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
sparc*:BSD/OS:*:*)
|
sparc*:BSD/OS:*:*)
|
||||||
echo sparc-unknown-bsdi${UNAME_RELEASE}
|
echo sparc-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:BSD/386:*:* | *:BSD/OS:*:*)
|
*:BSD/OS:*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
|
if test -x /usr/bin/objformat; then
|
||||||
|
if test "elf" = "`/usr/bin/objformat`"; then
|
||||||
|
echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:NetBSD:*:*)
|
*:NetBSD:*:*)
|
||||||
@@ -523,13 +594,22 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-cygwin32
|
echo ${UNAME_MACHINE}-pc-cygwin
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i*:MINGW*:*)
|
i*:MINGW*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-mingw32
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
||||||
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||||
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
||||||
|
# UNAME_MACHINE based on the output of uname instead of i386?
|
||||||
|
echo i386-pc-interix
|
||||||
|
exit 0 ;;
|
||||||
|
i*:UWIN*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-uwin
|
||||||
|
exit 0 ;;
|
||||||
p*:CYGWIN*:*)
|
p*:CYGWIN*:*)
|
||||||
echo powerpcle-unknown-cygwin32
|
echo powerpcle-unknown-cygwin
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
prep*:SunOS:5.*:*)
|
prep*:SunOS:5.*:*)
|
||||||
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||||
@@ -541,12 +621,14 @@ EOF
|
|||||||
# uname on the ARM produces all sorts of strangeness, and we need to
|
# uname on the ARM produces all sorts of strangeness, and we need to
|
||||||
# filter it out.
|
# filter it out.
|
||||||
case "$UNAME_MACHINE" in
|
case "$UNAME_MACHINE" in
|
||||||
|
armv*) UNAME_MACHINE=$UNAME_MACHINE ;;
|
||||||
arm* | sa110*) UNAME_MACHINE="arm" ;;
|
arm* | sa110*) UNAME_MACHINE="arm" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# The BFD linker knows what the default object file format is, so
|
# The BFD linker knows what the default object file format is, so
|
||||||
# first see if it will tell us.
|
# first see if it will tell us. cd to the root directory to prevent
|
||||||
ld_help_string=`ld --help 2>&1`
|
# problems with other programs or directories called `ld' in the path.
|
||||||
|
ld_help_string=`cd /; ld --help 2>&1`
|
||||||
ld_supported_emulations=`echo $ld_help_string \
|
ld_supported_emulations=`echo $ld_help_string \
|
||||||
| sed -ne '/supported emulations:/!d
|
| sed -ne '/supported emulations:/!d
|
||||||
s/[ ][ ]*/ /g
|
s/[ ][ ]*/ /g
|
||||||
@@ -559,11 +641,40 @@ EOF
|
|||||||
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||||
armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||||
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
|
||||||
elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
|
elf32ppc)
|
||||||
|
# Determine Lib Version
|
||||||
|
cat >$dummy.c <<EOF
|
||||||
|
#include <features.h>
|
||||||
|
#if defined(__GLIBC__)
|
||||||
|
extern char __libc_version[];
|
||||||
|
extern char __libc_release[];
|
||||||
|
#endif
|
||||||
|
main(argc, argv)
|
||||||
|
int argc;
|
||||||
|
char *argv[];
|
||||||
|
{
|
||||||
|
#if defined(__GLIBC__)
|
||||||
|
printf("%s %s\n", __libc_version, __libc_release);
|
||||||
|
#else
|
||||||
|
printf("unkown\n");
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
LIBC=""
|
||||||
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null
|
||||||
|
if test "$?" = 0 ; then
|
||||||
|
./$dummy | grep 1\.99 > /dev/null
|
||||||
|
if test "$?" = 0 ; then
|
||||||
|
LIBC="libc1"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
rm -f $dummy.c $dummy
|
||||||
|
echo powerpc-unknown-linux-gnu${LIBC} ; exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "${UNAME_MACHINE}" = "alpha" ; then
|
if test "${UNAME_MACHINE}" = "alpha" ; then
|
||||||
sed 's/^ //' <<EOF >dummy.s
|
sed 's/^ //' <<EOF >$dummy.s
|
||||||
.globl main
|
.globl main
|
||||||
.ent main
|
.ent main
|
||||||
main:
|
main:
|
||||||
@@ -581,9 +692,9 @@ EOF
|
|||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
LIBC=""
|
LIBC=""
|
||||||
${CC-cc} dummy.s -o dummy 2>/dev/null
|
$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./dummy
|
./$dummy
|
||||||
case "$?" in
|
case "$?" in
|
||||||
7)
|
7)
|
||||||
UNAME_MACHINE="alpha"
|
UNAME_MACHINE="alpha"
|
||||||
@@ -600,22 +711,23 @@ EOF
|
|||||||
16)
|
16)
|
||||||
UNAME_MACHINE="alphaev6"
|
UNAME_MACHINE="alphaev6"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
objdump --private-headers dummy | \
|
objdump --private-headers $dummy | \
|
||||||
grep ld.so.1 > /dev/null
|
grep ld.so.1 > /dev/null
|
||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
LIBC="libc1"
|
LIBC="libc1"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f dummy.s dummy
|
rm -f $dummy.s $dummy
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
|
||||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
elif test "${UNAME_MACHINE}" = "mips" ; then
|
||||||
cat >dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
main(argc, argv)
|
#ifdef __cplusplus
|
||||||
int argc;
|
int main (int argc, char *argv[]) {
|
||||||
char *argv[];
|
#else
|
||||||
{
|
int main (argc, argv) int argc; char *argv[]; {
|
||||||
|
#endif
|
||||||
#ifdef __MIPSEB__
|
#ifdef __MIPSEB__
|
||||||
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
printf ("%s-unknown-linux-gnu\n", argv[1]);
|
||||||
#endif
|
#endif
|
||||||
@@ -625,8 +737,8 @@ main(argc, argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
else
|
else
|
||||||
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
# Either a pre-BFD a.out linker (linux-gnuoldld)
|
||||||
# or one that does not give us useful --help.
|
# or one that does not give us useful --help.
|
||||||
@@ -645,12 +757,13 @@ EOF
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
cat >dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
main(argc, argv)
|
#ifdef __cplusplus
|
||||||
int argc;
|
int main (int argc, char *argv[]) {
|
||||||
char *argv[];
|
#else
|
||||||
{
|
int main (argc, argv) int argc; char *argv[]; {
|
||||||
|
#endif
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
# ifdef __GLIBC__
|
# ifdef __GLIBC__
|
||||||
# if __GLIBC__ >= 2
|
# if __GLIBC__ >= 2
|
||||||
@@ -667,8 +780,8 @@ main(argc, argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
fi ;;
|
fi ;;
|
||||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
|
||||||
# are messed up and put the nodename in both sysname and nodename.
|
# are messed up and put the nodename in both sysname and nodename.
|
||||||
@@ -690,6 +803,14 @@ EOF
|
|||||||
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
i?86:*:5:7*)
|
||||||
|
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
|
||||||
|
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||||
|
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) && UNAME_MACHINE=i586
|
||||||
|
(/bin/uname -X|egrep '^Machine.*Pent.*II' >/dev/null) && UNAME_MACHINE=i686
|
||||||
|
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) && UNAME_MACHINE=i585
|
||||||
|
echo ${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
i?86:*:3.2:*)
|
i?86:*:3.2:*)
|
||||||
if test -f /usr/options/cb.name; then
|
if test -f /usr/options/cb.name; then
|
||||||
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|
||||||
@@ -699,18 +820,15 @@ EOF
|
|||||||
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
|
||||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
||||||
&& UNAME_MACHINE=i586
|
&& UNAME_MACHINE=i586
|
||||||
|
(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
|
||||||
|
&& UNAME_MACHINE=i686
|
||||||
|
(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
|
||||||
|
&& UNAME_MACHINE=i686
|
||||||
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
|
||||||
else
|
else
|
||||||
echo ${UNAME_MACHINE}-pc-sysv32
|
echo ${UNAME_MACHINE}-pc-sysv32
|
||||||
fi
|
fi
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:UnixWare:*:*)
|
|
||||||
if /bin/uname -X 2>/dev/null >/dev/null ; then
|
|
||||||
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
|
|
||||||
&& UNAME_MACHINE=i586
|
|
||||||
fi
|
|
||||||
echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION}
|
|
||||||
exit 0 ;;
|
|
||||||
pc:*:*:*)
|
pc:*:*:*)
|
||||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||||
# the processor, so we play safe by assuming i386.
|
# the processor, so we play safe by assuming i386.
|
||||||
@@ -752,7 +870,7 @@ EOF
|
|||||||
mc68030:UNIX_System_V:4.*:*)
|
mc68030:UNIX_System_V:4.*:*)
|
||||||
echo m68k-atari-sysv4
|
echo m68k-atari-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
i?86:LynxOS:2.*:*)
|
i?86:LynxOS:2.*:* | i?86:LynxOS:3.[01]*:*)
|
||||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
TSUNAMI:LynxOS:2.*:*)
|
TSUNAMI:LynxOS:2.*:*)
|
||||||
@@ -764,6 +882,9 @@ EOF
|
|||||||
SM[BE]S:UNIX_SV:*:*)
|
SM[BE]S:UNIX_SV:*:*)
|
||||||
echo mips-dde-sysv${UNAME_RELEASE}
|
echo mips-dde-sysv${UNAME_RELEASE}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
RM*:ReliantUNIX-*:*:*)
|
||||||
|
echo mips-sni-sysv4
|
||||||
|
exit 0 ;;
|
||||||
RM*:SINIX-*:*:*)
|
RM*:SINIX-*:*:*)
|
||||||
echo mips-sni-sysv4
|
echo mips-sni-sysv4
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -794,7 +915,7 @@ EOF
|
|||||||
news*:NEWS-OS:*:6*)
|
news*:NEWS-OS:*:6*)
|
||||||
echo mips-sony-newsos6
|
echo mips-sony-newsos6
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*)
|
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
||||||
if [ -d /usr/nec ]; then
|
if [ -d /usr/nec ]; then
|
||||||
echo mips-nec-sysv${UNAME_RELEASE}
|
echo mips-nec-sysv${UNAME_RELEASE}
|
||||||
else
|
else
|
||||||
@@ -810,12 +931,24 @@ EOF
|
|||||||
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
||||||
echo i586-pc-beos
|
echo i586-pc-beos
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
SX-4:SUPER-UX:*:*)
|
||||||
|
echo sx4-nec-superux${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
SX-5:SUPER-UX:*:*)
|
||||||
|
echo sx5-nec-superux${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
Power*:Rhapsody:*:*)
|
||||||
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
|
*:Rhapsody:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
|
||||||
|
exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||||
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
|
||||||
|
|
||||||
cat >dummy.c <<EOF
|
cat >$dummy.c <<EOF
|
||||||
#ifdef _SEQUENT_
|
#ifdef _SEQUENT_
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <sys/utsname.h>
|
# include <sys/utsname.h>
|
||||||
@@ -853,7 +986,10 @@ main ()
|
|||||||
#endif
|
#endif
|
||||||
int version;
|
int version;
|
||||||
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
|
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
|
||||||
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
|
if (version < 4)
|
||||||
|
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
|
||||||
|
else
|
||||||
|
printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
|
||||||
exit (0);
|
exit (0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -913,8 +1049,8 @@ main ()
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
|
$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm $dummy.c $dummy && exit 0
|
||||||
rm -f dummy.c dummy
|
rm -f $dummy.c $dummy
|
||||||
|
|
||||||
# Apollos put the system type in the environment.
|
# Apollos put the system type in the environment.
|
||||||
|
|
||||||
|
308
config.sub
vendored
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script, version 1.1.
|
# Configuration validation subroutine script, version 1.1.
|
||||||
# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
|
# Copyright (C) 1991, 92-97, 1998, 1999 Free Software Foundation, Inc.
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
# can handle that machine. It does not imply ALL GNU software can.
|
# can handle that machine. It does not imply ALL GNU software can.
|
||||||
@@ -98,11 +98,21 @@ case $os in
|
|||||||
os=
|
os=
|
||||||
basic_machine=$1
|
basic_machine=$1
|
||||||
;;
|
;;
|
||||||
|
-sim | -cisco | -oki | -wec | -winbond)
|
||||||
|
os=
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
|
-scout)
|
||||||
|
;;
|
||||||
|
-wrs)
|
||||||
|
os=vxworks
|
||||||
|
basic_machine=$1
|
||||||
|
;;
|
||||||
-hiux*)
|
-hiux*)
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
;;
|
;;
|
||||||
-sco5)
|
-sco5)
|
||||||
os=sco3.2v5
|
os=-sco3.2v5
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
;;
|
;;
|
||||||
-sco4)
|
-sco4)
|
||||||
@@ -121,6 +131,9 @@ case $os in
|
|||||||
os=-sco3.2v2
|
os=-sco3.2v2
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
;;
|
;;
|
||||||
|
-udk*)
|
||||||
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
|
;;
|
||||||
-isc)
|
-isc)
|
||||||
os=-isc2.2
|
os=-isc2.2
|
||||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||||
@@ -151,14 +164,21 @@ case $basic_machine in
|
|||||||
# Some are omitted here because they have special meanings below.
|
# Some are omitted here because they have special meanings below.
|
||||||
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
|
||||||
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
| arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \
|
||||||
| 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 \
|
| 580 | i960 | h8300 \
|
||||||
| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
|
| hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
|
||||||
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
|
| alpha | alphaev[4-7] | alphaev56 | alphapca5[67] \
|
||||||
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
|
| we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
|
||||||
| mipstx39 | mipstx39el \
|
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
|
||||||
| sparc | sparclet | sparclite | sparc64 | v850)
|
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
|
||||||
|
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
|
||||||
|
| mips64vr5000 | miprs64vr5000el \
|
||||||
|
| sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \
|
||||||
|
| thumb | d10v)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
|
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65)
|
||||||
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
@@ -174,24 +194,41 @@ case $basic_machine in
|
|||||||
vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
|
vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
|
||||||
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
|
||||||
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
|
||||||
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
|
| power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
|
||||||
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* \
|
| xmp-* | ymp-* \
|
||||||
| alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
|
| hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* | hppa2.0n-* \
|
||||||
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
|
| alpha-* | alphaev[4-7]-* | alphaev56-* | alphapca5[67]-* \
|
||||||
|
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
|
||||||
|
| clipper-* | orion-* \
|
||||||
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
|
||||||
| sparc64-* | mips64-* | mipsel-* \
|
| sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
|
||||||
| mips64el-* | mips64orion-* | mips64orionel-* \
|
| mips64el-* | mips64orion-* | mips64orionel-* \
|
||||||
|
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
|
||||||
| mipstx39-* | mipstx39el-* \
|
| mipstx39-* | mipstx39el-* \
|
||||||
| f301-*)
|
| f301-* | armv*-* | t3e-* \
|
||||||
|
| m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \
|
||||||
|
| thumb-* | v850-* | d30v-* | tic30-* | c30-* )
|
||||||
;;
|
;;
|
||||||
# Recognize the various machine names and aliases which stand
|
# Recognize the various machine names and aliases which stand
|
||||||
# for a CPU type and a company and sometimes even an OS.
|
# for a CPU type and a company and sometimes even an OS.
|
||||||
|
386bsd)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-bsd
|
||||||
|
;;
|
||||||
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
|
||||||
basic_machine=m68000-att
|
basic_machine=m68000-att
|
||||||
;;
|
;;
|
||||||
3b*)
|
3b*)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
|
a29khif)
|
||||||
|
basic_machine=a29k-amd
|
||||||
|
os=-udi
|
||||||
|
;;
|
||||||
|
adobe68k)
|
||||||
|
basic_machine=m68010-adobe
|
||||||
|
os=-scout
|
||||||
|
;;
|
||||||
alliant | fx80)
|
alliant | fx80)
|
||||||
basic_machine=fx80-alliant
|
basic_machine=fx80-alliant
|
||||||
;;
|
;;
|
||||||
@@ -221,6 +258,10 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-apollo
|
basic_machine=m68k-apollo
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
|
apollo68bsd)
|
||||||
|
basic_machine=m68k-apollo
|
||||||
|
os=-bsd
|
||||||
|
;;
|
||||||
aux)
|
aux)
|
||||||
basic_machine=m68k-apple
|
basic_machine=m68k-apple
|
||||||
os=-aux
|
os=-aux
|
||||||
@@ -297,6 +338,10 @@ case $basic_machine in
|
|||||||
encore | umax | mmax)
|
encore | umax | mmax)
|
||||||
basic_machine=ns32k-encore
|
basic_machine=ns32k-encore
|
||||||
;;
|
;;
|
||||||
|
es1800 | OSE68k | ose68k | ose | OSE)
|
||||||
|
basic_machine=m68k-ericsson
|
||||||
|
os=-ose
|
||||||
|
;;
|
||||||
fx2800)
|
fx2800)
|
||||||
basic_machine=i860-alliant
|
basic_machine=i860-alliant
|
||||||
;;
|
;;
|
||||||
@@ -315,6 +360,14 @@ case $basic_machine in
|
|||||||
basic_machine=h8300-hitachi
|
basic_machine=h8300-hitachi
|
||||||
os=-hms
|
os=-hms
|
||||||
;;
|
;;
|
||||||
|
h8300xray)
|
||||||
|
basic_machine=h8300-hitachi
|
||||||
|
os=-xray
|
||||||
|
;;
|
||||||
|
h8500hms)
|
||||||
|
basic_machine=h8500-hitachi
|
||||||
|
os=-hms
|
||||||
|
;;
|
||||||
harris)
|
harris)
|
||||||
basic_machine=m88k-harris
|
basic_machine=m88k-harris
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
@@ -330,13 +383,30 @@ case $basic_machine in
|
|||||||
basic_machine=m68k-hp
|
basic_machine=m68k-hp
|
||||||
os=-hpux
|
os=-hpux
|
||||||
;;
|
;;
|
||||||
|
hp3k9[0-9][0-9] | hp9[0-9][0-9])
|
||||||
|
basic_machine=hppa1.0-hp
|
||||||
|
;;
|
||||||
hp9k2[0-9][0-9] | hp9k31[0-9])
|
hp9k2[0-9][0-9] | hp9k31[0-9])
|
||||||
basic_machine=m68000-hp
|
basic_machine=m68000-hp
|
||||||
;;
|
;;
|
||||||
hp9k3[2-9][0-9])
|
hp9k3[2-9][0-9])
|
||||||
basic_machine=m68k-hp
|
basic_machine=m68k-hp
|
||||||
;;
|
;;
|
||||||
hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
|
hp9k6[0-9][0-9] | hp6[0-9][0-9])
|
||||||
|
basic_machine=hppa1.0-hp
|
||||||
|
;;
|
||||||
|
hp9k7[0-79][0-9] | hp7[0-79][0-9])
|
||||||
|
basic_machine=hppa1.1-hp
|
||||||
|
;;
|
||||||
|
hp9k78[0-9] | hp78[0-9])
|
||||||
|
# FIXME: really hppa2.0-hp
|
||||||
|
basic_machine=hppa1.1-hp
|
||||||
|
;;
|
||||||
|
hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
|
||||||
|
# FIXME: really hppa2.0-hp
|
||||||
|
basic_machine=hppa1.1-hp
|
||||||
|
;;
|
||||||
|
hp9k8[0-9][13679] | hp8[0-9][13679])
|
||||||
basic_machine=hppa1.1-hp
|
basic_machine=hppa1.1-hp
|
||||||
;;
|
;;
|
||||||
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
hp9k8[0-9][0-9] | hp8[0-9][0-9])
|
||||||
@@ -345,6 +415,14 @@ case $basic_machine in
|
|||||||
hppa-next)
|
hppa-next)
|
||||||
os=-nextstep3
|
os=-nextstep3
|
||||||
;;
|
;;
|
||||||
|
hppaosf)
|
||||||
|
basic_machine=hppa1.1-hp
|
||||||
|
os=-osf
|
||||||
|
;;
|
||||||
|
hppro)
|
||||||
|
basic_machine=hppa1.1-hp
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
i370-ibm* | ibm*)
|
i370-ibm* | ibm*)
|
||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
os=-mvs
|
os=-mvs
|
||||||
@@ -366,6 +444,22 @@ case $basic_machine in
|
|||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-solaris2
|
os=-solaris2
|
||||||
;;
|
;;
|
||||||
|
i386mach)
|
||||||
|
basic_machine=i386-mach
|
||||||
|
os=-mach
|
||||||
|
;;
|
||||||
|
i386-vsta | vsta)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-vsta
|
||||||
|
;;
|
||||||
|
i386-go32 | go32)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-go32
|
||||||
|
;;
|
||||||
|
i386-mingw32 | mingw32)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-mingw32
|
||||||
|
;;
|
||||||
iris | iris4d)
|
iris | iris4d)
|
||||||
basic_machine=mips-sgi
|
basic_machine=mips-sgi
|
||||||
case $os in
|
case $os in
|
||||||
@@ -394,6 +488,10 @@ case $basic_machine in
|
|||||||
miniframe)
|
miniframe)
|
||||||
basic_machine=m68000-convergent
|
basic_machine=m68000-convergent
|
||||||
;;
|
;;
|
||||||
|
*mint | *MiNT)
|
||||||
|
basic_machine=m68k-atari
|
||||||
|
os=-mint
|
||||||
|
;;
|
||||||
mipsel*-linux*)
|
mipsel*-linux*)
|
||||||
basic_machine=mipsel-unknown
|
basic_machine=mipsel-unknown
|
||||||
os=-linux-gnu
|
os=-linux-gnu
|
||||||
@@ -408,10 +506,26 @@ case $basic_machine in
|
|||||||
mips3*)
|
mips3*)
|
||||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
||||||
;;
|
;;
|
||||||
|
monitor)
|
||||||
|
basic_machine=m68k-rom68k
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
msdos)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-msdos
|
||||||
|
;;
|
||||||
ncr3000)
|
ncr3000)
|
||||||
basic_machine=i486-ncr
|
basic_machine=i486-ncr
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
|
netbsd386)
|
||||||
|
basic_machine=i386-unknown
|
||||||
|
os=-netbsd
|
||||||
|
;;
|
||||||
|
netwinder)
|
||||||
|
basic_machine=armv4l-corel
|
||||||
|
os=-linux
|
||||||
|
;;
|
||||||
news | news700 | news800 | news900)
|
news | news700 | news800 | news900)
|
||||||
basic_machine=m68k-sony
|
basic_machine=m68k-sony
|
||||||
os=-newsos
|
os=-newsos
|
||||||
@@ -424,6 +538,10 @@ case $basic_machine in
|
|||||||
basic_machine=mips-sony
|
basic_machine=mips-sony
|
||||||
os=-newsos
|
os=-newsos
|
||||||
;;
|
;;
|
||||||
|
necv70)
|
||||||
|
basic_machine=v70-nec
|
||||||
|
os=-sysv
|
||||||
|
;;
|
||||||
next | m*-next )
|
next | m*-next )
|
||||||
basic_machine=m68k-next
|
basic_machine=m68k-next
|
||||||
case $os in
|
case $os in
|
||||||
@@ -449,9 +567,25 @@ case $basic_machine in
|
|||||||
basic_machine=i960-intel
|
basic_machine=i960-intel
|
||||||
os=-nindy
|
os=-nindy
|
||||||
;;
|
;;
|
||||||
|
mon960)
|
||||||
|
basic_machine=i960-intel
|
||||||
|
os=-mon960
|
||||||
|
;;
|
||||||
np1)
|
np1)
|
||||||
basic_machine=np1-gould
|
basic_machine=np1-gould
|
||||||
;;
|
;;
|
||||||
|
op50n-* | op60c-*)
|
||||||
|
basic_machine=hppa1.1-oki
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
|
OSE68000 | ose68000)
|
||||||
|
basic_machine=m68000-ericsson
|
||||||
|
os=-ose
|
||||||
|
;;
|
||||||
|
os68k)
|
||||||
|
basic_machine=m68k-none
|
||||||
|
os=-os68k
|
||||||
|
;;
|
||||||
pa-hitachi)
|
pa-hitachi)
|
||||||
basic_machine=hppa1.1-hitachi
|
basic_machine=hppa1.1-hitachi
|
||||||
os=-hiuxwe2
|
os=-hiuxwe2
|
||||||
@@ -469,19 +603,19 @@ case $basic_machine in
|
|||||||
pc532 | pc532-*)
|
pc532 | pc532-*)
|
||||||
basic_machine=ns32k-pc532
|
basic_machine=ns32k-pc532
|
||||||
;;
|
;;
|
||||||
pentium | p5 | k5 | nexen)
|
pentium | p5 | k5 | k6 | nexen)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
;;
|
;;
|
||||||
pentiumpro | p6 | k6 | 6x86)
|
pentiumpro | p6 | 6x86)
|
||||||
basic_machine=i686-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentiumii | pentium2)
|
pentiumii | pentium2)
|
||||||
basic_machine=i786-pc
|
basic_machine=i786-pc
|
||||||
;;
|
;;
|
||||||
pentium-* | p5-* | k5-* | nexen-*)
|
pentium-* | p5-* | k5-* | k6-* | nexen-*)
|
||||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumpro-* | p6-* | k6-* | 6x86-*)
|
pentiumpro-* | p6-* | 6x86-*)
|
||||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumii-* | pentium2-*)
|
pentiumii-* | pentium2-*)
|
||||||
@@ -505,12 +639,20 @@ case $basic_machine in
|
|||||||
ps2)
|
ps2)
|
||||||
basic_machine=i386-ibm
|
basic_machine=i386-ibm
|
||||||
;;
|
;;
|
||||||
|
rom68k)
|
||||||
|
basic_machine=m68k-rom68k
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
rm[46]00)
|
rm[46]00)
|
||||||
basic_machine=mips-siemens
|
basic_machine=mips-siemens
|
||||||
;;
|
;;
|
||||||
rtpc | rtpc-*)
|
rtpc | rtpc-*)
|
||||||
basic_machine=romp-ibm
|
basic_machine=romp-ibm
|
||||||
;;
|
;;
|
||||||
|
sa29200)
|
||||||
|
basic_machine=a29k-amd
|
||||||
|
os=-udi
|
||||||
|
;;
|
||||||
sequent)
|
sequent)
|
||||||
basic_machine=i386-sequent
|
basic_machine=i386-sequent
|
||||||
;;
|
;;
|
||||||
@@ -518,6 +660,10 @@ case $basic_machine in
|
|||||||
basic_machine=sh-hitachi
|
basic_machine=sh-hitachi
|
||||||
os=-hms
|
os=-hms
|
||||||
;;
|
;;
|
||||||
|
sparclite-wrs)
|
||||||
|
basic_machine=sparclite-wrs
|
||||||
|
os=-vxworks
|
||||||
|
;;
|
||||||
sps7)
|
sps7)
|
||||||
basic_machine=m68k-bull
|
basic_machine=m68k-bull
|
||||||
os=-sysv2
|
os=-sysv2
|
||||||
@@ -525,6 +671,13 @@ case $basic_machine in
|
|||||||
spur)
|
spur)
|
||||||
basic_machine=spur-unknown
|
basic_machine=spur-unknown
|
||||||
;;
|
;;
|
||||||
|
st2000)
|
||||||
|
basic_machine=m68k-tandem
|
||||||
|
;;
|
||||||
|
stratus)
|
||||||
|
basic_machine=i860-stratus
|
||||||
|
os=-sysv4
|
||||||
|
;;
|
||||||
sun2)
|
sun2)
|
||||||
basic_machine=m68000-sun
|
basic_machine=m68000-sun
|
||||||
;;
|
;;
|
||||||
@@ -569,6 +722,10 @@ case $basic_machine in
|
|||||||
basic_machine=i386-sequent
|
basic_machine=i386-sequent
|
||||||
os=-dynix
|
os=-dynix
|
||||||
;;
|
;;
|
||||||
|
t3e)
|
||||||
|
basic_machine=t3e-cray
|
||||||
|
os=-unicos
|
||||||
|
;;
|
||||||
tx39)
|
tx39)
|
||||||
basic_machine=mipstx39-unknown
|
basic_machine=mipstx39-unknown
|
||||||
;;
|
;;
|
||||||
@@ -586,6 +743,10 @@ case $basic_machine in
|
|||||||
basic_machine=a29k-nyu
|
basic_machine=a29k-nyu
|
||||||
os=-sym1
|
os=-sym1
|
||||||
;;
|
;;
|
||||||
|
v810 | necv810)
|
||||||
|
basic_machine=v810-nec
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
vaxv)
|
vaxv)
|
||||||
basic_machine=vax-dec
|
basic_machine=vax-dec
|
||||||
os=-sysv
|
os=-sysv
|
||||||
@@ -609,6 +770,14 @@ case $basic_machine in
|
|||||||
basic_machine=a29k-wrs
|
basic_machine=a29k-wrs
|
||||||
os=-vxworks
|
os=-vxworks
|
||||||
;;
|
;;
|
||||||
|
w65*)
|
||||||
|
basic_machine=w65-wdc
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
|
w89k-*)
|
||||||
|
basic_machine=hppa1.1-winbond
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
xmp)
|
xmp)
|
||||||
basic_machine=xmp-cray
|
basic_machine=xmp-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
@@ -616,6 +785,10 @@ case $basic_machine in
|
|||||||
xps | xps100)
|
xps | xps100)
|
||||||
basic_machine=xps100-honeywell
|
basic_machine=xps100-honeywell
|
||||||
;;
|
;;
|
||||||
|
z8k-*-coff)
|
||||||
|
basic_machine=z8k-unknown
|
||||||
|
os=-sim
|
||||||
|
;;
|
||||||
none)
|
none)
|
||||||
basic_machine=none-none
|
basic_machine=none-none
|
||||||
os=-none
|
os=-none
|
||||||
@@ -623,6 +796,15 @@ case $basic_machine in
|
|||||||
|
|
||||||
# Here we handle the default manufacturer of certain CPU types. It is in
|
# Here we handle the default manufacturer of certain CPU types. It is in
|
||||||
# some cases the only manufacturer, in others, it is the most popular.
|
# some cases the only manufacturer, in others, it is the most popular.
|
||||||
|
w89k)
|
||||||
|
basic_machine=hppa1.1-winbond
|
||||||
|
;;
|
||||||
|
op50n)
|
||||||
|
basic_machine=hppa1.1-oki
|
||||||
|
;;
|
||||||
|
op60c)
|
||||||
|
basic_machine=hppa1.1-oki
|
||||||
|
;;
|
||||||
mips)
|
mips)
|
||||||
if [ x$os = x-linux-gnu ]; then
|
if [ x$os = x-linux-gnu ]; then
|
||||||
basic_machine=mips-unknown
|
basic_machine=mips-unknown
|
||||||
@@ -645,7 +827,7 @@ case $basic_machine in
|
|||||||
we32k)
|
we32k)
|
||||||
basic_machine=we32k-att
|
basic_machine=we32k-att
|
||||||
;;
|
;;
|
||||||
sparc)
|
sparc | sparcv9)
|
||||||
basic_machine=sparc-sun
|
basic_machine=sparc-sun
|
||||||
;;
|
;;
|
||||||
cydra)
|
cydra)
|
||||||
@@ -657,6 +839,16 @@ case $basic_machine in
|
|||||||
orion105)
|
orion105)
|
||||||
basic_machine=clipper-highlevel
|
basic_machine=clipper-highlevel
|
||||||
;;
|
;;
|
||||||
|
mac | mpw | mac-mpw)
|
||||||
|
basic_machine=m68k-apple
|
||||||
|
;;
|
||||||
|
pmac | pmac-mpw)
|
||||||
|
basic_machine=powerpc-apple
|
||||||
|
;;
|
||||||
|
c4x*)
|
||||||
|
basic_machine=c4x-none
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
@@ -710,13 +902,21 @@ case $os in
|
|||||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||||
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||||
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
|
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -uxpv* | -beos*)
|
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
| -interix* | -uwin* | -rhapsody* | -openstep* | -oskit*)
|
||||||
# Remember, each alternative MUST END IN *, to match a version number.
|
# Remember, each alternative MUST END IN *, to match a version number.
|
||||||
;;
|
;;
|
||||||
|
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
||||||
|
| -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
||||||
|
| -macos* | -mpw* | -magic* | -mon960* | -lnews*)
|
||||||
|
;;
|
||||||
|
-mac*)
|
||||||
|
os=`echo $os | sed -e 's|mac|macos|'`
|
||||||
|
;;
|
||||||
-linux*)
|
-linux*)
|
||||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||||
;;
|
;;
|
||||||
@@ -741,6 +941,9 @@ case $os in
|
|||||||
-acis*)
|
-acis*)
|
||||||
os=-aos
|
os=-aos
|
||||||
;;
|
;;
|
||||||
|
-386bsd)
|
||||||
|
os=-bsd
|
||||||
|
;;
|
||||||
-ctix* | -uts*)
|
-ctix* | -uts*)
|
||||||
os=-sysv
|
os=-sysv
|
||||||
;;
|
;;
|
||||||
@@ -772,9 +975,18 @@ case $os in
|
|||||||
# This must come after -sysvr4.
|
# This must come after -sysvr4.
|
||||||
-sysv*)
|
-sysv*)
|
||||||
;;
|
;;
|
||||||
|
-ose*)
|
||||||
|
os=-ose
|
||||||
|
;;
|
||||||
|
-es1800*)
|
||||||
|
os=-ose
|
||||||
|
;;
|
||||||
-xenix)
|
-xenix)
|
||||||
os=-xenix
|
os=-xenix
|
||||||
;;
|
;;
|
||||||
|
-*mint | -*MiNT)
|
||||||
|
os=-mint
|
||||||
|
;;
|
||||||
-none)
|
-none)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -800,6 +1012,9 @@ case $basic_machine in
|
|||||||
*-acorn)
|
*-acorn)
|
||||||
os=-riscix1.2
|
os=-riscix1.2
|
||||||
;;
|
;;
|
||||||
|
arm*-corel)
|
||||||
|
os=-linux
|
||||||
|
;;
|
||||||
arm*-semi)
|
arm*-semi)
|
||||||
os=-aout
|
os=-aout
|
||||||
;;
|
;;
|
||||||
@@ -821,6 +1036,15 @@ case $basic_machine in
|
|||||||
# default.
|
# default.
|
||||||
# os=-sunos4
|
# os=-sunos4
|
||||||
;;
|
;;
|
||||||
|
m68*-cisco)
|
||||||
|
os=-aout
|
||||||
|
;;
|
||||||
|
mips*-cisco)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
|
mips*-*)
|
||||||
|
os=-elf
|
||||||
|
;;
|
||||||
*-tti) # must be before sparc entry or we get the wrong os.
|
*-tti) # must be before sparc entry or we get the wrong os.
|
||||||
os=-sysv3
|
os=-sysv3
|
||||||
;;
|
;;
|
||||||
@@ -833,6 +1057,15 @@ case $basic_machine in
|
|||||||
*-ibm)
|
*-ibm)
|
||||||
os=-aix
|
os=-aix
|
||||||
;;
|
;;
|
||||||
|
*-wec)
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
|
*-winbond)
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
|
*-oki)
|
||||||
|
os=-proelf
|
||||||
|
;;
|
||||||
*-hp)
|
*-hp)
|
||||||
os=-hpux
|
os=-hpux
|
||||||
;;
|
;;
|
||||||
@@ -896,6 +1129,18 @@ case $basic_machine in
|
|||||||
f301-fujitsu)
|
f301-fujitsu)
|
||||||
os=-uxpv
|
os=-uxpv
|
||||||
;;
|
;;
|
||||||
|
*-rom68k)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
*-*bug)
|
||||||
|
os=-coff
|
||||||
|
;;
|
||||||
|
*-apple)
|
||||||
|
os=-macos
|
||||||
|
;;
|
||||||
|
*-atari*)
|
||||||
|
os=-mint
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
@@ -917,9 +1162,15 @@ case $basic_machine in
|
|||||||
-aix*)
|
-aix*)
|
||||||
vendor=ibm
|
vendor=ibm
|
||||||
;;
|
;;
|
||||||
|
-beos*)
|
||||||
|
vendor=be
|
||||||
|
;;
|
||||||
-hpux*)
|
-hpux*)
|
||||||
vendor=hp
|
vendor=hp
|
||||||
;;
|
;;
|
||||||
|
-mpeix*)
|
||||||
|
vendor=hp
|
||||||
|
;;
|
||||||
-hiux*)
|
-hiux*)
|
||||||
vendor=hitachi
|
vendor=hitachi
|
||||||
;;
|
;;
|
||||||
@@ -947,6 +1198,15 @@ case $basic_machine in
|
|||||||
-aux*)
|
-aux*)
|
||||||
vendor=apple
|
vendor=apple
|
||||||
;;
|
;;
|
||||||
|
-hms*)
|
||||||
|
vendor=hitachi
|
||||||
|
;;
|
||||||
|
-mpw* | -macos*)
|
||||||
|
vendor=apple
|
||||||
|
;;
|
||||||
|
-*mint | -*MiNT)
|
||||||
|
vendor=atari
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
|
||||||
;;
|
;;
|
||||||
|
1494
configure.in
15
contrib/Makefile.in
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Makefile : Builds wxWindows utils for Unix.
|
||||||
|
#
|
||||||
|
|
||||||
|
all:
|
||||||
|
cd src; make
|
||||||
|
|
||||||
|
clean:
|
||||||
|
cd src; make clean
|
||||||
|
cd samples; make clean
|
||||||
|
cd utils; make clean
|
||||||
|
|
||||||
|
|
||||||
|
samples:
|
||||||
|
cd samples; make
|
237
utils/configure → contrib/configure
vendored
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# From configure.in Id: configure.in
|
# From configure.in Id: configure.in
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.14
|
# Generated automatically using autoconf version 2.13
|
||||||
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This configure script is free software; the Free Software Foundation
|
# This configure script is free software; the Free Software Foundation
|
||||||
@@ -334,7 +334,7 @@ EOF
|
|||||||
verbose=yes ;;
|
verbose=yes ;;
|
||||||
|
|
||||||
-version | --version | --versio | --versi | --vers)
|
-version | --version | --versio | --versi | --vers)
|
||||||
echo "configure generated by autoconf version 2.14"
|
echo "configure generated by autoconf version 2.13"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
|
|
||||||
-with-* | --with-*)
|
-with-* | --with-*)
|
||||||
@@ -523,7 +523,180 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
|
|
||||||
|
|
||||||
|
ESD_LINK=
|
||||||
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||||
|
echo "configure:531: checking how to run the C preprocessor" >&5
|
||||||
|
# On Suns, sometimes $CPP names a directory.
|
||||||
|
if test -n "$CPP" && test -d "$CPP"; then
|
||||||
|
CPP=
|
||||||
|
fi
|
||||||
|
if test -z "$CPP"; then
|
||||||
|
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
else
|
||||||
|
# This must be in double quotes, not single quotes, because CPP may get
|
||||||
|
# substituted into the Makefile and "${CC-cc}" will confuse make.
|
||||||
|
CPP="${CC-cc} -E"
|
||||||
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||||
|
# not just through cpp.
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 546 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <assert.h>
|
||||||
|
Syntax Error
|
||||||
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "$ac_err" >&5
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
CPP="${CC-cc} -E -traditional-cpp"
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 563 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <assert.h>
|
||||||
|
Syntax Error
|
||||||
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "$ac_err" >&5
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
CPP="${CC-cc} -nologo -E"
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 580 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <assert.h>
|
||||||
|
Syntax Error
|
||||||
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "$ac_err" >&5
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
CPP=/lib/cpp
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
ac_cv_prog_CPP="$CPP"
|
||||||
|
fi
|
||||||
|
CPP="$ac_cv_prog_CPP"
|
||||||
|
else
|
||||||
|
ac_cv_prog_CPP="$CPP"
|
||||||
|
fi
|
||||||
|
echo "$ac_t""$CPP" 1>&6
|
||||||
|
|
||||||
|
ac_safe=`echo "esd.h" | sed 'y%./+-%__p_%'`
|
||||||
|
echo $ac_n "checking for esd.h""... $ac_c" 1>&6
|
||||||
|
echo "configure:612: checking for esd.h" >&5
|
||||||
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
else
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 617 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
#include <esd.h>
|
||||||
|
EOF
|
||||||
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
|
{ (eval echo configure:622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||||
|
if test -z "$ac_err"; then
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_header_$ac_safe=yes"
|
||||||
|
else
|
||||||
|
echo "$ac_err" >&5
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_header_$ac_safe=no"
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
fi
|
||||||
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
|
|
||||||
|
echo $ac_n "checking for esd_close in -lesd""... $ac_c" 1>&6
|
||||||
|
echo "configure:640: checking for esd_close in -lesd" >&5
|
||||||
|
ac_lib_var=`echo esd'_'esd_close | sed 'y%./+-%__p_%'`
|
||||||
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
else
|
||||||
|
ac_save_LIBS="$LIBS"
|
||||||
|
LIBS="-lesd $LIBS"
|
||||||
|
cat > conftest.$ac_ext <<EOF
|
||||||
|
#line 648 "configure"
|
||||||
|
#include "confdefs.h"
|
||||||
|
/* Override any gcc2 internal prototype to avoid an error. */
|
||||||
|
/* We use char because int might match the return type of a gcc2
|
||||||
|
builtin and then its argument prototype would still apply. */
|
||||||
|
char esd_close();
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
esd_close()
|
||||||
|
; return 0; }
|
||||||
|
EOF
|
||||||
|
if { (eval echo configure:659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
|
else
|
||||||
|
echo "configure: failed program was:" >&5
|
||||||
|
cat conftest.$ac_ext >&5
|
||||||
|
rm -rf conftest*
|
||||||
|
eval "ac_cv_lib_$ac_lib_var=no"
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
LIBS="$ac_save_LIBS"
|
||||||
|
|
||||||
|
fi
|
||||||
|
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
|
|
||||||
|
ESD_LINK="-lesd"
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$ESD_LINK" != "" ; then
|
||||||
|
echo "ESound detected"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
trap '' 1 2 15
|
trap '' 1 2 15
|
||||||
@@ -628,7 +801,7 @@ do
|
|||||||
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
||||||
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
||||||
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
||||||
echo "$CONFIG_STATUS generated by autoconf version 2.14"
|
echo "$CONFIG_STATUS generated by autoconf version 2.13"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-help | --help | --hel | --he | --h)
|
-help | --help | --hel | --he | --h)
|
||||||
echo "\$ac_cs_usage"; exit 0 ;;
|
echo "\$ac_cs_usage"; exit 0 ;;
|
||||||
@@ -640,17 +813,20 @@ ac_given_srcdir=$srcdir
|
|||||||
|
|
||||||
trap 'rm -fr `echo "
|
trap 'rm -fr `echo "
|
||||||
Makefile
|
Makefile
|
||||||
wxMMedia2/Makefile
|
src/Makefile
|
||||||
wxMMedia2/lib/Makefile
|
src/ogl/Makefile
|
||||||
wxMMedia2/sample/Makefile
|
src/mmedia/Makefile
|
||||||
makegen/Makefile
|
src/stc/Makefile
|
||||||
HelpGen/Makefile
|
src/xml/Makefile
|
||||||
HelpGen/src/Makefile
|
samples/Makefile
|
||||||
tex2rtf/Makefile
|
samples/mmedia/Makefile
|
||||||
tex2rtf/src/Makefile
|
samples/ogl/Makefile
|
||||||
hhp2cached/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
dialoged/Makefile
|
samples/ogl/studio/Makefile
|
||||||
dialoged/src/Makefile
|
samples/stc/Makefile
|
||||||
|
utils/Makefile
|
||||||
|
utils/wxrc/Makefile
|
||||||
|
utils/wxrcedit/Makefile
|
||||||
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||||
EOF
|
EOF
|
||||||
cat >> $CONFIG_STATUS <<EOF
|
cat >> $CONFIG_STATUS <<EOF
|
||||||
@@ -683,7 +859,11 @@ s%@includedir@%$includedir%g
|
|||||||
s%@oldincludedir@%$oldincludedir%g
|
s%@oldincludedir@%$oldincludedir%g
|
||||||
s%@infodir@%$infodir%g
|
s%@infodir@%$infodir%g
|
||||||
s%@mandir@%$mandir%g
|
s%@mandir@%$mandir%g
|
||||||
s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
|
s%@CPP@%$CPP%g
|
||||||
|
s%@PATH_IFS@%$PATH_IFS%g
|
||||||
|
s%@ESD_LINK@%$ESD_LINK%g
|
||||||
|
s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
|
||||||
|
s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
EOF
|
EOF
|
||||||
@@ -726,17 +906,20 @@ EOF
|
|||||||
cat >> $CONFIG_STATUS <<EOF
|
cat >> $CONFIG_STATUS <<EOF
|
||||||
|
|
||||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile
|
||||||
wxMMedia2/Makefile
|
src/Makefile
|
||||||
wxMMedia2/lib/Makefile
|
src/ogl/Makefile
|
||||||
wxMMedia2/sample/Makefile
|
src/mmedia/Makefile
|
||||||
makegen/Makefile
|
src/stc/Makefile
|
||||||
HelpGen/Makefile
|
src/xml/Makefile
|
||||||
HelpGen/src/Makefile
|
samples/Makefile
|
||||||
tex2rtf/Makefile
|
samples/mmedia/Makefile
|
||||||
tex2rtf/src/Makefile
|
samples/ogl/Makefile
|
||||||
hhp2cached/Makefile
|
samples/ogl/ogledit/Makefile
|
||||||
dialoged/Makefile
|
samples/ogl/studio/Makefile
|
||||||
dialoged/src/Makefile
|
samples/stc/Makefile
|
||||||
|
utils/Makefile
|
||||||
|
utils/wxrc/Makefile
|
||||||
|
utils/wxrcedit/Makefile
|
||||||
"}
|
"}
|
||||||
EOF
|
EOF
|
||||||
cat >> $CONFIG_STATUS <<\EOF
|
cat >> $CONFIG_STATUS <<\EOF
|
55
contrib/configure.in
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
AC_REVISION($Id$)dnl
|
||||||
|
|
||||||
|
AC_INIT(Makefile.in)
|
||||||
|
|
||||||
|
dnl ---------------
|
||||||
|
dnl MMedia specific
|
||||||
|
dnl ---------------
|
||||||
|
|
||||||
|
dnl Check for ESD
|
||||||
|
|
||||||
|
ESD_LINK=
|
||||||
|
AC_CHECK_HEADER(esd.h, [
|
||||||
|
AC_CHECK_LIB(esd, esd_close, [
|
||||||
|
ESD_LINK="-lesd"
|
||||||
|
])
|
||||||
|
])
|
||||||
|
|
||||||
|
if test "$ESD_LINK" != "" ; then
|
||||||
|
echo "ESound detected"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl -----------
|
||||||
|
dnl Final subst
|
||||||
|
|
||||||
|
PATH_IFS=$wx_cv_path_ifs
|
||||||
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
||||||
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
||||||
|
|
||||||
|
AC_SUBST(PATH_IFS)
|
||||||
|
AC_SUBST(ESD_LINK)
|
||||||
|
AC_SUBST(WX_TARGET_LIBRARY)
|
||||||
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
||||||
|
|
||||||
|
dnl -----------
|
||||||
|
dnl File output
|
||||||
|
|
||||||
|
|
||||||
|
AC_OUTPUT([
|
||||||
|
Makefile
|
||||||
|
src/Makefile
|
||||||
|
src/ogl/Makefile
|
||||||
|
src/mmedia/Makefile
|
||||||
|
src/stc/Makefile
|
||||||
|
src/xml/Makefile
|
||||||
|
samples/Makefile
|
||||||
|
samples/mmedia/Makefile
|
||||||
|
samples/ogl/Makefile
|
||||||
|
samples/ogl/ogledit/Makefile
|
||||||
|
samples/ogl/studio/Makefile
|
||||||
|
samples/stc/Makefile
|
||||||
|
utils/Makefile
|
||||||
|
utils/wxrc/Makefile
|
||||||
|
utils/wxrcedit/Makefile
|
||||||
|
])
|
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
9
contrib/docs/latex/mmedia/bugs.tex
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
\chapter{Bugs}\label{bugs}%
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
These are the known bugs.
|
||||||
|
|
||||||
|
\begin{itemize}\itemsep=0pt
|
||||||
|
\item No bugs
|
||||||
|
\end{itemize}
|
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 138 B |
@@ -3,19 +3,21 @@
|
|||||||
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
|
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
|
||||||
%
|
%
|
||||||
|
|
||||||
|
|
||||||
\section{\class{wxCDAudio}}\label{wxcdaudio}
|
\section{\class{wxCDAudio}}\label{wxcdaudio}
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
wxObject
|
||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
{\small
|
||||||
|
\begin{verbatim}
|
||||||
typedef struct wxCDtime {
|
typedef struct wxCDtime {
|
||||||
wxUint8 track
|
wxUint8 track
|
||||||
\end{verbatim}}
|
};
|
||||||
|
\end{verbatim}
|
||||||
|
}
|
||||||
{\small \begin{verbatim}
|
{\small \begin{verbatim}
|
||||||
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus
|
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus
|
||||||
\end{verbatim}}
|
\end{verbatim}}
|
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
\section{\class{wxCDAudioLinux}}\label{wxcdaudiolinux}
|
\section{\class{wxCDAudioLinux}}\label{wxcdaudiolinux}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxCDAudio}{wxcdaudio}
|
\helpref{wxCDAudio}{wxcdaudio}
|
||||||
@@ -16,17 +14,12 @@
|
|||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
||||||
|
|
||||||
\func{}{wxCDAudioLinux}{\void}
|
\func{}{wxCDAudioLinux}{\void}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
|
|
||||||
|
|
||||||
\func{}{wxCDAudioLinux}{\param{const char* }{dev\_name}}
|
\func{}{wxCDAudioLinux}{\param{const char* }{dev\_name}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioLinux::\destruct{wxCDAudioLinux}}\label{wxcdaudiolinuxdtor}
|
\membersection{wxCDAudioLinux::\destruct{wxCDAudioLinux}}\label{wxcdaudiolinuxdtor}
|
||||||
|
|
||||||
\func{}{\destruct{wxCDAudioLinux}}{\void}
|
\func{}{\destruct{wxCDAudioLinux}}{\void}
|
@@ -14,10 +14,14 @@
|
|||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
||||||
{\small \begin{verbatim}
|
{\small
|
||||||
|
\begin{verbatim}
|
||||||
typedef struct CDAW\_Internal {
|
typedef struct CDAW\_Internal {
|
||||||
MCIDEVICEID dev\_id
|
MCIDEVICEID dev\_id
|
||||||
\end{verbatim}}
|
};
|
||||||
|
\end{verbatim}
|
||||||
|
}
|
||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
@@ -25,9 +29,6 @@ typedef struct CDAW\_Internal {
|
|||||||
|
|
||||||
\func{}{wxCDAudioWin}{\void}
|
\func{}{wxCDAudioWin}{\void}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudioWin::wxCDAudioWin}\label{wxcdaudiowinwxcdaudiowin}
|
|
||||||
|
|
||||||
\func{}{wxCDAudioWin}{\param{const char* }{dev\_name}}
|
\func{}{wxCDAudioWin}{\param{const char* }{dev\_name}}
|
||||||
|
|
||||||
|
|
@@ -17,7 +17,6 @@ No base class
|
|||||||
|
|
||||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
|
||||||
\membersection{CDtoc::CDtoc}\label{cdtoccdtoc}
|
\membersection{CDtoc::CDtoc}\label{cdtoccdtoc}
|
||||||
|
|
||||||
\func{}{CDtoc}{\param{wxCDtime\& }{tot\_tm}, \param{wxCDtime* }{trks\_tm}, \param{wxCDtime* }{trks\_pos}}
|
\func{}{CDtoc}{\param{wxCDtime\& }{tot\_tm}, \param{wxCDtime* }{trks\_tm}, \param{wxCDtime* }{trks\_pos}}
|
||||||
@@ -62,16 +61,10 @@ Returns the total time
|
|||||||
|
|
||||||
Play audio at the specified position
|
Play audio at the specified position
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudio::Play}\label{wxcdaudioplay}
|
|
||||||
|
|
||||||
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}}
|
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}}
|
||||||
|
|
||||||
Play audio from the specified to the end of the CD audio
|
Play audio from the specified to the end of the CD audio
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxCDAudio::Play}\label{wxcdaudioplay}
|
|
||||||
|
|
||||||
\func{bool}{Play}{\param{wxUint8 }{beg\_track}, \param{wxUint8 }{end\_track = 0}}
|
\func{bool}{Play}{\param{wxUint8 }{beg\_track}, \param{wxUint8 }{end\_track = 0}}
|
||||||
|
|
||||||
|
|
3
contrib/docs/latex/mmedia/changes.tex
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
\chapter{Change log}
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
13
contrib/docs/latex/mmedia/classes.tex
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
\chapter{Class reference}\label{classref}
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
These are the main Mmedia classes.
|
||||||
|
|
||||||
|
\input cdaudio.tex
|
||||||
|
\input cdaudlnx.tex
|
||||||
|
\input cdaudwin.tex
|
||||||
|
\input cdtoc.tex
|
||||||
|
\input sndbase.tex
|
||||||
|
\input sndfile.tex
|
||||||
|
\input sndfrmt.tex
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
47
contrib/docs/latex/mmedia/intro.tex
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
\chapter{Introduction}
|
||||||
|
\pagenumbering{arabic}%
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
The MMedia wxWindows extension is a wxWindows library which provides you
|
||||||
|
a full set of multimedia classes including sound recording/playing,
|
||||||
|
cd audio playing and video playing. The API is portable and can be used
|
||||||
|
on any supported systems with the insurance the behaviour will be the
|
||||||
|
same.
|
||||||
|
|
||||||
|
\section{File structure}
|
||||||
|
|
||||||
|
These are the files that comprise the mmedia library.
|
||||||
|
|
||||||
|
\begin{description}\itemsep=0pt
|
||||||
|
\item[sndbase.h] Header for wxSoundStream base class and wxSoundFormat base class.
|
||||||
|
\item[sndbase.cpp] Basic objects implementation.
|
||||||
|
\item[sndfile.h] wxSoundFileStream base class header.
|
||||||
|
\item[sndfile.cpp] wxSoundFileStream base class implementation.
|
||||||
|
\item[sndpcm.h] wxSoundFormatPcm class header.
|
||||||
|
\item[sndpcm.cpp] wxSoundFormatPcm class implementation.
|
||||||
|
\item[sndcpcm.h] wxSoundCodecPcm class header (PCM converter).
|
||||||
|
\item[sndcpcm.cpp] wxSoundCodecPcm class implementation (PCM converter).
|
||||||
|
\item[sndulaw.h]
|
||||||
|
\item[sndulaw.cpp]
|
||||||
|
\item[sndg72x.h]
|
||||||
|
\item[sndg72x.cpp]
|
||||||
|
\item[sndoss.h]
|
||||||
|
\item[sndoss.cpp]
|
||||||
|
\item[sndesd.h]
|
||||||
|
\item[sndesd.cpp]
|
||||||
|
\item[sndwin.h]
|
||||||
|
\item[sndwin.cpp]
|
||||||
|
\item[cdbase.h]
|
||||||
|
\item[cdbase.cpp]
|
||||||
|
\item[cdunix.h]
|
||||||
|
\item[cdunix.cpp]
|
||||||
|
\item[cdwin.h]
|
||||||
|
\item[cdwin.cpp]
|
||||||
|
\item[vidbase.h]
|
||||||
|
\item[vidbase.cpp]
|
||||||
|
\item[vidxanm.h]
|
||||||
|
\item[vidxanm.cpp]
|
||||||
|
\item[vidwin.h]
|
||||||
|
\item[vidwin.cpp]
|
||||||
|
\end{description}
|
45
contrib/docs/latex/mmedia/mmedia.tex
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
\documentstyle[a4,makeidx,verbatim,texhelp,fancyheadings]{report}
|
||||||
|
\definecolour{black}{0}{0}{0}%
|
||||||
|
\definecolour{cyan}{0}{255}{255}%
|
||||||
|
\definecolour{green}{0}{255}{0}%
|
||||||
|
\definecolour{magenta}{255}{0}{255}%
|
||||||
|
\definecolour{red}{255}{0}{0}%
|
||||||
|
\definecolour{blue}{0}{0}{200}%
|
||||||
|
\definecolour{yellow}{255}{255}{0}%
|
||||||
|
\definecolour{white}{255}{255}{255}%
|
||||||
|
\input psbox.tex
|
||||||
|
\parindent 0pt
|
||||||
|
\parskip 11pt
|
||||||
|
\title{MMedia for wxWindows}
|
||||||
|
\author{Guilhem Lavaux}
|
||||||
|
\date{March 2000}
|
||||||
|
|
||||||
|
\makeindex
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\pagestyle{fancyplain}
|
||||||
|
\bibliographystyle{plain}
|
||||||
|
\pagenumbering{roman}
|
||||||
|
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
\tableofcontents%
|
||||||
|
|
||||||
|
\input{intro.tex}
|
||||||
|
%
|
||||||
|
\input{sample.tex}
|
||||||
|
%
|
||||||
|
\input{classes.tex}
|
||||||
|
%
|
||||||
|
\input{topics.tex}
|
||||||
|
%
|
||||||
|
\input{bugs.tex}
|
||||||
|
%
|
||||||
|
\input{changes.tex}
|
||||||
|
|
||||||
|
%
|
||||||
|
\addcontentsline{toc}{chapter}{Index}
|
||||||
|
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||||
|
\printindex
|
||||||
|
\end{document}
|
6
contrib/docs/latex/mmedia/sample.tex
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
\chapter{MMboard: a sample MMedia application}\label{mmboard}%
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
To be written.
|
||||||
|
|
@@ -200,18 +200,25 @@ will not block for this buffer size.
|
|||||||
|
|
||||||
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
|
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
|
||||||
|
|
||||||
SetSoundFormat is one of the key function of the wxSoundStream object. It specifies
|
SetSoundFormat is one of the key function of the wxSoundStream object.
|
||||||
the sound format the user needs. SetSoundFormat tries to apply the format to the
|
It specifies the sound format the user needs. SetSoundFormat tries to
|
||||||
current sound stream (it can be a sound file or a sound driver).
|
apply the format to the current sound stream (it can be a sound file or a
|
||||||
Then, either it manages to apply it and it returns {\bf TRUE}, or it could not and
|
sound driver). Then, either it manages to apply it and it returns {\bf TRUE},
|
||||||
it returns {\bf FALSE}. In this case, you must check the error with
|
or it could not and it returns {\bf FALSE}. In this case, you must check
|
||||||
|
the error with
|
||||||
\helpref{wxSoundStream::GetError}{wxsoundstreamgeterror}. See
|
\helpref{wxSoundStream::GetError}{wxsoundstreamgeterror}. See
|
||||||
\helpref{wxSoundStream errors section}{wxsoundstream} for more details.
|
\helpref{wxSoundStream errors section}{wxsoundstream} for more details.
|
||||||
|
|
||||||
\wxheading{Remark}
|
\wxheading{Note}
|
||||||
|
|
||||||
The {\bf format} object can be destroyed after the call. The object does not need it.
|
The {\bf format} object can be destroyed after the call. The object does not need it.
|
||||||
|
|
||||||
|
\wxheading{Note}
|
||||||
|
|
||||||
|
If the error is {\bf wxSOUND\_NOTEXACT}, the stream tries to find the best
|
||||||
|
approaching format and setups it. You can check the format which it applied
|
||||||
|
with \helpref{wxSoundStream::GetSoundFormat}{wxsoundstreamgetsoundformat}.
|
||||||
|
|
||||||
%%
|
%%
|
||||||
%% GetSoundFormat
|
%% GetSoundFormat
|
||||||
%%
|
%%
|
||||||
@@ -229,9 +236,9 @@ the stream itself.
|
|||||||
|
|
||||||
\func{void}{Register}{\param{int }{evt}, \param{wxSoundCallback }{cbk}, \param{void* }{cdata}}
|
\func{void}{Register}{\param{int }{evt}, \param{wxSoundCallback }{cbk}, \param{void* }{cdata}}
|
||||||
|
|
||||||
It installs a C callback for wxSoundStream events. The C callbacks are still useful
|
It installs a C callback for wxSoundStream events. The C callbacks are still
|
||||||
to avoid hard inheritance. You can install only one callback per event. Each callback
|
useful to avoid hard inheritance. You can install only one callback per event.
|
||||||
has its callback data.
|
Each callback has its callback data.
|
||||||
|
|
||||||
%%
|
%%
|
||||||
%% StartProduction
|
%% StartProduction
|
||||||
@@ -240,14 +247,19 @@ has its callback data.
|
|||||||
|
|
||||||
\func{bool}{StartProduction}{\param{int }{evt}}
|
\func{bool}{StartProduction}{\param{int }{evt}}
|
||||||
|
|
||||||
Starts the async notifier. After this call, the stream begins either
|
StartProduction starts the sound streaming. {\it evt} may be one of
|
||||||
recording or playing or the two at the same time.
|
{\bf wxSOUND\_INPUT}, {\bf wxSOUND\_OUTPUT} or {\bf wxSOUND\_DUPLEX}.
|
||||||
|
You cannot specify several flags at the same time. Starting the production
|
||||||
|
may automaticaly in position of buffer underrun (only in the case you activated
|
||||||
|
recording). Actually this may happen the sound IO queue is too short.
|
||||||
|
It is also advised that you fill quickly enough the sound IO queue when the
|
||||||
|
driver requests it (through a wxSoundEvent).
|
||||||
|
|
||||||
\membersection{wxSoundStream::StopProduction}\label{wxsoundstreamstopproduction}
|
\membersection{wxSoundStream::StopProduction}\label{wxsoundstreamstopproduction}
|
||||||
|
|
||||||
\func{bool}{StopProduction}{\void}
|
\func{bool}{StopProduction}{\void}
|
||||||
|
|
||||||
Stops the async notifier.
|
I stops the async notifier and the sound streaming straightly.
|
||||||
|
|
||||||
\membersection{wxSoundStream::SetEventHandler}\label{wxsoundstreamseteventhandler}
|
\membersection{wxSoundStream::SetEventHandler}\label{wxsoundstreamseteventhandler}
|
||||||
|
|
||||||
@@ -259,19 +271,24 @@ Sets the event handler: if it is non-null, all events are routed to it.
|
|||||||
|
|
||||||
\constfunc{wxSoundError}{GetError}{\void}
|
\constfunc{wxSoundError}{GetError}{\void}
|
||||||
|
|
||||||
|
It returns the last error which occured.
|
||||||
|
|
||||||
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
|
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
|
||||||
|
|
||||||
\constfunc{wxUint32}{GetLastAccess}{\void}
|
\constfunc{wxUint32}{GetLastAccess}{\void}
|
||||||
|
|
||||||
|
It returns the number of bytes which were effectively written to/read from the sound stream.
|
||||||
|
|
||||||
\membersection{wxSoundStream::QueueFilled}\label{wxsoundstreamqueuefilled}
|
\membersection{wxSoundStream::QueueFilled}\label{wxsoundstreamqueuefilled}
|
||||||
|
|
||||||
\constfunc{bool}{QueueFilled}{\void}
|
\constfunc{bool}{QueueFilled}{\void}
|
||||||
|
|
||||||
This is only useful for device (I think).
|
It returns whether the sound IO queue is full. When it is full, the next IO call will block
|
||||||
|
until the IO queue has at least one empty entry.
|
||||||
|
|
||||||
\membersection{wxSoundStream::OnSoundEvent}\label{wxsoundstreamonsoundevent}
|
\membersection{wxSoundStream::OnSoundEvent}\label{wxsoundstreamonsoundevent}
|
||||||
|
|
||||||
\func{void}{OnSoundEvent}{\param{int }{evt}}
|
\func{void}{OnSoundEvent}{\param{int }{evt}}
|
||||||
|
|
||||||
Handles event.
|
It is called by the wxSoundStream when a new sound event occured.
|
||||||
|
|
243
contrib/docs/latex/mmedia/sndfile.tex
Normal file
@@ -0,0 +1,243 @@
|
|||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%% Name: sndfile.tex
|
||||||
|
%% Purpose: wxMMedia docs
|
||||||
|
%% Author: Guilhem Lavaux <lavaux@easynet.fr>
|
||||||
|
%% Modified by:
|
||||||
|
%% Created: 2000
|
||||||
|
%% RCS-ID: $Id$
|
||||||
|
%% Copyright: (c) wxWindows team
|
||||||
|
%% Licence: wxWindows licence
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\section{\class{wxSoundFileStream}}\label{wxsoundfilestream}
|
||||||
|
|
||||||
|
Base class for file coders/decoders. This class is not constructor (it is an abstract
|
||||||
|
class).
|
||||||
|
|
||||||
|
\wxheading{Derived from}
|
||||||
|
|
||||||
|
\helpref{wxSoundStream}{wxsoundstream}
|
||||||
|
|
||||||
|
\wxheading{Include file}
|
||||||
|
|
||||||
|
wx/sndfile.h
|
||||||
|
|
||||||
|
\wxheading{Data structures}
|
||||||
|
|
||||||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::wxSoundFileStream}\label{wxsoundfilestreamwxsoundfilestream}
|
||||||
|
|
||||||
|
\func{}{wxSoundFileStream}{\param{wxInputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
|
||||||
|
|
||||||
|
It constructs a new file decoder object which will send
|
||||||
|
audio data to the specified sound stream.
|
||||||
|
The {\it stream} is the input stream to be decoded. The
|
||||||
|
{\it io\_sound} is the destination sound stream.
|
||||||
|
Once it has been constructed, you cannot change any of
|
||||||
|
the specified streams nor the direction of the stream.
|
||||||
|
|
||||||
|
You will have access to the playback functions.
|
||||||
|
|
||||||
|
\func{}{wxSoundFileStream}{\param{wxOutputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
|
||||||
|
|
||||||
|
It constructs a new file coder object which will get
|
||||||
|
data to be recorded from the specified sound stream.
|
||||||
|
The {\it stream} is the output wxStream. The {\it io\_sound}
|
||||||
|
is the source sound stream of the audio data. Once
|
||||||
|
it has been constructed, you cannot change any of
|
||||||
|
the specified streams nor the direction of the stream.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::\destruct{wxSoundFileStream}}\label{wxsoundfilestreamdtor}
|
||||||
|
\func{}{\destruct{wxSoundFileStream}}{\void}
|
||||||
|
|
||||||
|
It destroys the current sound file codec.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Play}\label{wxsoundfilestreamplay}
|
||||||
|
\func{bool}{Play}{\void}
|
||||||
|
|
||||||
|
It starts playing the file. The playing begins, in background
|
||||||
|
in nearly all cases, after the return of the function. The
|
||||||
|
codec returns to a {\bf stopped} state when it reaches the
|
||||||
|
end of the file.
|
||||||
|
On success, it returns TRUE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Record}\label{wxsoundfilestreamrecord}
|
||||||
|
\func{bool}{Record}{\param{wxUint32 }{time}}
|
||||||
|
|
||||||
|
It starts recording data from the sound stream and writing them
|
||||||
|
to the output stream. You have to precise the recording length in
|
||||||
|
parameter. This length is expressed in seconds. If you want to
|
||||||
|
control the record length (using \helpref{Stop}{wxsoundfilestreamstop}),
|
||||||
|
you can set it to wxSOUND\_INFINITE\_TIME.
|
||||||
|
|
||||||
|
On success, it returns TRUE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Stop}\label{wxsoundfilestreamstop}
|
||||||
|
\func{bool}{Stop}{\void}
|
||||||
|
|
||||||
|
It stops either recording or playing. Whatever happens (even unexpected
|
||||||
|
errors), the stream is stopped when the function returns. When you are
|
||||||
|
in recording mode, the file headers are updated and flushed if possible
|
||||||
|
(ie: if the output stream is seekable).
|
||||||
|
|
||||||
|
On success, it returns TRUE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Pause}\label{wxsoundfilestreampause}
|
||||||
|
\func{bool}{Pause}{\void}
|
||||||
|
|
||||||
|
The file codec tries to pause the stream: it means that it stops audio
|
||||||
|
production but keep the file pointer at the place.
|
||||||
|
|
||||||
|
If the file codec is already paused, it returns FALSE.
|
||||||
|
|
||||||
|
On success, it returns TREE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Resume}\label{wxsoundfilestreamresume}
|
||||||
|
\func{bool}{Resume}{\void}
|
||||||
|
|
||||||
|
When the file codec has been paused using
|
||||||
|
\helpref{Pause}{wxsoundfilestreampause}, you could be interrested in
|
||||||
|
resuming it. This is the goal of this function.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::IsStopped}\label{wxsoundfilestreamisstopped}
|
||||||
|
\constfunc{bool}{IsStopped}{\void}
|
||||||
|
|
||||||
|
It returns TRUE when the stream is stopped, in another case it returns
|
||||||
|
FALSE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::IsPaused}\label{wxsoundfilestreamispaused}
|
||||||
|
\constfunc{bool}{IsPaused}{\void}
|
||||||
|
|
||||||
|
It returns TRUE when the stream is paused, in another case it returns
|
||||||
|
FALSE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::StartProduction}\label{wxsoundfilestreamstartproduction}
|
||||||
|
\func{bool}{StartProduction}{\param{int }{evt}}
|
||||||
|
|
||||||
|
It is really not advised you call this function. From the wxSoundFileStream
|
||||||
|
point of view it is an internal function. Internally, it is called after
|
||||||
|
the file stream has been prepared to be played or to receive audio data and
|
||||||
|
when it wants to start processing audio data.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::StopProduction}\label{wxsoundfilestreamstopproduction}
|
||||||
|
\func{bool}{StopProduction}{\void}
|
||||||
|
|
||||||
|
As for \helpref{StartProduction}{wxsoundfilestreamstopproduction}, it is not
|
||||||
|
advised for you to call this function. It is called by
|
||||||
|
\helpref{Stop}{wxsoundfilestreamstop} when it needs to stop the audio data
|
||||||
|
processing.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::GetLength}\label{wxsoundfilestreamgetlength}
|
||||||
|
\func{wxUint32}{GetLength}{\void}
|
||||||
|
|
||||||
|
It returns the audio data length of the file stream. This length is expressed
|
||||||
|
in bytes. If you need the length in seconds, you will need to use
|
||||||
|
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
|
||||||
|
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::GetPosition}\label{wxsoundfilestreamgetposition}
|
||||||
|
\func{wxUint32}{GetPosition}{\void}
|
||||||
|
|
||||||
|
It returns the current position in the soundfile stream. The position
|
||||||
|
is expressed in bytes. If you need the length in seconds, you will need to use
|
||||||
|
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
|
||||||
|
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::SetPosition}\label{wxsoundfilestreamsetposition}
|
||||||
|
\func{wxUint32}{SetPosition}{\param{wxUint32 }{new\_position}}
|
||||||
|
|
||||||
|
It sets the current in the soundfile stream. The position
|
||||||
|
{\it new\_position} must be expressed in bytes. You can get
|
||||||
|
a length/position in bytes from a time value using
|
||||||
|
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
|
||||||
|
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
|
||||||
|
|
||||||
|
On success, it returns TRUE.
|
||||||
|
|
||||||
|
\wxheading{Warning}
|
||||||
|
|
||||||
|
Some wxStream may not be capable to support this function as
|
||||||
|
it may not support the seekable functionnality. If this happens,
|
||||||
|
it returns FALSE and leave the stream at the same position.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Read}\label{wxsoundfilestreamread}
|
||||||
|
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
|
||||||
|
|
||||||
|
You can obtain the audio data encoded in the file using this function.
|
||||||
|
But it must be considered as an internal function. Used carelessly, it
|
||||||
|
may corrupt the current state of the stream.
|
||||||
|
Data are returned using in the original file coding (You must use a sound
|
||||||
|
format object to decode it).
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::Write}\label{wxsoundfilestreamwrite}
|
||||||
|
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
|
||||||
|
|
||||||
|
You can put encoded audio data to the file using this function.
|
||||||
|
But it must be considered as an internal function. Used carelessly, it
|
||||||
|
may corrupt the current state of the stream.
|
||||||
|
Data must be coded with the specified file coding (You must use a sound
|
||||||
|
format object to do this).
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::SetSoundFormat}\label{wxsoundfilestreamsetsoundformat}
|
||||||
|
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::GetCodecName}\label{wxsoundfilestreamgetcodecname}
|
||||||
|
\constfunc{wxString}{GetCodecName}{\void}
|
||||||
|
|
||||||
|
This function returns the Codec name. This is useful for those who
|
||||||
|
want to build a player (But also in some other case).
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::CanRead}\label{wxsoundfilestreamcanread}
|
||||||
|
\func{bool}{CanRead}{\void}
|
||||||
|
|
||||||
|
You should use this function to test whether this file codec can read
|
||||||
|
the stream you passed to it.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::PrepareToPlay}\label{wxsoundfilestreampreparetoplay}
|
||||||
|
\func{bool}{PrepareToPlay}{\void}
|
||||||
|
|
||||||
|
It is called by wxSoundFileStream to prepare the specific file loader
|
||||||
|
to prepare itself to play the file. Actually, this includes reading
|
||||||
|
headers and setting the various parameters of the sound format.
|
||||||
|
This should not be called by an external user but it should be
|
||||||
|
implemented when you inherit wxSoundFileStream to build a new codec.
|
||||||
|
|
||||||
|
It must return when the file is identified and the parameters have
|
||||||
|
been set. In all other cases, you must return FALSE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::PrepareToRecord}\label{wxsoundfilestreampreparetorecord}
|
||||||
|
\func{bool}{PrepareToRecord}{\param{wxUint32 }{time}}
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::FinishRecording}\label{wxsoundfilestreamfinishrecording}
|
||||||
|
\func{bool}{FinishRecording}{\void}
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::RepositionStream}\label{wxsoundfilestreamrepositionstream}
|
||||||
|
\func{bool}{RepositionStream}{\param{wxUint32 }{position}}
|
||||||
|
|
||||||
|
This is called by wxSoundFileStream::SetPosition to seek the input stream
|
||||||
|
to the right position. This must be overidden by the file codec class.
|
||||||
|
The position is relative to the beginning of the samples.
|
||||||
|
If it is impossible (as for a piped input stream), you must return FALSE.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::FinishPreparation}\label{wxsoundfilestreamfinishpreparation}
|
||||||
|
\func{void}{FinishPreparation}{\param{wxUint32 }{len}}
|
||||||
|
|
||||||
|
This is an internal function but it must called by the file codec class when
|
||||||
|
the "playing" preparation is finished and you know the size of the stream.
|
||||||
|
If it is an {\it infinite} stream, you should set this to wxSOUND\_INFINITE\_TIME.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::GetData}\label{wxsoundfilestreamgetdata}
|
||||||
|
\func{wxUint32}{GetData}{\param{void* }{buffer}, \param{wxUint32 }{len}}
|
||||||
|
|
||||||
|
This is called by wxSoundFileStream when it needs to get new sound data to
|
||||||
|
send to the device driver (or to a conversion codec). This must be eventually
|
||||||
|
overidden by the file codec class. The default behaviour is simply to read from
|
||||||
|
the input stream.
|
||||||
|
|
||||||
|
\membersection{wxSoundFileStream::PutData}\label{wxsoundfilestreamputdata}
|
||||||
|
\func{wxUint32}{PutData}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
|
||||||
|
|
||||||
|
This is called by wxSoundFileStream when it needs to put new sound data received
|
||||||
|
from the device driver (or from a conversion codec). This must be eventually
|
||||||
|
overidden by the file codec class. The default behaviour is simply to write to
|
||||||
|
the input stream.
|
37
contrib/docs/latex/mmedia/sndrter.tex
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
%
|
||||||
|
% automatically generated by HelpGen from
|
||||||
|
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndfile.h at 26/Feb/00 14:26:42
|
||||||
|
%
|
||||||
|
|
||||||
|
|
||||||
|
\section{\class{wxSoundRouterStream}}\label{wxsoundrouterstream}
|
||||||
|
|
||||||
|
This is the router "codec" class. It should do codec routing when the device
|
||||||
|
driver does not deal with a format.
|
||||||
|
|
||||||
|
\wxheading{Derived from}
|
||||||
|
|
||||||
|
\helpref{wxSoundStreamCodec}{wxsoundstreamcodec}
|
||||||
|
|
||||||
|
\wxheading{Data structures}
|
||||||
|
|
||||||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
\membersection{wxSoundRouterStream::wxSoundRouterStream}\label{wxsoundrouterstreamwxsoundrouterstream}
|
||||||
|
\func{}{wxSoundRouterStream}{\param{wxSoundStream\& }{sndio}}
|
||||||
|
|
||||||
|
\helpref{wxSoundCodec}{wxsoundcodec}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxSoundRouterStream::\destruct{wxSoundRouterStream}}\label{wxsoundrouterstreamdtor}
|
||||||
|
\func{}{\destruct{wxSoundRouterStream}}{\void}
|
||||||
|
|
||||||
|
Destructor.
|
||||||
|
|
||||||
|
\membersection{wxSoundRouterStream::SetSoundFormat}\label{wxsoundrouterstreamsetsoundformat}
|
||||||
|
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
|
||||||
|
|
||||||
|
SetSoundFormat will first try to setup the device driver with the specified
|
||||||
|
format. If this fails, it will try to find a codec which will convert the
|
||||||
|
input format to a valid format for the device driver. It uses an internal
|
||||||
|
codec database.
|
34
contrib/docs/latex/mmedia/tex2rtf.ini
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
runTwice = yes
|
||||||
|
titleFontSize = 12
|
||||||
|
authorFontSize = 10
|
||||||
|
chapterFontSize = 12
|
||||||
|
sectionFontSize = 12
|
||||||
|
subsectionFontSize = 12
|
||||||
|
headerRule = yes
|
||||||
|
footerRule = yes
|
||||||
|
useHeadingStyles = yes
|
||||||
|
listItemIndent=40
|
||||||
|
generateHPJ = yes
|
||||||
|
htmlBrowseButtons = bitmap
|
||||||
|
winHelpVersion = 3
|
||||||
|
winHelpContents = yes
|
||||||
|
winHelpTitle = "MMedia Manual"
|
||||||
|
truncateFilenames = yes
|
||||||
|
combineSubSections = yes
|
||||||
|
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
|
||||||
|
\htmlonly{\image{}{books.gif}}\helpref{#1}{#2}
|
||||||
|
\sethotspotcolour{on}\sethotspotunderline{on}}
|
||||||
|
\docparam [2]{\parskip{0}{\it #1}\htmlignore{\par}\parskip{10}\indented{1cm}{#2}}
|
||||||
|
\wxheading [1]{{\bf \htmlignore{\fcol{blue}{#1}}\htmlonly{\fcol{red}{#1}}}}
|
||||||
|
\const [0] {{\bf const}}
|
||||||
|
\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
|
||||||
|
\windowstyle [1] {{\bf #1}\index{#1}}
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; These two are for generating MS HTML Help project, contents and index files.
|
||||||
|
;;
|
||||||
|
htmlWorkshopFiles = true
|
||||||
|
htmlIndex = true
|
||||||
|
\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
|
||||||
|
%\pythonnote [1] {}
|
||||||
|
|
10
contrib/docs/latex/mmedia/topics.tex
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
\chapter{Topic overviews}\label{overviews}
|
||||||
|
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||||
|
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||||
|
|
||||||
|
The following sections describe particular topics.
|
||||||
|
|
||||||
|
\section{MMedia extension overview}\label{mmedoverview}
|
||||||
|
|
||||||
|
To be written.
|
||||||
|
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
@@ -9,7 +9,7 @@ Classes definition
|
|||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
wxObject
|
||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Data structures}
|
||||||
|
|
148
contrib/docs/latex/mmedia/vidwin.tex
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
%
|
||||||
|
% automatically generated by HelpGen from
|
||||||
|
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/vidwin.h at 26/Feb/00 14:52:03
|
||||||
|
%
|
||||||
|
|
||||||
|
|
||||||
|
\section{\class{wxVideoWindows}}\label{wxvideowindows}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Class definition
|
||||||
|
|
||||||
|
\wxheading{Derived from}
|
||||||
|
|
||||||
|
\helpref{wxVideoBaseDriver}{wxvideobasedriver}
|
||||||
|
|
||||||
|
\wxheading{Data structures}
|
||||||
|
|
||||||
|
{\small \begin{verbatim}
|
||||||
|
typedef struct VIDW\_Internal {
|
||||||
|
MCIDEVICEID m\_dev\_id
|
||||||
|
};
|
||||||
|
\end{verbatim}}
|
||||||
|
|
||||||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::OpenFile}\label{wxvideowindowsopenfile}
|
||||||
|
|
||||||
|
\func{void}{OpenFile}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
|
||||||
|
|
||||||
|
\func{}{wxVideoWindows}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
|
||||||
|
|
||||||
|
\func{}{wxVideoWindows}{\param{wxInputStream\& }{str}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
|
||||||
|
|
||||||
|
\func{}{wxVideoWindows}{\param{const wxString\& }{fname}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::\destruct{wxVideoWindows}}\label{wxvideowindowsdtor}
|
||||||
|
|
||||||
|
\func{}{\destruct{wxVideoWindows}}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::Play}\label{wxvideowindowsplay}
|
||||||
|
|
||||||
|
\func{bool}{Play}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::Stop}\label{wxvideowindowsstop}
|
||||||
|
|
||||||
|
\func{bool}{Stop}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::Pause}\label{wxvideowindowspause}
|
||||||
|
|
||||||
|
\func{bool}{Pause}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::Resume}\label{wxvideowindowsresume}
|
||||||
|
|
||||||
|
\func{bool}{Resume}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetSize}\label{wxvideowindowsgetsize}
|
||||||
|
|
||||||
|
\constfunc{bool}{GetSize}{\param{wxSize\& }{size}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::SetSize}\label{wxvideowindowssetsize}
|
||||||
|
|
||||||
|
\func{bool}{SetSize}{\param{wxSize }{size}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetMovieCodec}\label{wxvideowindowsgetmoviecodec}
|
||||||
|
|
||||||
|
\constfunc{wxString}{GetMovieCodec}{\void}
|
||||||
|
|
||||||
|
Return codec name for each stream.
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetAudioCodec}\label{wxvideowindowsgetaudiocodec}
|
||||||
|
|
||||||
|
\constfunc{wxString}{GetAudioCodec}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetSampleRate}\label{wxvideowindowsgetsamplerate}
|
||||||
|
|
||||||
|
\constfunc{wxUint32}{GetSampleRate}{\void}
|
||||||
|
|
||||||
|
Return misc. info about audio
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetChannels}\label{wxvideowindowsgetchannels}
|
||||||
|
|
||||||
|
\constfunc{wxUint8}{GetChannels}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetBPS}\label{wxvideowindowsgetbps}
|
||||||
|
|
||||||
|
\constfunc{wxUint8}{GetBPS}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetFrameRate}\label{wxvideowindowsgetframerate}
|
||||||
|
|
||||||
|
\constfunc{double}{GetFrameRate}{\void}
|
||||||
|
|
||||||
|
Return the frame rate of the video (in frames/second)
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::GetNbFrames}\label{wxvideowindowsgetnbframes}
|
||||||
|
|
||||||
|
\constfunc{wxUint32}{GetNbFrames}{\void}
|
||||||
|
|
||||||
|
Return the total number of frames in the movie
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::IsCapable}\label{wxvideowindowsiscapable}
|
||||||
|
|
||||||
|
\func{bool}{IsCapable}{\param{wxVideoType }{v\_type}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::AttachOutput}\label{wxvideowindowsattachoutput}
|
||||||
|
|
||||||
|
\func{bool}{AttachOutput}{\param{wxWindow\& }{output}}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::DetachOutput}\label{wxvideowindowsdetachoutput}
|
||||||
|
|
||||||
|
\func{void}{DetachOutput}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::IsPaused}\label{wxvideowindowsispaused}
|
||||||
|
|
||||||
|
\constfunc{bool}{IsPaused}{\void}
|
||||||
|
|
||||||
|
|
||||||
|
\membersection{wxVideoWindows::IsStopped}\label{wxvideowindowsisstopped}
|
||||||
|
|
||||||
|
\constfunc{bool}{IsStopped}{\void}
|
||||||
|
|
BIN
contrib/docs/latex/ogl/back.gif
Normal file
After Width: | Height: | Size: 978 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 138 B |
BIN
contrib/docs/latex/ogl/contents.gif
Normal file
After Width: | Height: | Size: 996 B |
BIN
contrib/docs/latex/ogl/forward.gif
Normal file
After Width: | Height: | Size: 959 B |
17
contrib/docs/latex/ogl/ogl.hpj
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[OPTIONS]
|
||||||
|
BMROOT=d:\wx2\wxwind~1\contrib\docs\latex\ogl ; Assume that bitmaps are where the source is
|
||||||
|
TITLE=OGL Manual
|
||||||
|
CONTENTS=Contents
|
||||||
|
COMPRESS=HIGH
|
||||||
|
|
||||||
|
[FILES]
|
||||||
|
ogl.rtf
|
||||||
|
|
||||||
|
[CONFIG]
|
||||||
|
CreateButton("Up", "&Up", "JumpId(`ogl.hlp', `Contents')")
|
||||||
|
BrowseButtons()
|
||||||
|
|
||||||
|
[MAP]
|
||||||
|
|
||||||
|
[BITMAPS]
|
||||||
|
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
298
contrib/docs/latex/ogl/texhelp.sty
Normal file
@@ -0,0 +1,298 @@
|
|||||||
|
% LaTeX style file
|
||||||
|
% Name: texhelp.sty
|
||||||
|
% Author: Julian Smart
|
||||||
|
%
|
||||||
|
% Purpose
|
||||||
|
% -------
|
||||||
|
% Style file to enable the simultaneous preparation of printed LaTeX and on-line
|
||||||
|
% hypertext manuals.
|
||||||
|
% Use in conjunction with Tex2RTF (see Tex2RTF documentation).
|
||||||
|
%
|
||||||
|
% Note that if a non-ASCII character starts a newline and there should be a space
|
||||||
|
% between the last word on the previous line and the first word on this line,
|
||||||
|
% you need to use \rtfsp to generate a space in Windows Help. \rtfsp is ignored
|
||||||
|
% in all other formats.
|
||||||
|
%
|
||||||
|
% Julian Smart
|
||||||
|
% Artificial Intelligence Applications Institute
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% ============== C++/CLIPS Documentation Facilities ==============
|
||||||
|
%
|
||||||
|
% Each class definition should be typeset with e.g.
|
||||||
|
%
|
||||||
|
% \section{\class{Name}: Parent}
|
||||||
|
%
|
||||||
|
% followed by a description of the class.
|
||||||
|
% Each member should follow:
|
||||||
|
%
|
||||||
|
% \membersection{wxName::Member}
|
||||||
|
%
|
||||||
|
% with a description of what this member does.
|
||||||
|
% Then, one (or more if overloaded) member (function) in detail:
|
||||||
|
%
|
||||||
|
% \func{return type}{name}{args}
|
||||||
|
% or
|
||||||
|
% \member{type}{name}
|
||||||
|
%
|
||||||
|
% where args is a list of \param{type}{name}, ...
|
||||||
|
|
||||||
|
% Function, e.g.
|
||||||
|
% e.g. to typeset
|
||||||
|
%
|
||||||
|
% void DoIt(char *string);
|
||||||
|
%
|
||||||
|
% write:
|
||||||
|
%
|
||||||
|
% \func{void}{DoIt}{\param{char *}{string}}
|
||||||
|
%
|
||||||
|
|
||||||
|
\newcommand{\func}[3]{\hangafter=1\noindent\hangindent=10mm
|
||||||
|
{{\it #1} {\bf #2}\index{#2}}(#3)}
|
||||||
|
|
||||||
|
% For function/type definition where the name is a pointer,
|
||||||
|
% e.g. to typeset
|
||||||
|
%
|
||||||
|
% typedef void (*wxFunction)(wxObject&)
|
||||||
|
%
|
||||||
|
% write:
|
||||||
|
%
|
||||||
|
% \pfunc{typedef void}{wxFunction}{param{wxObject&}}
|
||||||
|
|
||||||
|
\newcommand{\pfunc}[3]{\hangafter=1\noindent\hangindent=10mm
|
||||||
|
{{\it #1} ({\bf *#2})\index{#2}}(#3)}
|
||||||
|
|
||||||
|
% Use an ordinary \section command for class name definitions.
|
||||||
|
|
||||||
|
% This is used for a member, such as wxBitmap: GetDepth
|
||||||
|
\newcommand{\membersection}[1]{\subsection*{#1}\index{#1}}
|
||||||
|
|
||||||
|
% CLIPS function
|
||||||
|
\newcommand{\clipsfunc}[3]{\hangafter=1\noindent\hangindent=10mm
|
||||||
|
{{\bf #1} ({\bf #2}\index{#2}}#3)}
|
||||||
|
|
||||||
|
\newcommand{\clipssection}[1]{\chapter{#1}}
|
||||||
|
|
||||||
|
% This is used for a CLIPS function name
|
||||||
|
\newcommand{\functionsection}[1]{\subsection*{#1}}
|
||||||
|
|
||||||
|
% Member: a type and a name
|
||||||
|
\newcommand{\member}[2]{{\bf #1 \it #2}}
|
||||||
|
|
||||||
|
% C++ Parameter: a type and a name (no intervening space)
|
||||||
|
\newcommand{\param}[2]{{\it #1}{\bf #2}}
|
||||||
|
|
||||||
|
% CLIPS Parameter: a type and a name (one intervening space)
|
||||||
|
\newcommand{\cparam}[2]{{\bf #1} {\it #2}}
|
||||||
|
|
||||||
|
% Class: puts in index
|
||||||
|
\newcommand{\class}[1]{#1\index{#1}}
|
||||||
|
|
||||||
|
%\newcommand{\docparam}[2]{\parskip=0pt {\it #1}\par\parskip=10pt\begin{indented}{1cm}{#2}\end{indented}}
|
||||||
|
|
||||||
|
% Void type
|
||||||
|
\newcommand{\void}{{\it void}}
|
||||||
|
|
||||||
|
% Typeset destructor
|
||||||
|
\newcommand{\destruct}[1]{{$\sim$}#1}
|
||||||
|
|
||||||
|
% Typeset insert/extract operators
|
||||||
|
\newcommand{\cinsert}{$<<$}
|
||||||
|
\newcommand{\cextract}{$>>$}
|
||||||
|
|
||||||
|
|
||||||
|
% =================== Hypertext facilities ===================
|
||||||
|
%
|
||||||
|
% To insert hyperlinks (or references, in Latex), \label the sections
|
||||||
|
% or membersections \label{ref-label} immediately after the section, on the same line,
|
||||||
|
% and use \helpref{text-to-show}{ref-label} to make a reference.
|
||||||
|
%
|
||||||
|
|
||||||
|
% Type text with section reference
|
||||||
|
\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) }
|
||||||
|
|
||||||
|
% Type text with URL in verbatim mode
|
||||||
|
\newcommand{\urlref}[2]{#1 (\verb$#2$)}
|
||||||
|
|
||||||
|
% Don't typeset section number in LaTeX
|
||||||
|
\newcommand{\helprefn}[2]{{\it #1}}
|
||||||
|
|
||||||
|
% Like helpref, but popup text in WinHelp instead of hyperlinked
|
||||||
|
\newcommand{\popref}[2]{{\it #1}}
|
||||||
|
|
||||||
|
% Like footnote, but popup text.
|
||||||
|
\newcommand{\footnotepopup}[2]{{\it #1}\footnote{#2}}
|
||||||
|
|
||||||
|
% =================== On-line help specific macros ===================
|
||||||
|
%
|
||||||
|
|
||||||
|
% Global document font size/family, help only.
|
||||||
|
\newcommand{\helpfontsize}[1]{}
|
||||||
|
\newcommand{\helpfontfamily}[1]{}
|
||||||
|
|
||||||
|
% Ignore in all on-line help
|
||||||
|
\newcommand{\helpignore}[1]{#1}
|
||||||
|
% Only print in all on-line help
|
||||||
|
\newcommand{\helponly}[1]{}
|
||||||
|
|
||||||
|
% Ignore in LaTeX
|
||||||
|
\newcommand{\latexignore}[1]{}
|
||||||
|
% Only print in LaTeX
|
||||||
|
\newcommand{\latexonly}[1]{#1}
|
||||||
|
|
||||||
|
% Ignore in linear RTF
|
||||||
|
\newcommand{\rtfignore}[1]{#1}
|
||||||
|
% Only print in linear RTF
|
||||||
|
\newcommand{\rtfonly}[1]{}
|
||||||
|
|
||||||
|
% Ignore in WinHelp RTF
|
||||||
|
\newcommand{\winhelpignore}[1]{#1}
|
||||||
|
% Only print in WinHelp RTF
|
||||||
|
\newcommand{\winhelponly}[1]{}
|
||||||
|
|
||||||
|
% Ignore in wxHelp
|
||||||
|
\newcommand{\xlpignore}[1]{#1}
|
||||||
|
% Only print in wxHelp
|
||||||
|
\newcommand{\xlponly}[1]{}
|
||||||
|
|
||||||
|
% Ignore in HTML
|
||||||
|
\newcommand{\htmlignore}[1]{#1}
|
||||||
|
% Only print in HTML
|
||||||
|
\newcommand{\htmlonly}[1]{}
|
||||||
|
|
||||||
|
% Input a file only for help system (binder thickness is not a limitation
|
||||||
|
% in help systems!)
|
||||||
|
\newcommand{\helpinput}[1]{}
|
||||||
|
|
||||||
|
\newcommand{\rtfsp}{ } % Force a space in RTF, ignore in Latex
|
||||||
|
|
||||||
|
% =================== Miscellaneous macros ===================
|
||||||
|
%
|
||||||
|
% Headings consistent with generated ones
|
||||||
|
\newcommand{\myheading}[1]{\vspace*{25pt}
|
||||||
|
\begin{flushleft}
|
||||||
|
{\LARGE \bf #1}
|
||||||
|
\end{flushleft}
|
||||||
|
\vskip 20pt
|
||||||
|
}
|
||||||
|
|
||||||
|
% Heading with entry in contents page.
|
||||||
|
\newcommand{\chapterheading}[1]{\myheading{#1}
|
||||||
|
\addcontentsline{toc}{chapter}{#1}}
|
||||||
|
|
||||||
|
\newcommand{\sectionheading}[1]{\myheading{#1}
|
||||||
|
\addcontentsline{toc}{section}{#1}}
|
||||||
|
|
||||||
|
% Glossary environment
|
||||||
|
\newenvironment{helpglossary}{\newpage\chapterheading{Glossary}\begin{description}}{\end{description}}
|
||||||
|
|
||||||
|
% Glossary entry
|
||||||
|
\newcommand{\gloss}[1]{\item[#1]\index{#1}}
|
||||||
|
|
||||||
|
% Image: EPS in Latex, BMP or MF (whatever's available) in RTF. Requires psbox.
|
||||||
|
\newcommand{\image}[2]{\psboxto(#1){#2}}
|
||||||
|
|
||||||
|
% Image, left aligned (HTML)
|
||||||
|
\newcommand{\imager}[2]{\psboxto(#1){#2}}
|
||||||
|
|
||||||
|
% Image, right aligned (HTML)
|
||||||
|
\newcommand{\imagel}[2]{\psboxto(#1){#2}}
|
||||||
|
|
||||||
|
% Imagemap: principally for HTML only. In Latex,
|
||||||
|
% acts like \image.
|
||||||
|
\newcommand{\imagemap}[3]{\psboxto(#1){#2}}
|
||||||
|
|
||||||
|
% Headers and footers
|
||||||
|
% \setheader{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
|
||||||
|
% {OddPageLeft}{OddPageCentre}{OddPageRight}
|
||||||
|
\newcommand{\setheader}[6]{
|
||||||
|
\lhead[\fancyplain{}{#1}]{\fancyplain{}{#4}}
|
||||||
|
\chead[\fancyplain{}{#2}]{\fancyplain{}{#5}}
|
||||||
|
\rhead[\fancyplain{}{#3}]{\fancyplain{}{#6}}
|
||||||
|
}
|
||||||
|
|
||||||
|
% \setfooter{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
|
||||||
|
% {OddPageLeft}{OddPageCentre}{OddPageRight}
|
||||||
|
\newcommand{\setfooter}[6]{
|
||||||
|
\lfoot[\fancyplain{#1}{#1}]{\fancyplain{#4}{#4}}
|
||||||
|
\cfoot[\fancyplain{#2}{#2}]{\fancyplain{#5}{#5}}
|
||||||
|
\rfoot[\fancyplain{#3}{#3}]{\fancyplain{#6}{#6}}
|
||||||
|
}
|
||||||
|
|
||||||
|
% Needed for telling RTF where margin paragraph should go
|
||||||
|
% in mirrored margins mode.
|
||||||
|
\newcommand{\marginpareven}[1]{\hspace*{0pt}\marginpar{#1}}
|
||||||
|
\newcommand{\marginparodd}[1]{\hspace*{0pt}\marginpar{#1}}
|
||||||
|
|
||||||
|
% Environment for two-column table popular in WinHelp and manuals.
|
||||||
|
\newcommand{\twocolwidtha}[1]{\def\twocolwidthaval{#1}}
|
||||||
|
\newcommand{\twocolwidthb}[1]{\def\twocolwidthbval{#1}}
|
||||||
|
\newcommand{\twocolspacing}[1]{\def\twocolspacingval{#1}}
|
||||||
|
|
||||||
|
\twocolwidtha{3cm}
|
||||||
|
\twocolwidthb{8.5cm}
|
||||||
|
\twocolspacing{2}
|
||||||
|
|
||||||
|
\newcommand{\twocolitem}[2]{#1 & #2\\}
|
||||||
|
\newcommand{\twocolitemruled}[2]{#1 & #2\\\hline}
|
||||||
|
|
||||||
|
\newenvironment{twocollist}{\renewcommand{\arraystretch}{\twocolspacingval}\begin{tabular}{lp{\twocolwidthbval}}}%
|
||||||
|
{\end{tabular}\renewcommand{\arraystretch}{1}}
|
||||||
|
|
||||||
|
% Specifying table rows for RTF compatibility
|
||||||
|
\newcommand{\row}[1]{#1\\}
|
||||||
|
|
||||||
|
% Use for the last ruled row for correct RTF generation.
|
||||||
|
\newcommand{\ruledrow}[1]{#1\\\hline}
|
||||||
|
|
||||||
|
% Indentation environment. Arg1 is left margin size
|
||||||
|
\newenvironment{indented}[1]{\begin{list}{}{\leftmargin=#1}\item[]}%
|
||||||
|
{\end{list}}
|
||||||
|
|
||||||
|
% Framed box of text, normal formatting.
|
||||||
|
\newcommand{\normalbox}[1]{\fbox{\vbox{#1}}}
|
||||||
|
% Double-framed box of text.
|
||||||
|
\newcommand{\normalboxd}[1]{\fbox{\fbox{\vbox{#1}}}}
|
||||||
|
|
||||||
|
% WITHDRAWN -- can't do in RTF, easily.
|
||||||
|
% Framed box of text, horizontally centred. Ragged right within box.
|
||||||
|
% \newcommand{\centeredbox}[2]{\begin{center}\fbox{\parbox{#1}{\raggedright#2}}\end{center}}
|
||||||
|
% Double-framed box of text, horizontally centred. Ragged right within box.
|
||||||
|
% \newcommand{\centeredboxd}[2]{\begin{center}\fbox{\fbox{\parbox{#1}{\raggedright#2}}}\end{center}}
|
||||||
|
|
||||||
|
% toocomplex environment: simply prints the argument in LaTeX,
|
||||||
|
% comes out verbatim in all generated formats.
|
||||||
|
\newenvironment{toocomplex}{}{}
|
||||||
|
|
||||||
|
% Colour: dummy commands since LaTeX doesn't support colour.
|
||||||
|
% \definecolour{name}{red}{blue}{green}
|
||||||
|
% \fcol{name}{text} ; Foreground
|
||||||
|
% \bcol{name}{text} ; Background
|
||||||
|
\newcommand{\definecolour}[4]{}
|
||||||
|
\newcommand{\definecolor}[4]{}
|
||||||
|
\newcommand{\fcol}[2]{#2}
|
||||||
|
\newcommand{\bcol}[2]{#2}
|
||||||
|
\newcommand{\sethotspotcolour}[1]{}
|
||||||
|
\newcommand{\sethotspotunderline}[1]{}
|
||||||
|
\newcommand{\settransparency}[1]{}
|
||||||
|
\newcommand{\backslashraw}[0]{}
|
||||||
|
\newcommand{\lbraceraw}[0]{}
|
||||||
|
\newcommand{\rbraceraw}[0]{}
|
||||||
|
\newcommand{\registered}[0]{(r)}
|
||||||
|
\newcommand{\background}[1]{}
|
||||||
|
\newcommand{\textcolour}[1]{}
|
||||||
|
\newcommand{\overview}[2]{See \helpref{#1}{#2}.}
|
||||||
|
\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[]
|
||||||
|
#2%
|
||||||
|
\end{list}}
|
||||||
|
\newcommand{\wxheading}[1]{{\bf #1}}
|
||||||
|
\newcommand{\const}[0]{{\bf const}}
|
||||||
|
\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
|
||||||
|
\newcommand{\windowstyle}[1]{{\bf #1}\index{#1}}
|
||||||
|
|
||||||
|
\addtolength{\textwidth}{1in}
|
||||||
|
\addtolength{\oddsidemargin}{-0.5in}
|
||||||
|
\addtolength{\topmargin}{-0.5in}
|
||||||
|
\addtolength{\textheight}{1in}
|
||||||
|
\sloppy
|
||||||
|
|
BIN
contrib/docs/latex/ogl/up.gif
Normal file
After Width: | Height: | Size: 998 B |
@@ -1,22 +1,20 @@
|
|||||||
// -*- c++ -*-
|
// ---------------------------------------------------------------------------
|
||||||
// /////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: cdbase.h
|
// Name: cdbase.h
|
||||||
// Purpose: wxMMedia
|
// Purpose: wxMMedia
|
||||||
// Author: Guilhem Lavaux
|
// Author: Guilhem Lavaux
|
||||||
// Created: 1997
|
// Created: 1997
|
||||||
// Updated: 1998
|
// Updated: 1998, 1999, 2000
|
||||||
// Copyright: (C) 1997, 1998, Guilhem Lavaux
|
// Copyright: (C) 1997, 1998, 1999, 2000 Guilhem Lavaux
|
||||||
// License: wxWindows license
|
// License: wxWindows license
|
||||||
// /////////////////////////////////////////////////////////////////////////////
|
// ---------------------------------------------------------------------------
|
||||||
#ifndef __CDA_base_H__
|
#ifndef __CDA_base_H__
|
||||||
#define __CDA_base_H__
|
#define __CDA_base_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma interface
|
#pragma interface "cdbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/wxprec.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#include "wx/object.h"
|
#include "wx/object.h"
|
||||||
|
|
||||||
typedef struct wxCDtime {
|
typedef struct wxCDtime {
|
||||||
@@ -29,7 +27,7 @@ class WXDLLEXPORT wxCDAudio : public wxObject {
|
|||||||
public:
|
public:
|
||||||
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus;
|
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus;
|
||||||
// Table of contents manager
|
// Table of contents manager
|
||||||
class CDtoc {
|
class WXDLLEXPORT CDtoc {
|
||||||
protected:
|
protected:
|
||||||
wxCDtime *tracks_time, *tracks_pos;
|
wxCDtime *tracks_time, *tracks_pos;
|
||||||
wxCDtime total_time;
|
wxCDtime total_time;
|
58
contrib/include/wx/mmedia/cdunix.h
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Name: cdunix.h
|
||||||
|
// Purpose: wxMMedia
|
||||||
|
// Author: Guilhem Lavaux
|
||||||
|
// Created: 1997
|
||||||
|
// Updated: 2000
|
||||||
|
// Copyright: (C) 1997, 1998, 1999, 2000 Guilhem Lavaux
|
||||||
|
// License: wxWindows license
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
#ifndef __CDUNIXH__
|
||||||
|
#define __CDUNIXH__
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "cdunix.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
#include "wx/object.h"
|
||||||
|
#include "wx/string.h"
|
||||||
|
#include "wx/mmedia/cdbase.h"
|
||||||
|
|
||||||
|
///
|
||||||
|
class WXDLLEXPORT wxCDAudioLinux : public wxCDAudio {
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxCDAudioLinux)
|
||||||
|
protected:
|
||||||
|
wxCDtime m_time;
|
||||||
|
CDstatus m_status;
|
||||||
|
CDtoc *m_toc;
|
||||||
|
int m_fd;
|
||||||
|
wxCDtime *m_trksize, *m_trkpos;
|
||||||
|
public:
|
||||||
|
///
|
||||||
|
wxCDAudioLinux();
|
||||||
|
///
|
||||||
|
wxCDAudioLinux(const wxString& dev_name);
|
||||||
|
///
|
||||||
|
virtual ~wxCDAudioLinux();
|
||||||
|
|
||||||
|
///
|
||||||
|
virtual bool Play(const wxCDtime& beg_time, const wxCDtime& end_time);
|
||||||
|
///
|
||||||
|
virtual bool Pause();
|
||||||
|
///
|
||||||
|
virtual bool Resume();
|
||||||
|
///
|
||||||
|
virtual CDstatus GetStatus();
|
||||||
|
///
|
||||||
|
virtual wxCDtime GetTime();
|
||||||
|
///
|
||||||
|
virtual CDtoc& GetToc();
|
||||||
|
///
|
||||||
|
virtual inline bool Ok() const { return (m_fd != -1); }
|
||||||
|
protected:
|
||||||
|
///
|
||||||
|
void OpenDevice(const wxString& dev_name);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@@ -12,16 +12,17 @@
|
|||||||
#pragma interface "sndaiff.h"
|
#pragma interface "sndaiff.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/stream.h>
|
#include "wx/defs.h"
|
||||||
#include "sndbase.h"
|
#include "wx/stream.h"
|
||||||
#include "sndcodec.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
#include "sndfile.h"
|
#include "wx/mmedia/sndcodec.h"
|
||||||
|
#include "wx/mmedia/sndfile.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// AIFF codec
|
// AIFF codec
|
||||||
//
|
//
|
||||||
|
|
||||||
class wxSoundAiff: public wxSoundFileStream {
|
class WXDLLEXPORT wxSoundAiff: public wxSoundFileStream {
|
||||||
public:
|
public:
|
||||||
wxSoundAiff(wxInputStream& stream, wxSoundStream& io_sound);
|
wxSoundAiff(wxInputStream& stream, wxSoundStream& io_sound);
|
||||||
wxSoundAiff(wxOutputStream& stream, wxSoundStream& io_sound);
|
wxSoundAiff(wxOutputStream& stream, wxSoundStream& io_sound);
|
@@ -12,7 +12,7 @@
|
|||||||
#pragma interface "sndbase.h"
|
#pragma interface "sndbase.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/defs.h>
|
#include "wx/defs.h"
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
// DEFINITIONS
|
// DEFINITIONS
|
||||||
@@ -61,6 +61,8 @@ typedef enum {
|
|||||||
// may happen when you call
|
// may happen when you call
|
||||||
// wxSoundRouterStream::SetSoundFormat().
|
// wxSoundRouterStream::SetSoundFormat().
|
||||||
// - wxSOUND_MEMERR: Not enough memory.
|
// - wxSOUND_MEMERR: Not enough memory.
|
||||||
|
// - wxSOUND_NOTSTARTED: You did not start the production using
|
||||||
|
// StartProduction()
|
||||||
// ---------------------
|
// ---------------------
|
||||||
typedef enum {
|
typedef enum {
|
||||||
wxSOUND_NOERROR,
|
wxSOUND_NOERROR,
|
||||||
@@ -70,7 +72,8 @@ typedef enum {
|
|||||||
wxSOUND_NOEXACT,
|
wxSOUND_NOEXACT,
|
||||||
wxSOUND_INVSTRM,
|
wxSOUND_INVSTRM,
|
||||||
wxSOUND_NOCODEC,
|
wxSOUND_NOCODEC,
|
||||||
wxSOUND_MEMERROR
|
wxSOUND_MEMERROR,
|
||||||
|
wxSOUND_NOTSTARTED
|
||||||
} wxSoundError;
|
} wxSoundError;
|
||||||
|
|
||||||
class WXDLLEXPORT wxSoundStream;
|
class WXDLLEXPORT wxSoundStream;
|
||||||
@@ -109,7 +112,7 @@ class WXDLLEXPORT wxSoundFormatBase {
|
|||||||
// Base class for sound streams
|
// Base class for sound streams
|
||||||
//
|
//
|
||||||
|
|
||||||
class wxSoundStream {
|
class WXDLLEXPORT wxSoundStream {
|
||||||
public:
|
public:
|
||||||
wxSoundStream();
|
wxSoundStream();
|
||||||
virtual ~wxSoundStream();
|
virtual ~wxSoundStream();
|
@@ -12,9 +12,10 @@
|
|||||||
#pragma interface "sndcodec.h"
|
#pragma interface "sndcodec.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sndbase.h"
|
#include "wx/defs.h"
|
||||||
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
|
||||||
class wxSoundStreamCodec: public wxSoundStream {
|
class WXDLLEXPORT wxSoundStreamCodec: public wxSoundStream {
|
||||||
public:
|
public:
|
||||||
wxSoundStreamCodec(wxSoundStream& snd_io);
|
wxSoundStreamCodec(wxSoundStream& snd_io);
|
||||||
~wxSoundStreamCodec();
|
~wxSoundStreamCodec();
|
@@ -12,14 +12,15 @@
|
|||||||
#pragma interface "sndcpcm.h"
|
#pragma interface "sndcpcm.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stddef.h>
|
#include "wx/defs.h"
|
||||||
#include "sndcodec.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
#include "wx/mmedia/sndcodec.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// PCM converter class
|
// PCM converter class
|
||||||
//
|
//
|
||||||
|
|
||||||
class wxSoundStreamPcm: public wxSoundStreamCodec {
|
class WXDLLEXPORT wxSoundStreamPcm: public wxSoundStreamCodec {
|
||||||
public:
|
public:
|
||||||
typedef void (*ConverterType)(const void *buf_in, void *buf_out,
|
typedef void (*ConverterType)(const void *buf_in, void *buf_out,
|
||||||
wxUint32 len);
|
wxUint32 len);
|
53
contrib/include/wx/mmedia/sndesd.h
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
// --------------------------------------------------------------------------
|
||||||
|
// Name: sndesd.h
|
||||||
|
// Purpose:
|
||||||
|
// Date: 08/11/1999
|
||||||
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
||||||
|
// CVSID: $Id$
|
||||||
|
// --------------------------------------------------------------------------
|
||||||
|
#ifndef _WX_SNDESD_H
|
||||||
|
#define _WX_SNDESD_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "sndesd.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
#include "wx/string.h"
|
||||||
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
#include "wx/mmedia/sndpcm.h"
|
||||||
|
|
||||||
|
//
|
||||||
|
// ESD output class
|
||||||
|
//
|
||||||
|
|
||||||
|
class wxSoundStreamESD : public wxSoundStream {
|
||||||
|
public:
|
||||||
|
wxSoundStreamESD(const wxString& hostname = wxT("localhost"));
|
||||||
|
~wxSoundStreamESD();
|
||||||
|
|
||||||
|
wxSoundStream& Read(void *buffer, wxUint32 len);
|
||||||
|
wxSoundStream& Write(const void *buffer, wxUint32 len);
|
||||||
|
|
||||||
|
bool SetSoundFormat(const wxSoundFormatBase& format);
|
||||||
|
|
||||||
|
bool StartProduction(int evt);
|
||||||
|
bool StopProduction();
|
||||||
|
|
||||||
|
// You should not call this.
|
||||||
|
void WakeUpEvt(int evt);
|
||||||
|
|
||||||
|
bool QueueFilled() const { return m_q_filled; }
|
||||||
|
protected:
|
||||||
|
int m_fd_input, m_fd_output; // ESD fds
|
||||||
|
int m_tag_input, m_tag_output; // GLIB tags
|
||||||
|
bool m_esd_stop; // Stream started ?
|
||||||
|
bool m_esd_ok; // ESD detected
|
||||||
|
wxString m_hostname; // ESD host
|
||||||
|
bool m_q_filled; // queue filled
|
||||||
|
|
||||||
|
private:
|
||||||
|
void DetectBest(wxSoundFormatPcm *pcm);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@@ -8,11 +8,10 @@
|
|||||||
#ifndef _WX_SNDFILE_H
|
#ifndef _WX_SNDFILE_H
|
||||||
#define _WX_SNDFILE_H
|
#define _WX_SNDFILE_H
|
||||||
|
|
||||||
#include <wx/defs.h>
|
#include "wx/defs.h"
|
||||||
#include <wx/stream.h>
|
#include "wx/stream.h"
|
||||||
#include <stdlib.h>
|
#include "wx/mmedia/sndbase.h"
|
||||||
#include "sndbase.h"
|
#include "wx/mmedia/sndcodec.h"
|
||||||
#include "sndcodec.h"
|
|
||||||
|
|
||||||
#define wxSOUND_INFINITE_TIME ((wxUint32)-1)
|
#define wxSOUND_INFINITE_TIME ((wxUint32)-1)
|
||||||
|
|
@@ -12,9 +12,10 @@
|
|||||||
#pragma interface "sndg72x.h"
|
#pragma interface "sndg72x.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stddef.h>
|
#include "wx/defs.h"
|
||||||
#include "sndcodec.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
#include "sndbase.h"
|
#include "wx/mmedia/sndcodec.h"
|
||||||
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
wxSOUND_G721,
|
wxSOUND_G721,
|
104
contrib/include/wx/mmedia/sndmsad.h
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
// --------------------------------------------------------------------------
|
||||||
|
// Name: sndmsad(pcm).h
|
||||||
|
// Purpose: MS ADPCM codec
|
||||||
|
// Date: 25/02/2000
|
||||||
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 2000
|
||||||
|
// CVSID: $Id$
|
||||||
|
// --------------------------------------------------------------------------
|
||||||
|
#ifndef _WX_SNDMSAD_H
|
||||||
|
#define _WX_SNDMSAD_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "sndmsad.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
#include "wx/dynarray.h"
|
||||||
|
#include "wx/mmedia/sndcodec.h"
|
||||||
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
|
||||||
|
WX_DEFINE_EXPORTED_ARRAY(wxInt16, wxMSAdpcmCoeffs);
|
||||||
|
|
||||||
|
//
|
||||||
|
// MSADPCM format
|
||||||
|
//
|
||||||
|
class WXDLLEXPORT wxSoundFormatMSAdpcm: public wxSoundFormatBase {
|
||||||
|
public:
|
||||||
|
wxSoundFormatMSAdpcm();
|
||||||
|
~wxSoundFormatMSAdpcm();
|
||||||
|
|
||||||
|
void SetSampleRate(wxUint32 srate);
|
||||||
|
wxUint32 GetSampleRate() const;
|
||||||
|
|
||||||
|
void SetCoefs(wxInt16 **coefs, wxUint16 ncoefs, wxUint16 coefs_len);
|
||||||
|
void GetCoefs(wxInt16 **&coefs, wxUint16& ncoefs,
|
||||||
|
wxUint16& coefs_len) const;
|
||||||
|
|
||||||
|
void SetBlockSize(wxUint16 block_size);
|
||||||
|
wxUint16 GetBlockSize() const;
|
||||||
|
|
||||||
|
void SetChannels(wxUint16 channels);
|
||||||
|
wxUint16 GetChannels() const;
|
||||||
|
|
||||||
|
wxSoundFormatType GetType() const { return wxSOUND_MSADPCM; }
|
||||||
|
wxSoundFormatBase *Clone() const;
|
||||||
|
|
||||||
|
wxUint32 GetTimeFromBytes(wxUint32 bytes) const;
|
||||||
|
wxUint32 GetBytesFromTime(wxUint32 time) const;
|
||||||
|
|
||||||
|
bool operator !=(const wxSoundFormatBase& frmt2) const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
wxUint32 m_srate, m_nchannels;
|
||||||
|
wxInt16 **m_coefs;
|
||||||
|
wxUint16 m_ncoefs, m_coefs_len;
|
||||||
|
wxUint16 m_block_size;
|
||||||
|
};
|
||||||
|
|
||||||
|
//
|
||||||
|
// MS ADPCM converter class
|
||||||
|
//
|
||||||
|
class WXDLLEXPORT wxSoundRouterStream;
|
||||||
|
class WXDLLEXPORT wxSoundStreamMSAdpcm: public wxSoundStreamCodec {
|
||||||
|
public:
|
||||||
|
wxSoundStreamMSAdpcm(wxSoundStream& sndio);
|
||||||
|
~wxSoundStreamMSAdpcm();
|
||||||
|
|
||||||
|
wxSoundStream& Read(void *buffer, wxUint32 len);
|
||||||
|
wxSoundStream& Write(const void *buffer, wxUint32 len);
|
||||||
|
|
||||||
|
bool SetSoundFormat(const wxSoundFormatBase& format);
|
||||||
|
|
||||||
|
wxUint32 GetBestSize() const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
wxSoundRouterStream *m_router;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
wxInt32 predictor;
|
||||||
|
wxInt16 samp1;
|
||||||
|
wxInt16 samp2;
|
||||||
|
wxInt16 coeff[2];
|
||||||
|
wxInt32 iDelta;
|
||||||
|
} AdpcmState;
|
||||||
|
|
||||||
|
AdpcmState m_state[1];
|
||||||
|
|
||||||
|
bool m_got_header;
|
||||||
|
bool m_stereo;
|
||||||
|
wxInt16 **m_coefs;
|
||||||
|
wxUint16 m_block_size;
|
||||||
|
wxUint16 m_ncoefs;
|
||||||
|
wxUint16 m_next_block;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
wxUint32 DecodeMonoADPCM(const void *in_buffer, void *out_buffer,
|
||||||
|
wxUint32 in_len);
|
||||||
|
wxUint32 DecodeStereoADPCM(const void *in_buffer, void *out_buffer,
|
||||||
|
wxUint32 in_len);
|
||||||
|
void Nibble(wxInt8 nyb,
|
||||||
|
AdpcmState *state,
|
||||||
|
wxInt16 **out_buffer);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@@ -12,17 +12,18 @@
|
|||||||
#pragma interface "sndoss.h"
|
#pragma interface "sndoss.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/string.h>
|
#include "wx/defs.h"
|
||||||
#include "sndbase.h"
|
#include "wx/string.h"
|
||||||
#include "sndpcm.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
#include "wx/mmedia/sndpcm.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// OSS output class
|
// OSS output class
|
||||||
//
|
//
|
||||||
|
|
||||||
class wxSoundStreamOSS : public wxSoundStream {
|
class WXDLLEXPORT wxSoundStreamOSS : public wxSoundStream {
|
||||||
public:
|
public:
|
||||||
wxSoundStreamOSS(const wxString& dev_name = _T("/dev/dsp"));
|
wxSoundStreamOSS(const wxString& dev_name = wxT("/dev/dsp"));
|
||||||
~wxSoundStreamOSS();
|
~wxSoundStreamOSS();
|
||||||
|
|
||||||
wxSoundStream& Read(void *buffer, wxUint32 len);
|
wxSoundStream& Read(void *buffer, wxUint32 len);
|
||||||
@@ -39,10 +40,11 @@ class wxSoundStreamOSS : public wxSoundStream {
|
|||||||
// You should not call this.
|
// You should not call this.
|
||||||
void WakeUpEvt(int evt);
|
void WakeUpEvt(int evt);
|
||||||
protected:
|
protected:
|
||||||
|
// OSS device
|
||||||
int m_fd;
|
int m_fd;
|
||||||
wxUint32 m_bufsize;
|
wxUint32 m_bufsize;
|
||||||
int m_tag;
|
int m_tag;
|
||||||
bool m_oss_stop, m_q_filled;
|
bool m_oss_stop, m_oss_ok, m_q_filled;
|
||||||
wxString m_devname;
|
wxString m_devname;
|
||||||
|
|
||||||
private:
|
private:
|
@@ -12,15 +12,15 @@
|
|||||||
#pragma interface "sndpcm.h"
|
#pragma interface "sndpcm.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <wx/defs.h>
|
#include "wx/defs.h"
|
||||||
#include "sndbase.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// PCM specification class
|
// PCM specification class
|
||||||
//
|
//
|
||||||
|
|
||||||
class wxSoundFormatPcm : public wxSoundFormatBase {
|
class wxSoundFormatPcm : public wxSoundFormatBase {
|
||||||
public:
|
public:
|
||||||
wxSoundFormatPcm(wxUint32 srate = 22500, wxUint8 bps = 8,
|
wxSoundFormatPcm(wxUint32 srate = 22500, wxUint8 bps = 8,
|
||||||
wxUint16 channels = 2, bool sign = TRUE,
|
wxUint16 channels = 2, bool sign = TRUE,
|
||||||
int order = wxLITTLE_ENDIAN);
|
int order = wxLITTLE_ENDIAN);
|
||||||
@@ -46,7 +46,7 @@ class wxSoundFormatPcm : public wxSoundFormatBase {
|
|||||||
|
|
||||||
bool operator!=(const wxSoundFormatBase& frmt2) const;
|
bool operator!=(const wxSoundFormatBase& frmt2) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxUint32 m_srate;
|
wxUint32 m_srate;
|
||||||
wxUint8 m_bps;
|
wxUint8 m_bps;
|
||||||
wxUint16 m_nchan;
|
wxUint16 m_nchan;
|
@@ -13,9 +13,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
#include "wx/mmedia/sndcodec.h"
|
||||||
#include "sndcodec.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
#include "sndbase.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// ULAW format
|
// ULAW format
|
64
contrib/include/wx/mmedia/sndwav.h
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
// --------------------------------------------------------------------------
|
||||||
|
// Name: sndwav.h
|
||||||
|
// Purpose:
|
||||||
|
// Date: 08/11/1999
|
||||||
|
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
||||||
|
// CVSID: $Id$
|
||||||
|
// --------------------------------------------------------------------------
|
||||||
|
#ifndef _WX_SNDWAV_H
|
||||||
|
#define _WX_SNDWAV_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "sndwav.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
#include "wx/string.h"
|
||||||
|
#include "wx/stream.h"
|
||||||
|
#include "wx/datstrm.h"
|
||||||
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
#include "wx/mmedia/sndcodec.h"
|
||||||
|
#include "wx/mmedia/sndfile.h"
|
||||||
|
|
||||||
|
//
|
||||||
|
// WAVE codec
|
||||||
|
//
|
||||||
|
|
||||||
|
class wxSoundWave: public wxSoundFileStream {
|
||||||
|
public:
|
||||||
|
wxSoundWave(wxInputStream& stream, wxSoundStream& io_sound);
|
||||||
|
wxSoundWave(wxOutputStream& stream, wxSoundStream& io_sound);
|
||||||
|
~wxSoundWave();
|
||||||
|
|
||||||
|
bool CanRead();
|
||||||
|
wxString GetCodecName() const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
bool PrepareToPlay();
|
||||||
|
bool PrepareToRecord(wxUint32 time);
|
||||||
|
bool FinishRecording();
|
||||||
|
bool RepositionStream(wxUint32 position);
|
||||||
|
|
||||||
|
wxUint32 GetData(void *buffer, wxUint32 len);
|
||||||
|
wxUint32 PutData(const void *buffer, wxUint32 len);
|
||||||
|
|
||||||
|
bool HandleOutputPCM(wxDataInputStream& data, wxUint32 len,
|
||||||
|
wxUint16 channels, wxUint32 sample_fq,
|
||||||
|
wxUint32 byte_p_sec, wxUint16 byte_p_spl,
|
||||||
|
wxUint16 bits_p_spl);
|
||||||
|
bool HandleOutputMSADPCM(wxDataInputStream& data, wxUint32 len,
|
||||||
|
wxUint16 channels, wxUint32 sample_fq,
|
||||||
|
wxUint32 byte_p_sec, wxUint16 byte_p_spl,
|
||||||
|
wxUint16 bits_p_spl);
|
||||||
|
bool HandleOutputG721(wxDataInputStream& data, wxUint32 len,
|
||||||
|
wxUint16 channels, wxUint32 sample_fq,
|
||||||
|
wxUint32 byte_p_sec, wxUint16 byte_p_spl,
|
||||||
|
wxUint16 bits_p_spl);
|
||||||
|
wxSoundFormatBase *HandleInputPCM(wxDataOutputStream& data);
|
||||||
|
wxSoundFormatBase *HandleInputG72X(wxDataOutputStream& data);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
off_t m_base_offset;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
@@ -8,12 +8,13 @@
|
|||||||
#ifndef _WX_SNDWIN_H
|
#ifndef _WX_SNDWIN_H
|
||||||
#define _WX_SNDWIN_H
|
#define _WX_SNDWIN_H
|
||||||
|
|
||||||
#include <wx/wxprec.h>
|
#include "wx/defs.h"
|
||||||
#include "sndbase.h"
|
#include "wx/mmedia/sndbase.h"
|
||||||
|
|
||||||
typedef struct _wxSoundInternal wxSoundInternal;
|
typedef struct _wxSoundInternal wxSoundInternal;
|
||||||
typedef struct _wxSoundInfoHeader wxSoundInfoHeader;
|
typedef struct _wxSoundInfoHeader wxSoundInfoHeader;
|
||||||
|
|
||||||
|
// class WXDLLEXPORT wxSoundInternal;
|
||||||
class WXDLLEXPORT wxSoundStreamWin : public wxSoundStream {
|
class WXDLLEXPORT wxSoundStreamWin : public wxSoundStream {
|
||||||
public:
|
public:
|
||||||
wxSoundStreamWin();
|
wxSoundStreamWin();
|
@@ -36,7 +36,7 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxMMedia2 headers
|
// wxMMedia2 headers
|
||||||
|
|
||||||
#include "vidbase.h"
|
#include "wx/mmedia/vidbase.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// System headers and private types
|
// System headers and private types
|
@@ -44,7 +44,7 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxMMedia2 headers
|
// wxMMedia2 headers
|
||||||
|
|
||||||
#include "vidbase.h"
|
#include "wx/mmedia/vidbase.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Internal types
|
// Internal types
|