mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-15 14:27:19 +00:00
Compare commits
661 Commits
original-0
...
testing123
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
439d92adbd | ||
|
|
c6a74b2516 | ||
|
|
d8e063bf02 | ||
|
|
0129b50127 | ||
|
|
a64a06466c | ||
|
|
12ef73a794 | ||
|
|
ddb1c9f717 | ||
|
|
923f472a8f | ||
|
|
aa32c8347b | ||
|
|
966a0bd7e0 | ||
|
|
e317c37f03 | ||
|
|
31927cd255 | ||
|
|
747b8e468e | ||
|
|
ef7149e8e4 | ||
|
|
64c04b5e2d | ||
|
|
1043a80d1f | ||
|
|
c60b522012 | ||
|
|
f019d3ddc2 | ||
|
|
64957b508d | ||
|
|
1116ee7b60 | ||
|
|
3a55f1d132 | ||
|
|
f2ac050e8e | ||
|
|
6fe94fd655 | ||
|
|
0d7dcc24bd | ||
|
|
2a71f330b5 | ||
|
|
694d9b08c6 | ||
|
|
d1e0e006da | ||
|
|
1fc0d28167 | ||
|
|
7274e16b24 | ||
|
|
c9a0d441c4 | ||
|
|
3ae9d558b1 | ||
|
|
015972c05c | ||
|
|
b21aeecf4c | ||
|
|
78943073c3 | ||
|
|
c19b184820 | ||
|
|
ec95bb7a51 | ||
|
|
2aacca596b | ||
|
|
d482cc461c | ||
|
|
9957f5c305 | ||
|
|
f0a53302ce | ||
|
|
275c5b9c13 | ||
|
|
261069f131 | ||
|
|
70db63449c | ||
|
|
1f17665741 | ||
|
|
3764acda85 | ||
|
|
88cf76e18b | ||
|
|
fd19d5273e | ||
|
|
5c12d3d9fc | ||
|
|
4788031c15 | ||
|
|
b09663b3e9 | ||
|
|
0480fee86c | ||
|
|
40aa5d392d | ||
|
|
0efeedd6d3 | ||
|
|
805cb86a06 | ||
|
|
fd62c9ab3a | ||
|
|
405b55509e | ||
|
|
2e83d8e619 | ||
|
|
b766153e85 | ||
|
|
ae6c1dbd6a | ||
|
|
9cac72771f | ||
|
|
40d91f0afb | ||
|
|
db1d7ca5ae | ||
|
|
32daec3c7f | ||
|
|
1753dd16a3 | ||
|
|
c054be07ef | ||
|
|
b6f46cd1f0 | ||
|
|
100248e7a7 | ||
|
|
f7113d53ee | ||
|
|
eba664771a | ||
|
|
d8257e7659 | ||
|
|
8cb1c53e3f | ||
|
|
9ca86a662f | ||
|
|
91ef549b15 | ||
|
|
f75318cd8c | ||
|
|
5b0d3f8cb5 | ||
|
|
4a722565ab | ||
|
|
364420db88 | ||
|
|
987c38b465 | ||
|
|
4b4d6a1b94 | ||
|
|
07aed60cc7 | ||
|
|
971794a14c | ||
|
|
0bcc8718de | ||
|
|
0e9c6ba777 | ||
|
|
19f6767e55 | ||
|
|
33a648bd2f | ||
|
|
6428e64d69 | ||
|
|
d4cbb6c9dc | ||
|
|
04b4b64b87 | ||
|
|
b151790c40 | ||
|
|
95e406ba2e | ||
|
|
2e9776edf2 | ||
|
|
1d36c73bce | ||
|
|
e3b095bdf6 | ||
|
|
db21b00a9f | ||
|
|
ab28391c18 | ||
|
|
a45bce3133 | ||
|
|
cc060be1c7 | ||
|
|
e90b0f734a | ||
|
|
23a244a0fa | ||
|
|
0d6fae222f | ||
|
|
9e9f8c4475 | ||
|
|
85e8cb21ec | ||
|
|
b7e9529322 | ||
|
|
61a0c02681 | ||
|
|
1b1ff995c3 | ||
|
|
13370475d4 | ||
|
|
3b25bc27ee | ||
|
|
a0dec4045e | ||
|
|
bf15105d3c | ||
|
|
95b482d5d5 | ||
|
|
36b8695bf6 | ||
|
|
421685bd49 | ||
|
|
1828f208ec | ||
|
|
68de0e2dfc | ||
|
|
979c3ad6be | ||
|
|
164b5651b7 | ||
|
|
0010a02cb1 | ||
|
|
819f1c6c0a | ||
|
|
45d67305e7 | ||
|
|
d311b0f4c8 | ||
|
|
a427d9f394 | ||
|
|
addaad51fc | ||
|
|
6c1bfeaf79 | ||
|
|
85fa89ba88 | ||
|
|
397143d760 | ||
|
|
d99209916a | ||
|
|
f4c2f872a1 | ||
|
|
c51aff7bf3 | ||
|
|
26bccdb3a8 | ||
|
|
e63c53cc06 | ||
|
|
3318e75f7a | ||
|
|
2ffcc4209d | ||
|
|
6f7ec059bc | ||
|
|
0a057dec6b | ||
|
|
c89b6fd611 | ||
|
|
26857f3131 | ||
|
|
a42189fb8b | ||
|
|
616b526516 | ||
|
|
7a24b41fc4 | ||
|
|
db6b351397 | ||
|
|
c4e4c5ec5b | ||
|
|
7549c746eb | ||
|
|
c9a72229dd | ||
|
|
32a4b52c66 | ||
|
|
be7f43322e | ||
|
|
7ce6a55499 | ||
|
|
2bb5854303 | ||
|
|
16093186ee | ||
|
|
4c84412c84 | ||
|
|
3480ee9711 | ||
|
|
373f66c855 | ||
|
|
ebc4a24d0b | ||
|
|
be9c0c30c4 | ||
|
|
fdcc4017f7 | ||
|
|
fc81b26085 | ||
|
|
71a04ce117 | ||
|
|
0fbf5e8281 | ||
|
|
62a8d400ce | ||
|
|
d3efbc3441 | ||
|
|
7145f0d380 | ||
|
|
7b979dd789 | ||
|
|
414a4ecbbd | ||
|
|
19329883d5 | ||
|
|
c7314dcb31 | ||
|
|
5cb18c0710 | ||
|
|
fac400f918 | ||
|
|
ec04803b53 | ||
|
|
5a8f20c0ca | ||
|
|
fa1adadd31 | ||
|
|
68d7908ee6 | ||
|
|
fa13cc964c | ||
|
|
9ba7e78625 | ||
|
|
19033bba89 | ||
|
|
0058cacc12 | ||
|
|
2b5f8eae1c | ||
|
|
589f7d34a9 | ||
|
|
acc86a4df7 | ||
|
|
fb7758a9ac | ||
|
|
b45e249a08 | ||
|
|
16c6b8f7c3 | ||
|
|
0e3d3acd4e | ||
|
|
f3b52564e4 | ||
|
|
2dcdf14334 | ||
|
|
c83b4879ab | ||
|
|
4e65eb5d9b | ||
|
|
c83741eb06 | ||
|
|
69be706a69 | ||
|
|
a093d80fa5 | ||
|
|
ebfa196372 | ||
|
|
995248decf | ||
|
|
05d062d583 | ||
|
|
26dc2e44f5 | ||
|
|
12b431dbd0 | ||
|
|
cb815c34a1 | ||
|
|
5b54a8c4eb | ||
|
|
8d6009c3d4 | ||
|
|
dd4596099c | ||
|
|
96ab979e7a | ||
|
|
79b7a300a9 | ||
|
|
e73e125cbf | ||
|
|
226815dbd8 | ||
|
|
85aa360f2e | ||
|
|
a481057fbe | ||
|
|
9373f4ebbe | ||
|
|
e63d123c24 | ||
|
|
29d1740ca6 | ||
|
|
657539bcbf | ||
|
|
ac2bfaa14c | ||
|
|
b549324eb1 | ||
|
|
1d9c9eaa3f | ||
|
|
907e86c8d9 | ||
|
|
03c0d429f1 | ||
|
|
4d00e0b2a1 | ||
|
|
c097563730 | ||
|
|
a1e0e750d4 | ||
|
|
33a67a80e9 | ||
|
|
a271917a61 | ||
|
|
67d6a799db | ||
|
|
12c5f3231e | ||
|
|
fc3908f19a | ||
|
|
b31ac48ed0 | ||
|
|
848177aa95 | ||
|
|
d717946929 | ||
|
|
ca3f27db1f | ||
|
|
d28334bd24 | ||
|
|
0bbdf606b6 | ||
|
|
a47119f006 | ||
|
|
f1647df8b1 | ||
|
|
6adb79840d | ||
|
|
3b1bdd225f | ||
|
|
7f7952cbad | ||
|
|
7a74d6e66f | ||
|
|
3eb8d36a49 | ||
|
|
c395b816d8 | ||
|
|
fef8be9f5c | ||
|
|
3e2a2d76ec | ||
|
|
01926fc232 | ||
|
|
14402131e7 | ||
|
|
999851e60c | ||
|
|
a986b1e57a | ||
|
|
023cf609f2 | ||
|
|
0880b2f3dd | ||
|
|
e295a34484 | ||
|
|
100b0968cf | ||
|
|
ac48a9bf9d | ||
|
|
db281a361c | ||
|
|
bf2855be58 | ||
|
|
e452a97e22 | ||
|
|
e801373222 | ||
|
|
3ef2d12115 | ||
|
|
985f2c43fe | ||
|
|
530aa4ce6d | ||
|
|
16019c24eb | ||
|
|
72948ae0fd | ||
|
|
0c8ae869b9 | ||
|
|
9aeac67592 | ||
|
|
1b9a90add6 | ||
|
|
4ef79b54a5 | ||
|
|
a6ef508a7c | ||
|
|
8b67b6b75a | ||
|
|
33369268c1 | ||
|
|
973db49422 | ||
|
|
3c3a4a6292 | ||
|
|
d3cb239091 | ||
|
|
254550d111 | ||
|
|
3246af571e | ||
|
|
9a21f5339a | ||
|
|
37c410eb31 | ||
|
|
b901038367 | ||
|
|
bed68c8dda | ||
|
|
5835dbd9f6 | ||
|
|
ce7eb99b05 | ||
|
|
fc0ae89fcf | ||
|
|
41d28e01b5 | ||
|
|
810e33125b | ||
|
|
942b22886e | ||
|
|
ecaf50c015 | ||
|
|
6fb4b9a189 | ||
|
|
d5ff4011a9 | ||
|
|
ade0e7d4a6 | ||
|
|
761ab8cac6 | ||
|
|
d4f72d96e1 | ||
|
|
53acd3f2b1 | ||
|
|
9416aa7c40 | ||
|
|
674c9c56cf | ||
|
|
9b9c7b0283 | ||
|
|
26e67a513e | ||
|
|
fe0f9fff2c | ||
|
|
0d4d9a5368 | ||
|
|
ff778f6044 | ||
|
|
be88851eaf | ||
|
|
7a1abc9cc6 | ||
|
|
6539dc287d | ||
|
|
0a57ca5142 | ||
|
|
c728571c5f | ||
|
|
5dd1b1bdac | ||
|
|
2050ae69a6 | ||
|
|
6b590edafc | ||
|
|
847af10c0a | ||
|
|
ab7329d602 | ||
|
|
a97b2a3501 | ||
|
|
7a1569a5ba | ||
|
|
d5965b64de | ||
|
|
6a336a186e | ||
|
|
525bda44c8 | ||
|
|
8e66ec841f | ||
|
|
c196393879 | ||
|
|
022b3b2721 | ||
|
|
8c617452f7 | ||
|
|
4862e8bbb6 | ||
|
|
d3a94b2d86 | ||
|
|
3de2787166 | ||
|
|
e6a5d898c5 | ||
|
|
30f51a0601 | ||
|
|
69adf2ffd3 | ||
|
|
680e8485fe | ||
|
|
433a659063 | ||
|
|
50c4aa24d6 | ||
|
|
f6ab28d273 | ||
|
|
cbcb544e02 | ||
|
|
bdb7e584b6 | ||
|
|
7e2e1399e3 | ||
|
|
57d2fee754 | ||
|
|
ebf806fc79 | ||
|
|
fb7e88aba4 | ||
|
|
54b4f22d9b | ||
|
|
dba22abf93 | ||
|
|
857100a29a | ||
|
|
df4f8c25eb | ||
|
|
a2c527378e | ||
|
|
e267ebcd05 | ||
|
|
cd9e0aa877 | ||
|
|
7d2de5e4de | ||
|
|
fd0e12e855 | ||
|
|
605499bfc2 | ||
|
|
9c01d39812 | ||
|
|
20040a73b0 | ||
|
|
52d3590401 | ||
|
|
a68cce2203 | ||
|
|
2dba7492af | ||
|
|
7119613aee | ||
|
|
7313de4274 | ||
|
|
074dce0e90 | ||
|
|
46e9882f30 | ||
|
|
33a42736d4 | ||
|
|
cfec521c33 | ||
|
|
8e67d0e3c9 | ||
|
|
362c658c73 | ||
|
|
1c912ff57e | ||
|
|
750d84c78c | ||
|
|
1c28005420 | ||
|
|
348a3a2b30 | ||
|
|
d91bdc0994 | ||
|
|
292809694e | ||
|
|
69e66470a0 | ||
|
|
a059b67e88 | ||
|
|
8ee75ede4e | ||
|
|
0786d75e67 | ||
|
|
259a2006a1 | ||
|
|
fd9ca83dac | ||
|
|
79c3fdd691 | ||
|
|
d8aef575b4 | ||
|
|
a02ea64c52 | ||
|
|
dbd5bd6679 | ||
|
|
d6d2a3371a | ||
|
|
11c083d792 | ||
|
|
e025617c13 | ||
|
|
5c8fb47005 | ||
|
|
9b12db45be | ||
|
|
af50a35911 | ||
|
|
a6db884947 | ||
|
|
b234064d91 | ||
|
|
ba0a42f663 | ||
|
|
af30a6d5a9 | ||
|
|
be3ffd746c | ||
|
|
49aa01a70b | ||
|
|
f89cc4449c | ||
|
|
f94570d01c | ||
|
|
a067ab2a67 | ||
|
|
064027e841 | ||
|
|
be5e981941 | ||
|
|
90cca21044 | ||
|
|
fea01d8b69 | ||
|
|
bc702f74ad | ||
|
|
8dda1fe2a8 | ||
|
|
d8c0ab9bdf | ||
|
|
d9d917ab82 | ||
|
|
365d07f817 | ||
|
|
2dd366bcb9 | ||
|
|
b9fa900512 | ||
|
|
3db585e2b2 | ||
|
|
a94e46bf8e | ||
|
|
2bf4cea359 | ||
|
|
135d7f65d3 | ||
|
|
27d5e44b81 | ||
|
|
1200763831 | ||
|
|
56615128e0 | ||
|
|
17fbbe96d7 | ||
|
|
0342f93b68 | ||
|
|
192c351007 | ||
|
|
14d4d3a5a2 | ||
|
|
d8fda3b846 | ||
|
|
21baf85c22 | ||
|
|
4bf195ee71 | ||
|
|
cb1b3c65e8 | ||
|
|
a5e70206fc | ||
|
|
b1790bb7fe | ||
|
|
33ad64f45b | ||
|
|
2b02c15982 | ||
|
|
11690d0f9c | ||
|
|
4f3e4e48c6 | ||
|
|
ce28b0da56 | ||
|
|
a534592702 | ||
|
|
b68ecc73b9 | ||
|
|
52c04137b0 | ||
|
|
8612d84761 | ||
|
|
cfc0046675 | ||
|
|
e51a2e2b16 | ||
|
|
f110951172 | ||
|
|
5c916cffb5 | ||
|
|
966adb6004 | ||
|
|
0ad69fc6fe | ||
|
|
5fb5d93893 | ||
|
|
7bf5e18fbd | ||
|
|
9c658a4b2c | ||
|
|
623594fb89 | ||
|
|
ee00d0e567 | ||
|
|
cd4c59dbb3 | ||
|
|
418e1b1232 | ||
|
|
d07540cbb1 | ||
|
|
3a7e5dae4f | ||
|
|
e8d961f569 | ||
|
|
731c5de8da | ||
|
|
7b149c6316 | ||
|
|
f4024ab126 | ||
|
|
fe32f6bf09 | ||
|
|
35498b971b | ||
|
|
6528ac38e3 | ||
|
|
8c13508c07 | ||
|
|
055a9522f8 | ||
|
|
34cde1a373 | ||
|
|
5d7e281aa6 | ||
|
|
aac75b633c | ||
|
|
30bfeb3a43 | ||
|
|
b2a8d11d9c | ||
|
|
881f21e9ce | ||
|
|
395966b497 | ||
|
|
a4fdd8b27d | ||
|
|
9821329ec0 | ||
|
|
79ad101cc1 | ||
|
|
36d3575736 | ||
|
|
06872ed2b1 | ||
|
|
6a47a7733c | ||
|
|
eaca0e1b72 | ||
|
|
832f76f56b | ||
|
|
a60e33bc17 | ||
|
|
0ced73e7fa | ||
|
|
3ee93a8ab5 | ||
|
|
2a79b5e782 | ||
|
|
e74ca5795c | ||
|
|
e03a513727 | ||
|
|
a3a14577be | ||
|
|
bfd17d1ef5 | ||
|
|
aa4496943f | ||
|
|
3bf5c3b720 | ||
|
|
3d828625df | ||
|
|
a6e09351d6 | ||
|
|
c11f44d926 | ||
|
|
9fc2752790 | ||
|
|
55e39453f5 | ||
|
|
9772948e31 | ||
|
|
dfd73dee71 | ||
|
|
ffc8f06fc3 | ||
|
|
82090e5c3d | ||
|
|
2f8789f423 | ||
|
|
123520adf8 | ||
|
|
6aa938d453 | ||
|
|
46c3dc1991 | ||
|
|
13625a34e5 | ||
|
|
3011fbba0b | ||
|
|
68eb8f9617 | ||
|
|
ada566091b | ||
|
|
b8c041f5ff | ||
|
|
28f0087dfc | ||
|
|
62b8f46405 | ||
|
|
311a359c3f | ||
|
|
7eca23930b | ||
|
|
ae5eea1a29 | ||
|
|
2563b05dc1 | ||
|
|
ac6bef0fab | ||
|
|
58c81a37b9 | ||
|
|
4a01c6c74e | ||
|
|
f853f0e508 | ||
|
|
5111d42547 | ||
|
|
01c9d5f3c5 | ||
|
|
f85e43804a | ||
|
|
f8a81c329d | ||
|
|
1a8607d412 | ||
|
|
69796e34d7 | ||
|
|
8e99402729 | ||
|
|
91745a1ec0 | ||
|
|
367deb7547 | ||
|
|
cd940e4013 | ||
|
|
a7360fd23d | ||
|
|
4342f86d50 | ||
|
|
32651f2f10 | ||
|
|
04ea2996e1 | ||
|
|
89db040213 | ||
|
|
a0500627a1 | ||
|
|
9529248faa | ||
|
|
f328efcd55 | ||
|
|
c6ed74d94b | ||
|
|
55ffcb9066 | ||
|
|
ffff6ee267 | ||
|
|
1da1a2cf10 | ||
|
|
4e2a0bc6ed | ||
|
|
b6540a95ef | ||
|
|
8fa956e3fb | ||
|
|
e22e45b8f6 | ||
|
|
415a2192de | ||
|
|
c06ba98144 | ||
|
|
b6bd2ed29f | ||
|
|
45a547e088 | ||
|
|
cd437f0fc5 | ||
|
|
d0fac53d10 | ||
|
|
3517321b20 | ||
|
|
5d8c90cf18 | ||
|
|
35b4ad4350 | ||
|
|
b7b658e8d3 | ||
|
|
693e2392ca | ||
|
|
730ff30b86 | ||
|
|
16583b3b53 | ||
|
|
06cc0316a0 | ||
|
|
2f0aa254aa | ||
|
|
0371f19167 | ||
|
|
d450521ffd | ||
|
|
cfd0711a73 | ||
|
|
7c9b9d22c6 | ||
|
|
0445e61fde | ||
|
|
5a520095c2 | ||
|
|
913a45daf7 | ||
|
|
7c1e783509 | ||
|
|
f319f2edd4 | ||
|
|
1d818f1ec9 | ||
|
|
67ce5bf714 | ||
|
|
e84246e1a8 | ||
|
|
a0edc850bb | ||
|
|
1867f69be9 | ||
|
|
cef5b57a9d | ||
|
|
afb6ae3397 | ||
|
|
91dc1d7410 | ||
|
|
5481a14812 | ||
|
|
b578b38c78 | ||
|
|
f4c3e56a82 | ||
|
|
97d4ba3a0e | ||
|
|
ac43bc3755 | ||
|
|
e360a64c42 | ||
|
|
ef3fbc29fc | ||
|
|
467d33d913 | ||
|
|
8d42e7791f | ||
|
|
208bce9b40 | ||
|
|
eae092e02b | ||
|
|
224e6478bd | ||
|
|
04b0b3ee0b | ||
|
|
9ea244b927 | ||
|
|
2c3fb229d1 | ||
|
|
3d47027d31 | ||
|
|
ce13dce279 | ||
|
|
6595e9f7b1 | ||
|
|
25b0a24e3f | ||
|
|
154d07edce | ||
|
|
1b7a7fc6fc | ||
|
|
f4f9118a7c | ||
|
|
4fe917e2d8 | ||
|
|
9510746af4 | ||
|
|
409f1f5987 | ||
|
|
e2264ff1f9 | ||
|
|
0dc8820060 | ||
|
|
de2ae84bfc | ||
|
|
118a3e7750 | ||
|
|
1dadac1888 | ||
|
|
ac563a69f3 | ||
|
|
4eaf562a8a | ||
|
|
cea2223dae | ||
|
|
24d210f8d3 | ||
|
|
b647f69497 | ||
|
|
b033302d2a | ||
|
|
06b9d1fc1f | ||
|
|
b6c93b9039 | ||
|
|
9f01c92438 | ||
|
|
9911a80bef | ||
|
|
193d1ce6c2 | ||
|
|
fac5b4d4b0 | ||
|
|
203d02caed | ||
|
|
fe2014d064 | ||
|
|
e08d3ce887 | ||
|
|
eb4337fdc2 | ||
|
|
a6f00921ca | ||
|
|
349b2566da | ||
|
|
156c3292f8 | ||
|
|
691645d048 | ||
|
|
65ddb5a968 | ||
|
|
cb285809a1 | ||
|
|
0272578b69 | ||
|
|
ce2fa3a119 | ||
|
|
e859670886 | ||
|
|
a8fe2094fe | ||
|
|
02569edbe0 | ||
|
|
be2101ac49 | ||
|
|
4e6bbcbc1d | ||
|
|
60374cf5cb | ||
|
|
e311f51fdb | ||
|
|
15d00637fd | ||
|
|
8adfe96bd2 | ||
|
|
0557f1a4cd | ||
|
|
254193baab | ||
|
|
08227e1ea2 | ||
|
|
05c508f879 | ||
|
|
5856367d22 | ||
|
|
d5ece9ccd5 | ||
|
|
32ebf5c823 | ||
|
|
e5dbbe0f12 | ||
|
|
b636b2ad45 | ||
|
|
1cc7617978 | ||
|
|
569d1187d6 | ||
|
|
ba246fa721 | ||
|
|
72c8cd14af | ||
|
|
5412639397 | ||
|
|
7ef083b39b | ||
|
|
115a7d9756 | ||
|
|
5595f8e4b0 | ||
|
|
27dc6eb849 | ||
|
|
28887f01c8 | ||
|
|
e716766e30 | ||
|
|
0d856f3bdc | ||
|
|
3b9d0c19ba | ||
|
|
5665ed91d7 | ||
|
|
3a2fbd1412 | ||
|
|
8d8ec278f4 | ||
|
|
063659e840 | ||
|
|
52f025bb43 | ||
|
|
552bb8e1dc | ||
|
|
2bf281cefb | ||
|
|
e0195ec664 | ||
|
|
5193937cac | ||
|
|
59090b4a3c | ||
|
|
3f54356d24 | ||
|
|
b47f4be12c | ||
|
|
944083e433 | ||
|
|
3841aadba3 | ||
|
|
f6a6440ef4 | ||
|
|
2d61ab2af5 | ||
|
|
271b27fbed | ||
|
|
215800f498 | ||
|
|
f624adc6c6 | ||
|
|
fe88618d12 | ||
|
|
25fb46e31d | ||
|
|
fce205c378 | ||
|
|
6782d343cc | ||
|
|
478e89cc68 | ||
|
|
5a702e808a |
96
.clang-format
Normal file
96
.clang-format
Normal file
@@ -0,0 +1,96 @@
|
||||
---
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignConsecutiveAssignments: false
|
||||
AlignConsecutiveDeclarations: false
|
||||
AlignEscapedNewlinesLeft: true
|
||||
AlignOperands: true
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: true
|
||||
AllowShortBlocksOnASingleLine: Empty
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: All
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
BraceWrapping:
|
||||
AfterClass: false
|
||||
AfterControlStatement: false
|
||||
AfterEnum: false
|
||||
AfterFunction: false
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
IndentBraces: false
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Attach
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakConstructorInitializersBeforeComma: false
|
||||
BreakAfterJavaFieldAnnotations: false
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 100
|
||||
CommentPragmas: '^ IWYU pragma:'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
ConstructorInitializerIndentWidth: 4
|
||||
ContinuationIndentWidth: 4
|
||||
Cpp11BracedListStyle: true
|
||||
DerivePointerAlignment: true
|
||||
DisableFormat: false
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||
IncludeCategories:
|
||||
- Regex: '^<.*\.h>'
|
||||
Priority: 1
|
||||
- Regex: '^<.*'
|
||||
Priority: 2
|
||||
- Regex: '.*'
|
||||
Priority: 3
|
||||
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
||||
IndentCaseLabels: true
|
||||
IndentWidth: 2
|
||||
IndentWrappedFunctionNames: false
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
MacroBlockBegin: ''
|
||||
MacroBlockEnd: ''
|
||||
MaxEmptyLinesToKeep: 1
|
||||
NamespaceIndentation: None
|
||||
ObjCBlockIndentWidth: 2
|
||||
ObjCSpaceAfterProperty: false
|
||||
ObjCSpaceBeforeProtocolList: false
|
||||
PenaltyBreakBeforeFirstCallParameter: 1
|
||||
PenaltyBreakComment: 300
|
||||
PenaltyBreakFirstLessLess: 120
|
||||
PenaltyBreakString: 1000
|
||||
PenaltyExcessCharacter: 1000000
|
||||
PenaltyReturnTypeOnItsOwnLine: 200
|
||||
PointerAlignment: Left
|
||||
ReflowComments: true
|
||||
SortIncludes: false
|
||||
SpaceAfterCStyleCast: false
|
||||
SpaceAfterTemplateKeyword: true
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesBeforeTrailingComments: 2
|
||||
SpacesInAngles: false
|
||||
SpacesInContainerLiterals: true
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
Standard: Auto
|
||||
TabWidth: 8
|
||||
UseTab: Never
|
||||
...
|
||||
|
||||
54
.github/workflows/build.yml
vendored
Normal file
54
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
name: Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-10.15, ubuntu-18.04]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install X11 dependencies on MacOS
|
||||
if: ${{ runner.os == 'macOS'}}
|
||||
run: brew install --cask xquartz
|
||||
- name: Build
|
||||
working-directory: bin
|
||||
run: ./makeright x
|
||||
|
||||
build-pi:
|
||||
runs-on: [self-hosted, linux, ARM]
|
||||
if: ${{ github.repository == 'Interlisp/maiko' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
working-directory: bin
|
||||
run: ./makeright x
|
||||
|
||||
build-cmake:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-10.15, ubuntu-20.04, ubuntu-18.04]
|
||||
env:
|
||||
BUILD_TYPE: Release
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install X11 dependencies on MacOS
|
||||
if: ${{ runner.os == 'macOS'}}
|
||||
run: brew install --cask xquartz
|
||||
- name: Create Build Environment
|
||||
run: cmake -E make_directory ${{github.workspace}}/build
|
||||
- name: Configure CMake
|
||||
shell: bash
|
||||
working-directory: ${{github.workspace}}/build
|
||||
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}/build
|
||||
shell: bash
|
||||
run: cmake --build . --config $BUILD_TYPE
|
||||
23
.gitignore
vendored
Normal file
23
.gitignore
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Object files
|
||||
*.o
|
||||
# Editor backups and recovery files
|
||||
*~
|
||||
\#*#
|
||||
.DS_Store
|
||||
# build directories
|
||||
*.386-x/**
|
||||
*.386/**
|
||||
*.ppc-x/**
|
||||
*.ppc/**
|
||||
*.sparc-x/**
|
||||
*.sparc/**
|
||||
*.x86_64-x/**
|
||||
*.x86_64/**
|
||||
*.armv7l-x/**
|
||||
*.armv7l/**
|
||||
*.aarch64-x/**
|
||||
*.aarch64/**
|
||||
init.386/**
|
||||
# core files
|
||||
core
|
||||
*.core
|
||||
422
CMakeLists.txt
Normal file
422
CMakeLists.txt
Normal file
@@ -0,0 +1,422 @@
|
||||
PROJECT(maiko C)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
|
||||
|
||||
SET(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
SET(CMAKE_C_STANDARD 99)
|
||||
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_COMPILER_ID MATCHES "GNU")
|
||||
IF(UNIX AND CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
SET(CMAKE_C_FLAGS "-fdiagnostics-color=always ${CMAKE_C_FLAGS}")
|
||||
ENDIF()
|
||||
SET(CMAKE_C_FLAGS "-fno-strict-aliasing ${CMAKE_C_FLAGS}")
|
||||
ENDIF()
|
||||
|
||||
IF(CMAKE_C_COMPILER_ID MATCHES "SunPro")
|
||||
SET(CMAKE_C_FLAGS "-fno-strict-aliasing ${CMAKE_C_FLAGS}")
|
||||
ENDIF()
|
||||
|
||||
INCLUDE(CheckLibraryExists)
|
||||
CHECK_LIBRARY_EXISTS(m fmod "" NEED_LIB_M)
|
||||
IF(NEED_LIB_M)
|
||||
SET(MAIKO_LIBRARIES m)
|
||||
ENDIF()
|
||||
|
||||
SET(MAIKO_DEFINITIONS
|
||||
"-DRELEASE=351"
|
||||
)
|
||||
|
||||
OPTION(MAIKO_DISPLAY_X11 "Use X11 for display." ON)
|
||||
IF(MAIKO_DISPLAY_X11)
|
||||
FIND_PACKAGE(X11 REQUIRED)
|
||||
SET(MAIKO_DISPLAY_X11_DEFINITIONS
|
||||
"-DXWINDOW"
|
||||
)
|
||||
SET(MAIKO_DISPLAY_X11_LIBRARIES X11::X11)
|
||||
SET(MAIKO_DISPLAY_X11_SRCS
|
||||
src/xbbt.c
|
||||
src/xcursor.c
|
||||
src/xinit.c
|
||||
src/xlspwin.c
|
||||
src/xmkicon.c
|
||||
src/xrdopt.c
|
||||
src/xscroll.c
|
||||
src/xwinman.c
|
||||
)
|
||||
SET(MAIKO_DISPLAY_X11_HDRS
|
||||
inc/xbbtdefs.h
|
||||
inc/xbitmaps.h
|
||||
inc/xcursordefs.h
|
||||
inc/xdefs.h
|
||||
inc/xinitdefs.h
|
||||
inc/XKeymap.h
|
||||
inc/xlspwindefs.h
|
||||
inc/xmkicondefs.h
|
||||
inc/xrdoptdefs.h
|
||||
inc/xscrolldefs.h
|
||||
inc/xscroll.h
|
||||
inc/xwinmandefs.h
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
||||
LIST(APPEND MAIKO_DEFINITIONS
|
||||
"-DOS5"
|
||||
"-DUSE_DLPI"
|
||||
)
|
||||
ENDIF()
|
||||
|
||||
IF(APPLE)
|
||||
# Suppress "has no symbols" warnings when building static libraries on macOS:
|
||||
# https://stackoverflow.com/questions/4929255/building-static-libraries-on-mac-using-cmake-and-gcc/33067191#33067191
|
||||
SET(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Scr <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
SET(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
||||
ENDIF()
|
||||
|
||||
# These don't build on Linux. Some are for SunOS and DOS. Others ... ?
|
||||
SET(BAD_SRCS
|
||||
src/atom.c
|
||||
src/chatter.c
|
||||
src/codeconv.c
|
||||
src/codetbl.c
|
||||
src/doscomm.c
|
||||
src/doskbd.c
|
||||
src/dosmouse.c
|
||||
src/ejlisp.c
|
||||
src/imagefile2.c
|
||||
src/imagefile.c
|
||||
src/kbdif.c
|
||||
src/lpdual.c
|
||||
src/lpkit.c
|
||||
src/lplexyy.c
|
||||
src/lpmain.c
|
||||
src/lpread.c
|
||||
src/lpsolve.c
|
||||
src/lptran.c
|
||||
src/lpwrite.c
|
||||
src/lpytab.c
|
||||
src/mnwevent.c
|
||||
src/mnxmeth.c
|
||||
src/picture.c
|
||||
src/rawcolor.c
|
||||
src/rawrs232c.c
|
||||
src/rs232c.c
|
||||
src/truecolor.c
|
||||
src/vesainit.c
|
||||
src/vgainit.c
|
||||
)
|
||||
|
||||
SET(MAIKO_SRCS
|
||||
src/allocmds.c
|
||||
src/arith2.c
|
||||
src/arith3.c
|
||||
src/arith4.c
|
||||
src/array2.c
|
||||
src/array3.c
|
||||
src/array4.c
|
||||
src/array5.c
|
||||
src/array6.c
|
||||
src/array.c
|
||||
src/asmbbt.c
|
||||
src/bbtsub.c
|
||||
src/bin.c
|
||||
src/binds.c
|
||||
src/bitblt.c
|
||||
src/blt.c
|
||||
src/byteswap.c
|
||||
src/car-cdr.c
|
||||
src/chardev.c
|
||||
src/common.c
|
||||
src/conspage.c
|
||||
src/dbgtool.c
|
||||
src/dir.c
|
||||
src/dlpi.c
|
||||
src/draw.c
|
||||
src/dsk.c
|
||||
src/dspif.c
|
||||
src/dspsubrs.c
|
||||
src/eqf.c
|
||||
src/ether.c
|
||||
src/findkey.c
|
||||
src/foreign.c
|
||||
src/fp.c
|
||||
src/fvar.c
|
||||
src/gc2.c
|
||||
src/gcarray.c
|
||||
src/gc.c
|
||||
src/gccode.c
|
||||
src/gcfinal.c
|
||||
src/gchtfind.c
|
||||
src/gcmain3.c
|
||||
src/gcoflow.c
|
||||
src/gcr.c
|
||||
src/gcrcell.c
|
||||
src/gcscan.c
|
||||
src/gvar2.c
|
||||
src/hardrtn.c
|
||||
src/inet.c
|
||||
src/initdsp.c
|
||||
src/initkbd.c
|
||||
src/initsout.c
|
||||
src/intcall.c
|
||||
src/kbdsubrs.c
|
||||
src/keyevent.c
|
||||
src/kprint.c
|
||||
src/ldsout.c
|
||||
src/lineblt8.c
|
||||
src/lisp2c.c
|
||||
src/llcolor.c
|
||||
src/llstk.c
|
||||
src/loopsops.c
|
||||
src/lowlev1.c
|
||||
src/lowlev2.c
|
||||
src/lsthandl.c
|
||||
src/misc7.c
|
||||
src/miscn.c
|
||||
src/mkatom.c
|
||||
src/mkcell.c
|
||||
src/mouseif.c
|
||||
src/mvs.c
|
||||
src/osmsg.c
|
||||
src/perrno.c
|
||||
src/return.c
|
||||
src/rpc.c
|
||||
src/rplcons.c
|
||||
src/shift.c
|
||||
src/storage.c
|
||||
src/subr0374.c
|
||||
src/subr.c
|
||||
src/sxhash.c
|
||||
src/testtool.c
|
||||
src/timer.c
|
||||
src/tty.c
|
||||
src/typeof.c
|
||||
src/ubf1.c
|
||||
src/ubf2.c
|
||||
src/ubf3.c
|
||||
src/ufn.c
|
||||
src/ufs.c
|
||||
src/unixcomm.c
|
||||
src/unwind.c
|
||||
src/uraid.c
|
||||
src/usrsubr.c
|
||||
src/uutils.c
|
||||
src/vars3.c
|
||||
src/vmemsave.c
|
||||
src/xc.c
|
||||
src/z2.c
|
||||
)
|
||||
SET(MAIKO_HDRS
|
||||
inc/address.h
|
||||
inc/adr68k.h
|
||||
inc/allocmdsdefs.h
|
||||
inc/arith2defs.h
|
||||
inc/arith3defs.h
|
||||
inc/arith4defs.h
|
||||
inc/arith.h
|
||||
inc/array2defs.h
|
||||
inc/array3defs.h
|
||||
inc/array4defs.h
|
||||
inc/array5defs.h
|
||||
inc/array6defs.h
|
||||
inc/arraydefs.h
|
||||
inc/array.h
|
||||
inc/bb.h
|
||||
inc/bbtsubdefs.h
|
||||
inc/bindefs.h
|
||||
inc/bindsdefs.h
|
||||
inc/bitbltdefs.h
|
||||
inc/bitblt.h
|
||||
inc/bltdefs.h
|
||||
inc/byteswapdefs.h
|
||||
inc/car-cdrdefs.h
|
||||
inc/cell.h
|
||||
inc/chardevdefs.h
|
||||
inc/commondefs.h
|
||||
inc/conspagedefs.h
|
||||
inc/dbgtooldefs.h
|
||||
inc/dbprint.h
|
||||
inc/debug.h
|
||||
inc/devconf.h
|
||||
inc/devif.h
|
||||
inc/dirdefs.h
|
||||
inc/display.h
|
||||
inc/dld.h
|
||||
inc/dlpidefs.h
|
||||
inc/drawdefs.h
|
||||
inc/dskdefs.h
|
||||
inc/dspdata.h
|
||||
inc/dspifdefs.h
|
||||
inc/dspsubrsdefs.h
|
||||
inc/emlglob.h
|
||||
inc/eqfdefs.h
|
||||
inc/etherdefs.h
|
||||
inc/ether.h
|
||||
inc/fast_dsp.h
|
||||
inc/findkeydefs.h
|
||||
inc/foreigndefs.h
|
||||
inc/fpdefs.h
|
||||
inc/fvardefs.h
|
||||
inc/gc2defs.h
|
||||
inc/gcarraydefs.h
|
||||
inc/gccodedefs.h
|
||||
inc/gcdata.h
|
||||
inc/gcdefs.h
|
||||
inc/gcfinaldefs.h
|
||||
inc/gchtfinddefs.h
|
||||
inc/gcmain3defs.h
|
||||
inc/gcoflowdefs.h
|
||||
inc/gcrcelldefs.h
|
||||
inc/gcrdefs.h
|
||||
inc/gcscandefs.h
|
||||
inc/gvar2defs.h
|
||||
inc/hardrtndefs.h
|
||||
inc/hdw_conf.h
|
||||
inc/ifpage.h
|
||||
inc/inetdefs.h
|
||||
inc/initatms.h
|
||||
inc/initdspdefs.h
|
||||
inc/initkbddefs.h
|
||||
inc/initsoutdefs.h
|
||||
inc/inlineC.h
|
||||
inc/inln68k.h
|
||||
inc/inlndos.h
|
||||
inc/inlnPS2.h
|
||||
inc/inlnSPARC.h
|
||||
inc/intcalldefs.h
|
||||
inc/iopage.h
|
||||
inc/kbdif.h
|
||||
inc/kbdsubrsdefs.h
|
||||
inc/keyboard.h
|
||||
inc/keyeventdefs.h
|
||||
inc/keysym.h
|
||||
inc/kprintdefs.h
|
||||
inc/ldeXdefs.h
|
||||
inc/ldsoutdefs.h
|
||||
inc/lineblt8defs.h
|
||||
inc/lisp2cdefs.h
|
||||
inc/lispemul.h
|
||||
inc/lispmap.h
|
||||
inc/lispver1.h
|
||||
inc/lispver2.h
|
||||
inc/llcolordefs.h
|
||||
inc/lldsp.h
|
||||
inc/llstkdefs.h
|
||||
inc/locfile.h
|
||||
inc/loopsopsdefs.h
|
||||
inc/lowlev1defs.h
|
||||
inc/lowlev2defs.h
|
||||
inc/lpdefs.h
|
||||
inc/lpglob.h
|
||||
inc/lpglobl.h
|
||||
inc/lpkit.h
|
||||
inc/lppatch.h
|
||||
inc/lpproto.h
|
||||
inc/lspglob.h
|
||||
inc/lsptypes.h
|
||||
inc/lsthandldefs.h
|
||||
inc/maindefs.h
|
||||
inc/medleyfp.h
|
||||
inc/misc7defs.h
|
||||
inc/miscndefs.h
|
||||
inc/miscstat.h
|
||||
inc/mkatomdefs.h
|
||||
inc/mkcelldefs.h
|
||||
inc/mnxdefs.h
|
||||
inc/mvsdefs.h
|
||||
inc/my.h
|
||||
inc/MyWindow.h
|
||||
inc/nfsfh.h
|
||||
inc/nfswatch.h
|
||||
inc/opcodes.h
|
||||
inc/os.h
|
||||
inc/osmsgdefs.h
|
||||
inc/osmsg.h
|
||||
inc/perrnodefs.h
|
||||
inc/picture.h
|
||||
inc/pilotbbt.h
|
||||
inc/print.h
|
||||
inc/rawrs232c.h
|
||||
inc/returndefs.h
|
||||
inc/return.h
|
||||
inc/rpcdefs.h
|
||||
inc/rplconsdefs.h
|
||||
inc/rs232c.h
|
||||
inc/shiftdefs.h
|
||||
inc/stack.h
|
||||
inc/storagedefs.h
|
||||
inc/stream.h
|
||||
inc/subr0374defs.h
|
||||
inc/subrdefs.h
|
||||
inc/subrs.h
|
||||
inc/sxhashdefs.h
|
||||
inc/testtooldefs.h
|
||||
inc/timeout.h
|
||||
inc/timerdefs.h
|
||||
inc/tos1defs.h
|
||||
inc/tosfns.h
|
||||
inc/tosret.h
|
||||
inc/tty.h
|
||||
inc/typeofdefs.h
|
||||
inc/ubf1defs.h
|
||||
inc/ubf2defs.h
|
||||
inc/ubf3defs.h
|
||||
inc/ufsdefs.h
|
||||
inc/unixcommdefs.h
|
||||
inc/unixfork.h
|
||||
inc/unwinddefs.h
|
||||
inc/uraiddefs.h
|
||||
inc/usrsubrdefs.h
|
||||
inc/uutilsdefs.h
|
||||
inc/vars3defs.h
|
||||
inc/version.h
|
||||
inc/vmemsavedefs.h
|
||||
inc/vmemsave.h
|
||||
inc/xcdefs.h
|
||||
inc/z2defs.h
|
||||
)
|
||||
|
||||
ADD_CUSTOM_TARGET(gen-vdate
|
||||
COMMAND mkvdate > vdate.c
|
||||
BYPRODUCTS vdate.c
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(lde src/ldeboot.c src/unixfork.c)
|
||||
TARGET_COMPILE_DEFINITIONS(lde PUBLIC ${MAIKO_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(lde PUBLIC inc)
|
||||
IF(MAIKO_DISPLAY_X11)
|
||||
# Tell it that the X11 launcher is available.
|
||||
TARGET_COMPILE_DEFINITIONS(lde PUBLIC ${MAIKO_DISPLAY_X11_DEFINITIONS})
|
||||
# This is needed so that it can call XOpenDisplay.
|
||||
TARGET_LINK_LIBRARIES(lde X11::X11)
|
||||
ENDIF()
|
||||
|
||||
ADD_EXECUTABLE(ldeether src/ldeether.c src/dlpi.c)
|
||||
TARGET_COMPILE_DEFINITIONS(ldeether PUBLIC ${MAIKO_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(ldeether PUBLIC inc)
|
||||
|
||||
IF(MAIKO_DISPLAY_X11)
|
||||
ADD_EXECUTABLE(ldex
|
||||
src/main.c
|
||||
vdate.c
|
||||
${MAIKO_SRCS}
|
||||
${MAIKO_HDRS}
|
||||
${MAIKO_DISPLAY_X11_SRCS}
|
||||
${MAIKO_DISPLAY_X11_HDRS}
|
||||
)
|
||||
TARGET_COMPILE_DEFINITIONS(ldex PUBLIC ${MAIKO_DEFINITIONS} ${MAIKO_DISPLAY_X11_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(ldex PUBLIC inc)
|
||||
TARGET_LINK_LIBRARIES(ldex ${MAIKO_LIBRARIES} ${MAIKO_DISPLAY_X11_LIBRARIES})
|
||||
ENDIF()
|
||||
|
||||
ADD_EXECUTABLE(mkvdate src/mkvdate.c)
|
||||
TARGET_COMPILE_DEFINITIONS(mkvdate PUBLIC ${MAIKO_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(mkvdate PUBLIC inc)
|
||||
|
||||
ADD_EXECUTABLE(setsout src/setsout.c src/byteswap.c)
|
||||
TARGET_COMPILE_DEFINITIONS(setsout PUBLIC ${MAIKO_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(setsout PUBLIC inc)
|
||||
|
||||
ADD_EXECUTABLE(tstsout src/tstsout.c src/byteswap.c)
|
||||
TARGET_COMPILE_DEFINITIONS(tstsout PUBLIC ${MAIKO_DEFINITIONS})
|
||||
TARGET_INCLUDE_DIRECTORIES(tstsout PUBLIC inc)
|
||||
76
CODE_OF_CONDUCT.md
Normal file
76
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,76 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at medley-owners@googlegroups.com. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
https://www.contributor-covenant.org/faq
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
Copyright Venue (Wayne Booth Marci, Estate of John Sybalsky) and Interlisp contributers.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
14
NEWCDRCODING.md
Normal file
14
NEWCDRCODING.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# CDR CODING in cons cells
|
||||
|
||||
The cdr-code is a 4-bit field of a 32-bit cons cell.
|
||||
It is treated as an on-page indicator bit and a 3-bit scaled offset.
|
||||
|
||||
Certain combinations are treated specially.
|
||||
|
||||
|
||||
on-page| offset | interpretation
|
||||
-------|--------|----------------------------------------------------------------------------
|
||||
1 | 0 | CDR is NIL
|
||||
1 | 1 - 7 | CDR is at 2*offset (counted in 32-bit cells) on same page
|
||||
0 | 0 | CDR is indirect, CDR(car)
|
||||
0 | 1 - 7 | CDR is not a cons cell but is in the car of cell at 2*offset on same page
|
||||
5
NOTICE
Normal file
5
NOTICE
Normal file
@@ -0,0 +1,5 @@
|
||||
Many thanks to Wayne Booth Marci, who inherited the rights of Venue,
|
||||
including the copyright of works identified as Copyright Venue.
|
||||
|
||||
Permission to release these files with the open source MIT License
|
||||
has been granted.
|
||||
50
README.md
Normal file
50
README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# Maiko
|
||||
|
||||
Maiko is the implementation of the Medley Interlisp virtual machine, for a
|
||||
byte-coded Lisp instruction set and some low-level functions for
|
||||
connecting with Lisp for access to display (via X11) and disk etc.
|
||||
|
||||
Newcomers should check out the [Medley Interlisp Introduction](https://github.com/Interlisp/medley/wiki/Medley-Interlisp-Introduction).
|
||||
|
||||
See [the Medley repository](https://github.org/Interlisp/medley) for
|
||||
* [Issues](https://github.com/Interlisp/medley/issues) (note that maiko issues are there too)
|
||||
* [Discussions](https://github.com/Interlisp/medley/discussions) (Q&A, announcements, etc)
|
||||
* [Medley's README](https://github.com/Interlisp/medley/blob/master/README.md)
|
||||
|
||||
Bug reports, feature requests, fixes and improvements, support for additional platforms and hardware are all welcome.
|
||||
|
||||
## Development Platforms
|
||||
|
||||
We are developing on FreeBSD, Linux, MacOS, and Solaris currently
|
||||
on arm7l, arm64, PowerPC, SPARC, i386, and x86_64 hardware.
|
||||
|
||||
|
||||
## Building Maiko
|
||||
|
||||
Building requires `clang`, `make`, X11 client libraries (`libx11-dev`). For example,
|
||||
|
||||
``` sh
|
||||
$ sudo apt update
|
||||
$ sudo apt install clang make x11dev
|
||||
```
|
||||
|
||||
```
|
||||
$ cd maiko/bin
|
||||
$ ./makeright x
|
||||
```
|
||||
|
||||
* The build will (attempt to) detect the OS-type and cpu-type. It will build binaries `lde` and `ldex` in `../ostype.cputype` (with .o files in `..ostype.cputype-x`. For example, Linux on a 64-bit x86 will use `linux.x86_64`, while MacOS 11 on (new) Mac will use `darwin.arm64`.
|
||||
* If you prefer using `gcc` over `clang`, you will need to edit the makefile fragment for your configuration (`makefile-ostype.cputype-x1) and comment out the line (with a #) that defines `CC` for `clang` and uncomment the line (delete the #) for the line that defines `CC` for `gcc`.
|
||||
* There is a cmake configuration (TBD)
|
||||
|
||||
### Building For MacOS
|
||||
|
||||
* Running on MacOS requires an X server, and building on a Mac requires X client libraries.
|
||||
An X-server for x86 MacOS (and X11 client libraries) can be freely obtained at https://www.xquartz.org/
|
||||
For the new arm64 MacOS 11, you'll need https://x.org which you can get via MacPorts or Brew.
|
||||
|
||||
### Building for Windows 10
|
||||
|
||||
Windows 10 currently requires "Docker for Desktop" or WSL2 -- basically a Linux virtual machine -- and a (Windows X-server).
|
||||
See [Medley's README](https://github.com/Interlisp/medley/blob/master/README.md) for more.
|
||||
|
||||
78
bin/checksum
78
bin/checksum
@@ -1,78 +0,0 @@
|
||||
#! /bin/sh
|
||||
# First line invokes Bourne shell
|
||||
# ============================================================================
|
||||
# ABSTRACT:
|
||||
# Bourne script for checking/generating checksums for files contained
|
||||
# in a specific Medley release directory. Should normally be invoked
|
||||
# by ldechecksum and expects the calling script to be connected to
|
||||
# the medley installation directory. Also, expects the directory
|
||||
# <medleydir>checksumdir to exist. "< W > ..." warning and "< E > ..."
|
||||
# error messages will be issued.
|
||||
#
|
||||
# SYNOPSIS:
|
||||
# checksum -cg dir
|
||||
#
|
||||
# -c generates a FOO.check file and compares it to FOO.sum.
|
||||
# -g generates a FOO.sum file.
|
||||
# NOTE: One of -c or -g is required.
|
||||
# dir the name of the Medley release directory containing files
|
||||
# for which checksum checking/generating will be performed.
|
||||
#
|
||||
# CHANGES:
|
||||
# 05-05-89 Carl Gadener : added "trap" to delete created file if
|
||||
# interrupted. Also "FOO.check" files are now
|
||||
# deleted after being used.
|
||||
# 12-14-88 Carl Gadener : Had to rewrite it for Bourne shell because
|
||||
# the "foreach" loop in csh doesn't accept
|
||||
# enough args.
|
||||
# ============================================================================
|
||||
#
|
||||
if test $# -lt 2
|
||||
then
|
||||
echo "Usage: checksum -cg dir"
|
||||
exit 2
|
||||
|
||||
else
|
||||
case $1 in
|
||||
-c) suffix="check"
|
||||
operation="Verifying"
|
||||
;;
|
||||
-g) suffix="sum"
|
||||
operation="Generating checksum for"
|
||||
;;
|
||||
*) echo "Usage: checksum -cg dir"
|
||||
exit 2 ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if test -d $2
|
||||
then
|
||||
resultdir=`pwd`/checksumdir
|
||||
resultfile=`echo "$2" | sed s/\\\//-/g`
|
||||
|
||||
# If interrupted be sure to delete created file
|
||||
trap "/bin/rm -f $resultdir/$resultfile.$suffix ; exit" 1 2 3 15
|
||||
|
||||
cd $2
|
||||
echo "$operation: $2"
|
||||
echo "Checksum for directory: $2" > $resultdir/$resultfile.$suffix
|
||||
echo "" >> $resultdir/$resultfile.$suffix
|
||||
for file in `/bin/ls -FL | /bin/grep -v "/" `
|
||||
do
|
||||
echo "E > `sum $file` $file" >> $resultdir/$resultfile.$suffix
|
||||
done
|
||||
|
||||
if test "$1" = "-c" # Verifying
|
||||
then
|
||||
/bin/diff $resultdir/$resultfile.sum \
|
||||
$resultdir/$resultfile.check | grep "<"
|
||||
|
||||
# Remove check-file after check has been done
|
||||
/bin/rm -f $resultdir/$resultfile.check
|
||||
fi
|
||||
|
||||
else
|
||||
echo "< W > `pwd`/$2 : Directory not installed"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
January 19, 1989
|
||||
|
||||
===========================================================================
|
||||
CHECKSUM CONTROL FOR FILES UNDER MEDLEY
|
||||
===========================================================================
|
||||
|
||||
If you encounter inexplicable problems shortly after you install Medley,
|
||||
they may be due to files being corrupted. We recommend that you verify the
|
||||
checksums of your installed files.
|
||||
|
||||
===========================================================================
|
||||
DESCRIPTION
|
||||
===========================================================================
|
||||
|
||||
The script generates checksum files named FOO.check and compares them to
|
||||
the released FOO.sum residing in the /checksumdir subdirectory. The
|
||||
checksum script reports inconsistent files, the correct checksum values for
|
||||
the files, and an error message. The checksum of individual files can be
|
||||
verified with the UNIX command "sum filename".
|
||||
|
||||
===========================================================================
|
||||
COMMANDS
|
||||
===========================================================================
|
||||
|
||||
ldechecksum [-cg] medleydir [ dir | dirgroup ]
|
||||
|
||||
-c Generates checksums for your installed files and compares
|
||||
them with correct values. This is the default action.
|
||||
|
||||
-g Generates checksums for the files specified.
|
||||
|
||||
medleydir Name of the Medley installation directory. Usually its
|
||||
/usr/local/lde.
|
||||
|
||||
dir Any specific directory residing under medleydir. Only
|
||||
relative pathnames with respect to medleydir are accepted.
|
||||
|
||||
dirgroup The directory group, either all (the default) or lisp,
|
||||
which includes the X/install.sunos3, X/install.sunos4,
|
||||
X/lisplibrary and X/lispsysouts directories.
|
||||
|
||||
===========================================================================
|
||||
OUTPUT
|
||||
===========================================================================
|
||||
|
||||
As it begins checking each directory, the script prints a message
|
||||
in the form:
|
||||
|
||||
Checking directory: /usr/local/lde/subdir
|
||||
|
||||
|
||||
Error and warning messages may be one of two forms:
|
||||
|
||||
< E > 32711 49 4045XLPSTREAM.DFASL
|
||||
|
||||
indicates that file 4045XLPSTREAM.DFASL is erroneous or does not
|
||||
reside in the directory. The correct checksum of 32711, together
|
||||
with the size (49kbytes) of the file, are shown.
|
||||
|
||||
< W > /usr/local/lde/fonts/display/chinese : Directory not installed
|
||||
|
||||
indicates that Chinese fonts were not installed or were removed
|
||||
after Medley was installed.
|
||||
|
||||
===========================================================================
|
||||
EXAMPLES:
|
||||
===========================================================================
|
||||
|
||||
prompt% ldechecksum /usr/local/lde
|
||||
|
||||
All files in the installed Medley directories in /usr/local/lde are
|
||||
checked.
|
||||
|
||||
prompt% ldechecksum /usr/local/somedir/lde lisp
|
||||
|
||||
This example checks all files in:
|
||||
/usr/local/somedir/lde/install.sunos3
|
||||
/usr/local/somedir/lde/install.sunos4
|
||||
/usr/local/somedir/lde/lisplibrary
|
||||
/usr/local/somedir/lde/lispsysouts
|
||||
|
||||
|
||||
prompt% cd /usr/local/lde
|
||||
prompt% ldechecksum -c . fonts/display
|
||||
|
||||
This example checks only the display font directories. The period
|
||||
(.) is used because you are positioned under the current Medley
|
||||
installation directory.
|
||||
@@ -1,67 +0,0 @@
|
||||
January 19, 1989
|
||||
|
||||
======================================================================
|
||||
HOW TO GENERATE CHECKSUMFILES FOR MEDLEY
|
||||
======================================================================
|
||||
|
||||
===========================================================================
|
||||
COMMANDS
|
||||
===========================================================================
|
||||
|
||||
ldechecksum [-cg] medleydir [ dir | dirgroup ]
|
||||
|
||||
-c Generates checksums for your installed files and compares
|
||||
them with correct values. This is the default action.
|
||||
|
||||
-g Generates checksums for the files specified.
|
||||
|
||||
medleydir Name of the Medley installation directory. Usually its
|
||||
/usr/local/lde.
|
||||
|
||||
dir Any specific directory residing under medleydir. Only
|
||||
relative pathnames with respect to medleydir are accepted.
|
||||
|
||||
dirgroup The directory group, either all (the default) or lisp,
|
||||
which includes the X/install.sunos3, X/install.sunos4,
|
||||
X/lisplibrary and X/lispsysouts directories.
|
||||
|
||||
===========================================================================
|
||||
REQUIREMENTS
|
||||
===========================================================================
|
||||
|
||||
Before generating checksumfiles, make sure that the subdirectory
|
||||
"checksumdir" resides under the local Medley directory (normally
|
||||
/usr/local/lde/checksumdir).
|
||||
|
||||
Make also sure that a copy of the scripts "ldechecksum" and "checksum"
|
||||
reside under the subdirectory "checksumdir".
|
||||
|
||||
NOTE: Don't forget to give the "-g" parameter to generate the
|
||||
checksumfiles.
|
||||
|
||||
======================================================================
|
||||
EXAMPLES
|
||||
======================================================================
|
||||
prompt% ldechecksum -g /usr/local/lde
|
||||
|
||||
All checksumfiles for the Medley directories residing in
|
||||
/usr/local/lde will be generated
|
||||
|
||||
|
||||
prompt% ldechecksum /usr/local/somedir/lde lisp
|
||||
|
||||
This example generates checksumfiles for all files in:
|
||||
/usr/local/somedir/lde/install.sunos3
|
||||
/usr/local/somedir/lde/install.sunos4
|
||||
/usr/local/somedir/lde/lisplibrary
|
||||
/usr/local/somedir/lde/lispsysouts
|
||||
|
||||
|
||||
prompt% cd /usr/local/lde
|
||||
prompt% ldechecksum -c . fonts/display
|
||||
|
||||
This example only generates checksumfiles for the display font
|
||||
directories. The period (.) is used because you are positioned
|
||||
under the current Medley installation directory.
|
||||
|
||||
|
||||
@@ -11,55 +11,22 @@ Flag Name Meaning/Usage
|
||||
_________ ________________________________________________________
|
||||
BYTESWAP Used when compiling for a hardware architecture that has
|
||||
byte-swapped words and word-swapped 32-bit cells, e.g. 80386.
|
||||
SYSVSIGNALS True when compiling on a system that requires the use of
|
||||
SYSV (rather than BSD) signal-handling code (just MIPS & ISC
|
||||
for 486, now).
|
||||
SYSVONLY True when compiling on a system that has little or no
|
||||
BSD support (the ISC unix for 486, or MIPS). E.g. gettimofday
|
||||
is missing.
|
||||
I386 True if compiling for the Sun386i (not just any 80386);
|
||||
used because the 386i's display controller is odd.
|
||||
OS4 True if compiling for SunOS 4.x
|
||||
AIX
|
||||
|
||||
NOPIXRECT Used to suppress pixrect/pixwin options when they're not
|
||||
needed or not available. True if XWINDOW is.
|
||||
|
||||
AIX True if compiling for AIX
|
||||
_I386 True if compiling for PS/2 under AIX (not our flag)
|
||||
AIXPS2 True if compiling for PS/2 under AIX (our flag)
|
||||
APOLLO True if compiling for the Apollo
|
||||
sparc True if we're compiling on a SPARC machine.
|
||||
mc68020 True if we're compiling on a Motorola 680x0 machine.
|
||||
sun3 We're compiling for a Sun-3.
|
||||
HP9000 We're compiling on an HP9000 RISC machine.
|
||||
HPUX We're compiling for HP-UX
|
||||
RS6000 We're compiling for the RS/6000 processor.
|
||||
DEC3100 We're compiling for the DECStation 3100.
|
||||
RISCOS We're compiling for the MIPS RISCstation under RISCOS.
|
||||
|
||||
UNSAFE If true, enables the "fast" version of 68020 opcodes.
|
||||
NOASM If true, suppress any attempt to include assembler
|
||||
versions of things in the emulator. In 'lispemul.c',
|
||||
if this is true, disables:
|
||||
SUN3_OS3_IL
|
||||
SUN3_OS4_IL
|
||||
SUN4_OS4_IL
|
||||
OPDISP
|
||||
NATIVETRAN
|
||||
UNSAFE
|
||||
PROFILE
|
||||
and enables NOASMFNCALL
|
||||
C_ONLY
|
||||
SUN4_OS4_IL Try assembler peephole optimizations for SPARC & SunOS4.x
|
||||
SUN3_OS3_IL Try assembler peephole optimizations for 68K & SunOS 3.x
|
||||
SUN3_OS4_IL Try assembler peephole optimizations for 68K & SunOS 4.x
|
||||
SUN3_OS3_OR_OS4_IL Try asm optimizations for 68K & either sunOS. This is
|
||||
turned on whenever either of SUN3_OS3_IL or SUN3_OS4_IL is on.
|
||||
|
||||
OPDISP Use "fast-opcode-dispatch" macros
|
||||
SPARCDISP Use fast-opcode-dispatch macros on SPARC
|
||||
HPTIMERBUG True if we must compile in the patch around the HPUX
|
||||
timer-resetting bug for Series 700.
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +39,6 @@ DEBUG Used when debugging, to enclose trace and dump code.
|
||||
dbprint.h for the definition.
|
||||
TRACE
|
||||
TRACE2
|
||||
TRASE
|
||||
OPTRACE If true, the dispatch loop prints the PC & opcode each time thru
|
||||
FNTRACE If true, you see the name of each function called.
|
||||
STACKCHECK If true, you see unusual cases of stack manipulation
|
||||
@@ -86,15 +52,13 @@ PROFILE If true, the profiling control code is enabled. You must
|
||||
CHECK
|
||||
FSBCHECK If true, you see a trace of large free stack blocks when
|
||||
the stack is manipulated; was used for debugging stack code.
|
||||
FSMESSAGE If true, prints a message telling you about the hard links
|
||||
it makes (in support of version numbering), as it makes them.
|
||||
|
||||
WINDOW
|
||||
INIT Used when compiling an emulator to build a loadup. Use it
|
||||
to dike out code that deals with network initialization, e.g.
|
||||
|
||||
MYOPTRACE Used to check the stack's validity on each opcode execution.
|
||||
Requires NOASM, and the absence of SUN..._IL and SPARCDISP &c.
|
||||
Requires NOASM
|
||||
|
||||
PCTRACE When true, compiles in a 100-long ring buffer that holds the
|
||||
last 100 PCs, Function-blocks, and Opcodes executed. "pccounter"
|
||||
@@ -111,9 +75,6 @@ DISPLAYBUFFER 10/3/89 JDS -- enables the experimental code for copying
|
||||
Meant for supporting mono mode on a CG6 with no single-bit
|
||||
bitplane. 1/22/91 JDS: This is now the standard flag for
|
||||
compiling for color displays.
|
||||
FSERROR Enables the emulator's returning Unix error codes for
|
||||
{DSK} & {UNIX} operations, so Lisp can decode them and
|
||||
give better indication of problems. FEATURE STANDARD IN 1.1
|
||||
WINDOW
|
||||
FLIPCURSOR If true, the "sandbar" line in the cursor will get flipped
|
||||
by the C stack-frame-moving code, just as it does on a D
|
||||
@@ -122,10 +83,8 @@ ORG_FILPCORSORBAR If true, you get the pixwin version of cursor changing;
|
||||
otherwise, it gets done by direct writes into the display
|
||||
region.
|
||||
OLD_CURSOR If true, uses the pixwin cursor code (e.g., win_setcursor);
|
||||
otherwise, uses the direct-write technique.
|
||||
NATIVETRAN If true, code to support the native-code translator is
|
||||
included in the emulator. This feature was never released,
|
||||
and most such code is probably obsolete.
|
||||
otherwise, uses the direct-write technique. This is only needed
|
||||
for SUNDISPLAY.
|
||||
OS4_TYPE4BUG If true, includes the patches around SunOS 4.0.x's failure
|
||||
to tell you you've got a Type-4 keyboard.
|
||||
ALLDIRSEARCH CURRENTLY HARD DISABLED IN directory.c; looks like it
|
||||
@@ -150,22 +109,13 @@ RECLAIMINC If true, then the RECLAIMCELL opcode calls gcreclaimcell in
|
||||
and is not in any system. Probably fairly easy to debug??
|
||||
KB_SUN4 The kbd type for the Type-4 keyboard. Defined only because
|
||||
older OS versions of the compiler don't define it automatically.
|
||||
FUJI If true, and you don't set the LDEKBDTYPE environment variable,
|
||||
you'll get a nasty message asking you to set it before
|
||||
running lisp. Otherwise, you'll default to a type-3 kbd.
|
||||
FLTINT If true, use the floating-point exception interrupts to detect
|
||||
errors and overflows on FP operations. The interrupt sets a
|
||||
global error flag. Otherwise, calls library routines to see
|
||||
the condition code from each operation. For SPARCs, it's not
|
||||
clear that the interrupt trick works, because of code re-
|
||||
arrangement by the C compiler.
|
||||
BUFFER Used (apparently) only in testdisplay.c to decide if it should
|
||||
read the sysout directly, or buffer each page.
|
||||
|
||||
IFPAGE_DEFINED Used in .h files to prevent redefinition of Interface page.
|
||||
IOPAGE_DEFINED " for IO page definition.
|
||||
NOWAY Used to dike out C definitions of RPLACA and RPLACD in the
|
||||
file car-cdrmacro.h
|
||||
XWINDOW True if compiling for an X-windows emulator.
|
||||
|
||||
BIGATOMS True if this emulator will support 3-byte symbols, instead of
|
||||
|
||||
1816
bin/config.guess
vendored
1816
bin/config.guess
vendored
File diff suppressed because it is too large
Load Diff
2601
bin/config.sub
vendored
2601
bin/config.sub
vendored
File diff suppressed because it is too large
Load Diff
631
bin/dosmkfil
631
bin/dosmkfil
@@ -1,631 +0,0 @@
|
||||
AFLAGS = /T
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
ADMINFILES = makefile mkvdate.c optck.c
|
||||
|
||||
LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
|
||||
|
||||
KEY = keytstno.obj
|
||||
|
||||
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT \
|
||||
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
|
||||
|
||||
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
|
||||
|
||||
RM = del
|
||||
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c hacks.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c keylib.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c keytstno.c keytst.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c find-dsp.l dsphack.l xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj hacks.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj keylib.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(KEY) $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
|
||||
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h fp.h gc.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h profile.h return.h stack.h stream.h subrs.h sysatms.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
|
||||
|
||||
|
||||
bigvm:
|
||||
CFLAGS = $(CFLAGS) -DBIGVM -DNEWCDRCODRING
|
||||
make -f foot emul.exe
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(RM) vdate.c
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h profile.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
# xc.obj: xc.s
|
||||
# tasm /ml xc.s
|
||||
#
|
||||
#xc.s: xc.c
|
||||
# rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
vdate.obj : mkvdate.exe
|
||||
mkvdate > vdate.c
|
||||
$(CC) vdate.c -c $@
|
||||
|
||||
mkvdate.exe : ../src/mkvdate.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkvdate.c
|
||||
del copts
|
||||
|
||||
xc.obj : ../src/xc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/xc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpmain.obj : ../src/lpmain.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpmain.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpsolve.obj : ../src/lpsolve.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpsolve.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpread.obj : ../src/lpread.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpread.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lptran.obj : ../src/lptran.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lptran.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpdual.obj : ../src/lpdual.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpdual.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lpwrite.obj : ../src/lpwrite.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lpwrite.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
|
||||
|
||||
conspage.obj : ../src/conspage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/conspage.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keytstno.obj : ../src/keytstno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keytstno.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dosmouse.obj : ../src/dosmouse.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dosmouse.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
doskbd.obj : ../src/doskbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/doskbd.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vesafns.obj : ../src/vesafns.asm
|
||||
tasm /ml ..\src\vesafns.asm
|
||||
|
||||
vesainit.obj : ../src/vesainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vesainit.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vgainit.obj : ../src/vgainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vgainit.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kbdif.obj : ../src/kbdif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kbdif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcoflow.obj : ../src/gcoflow.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcoflow.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
shift.obj : ../src/shift.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/shift.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dbgtool.obj : ../src/dbgtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dbgtool.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcr.obj : ../src/gcr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcrcell.obj : ../src/gcrcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcrcell.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
llstk.obj : ../src/llstk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/llstk.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcscan.obj : ../src/gcscan.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcscan.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
loopsops.obj : ../src/loopsops.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/loopsops.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
storage.obj : ../src/storage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/storage.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
allocmds.obj : ../src/allocmds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/allocmds.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dir.obj : ../src/dir.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dir.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gvar2.obj : ../src/gvar2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gvar2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lowlev1.obj : ../src/lowlev1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lowlev1.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
subr.obj : ../src/subr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/subr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith2.obj : ../src/arith2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
hacks.obj : ../src/hacks.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/hacks.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lowlev2.obj : ../src/lowlev2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lowlev2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
subr0374.obj : ../src/subr0374.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/subr0374.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith3.obj : ../src/arith3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
doscomm.obj : ../src/doscomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/doscomm.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
hardrtn.obj : ../src/hardrtn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/hardrtn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lsthandl.obj : ../src/lsthandl.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lsthandl.c -I ../inc -c $@ -Le
|
||||
del copts
|
||||
|
||||
sxhash.obj : ../src/sxhash.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/sxhash.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
arith4.obj : ../src/arith4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/arith4.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
draw.obj : ../src/draw.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/draw.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
main.obj : ../src/main.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/main.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
testtool.obj : ../src/testtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/testtool.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array.obj : ../src/array.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dsk.obj : ../src/dsk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dsk.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
inet.obj : ../src/inet.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/inet.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
misc7.obj : ../src/misc7.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/misc7.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
timer.obj : ../src/timer.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/timer.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array2.obj : ../src/array2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dspif.obj : ../src/dspif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dspif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initdsp.obj : ../src/initdsp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initdsp.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
miscn.obj : ../src/miscn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/miscn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
typeof.obj : ../src/typeof.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/typeof.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array3.obj : ../src/array3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initkbd.obj : ../src/initkbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initkbd.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf1.obj : ../src/ubf1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf1.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array4.obj : ../src/array4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array4.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dspsubrs.obj : ../src/dspsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dspsubrs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
initsout.obj : ../src/initsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/initsout.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mkatom.obj : ../src/mkatom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkatom.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf2.obj : ../src/ubf2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array5.obj : ../src/array5.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array5.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
eqf.obj : ../src/eqf.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/eqf.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
intcall.obj : ../src/intcall.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/intcall.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mkcell.obj : ../src/mkcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mkcell.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ubf3.obj : ../src/ubf3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ubf3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
array6.obj : ../src/array6.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/array6.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ether.obj : ../src/ether.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ether.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ufn.obj : ../src/ufn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ufn.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
atom.obj : ../src/atom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/atom.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
findkey.obj : ../src/findkey.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/findkey.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kbdsubrs.obj : ../src/kbdsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kbdsubrs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mouseif.obj : ../src/mouseif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mouseif.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ufs.obj : ../src/ufs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ufs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bbtsub.obj : ../src/bbtsub.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bbtsub.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
foreign.obj : ../src/foreign.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/foreign.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keyevent.obj : ../src/keyevent.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keyevent.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
unixcomm.obj : ../src/unixcomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/unixcomm.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bin.obj : ../src/bin.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bin.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
fp.obj : ../src/fp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/fp.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keylib.obj : ../src/keylib.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keylib.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
binds.obj : ../src/binds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/binds.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
fvar.obj : ../src/fvar.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/fvar.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
mvs.obj : ../src/mvs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/mvs.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
unwind.obj : ../src/unwind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/unwind.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
bitblt.obj : ../src/bitblt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/bitblt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gc.obj : ../src/gc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
uraid.obj : ../src/uraid.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/uraid.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
blt.obj : ../src/blt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/blt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gc2.obj : ../src/gc2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gc2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
kprint.obj : ../src/kprint.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/kprint.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
osmsg.obj : ../src/osmsg.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/osmsg.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
usrsubr.obj : ../src/usrsubr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/usrsubr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
byteswap.obj : ../src/byteswap.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/byteswap.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcarray.obj : ../src/gcarray.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcarray.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
perrno.obj : ../src/perrno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/perrno.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
uutils.obj : ../src/uutils.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/uutils.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
carcdr.obj : ../src/carcdr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/carcdr.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
asmbbt.obj : ../src/asmbbt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/asmbbt.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gccode.obj : ../src/gccode.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gccode.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vars3.obj : ../src/vars3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vars3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcfinal.obj : ../src/gcfinal.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcfinal.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
ldsout.obj : ../src/ldsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/ldsout.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
return.obj : ../src/return.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/return.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
vmemsave.obj : ../src/vmemsave.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/vmemsave.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
chardev.obj : ../src/chardev.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/chardev.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gchtfind.obj : ../src/gchtfind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gchtfind.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lineblt8.obj : ../src/lineblt8.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lineblt8.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
rpc.obj : ../src/rpc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/rpc.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
common.obj : ../src/common.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/common.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
gcmain3.obj : ../src/gcmain3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/gcmain3.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lisp2c.obj : ../src/lisp2c.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lisp2c.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
rplcons.obj : ../src/rplcons.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/rplcons.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
z2.obj : ../src/z2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/z2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
BIN
bin/endiffix
BIN
bin/endiffix
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
%%
|
||||
^[#][Ee][Nn][Dd][Ii][Ff][ \t]+[0-9,a-z,A-Z \t|_&]+$ {printf("#endif /* %s */\n", &yytext[7]);};
|
||||
^[#][Ee][Ll][Ss][Ee][ \t]+[0-9,a-z,A-Z \t|_&]+$ {printf("#else /* %s */\n", &yytext[6]);};
|
||||
%%
|
||||
@@ -1,4 +0,0 @@
|
||||
#! /bin/csh
|
||||
foreach f (*)
|
||||
if ( -w $f) echo $f
|
||||
end
|
||||
68
bin/fixid
68
bin/fixid
@@ -1,68 +0,0 @@
|
||||
#!/usr/local/bin/perl
|
||||
|
||||
# $Id: fixid,v 1.1 1999/01/03 04:00:20 sybalsky Exp $ #
|
||||
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1999 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
######################################################################
|
||||
# #
|
||||
# FIXID -- fix up the ID comment and static in source files #
|
||||
# #
|
||||
######################################################################
|
||||
|
||||
$file = shift;
|
||||
chomp $file;
|
||||
|
||||
printf "File is %s.\n", $file;
|
||||
|
||||
open IN, "<" . $file;
|
||||
open OUT, ">".$file.".new";
|
||||
|
||||
## Copy the first two lines of the file (ID comment & static)
|
||||
|
||||
$line = <IN>;
|
||||
printf OUT "%s", $line;
|
||||
$line = <IN>;
|
||||
printf OUT "%s", $line;
|
||||
|
||||
|
||||
## Now copy the rest of the file, omitting any line with a (#)
|
||||
## in it (the likeliest ID Comment/static contents for SCCS.
|
||||
|
||||
$line = <IN>;
|
||||
|
||||
while ( $line )
|
||||
{
|
||||
if ( $line =~ /\(#\)/ )
|
||||
{
|
||||
printf "Omitting line: %s", $line;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf OUT "%s", $line;
|
||||
}
|
||||
$line = <IN>;
|
||||
|
||||
}
|
||||
|
||||
close IN;
|
||||
close OUT;
|
||||
|
||||
## Save the original file, and put the "fixed" on in its place.
|
||||
|
||||
`mv $file $file.orig`;
|
||||
`mv $file.new $file`;
|
||||
|
||||
|
||||
|
||||
38
bin/fixid~
38
bin/fixid~
@@ -1,38 +0,0 @@
|
||||
#!/usr/local/bin/perl
|
||||
|
||||
$file = shift;
|
||||
chomp $file;
|
||||
|
||||
printf "File is %s.\n", $file;
|
||||
|
||||
open IN, "<" . $file;
|
||||
open OUT, ">".$file.".new";
|
||||
|
||||
$line = <IN>;
|
||||
printf OUT "%s", $line;
|
||||
$line = <IN>;
|
||||
printf OUT "%s", $line;
|
||||
|
||||
$line = <IN>;
|
||||
|
||||
while ( $line )
|
||||
{
|
||||
if ( $line =~ /\(#\)/ )
|
||||
{
|
||||
printf "Omitting line: %s", $line;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf OUT "%s", $line;
|
||||
}
|
||||
$line = <IN>;
|
||||
|
||||
}
|
||||
|
||||
close IN;
|
||||
close OUT;
|
||||
|
||||
`mv $file $file.orig`;
|
||||
`mv $file.new $file`;
|
||||
|
||||
|
||||
@@ -1,758 +0,0 @@
|
||||
#! /bin/sh
|
||||
# ============================================================================
|
||||
# Changes:
|
||||
# ============================================================================
|
||||
# SYNOPSYS:
|
||||
# install-medley
|
||||
#
|
||||
# Utility used for installation and upgrading of the medley system.
|
||||
# The utility will infer as much as possible about the host and network,
|
||||
# but will prompt for answers when needed.
|
||||
#
|
||||
# ============================================================================
|
||||
|
||||
# What is the application to be installed
|
||||
APPLICATION="Medley 2.0"
|
||||
|
||||
SHAREDIR=/usr/share/lde
|
||||
LOCALDIR=/usr/local/lde
|
||||
INSTALLDIR=$LOCALDIR
|
||||
|
||||
TAPEDEV=/dev/rst0
|
||||
|
||||
#************************************************************
|
||||
#********* Changes below this point should normally *********
|
||||
#********* not be required *********
|
||||
#************************************************************
|
||||
|
||||
# What we normally recommend to install (marked with 'x')
|
||||
# COLORP and X11P versions are deduced if possible
|
||||
SYSOUTP=x
|
||||
MONOP=x
|
||||
DISPLAYFONTP=x
|
||||
LIBRARYP=x
|
||||
|
||||
# All sizes in MB
|
||||
SYSOUTSIZE=5.1
|
||||
MONOSIZE=0.5
|
||||
COLORSIZE=0.5
|
||||
X11SIZE=0.6
|
||||
XNSSIZE=0.1
|
||||
LIBRARYSIZE=3
|
||||
DISPLAYFONTSIZE=5.5
|
||||
INTERPRESSFONTSIZE=1.5
|
||||
CHECKSUMSIZE=0.1
|
||||
OBJECTSIZE=0.6
|
||||
|
||||
# All the files for each group
|
||||
SYSOUTFILES="./lispsysouts"
|
||||
CHECKSUMFILES="./checksumdir"
|
||||
LIBRARYFILES="./lisplibrary ./clos"
|
||||
DISPLAYFONTFILES="./fonts/display"
|
||||
INTERPRESSFONTFILES="./fonts/interpress ./fonts/press"
|
||||
|
||||
LOCALHOST=`/bin/hostname`
|
||||
scriptName=`/bin/basename $0`
|
||||
|
||||
# Send out a message when interrupted
|
||||
trap 'echo "
|
||||
Aborted..."; exit' 2
|
||||
|
||||
#-----------------------------------------------------------
|
||||
#----------------------- PROCEDURES ------------------------
|
||||
|
||||
exitScript () {
|
||||
echo "$scriptName: $1"
|
||||
exit
|
||||
} # exitScript
|
||||
|
||||
|
||||
ask(){
|
||||
# Ask a question=$1 and use default=$2 if no answer is given. If arg $3
|
||||
# is specified, it will be considered the opposite of $2. Return 0 if
|
||||
# default is used, 1 otherwise. 'answer' can be used as a global variable
|
||||
|
||||
echo -n "$1 ${2:+[$2]}: "
|
||||
answer=`/bin/line`
|
||||
if [ $# -gt 2 ]
|
||||
then until [ "$answer" = "" -o "$answer" = "$2" -o "$answer" = "$3" ];
|
||||
do echo "Please type '$2' or '$3'."
|
||||
echo -n "$1 $2: "
|
||||
answer=`/bin/line`
|
||||
done
|
||||
fi
|
||||
|
||||
# Note the "-" in the argument below. test will not behave well with some
|
||||
# of the shell escape characters otherwise.
|
||||
[ "-${answer:=$2}" = "-$2" ]
|
||||
} # ask
|
||||
|
||||
|
||||
menuInstructions () {
|
||||
echo "<--------------------> Menu Instructions <-------------------->
|
||||
- Only options marked with an 'x' will be installed. They are
|
||||
initally based on inferred information, recommendations and answers
|
||||
to questions.
|
||||
- To select additional options, at the prompt enter at least as
|
||||
many characters as needed to make the selection unique, e.g.,
|
||||
'XN' for XNS. To select all options, enter 'All'.
|
||||
- To deselect an option already marked with an 'x', at the prompt
|
||||
enter at least as many characters as needed to make the
|
||||
selection unique. To deselect all options, enter 'None'.
|
||||
"
|
||||
ask "Continue?" "y"
|
||||
|
||||
} # menuInstructions
|
||||
|
||||
|
||||
welcome() {
|
||||
|
||||
/usr/ucb/clear
|
||||
echo "
|
||||
<----------> Welcome to the $APPLICATION Installation Utility <---------->
|
||||
|
||||
Utility is used to install or upgrade a $APPLICATION system. It will try to infer
|
||||
as much information as possible about your system, but you will be prompted
|
||||
for specific information when it is not able to infer it automatically.
|
||||
|
||||
Recommended options are initially filled in, but you can change them at
|
||||
any time using the Installation Options Menu.
|
||||
"
|
||||
menuInstructions
|
||||
|
||||
} # welcome
|
||||
|
||||
|
||||
scriptMessage () {
|
||||
MESSAGE="************************** $1 ***************************
|
||||
$2
|
||||
************************************************************"
|
||||
} # scriptMessage
|
||||
|
||||
|
||||
setOSType () {
|
||||
# Pass it OS versions and it will set the OSVERSION variable
|
||||
|
||||
while [ $# != 0 ]
|
||||
do case "$1" in
|
||||
3|3.[245]) OS3P=x ;;
|
||||
4|4.0|4.0.*) OS4P=x ;;
|
||||
4.1|4.1.*) OS41P=x ;;
|
||||
*) echo " Should not happen: OStype $1 invalid" ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
OSVERSION="${OS3P:+3} ${OS4P:+4} ${OS41P:+4.1}"
|
||||
} # setOSType
|
||||
|
||||
|
||||
askOSVersion(){
|
||||
# Prompt user for the correct OS-version
|
||||
|
||||
MESSAGE="$1"
|
||||
|
||||
unset menuloop1
|
||||
while [ ${menuloop1:-notdone} = notdone ]
|
||||
do /usr/ucb/clear
|
||||
echo "
|
||||
<---------------> OS Options Menu <--------------->
|
||||
|
||||
${OS3P:--} 3.X - SunOS 3.2 3.4 3.5
|
||||
${OS4P:--} 4.0 - SunOS 4.0 4.0.X
|
||||
${OS41P:--} 4.1 - SunOS 4.1 4.1.X
|
||||
|
||||
All - Mark all options
|
||||
None - Unmark all options
|
||||
Continue installation
|
||||
${MESSAGE:+
|
||||
$MESSAGE}"
|
||||
unset MESSAGE
|
||||
ask "Select" "Continue"
|
||||
case "$answer" in
|
||||
3|3.[X245])
|
||||
if [ "$OS3P" != "x" ]
|
||||
then OS3P=x
|
||||
else unset OS3P
|
||||
fi ;;
|
||||
4.0|4.0.*)
|
||||
if [ "$OS4P" != "x" ]
|
||||
then OS4P=x
|
||||
else unset OS4P
|
||||
fi ;;
|
||||
4.1|4.1.*)
|
||||
if [ "$OS41P" != "x" ]
|
||||
then OS41P=x
|
||||
else unset OS41P
|
||||
fi ;;
|
||||
[aA]*) OS3P=x ; OS4P=x ; OS41P=x ;;
|
||||
[nN]*) unset OS3P OS4P OS41P ;;
|
||||
[cC]*|"") menuloop1=done ;;
|
||||
*) MESSAGE="Invalid reply: $answer" ;;
|
||||
esac
|
||||
done
|
||||
OSVERSION="${OS3P:+3} ${OS4P:+4} ${OS41P:+4.1}"
|
||||
} # askOSVersion
|
||||
|
||||
|
||||
checkInstallPoint () {
|
||||
# Uses INSTALLDIR to determine if it is possible to make an
|
||||
# installation. INSTDIRERRP is just used to return result of operation and
|
||||
# to signal an error message. EXISTSP is used to avoid repetitive messages.
|
||||
|
||||
unset INSTDIRERRP
|
||||
if [ -f "$INSTALLDIR" ]
|
||||
then scriptMessage "ERROR" "A file with the same name already exists: $INSTALLDIR
|
||||
Select the 'Directory' command and make a change."
|
||||
INSTDIRERRP=x
|
||||
elif [ -d "$INSTALLDIR" -a ! -w "$INSTALLDIR" ]
|
||||
then scriptMessage "ERROR" "Write permission denied for directory: $INSTALLDIR
|
||||
Select the 'Directory' command and make a change."
|
||||
INSTDIRERRP=x
|
||||
elif [ ! -d "$INSTALLDIR" ]
|
||||
then /bin/mkdir -p $INSTALLDIR 1>/dev/null 2>/dev/null
|
||||
if [ $? = 0 ]
|
||||
then EXISTSP=x
|
||||
else scriptMessage "ERROR" "Could not create: $INSTALLDIR - Permission denied
|
||||
Select the 'Directory' command and make a change."
|
||||
INSTDIRERRP=x
|
||||
fi
|
||||
elif [ -d "$INSTALLDIR" -a ${EXISTSP:--} = - ]
|
||||
then scriptMessage "WARNING" "Directory already exists: $INSTALLDIR
|
||||
If this is the location of a previous $APPLICATION installation,
|
||||
\"$scriptName\" may overwrite some of the old files."
|
||||
EXISTSP=x
|
||||
fi
|
||||
|
||||
[ ${INSTDIRERRP:--} = - ]
|
||||
} # checkInstallPoint
|
||||
|
||||
|
||||
mountTape () {
|
||||
unset TAPEMOUNTEDP
|
||||
while [ ${TAPEMOUNTEDP:--} = - ]
|
||||
do if [ "$1" = "$LOCALHOST" ]
|
||||
then mt -f $TAPEDEV status 2>&1 | /bin/egrep -s "no sense"
|
||||
else /usr/ucb/rsh "$1" mt -f $TAPEDEV status 2>&1 | /bin/egrep -s "no sense"
|
||||
fi
|
||||
|
||||
if [ $? != 0 ]
|
||||
then echo "ERROR. Tape not mounted or mounted improperly."
|
||||
ask "Please insert installation tape in the tape drive. Done?" "y"
|
||||
else TAPEMOUNTEDP=x
|
||||
fi
|
||||
done
|
||||
} # mountTape
|
||||
|
||||
|
||||
checkTape () {
|
||||
|
||||
if [ "$1" = "$LOCALHOST" ]
|
||||
then echo -n "Looking for a local tape drive on $1 ..."
|
||||
mt -f $TAPEDEV status 2>&1 | /bin/egrep -s "no sense|not ready|no tape loaded"
|
||||
if [ $? = 0 ]
|
||||
then echo " Found"
|
||||
TAPEHOST="$LOCALHOST"
|
||||
else echo " Not found"
|
||||
echo "'$LOCALHOST' does not seem to have a tape drive."
|
||||
fi
|
||||
else /usr/etc/ping "$1" 10 1>/dev/null 2>/dev/null
|
||||
if [ $? = 0 ]
|
||||
then echo -n "Looking for a remote tape drive on $1 ..."
|
||||
/usr/ucb/rsh "$1" mt -f $TAPEDEV status 2>&1 | /bin/egrep -s "no sense|not ready|no tape loaded"
|
||||
if [ $? = 0 ]
|
||||
then echo " Found"
|
||||
TAPEHOST="$1"
|
||||
else echo " Not Found"
|
||||
echo "'$1' does not seem to have a tape drive."
|
||||
fi
|
||||
else echo "Could not connect to '$1' or host unknown."
|
||||
fi
|
||||
fi
|
||||
|
||||
} # checkTape
|
||||
|
||||
|
||||
inferConfiguration () {
|
||||
# Infers as much as possible the type of configuration on the host
|
||||
# or network. Will ask when not able to determine something.
|
||||
|
||||
# Try to infer Os type
|
||||
if [ -f /etc/motd ]
|
||||
then OSVERSION=`sed -e '1s/.*Release \(...\).*/\1/' -e '1q' < /etc/motd`
|
||||
setOSType $OSVERSION
|
||||
else askOSVersion "Please specify the SunOS version you are running."
|
||||
fi
|
||||
|
||||
# Is it necessary to install 'ldemulti'
|
||||
/bin/egrep -s "cgthree0|cgsix0" /var/adm/messages
|
||||
if [ $? = 0 ]
|
||||
then COLORP=x
|
||||
fi
|
||||
|
||||
# Is X-windows installed on this host
|
||||
if [ -d /usr/bin/X11 -o -d /usr/local/X11 ]
|
||||
then X11P=x
|
||||
fi
|
||||
|
||||
|
||||
checkTape $LOCALHOST
|
||||
|
||||
while [ ${TAPEHOSTP:--} = - ]
|
||||
do
|
||||
if [ ${TAPEHOST:--} = - ]
|
||||
then
|
||||
# Host is networked
|
||||
ask "Name of a host with a tape drive"
|
||||
checkTape "$answer"
|
||||
fi
|
||||
|
||||
if [ "${TAPEHOST:+-}" = - ]
|
||||
then if ask "Insert installation tape in tape drive of $TAPEHOST. Ready?" "y"
|
||||
then TAPEHOSTP=x
|
||||
mountTape "$TAPEHOST"
|
||||
else unset TAPEHOST
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
} # inferConfiguration
|
||||
|
||||
|
||||
emulatorSpace () {
|
||||
# Figure out according to selections what the real space requirements
|
||||
# are for the emulator. Sets the variables RMONOSIZE, RCOLORSIZE, RX11SIZE
|
||||
# for later usage
|
||||
|
||||
RMONOSIZE=0
|
||||
RCOLORSIZE=0
|
||||
RX11SIZE=0
|
||||
|
||||
if [ ${MONOP:--} != - ]
|
||||
then for x in $OSVERSION
|
||||
do RMONOSIZE=`echo $MONOSIZE ${OBJECTP:+"+ $OBJECTSIZE"} + $RMONOSIZE | /bin/bc`
|
||||
done
|
||||
fi
|
||||
|
||||
if [ ${COLORP:--} != - ]
|
||||
then for x in $OSVERSION
|
||||
do RCOLORSIZE=`echo $COLORSIZE ${OBJECTP:+"+ $OBJECTSIZE"} + $RCOLORSIZE | /bin/bc`
|
||||
done
|
||||
fi
|
||||
|
||||
if [ ${X11P:--} != - ]
|
||||
then for x in $OSVERSION
|
||||
do RX11SIZE=`echo $X11SIZE ${OBJECTP:+"+ $OBJECTSIZE"} + $RX11SIZE | /bin/bc`
|
||||
done
|
||||
fi
|
||||
} # emulatorSpace
|
||||
|
||||
|
||||
showInstallMenu () {
|
||||
# Will do different calculations depending on $1. If no argument is
|
||||
# given, it will only redisplay the Installation Options Menu.
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then if [ "$1" = available -o $# -gt 1 ]
|
||||
then if checkInstallPoint
|
||||
then calculateSpace available
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$1" = required -o $# -gt 1 ]
|
||||
then calculateSpace required
|
||||
fi
|
||||
|
||||
if [ "${EXISTSP:+-}" = - ]
|
||||
then sufficientSpaceP
|
||||
fi
|
||||
fi
|
||||
|
||||
/usr/ucb/clear
|
||||
|
||||
echo "
|
||||
<---------------> Installation Options Menu <-------------->
|
||||
------------------------ Emulators -------------------------
|
||||
For one or several OS versions (At least one of monochrome,
|
||||
color, or X11-version is required for new installations).
|
||||
|
||||
${MONOP:--} Monochrome ${MONOP:+- $RMONOSIZE MByte}
|
||||
${COLORP:--} Color ${COLORP:+- $RCOLORSIZE MByte}
|
||||
${X11P:--} X11-version ${X11P:+- $RX11SIZE MByte}
|
||||
${XNSP:--} XNS ${XNSP:+- $XNSSIZE MByte }- allows handling of the XNS protocol.
|
||||
${OBJECTP:--} Object files - allows linking of Medley to other software.
|
||||
OS version - Change versions. Selected: $OSVERSION
|
||||
-------------------------- Fonts ---------------------------
|
||||
${DISPLAYFONTP:--} Display ${DISPLAYFONTP:+- $DISPLAYFONTSIZE MByte }(recommended)
|
||||
${INTERPRESSFONTP:--} Interpress ${INTERPRESSFONTP:+- $INTERPRESSFONTSIZE MByte}
|
||||
------------ Sysout, Library & Checksum files -------------
|
||||
${SYSOUTP:--} Sysout ${SYSOUTP:+- $SYSOUTSIZE MByte} (required for new installations).
|
||||
${LIBRARYP:--} Library modules ${LIBRARYP:+- $LIBRARYSIZE MByte }(recommended)
|
||||
${CHECKSUMP:--} Checksum files ${CHECKSUMP:+- $CHECKSUMSIZE MByte}
|
||||
------------------------- Commands -------------------------
|
||||
Directory - Change the installation directory.
|
||||
-- Current: $INSTALLDIR
|
||||
-- Disk-space(KByte) Available:${AVAILABLESPACE:----} Needed:$DISKSPACE
|
||||
!<Unix command> - Execute a Unix command.
|
||||
? or Help - Show menu instructions.
|
||||
Redraw - Redisplay this menu.
|
||||
All - Mark all options.
|
||||
None - Unmark all options.
|
||||
Continue installation.
|
||||
Quit installation.
|
||||
${MESSAGE}"
|
||||
} # showInstallMenu
|
||||
|
||||
|
||||
getInstallOptions() {
|
||||
# General menu for selecting what to install
|
||||
|
||||
showInstallMenu required available
|
||||
|
||||
menuloop3=notdone
|
||||
while [ "$menuloop3" = notdone ]
|
||||
do if [ "${INSTDIRERRP:+-}" = - ]
|
||||
then ask "Select" "Directory"
|
||||
unset INSTDIRERRP
|
||||
else ask "Select" "Continue"
|
||||
fi
|
||||
unset MESSAGE
|
||||
|
||||
case "$answer" in
|
||||
[sS]*) if [ "$SYSOUTP" != "x" ]
|
||||
then SYSOUTP=x
|
||||
else unset SYSOUTP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[mM]*) if [ "$MONOP" != "x" ]
|
||||
then MONOP=x
|
||||
else unset MONOP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[cC][oO][lL]*)
|
||||
if [ "$COLORP" != "x" ]
|
||||
then COLORP=x
|
||||
else unset COLORP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[xX][1]*)
|
||||
if [ "$X11P" != "x" ]
|
||||
then X11P=x
|
||||
else unset X11P
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[xX][nN]*)
|
||||
if [ "$XNSP" != "x" ]
|
||||
then XNSP=x
|
||||
else unset XNSP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[oO][bB]*)
|
||||
if [ "$OBJECTP" != "x" ]
|
||||
then OBJECTP=x
|
||||
else unset OBJECTP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[oO][sS]*)
|
||||
askOSVersion "Please specify changes you wish to make."
|
||||
showInstallMenu required ;;
|
||||
[dD][iI][sS]*)
|
||||
if [ "$DISPLAYFONTP" != "x" ]
|
||||
then DISPLAYFONTP=x
|
||||
else unset DISPLAYFONTP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[iI]*) if [ "$INTERPRESSFONTP" != "x" ]
|
||||
then INTERPRESSFONTP=x
|
||||
else unset INTERPRESSFONTP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[lL]*) if [ "$LIBRARYP" != "x" ]
|
||||
then LIBRARYP=x
|
||||
else unset LIBRARYP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[cC][hH]*)
|
||||
if [ "$CHECKSUMP" != "x" ]
|
||||
then CHECKSUMP=x
|
||||
else unset CHECKSUMP
|
||||
fi
|
||||
showInstallMenu required ;;
|
||||
[dD][iI][rR]*)
|
||||
ask "Where do you want to install $APPLICATION?" "$INSTALLDIR"
|
||||
INSTALLDIR="$answer"
|
||||
unset EXISTSP
|
||||
showInstallMenu available ;;
|
||||
!?*) eval `echo "$answer" | /bin/sed -e s/\\!//` ;;
|
||||
\?|[hH]*) menuInstructions ; showInstallMenu ;;
|
||||
[rR]*) showInstallMenu ;;
|
||||
[aa]*) SYSOUTP=x ; MONOP=x ; COLORP=x ; X11P=x ; XNSP=x
|
||||
OBJECTP=x ; DISPLAYFONTP=x ; INTERPRESSFONTP=x
|
||||
LIBRARYP=x ; CHECKSUMP=x ; showInstallMenu required ;;
|
||||
[nN]*) unset SYSOUTP MONOP COLORP X11P XNSP OBJECTP DISPLAYFONTP INTERPRESSFONTP LIBRARYP CHECKSUMP
|
||||
showInstallMenu required ;;
|
||||
[cC][oO][nN]*|"")
|
||||
if [ ${SYSOUTP:--} = - -a ${MONOP:--} = - -a \
|
||||
${COLORP:--} = - -a ${X11P:--} = - -a \
|
||||
${DISPLAYFONTP:--} = - -a ${INTERPRESSFONTP:--} -a \
|
||||
${LIBRARYP:--} = - -a ${CHECKSUMP:--} = - -a \
|
||||
${OBJECTP:--} = - -a ${XNSP:--} = - ]
|
||||
then scriptMessage "ERROR" "It doesn't make sense not installing anything.
|
||||
Please select an option to install"
|
||||
elif [ \( ${MONOP:--} != - -o ${COLORP:--} != - -o \
|
||||
${X11P:--} != - \) -a ${OS3P:--} = - -a \
|
||||
${OS4P:--} = - -a ${OS41P:--} = - ]
|
||||
then scriptMessage "ERROR" "You have to select a SunOS version in order to install an emulator."
|
||||
elif checkInstallPoint
|
||||
then if sufficientSpaceP
|
||||
then menuloop3=done
|
||||
fi
|
||||
fi
|
||||
echo "$MESSAGE" ;;
|
||||
[qQ]*) exitScript "Aborted ..." ;;
|
||||
*) echo "Invalid reply: $answer" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
} # getInstallOptions
|
||||
|
||||
|
||||
calculateSpace(){
|
||||
# Calculate either available space for chosen installation point or required
|
||||
# space for selected options. $1 is used to determine what to calculate.
|
||||
|
||||
if [ "$1" = required ]
|
||||
then emulatorSpace
|
||||
|
||||
REQUIREDSPACE=`echo ${SYSOUTP:+"$SYSOUTSIZE +"} \
|
||||
${LIBRARYP:+"$LIBRARYSIZE +"} \
|
||||
${DISPLAYFONTP:+"$DISPLAYFONTSIZE +"} \
|
||||
${INTERPRESSFONTP:+"$INTERPRESSFONTSIZE +"} \
|
||||
${CHECKSUMP:+"$CHECKSUMSIZE +"} \
|
||||
${XNSP:+"$XNSSIZE +"} \
|
||||
"$RMONOSIZE + $RCOLORSIZE + $RX11SIZE" | /bin/bc`
|
||||
|
||||
DISKSPACE=`echo $REQUIREDSPACE "*" 1024 | /bin/bc`
|
||||
else DF=`/bin/df $INSTALLDIR 2>/dev/null| egrep -v Filesystem`
|
||||
|
||||
if [ "$DF" != "" ]
|
||||
then FILESYSTEM=`echo $DF | /bin/awk '{print $6}'`
|
||||
AVAILABLESPACE=`echo $DF | /bin/awk '{print $4}'`
|
||||
else unset AVAILABLESPACE
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
sufficientSpaceP () {
|
||||
# Check if there is enough space in FILESYSTEM to make install
|
||||
|
||||
unset MISSINGSPACE
|
||||
if [ "$DISKSPACE" -ge "$AVAILABLESPACE" ]
|
||||
then MISSINGSPACE=`echo $DISKSPACE - $AVAILABLESPACE | /bin/bc`
|
||||
scriptMessage "ERROR" "There is not enough disk-space in file system: $FILESYSTEM
|
||||
Additional space needed: ($MISSINGSPACE Kbytes)
|
||||
To complete installation, select the 'Directory' command and
|
||||
make a change, or deselect some of the selected options."
|
||||
|
||||
INSTDIRERRP=x
|
||||
fi
|
||||
|
||||
[ "$DISKSPACE" -lt "$AVAILABLESPACE" ]
|
||||
}
|
||||
|
||||
|
||||
tapeCommand() {
|
||||
# Tape commands are $1 = 'rewind' and 'fsf 1' and
|
||||
# $2 is the message to print out if given.
|
||||
|
||||
if [ $# -gt 1 ]
|
||||
then echo -n "$2"
|
||||
fi
|
||||
|
||||
if [ "$TAPEHOST" = `/bin/hostname` ]
|
||||
then /bin/mt -f /dev/nrst0 $1 # local tape drive
|
||||
else /usr/ucb/rsh -n "$TAPEHOST" /bin/mt -f /dev/nrst0 $1 # remote host
|
||||
fi
|
||||
|
||||
if [ $? = 0 -a $# -gt 1 ]
|
||||
then echo " Done"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
collectEmulatorFiles () {
|
||||
EMULATORFILES="$EMULATORFILES $*"
|
||||
}
|
||||
|
||||
|
||||
extract() {
|
||||
# Extract from tape
|
||||
|
||||
# Print message
|
||||
echo -n "Extracting: $1 ..."
|
||||
shift
|
||||
|
||||
if [ "$TAPEHOST" = `/bin/hostname` ]
|
||||
then /bin/dd if=/dev/nrst0 bs=256b 2>/dev/null | /bin/tar xBipfb - 256 $*
|
||||
else /usr/ucb/rsh -n "$TAPEHOST" /bin/dd if=/dev/nrst0 bs=256b 2>/dev/null | /bin/tar xBipfb - 256 $*
|
||||
fi
|
||||
|
||||
if [ $? != 0 ]
|
||||
then echo " Not extracted !"
|
||||
else echo " Done"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
extractFilesP () {
|
||||
# Returns true if either of the file arguments passed are to be
|
||||
# extracted. It is used to avoid unnecessary skips and searches on the tape.
|
||||
|
||||
unset EXTRACTP
|
||||
while [ ${EXTRACTP:--} = - -a $# != 0 ]
|
||||
do case "$1" in
|
||||
File3) EXTRACTP=${MONOP:-${COLORP:-${X11P:-${XNSP:-${OBJECTP:--}}}}} ;;
|
||||
File4) EXTRACTP=${LIBRARYP:--} ;;
|
||||
File5) EXTRACTP=${SYSOUTP:-${CHECKSUMP:--}} ;;
|
||||
File6) EXTRACTP=${DISPLAYFONTP:-${INTERPRESSFONTP:--}} ;;
|
||||
*)
|
||||
exitScript "Help! Should not happen: extractFilesP $1 " ;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
[ ${EXTRACTP:--} != - ]
|
||||
}
|
||||
|
||||
|
||||
performInstall () {
|
||||
# The actual tar of the tape. There are 5 files on the tape.
|
||||
# File 1 Contains this script 'install-medley' (Skip past it)
|
||||
# File 2 Contains the 'medley' script (always extracted)
|
||||
# File 3 Contains the emulator files for the supported OS-versions
|
||||
# (executables, objectfiles and makefile)
|
||||
# File 4 Contains Lisp Library files
|
||||
# File 5 Contains Lisp Sysouts and checksumfiles
|
||||
# File 6 Contains Font files (Display and Interpress)
|
||||
|
||||
cd $INSTALLDIR
|
||||
|
||||
tapeCommand rewind "Positioning media ..."
|
||||
tapeCommand 'fsf 1'
|
||||
|
||||
extract "medley startup script" ./medley
|
||||
|
||||
if extractFilesP File3
|
||||
then EMULATORFILES=""
|
||||
|
||||
for OS in $OSVERSION
|
||||
do collectEmulatorFiles ${MONOP:+"./install.sunos$OS/ldesingle ${OBJECTP:+./install.sunos$OS/ldesingle.o}"} ${COLORP:+"./install.sunos$OS/ldemulti ${OBJECTP:+./install.sunos$OS/ldemulti.o}"} ${X11P:+"./install.sunos$OS/ldex ${OBJECTP:+./install.sunos$OS/ldex.o}"} ${XNSP:+"./install.sunos$OS/ldeether ${OBJECTP:+./install.sunos$OS/ldeether.c}"} ${OBJECTP:+"./install.sunos$OS/makefile ./install.sunos$OS/usersubrs.c"}
|
||||
|
||||
if [ "${MONOP:+-}" = - -o "${COLORP:+-}" = - -o "${MULTI:+-}" = - ]
|
||||
then EMULATORFILES="./install.sunos$OS/lde $EMULATORFILES"
|
||||
fi
|
||||
done
|
||||
|
||||
extract "emulator files for OS versions: $OSVERSION" $EMULATORFILES
|
||||
|
||||
elif extractFilesP File4 File5 File6
|
||||
then tapeCommand 'fsf 1' "Skipping: emulator files ..."
|
||||
fi
|
||||
|
||||
if extractFilesP File4
|
||||
then extract "library files" ${LIBRARYP:+$LIBRARYFILES}
|
||||
elif extractFilesP File5 File6
|
||||
then tapeCommand 'fsf 1' "Skipping: library files ..."
|
||||
fi
|
||||
|
||||
if extractFilesP File5
|
||||
then extract "${SYSOUTP:+sysout }${CHECKSUMP:+checksum }files" ${SYSOUTP:+$SYSOUTFILES} ${CHECKSUMP:+$CHECKSUMFILES}
|
||||
elif extractFilesP File6
|
||||
then tapeCommand 'fsf 1' "Skipping: ${SYSOUTP:+sysout }${CHECKSUMP:+checksum }files ..."
|
||||
fi
|
||||
|
||||
if extractFilesP File6
|
||||
then extract "${DISPLAYFONTP:+display }${INTERPRESSFONTP:+interpress }font-files" ${DISPLAYFONTP:+$DISPLAYFONTFILES} ${INTERPRESSFONTP:+$INTERPRESSFONTFILES}
|
||||
fi
|
||||
|
||||
tapeCommand rewind "Done extracting files. Rewinding media ..."
|
||||
|
||||
}
|
||||
|
||||
|
||||
updateFile() {
|
||||
# Will create a copy of file $1 into $1.orig
|
||||
# Will then replace $* with $2 from file $1.orig into file $1
|
||||
FILE=$1
|
||||
CHANGES="$*"
|
||||
TO=$2
|
||||
|
||||
if [ ! -f "$FILEDIR/$FILE.orig" ]
|
||||
then /bin/cp $FILE $FILE.orig
|
||||
fi
|
||||
echo -n "Updating: $FILE ... "
|
||||
for CHANGE in CHANGES
|
||||
do
|
||||
/bin/sed -e 1,'$'s/$CHANGE/$TO/ <$FILE.orig >$FILE
|
||||
done
|
||||
if [ $? = 0 ]
|
||||
then echo -n "Done - "
|
||||
else echo "An error occured while trying to update: $FILE"
|
||||
fi
|
||||
echo "Original in: $FILE.orig ..."
|
||||
}
|
||||
|
||||
|
||||
updateFiles(){
|
||||
# Will update 'site-init' and 'medley' by replacing all ocassions of
|
||||
# $SHAREDIR or $LOCALDIR to $INSTALLDIR
|
||||
|
||||
if ask "Do you wish to update the files 'site-init' and 'medley'
|
||||
with respect to the installation directory: $INSTALLDIR" "y" "n"
|
||||
then CHANGEDIR1=`echo $SHAREDIR | /bin/sed -e 's/\//\\\\\//g'`
|
||||
CHANGEDIR2=`echo $LOCALDIR | /bin/sed -e 's/\//\\\\\//g'`
|
||||
NEWDIR=`echo $INSTALLDIR | /bin/sed -e 's/\//\\\\\//g'`
|
||||
|
||||
|
||||
FILEDIR="$INSTALLDIR/`/bin/basename $LIBRARYFILES`"
|
||||
if [ ${LIBRARYP:--} != - -a -d "$FILEDIR" ]
|
||||
then cd "$FILEDIR"
|
||||
if [ -f "$FILEDIR/site-init" ]
|
||||
then
|
||||
updateFile site-init "$NEWDIR" "$CHANGEDIR1" "$CHANGEDIR2"
|
||||
elif [ -f "$FILEDIR/site-init.lisp" ]
|
||||
then
|
||||
cp site-init.lisp site-init
|
||||
updateFile site-init "$NEWDIR" "$CHANGEDIR1" "$CHANGEDIR2"
|
||||
else echo "Could not find: $FILEDIR/site-init"
|
||||
fi
|
||||
else echo "$FILEDIR/site-init not installed."
|
||||
fi
|
||||
if [ -f "$INSTALLDIR/medley" ]
|
||||
then cd "$INSTALLDIR"
|
||||
|
||||
updateFile medley "$NEWDIR" "$CHANGEDIR1" "$CHANGEDIR2"
|
||||
else echo "Could not find: $INSTALLDIR/medley"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
#------------------------------------------------------------
|
||||
# ********** Main procedure starts here. **********
|
||||
#------------------------------------------------------------
|
||||
|
||||
welcome
|
||||
|
||||
inferConfiguration
|
||||
|
||||
unset answer
|
||||
while [ ${answer:--} != y ]
|
||||
do getInstallOptions
|
||||
ask "Ready to make installation in: $INSTALLDIR" "y" "n"
|
||||
done
|
||||
|
||||
performInstall
|
||||
|
||||
updateFiles
|
||||
|
||||
exitScript "Installation of $APPLICATION completed."
|
||||
362
bin/launch.asm
362
bin/launch.asm
@@ -1,362 +0,0 @@
|
||||
;************************************************************************
|
||||
;* *
|
||||
;* l a u n c h . a s m *
|
||||
;* *
|
||||
;* This is the launcher for Medley on DOS. It: *
|
||||
;* *
|
||||
;* * Looks for and validates any -m memsize argument on the *
|
||||
;* command line. Only values in the range 8 - 32 are allowed. *
|
||||
;* *
|
||||
;* * Loads the real Medley emulator, emul.exe, from the same *
|
||||
;* directory that the launcher came from. *
|
||||
;* *
|
||||
;* * Sets the Intel DOS Extender's profile to the requested *
|
||||
;* memory size + 3Mb (to allow for the emulator, internal *
|
||||
;* data areas, etc.) *
|
||||
;* *
|
||||
;* * Set the termination address in the child process's PSP, *
|
||||
;* so control returns to the launcher when Medley terminates. *
|
||||
;* *
|
||||
;* * Jumps to the emulator's start address. *
|
||||
;* *
|
||||
;* * Upon return, just terminates cleanly. *
|
||||
;* *
|
||||
;* [We could perhaps do some diagnosis here of error returns?] *
|
||||
;* *
|
||||
;* *
|
||||
;* *
|
||||
;************************************************************************
|
||||
|
||||
;************************************************************************/
|
||||
;* */
|
||||
;* (C) Copyright 1993, 1994 Venue. All Rights Reserved. */
|
||||
;* Manufactured in the United States of America. */
|
||||
;* */
|
||||
;* The contents of this file are proprietary information */
|
||||
;* belonging to Venue, and are provided to you under license. */
|
||||
;* They may not be further distributed or disclosed to third */
|
||||
;* parties without the specific permission of Venue. */
|
||||
;* */
|
||||
;************************************************************************/
|
||||
|
||||
.model small
|
||||
.386p
|
||||
.stack 100h
|
||||
.data
|
||||
align 8
|
||||
;********************************************************
|
||||
;* Parameter block for INT 214B, that loads medley.exe *
|
||||
;********************************************************
|
||||
envseg DW 0 ; environment (0 = copy mine)
|
||||
cmdip DW ? ; command-line-tail pointer
|
||||
cmdcs DW ?
|
||||
fcb1 DD ? ; dummy first FCB to fill in
|
||||
fcb2 DD ? ; " 2nd FCB, not here in DOS 4.01???
|
||||
stk DD ? ; SS:SP for emul.exe, filled in by loader
|
||||
csip DD ? ; start addr for emul.exe, filled in by loader
|
||||
|
||||
|
||||
|
||||
retad DD FAR PTR myret ; cs:ip return address, to put in
|
||||
; child PSP, so we get control back.
|
||||
|
||||
|
||||
;* Error messages, misc strings, and work areas*
|
||||
align 8
|
||||
memval dd 0
|
||||
errstg DB 'ERROR: Couldn''t free excess storage.',13,10,'$'
|
||||
noload db 'ERROR: Loading emulator failed: $'
|
||||
loaded db 'LOAD SUCCESSFUL.',13,10,'$'
|
||||
nominfo db 'ERROR: -m must be followed by a number 8 - 64.',13,10,'$'
|
||||
badexe db 'ERROR: emul.exe is corrupted.',13,10,'$'
|
||||
emulpath DB 'emul.exe',0 ; name of the real emulator.
|
||||
mflag db '-m' ; to search for -m/-M in cmd line
|
||||
mmflag db '-M'
|
||||
profile db 'PRO' ; to find the DOS extender profile
|
||||
cmdline db 128 dup (?) ; hold the cmd line tail for real emulator
|
||||
|
||||
;* Error-message table for failures loading emul.exe
|
||||
align 2
|
||||
errtbl dw OFFSET ng0msg ; 0 = unknown failure
|
||||
dw OFFSET ng1msg ; 1 = "invalid function"
|
||||
dw OFFSET ng2msg ; 2 = file not found
|
||||
dw OFFSET ng3msg ; 3 = path not found
|
||||
dw OFFSET ng4msg ; 4 = too many open files
|
||||
dw OFFSET ng5msg ; 5 = access denied
|
||||
dw OFFSET ng0msg ; 6 = not possible error
|
||||
dw OFFSET ng0msg ; 7 = not possible error
|
||||
dw OFFSET ng8msg ; 8 = insufficient storage
|
||||
dw OFFSET ng0msg ; 9 = not possible
|
||||
dw OFFSET ngamsg ; A = bad environment
|
||||
dw OFFSET ngbmsg ; B = bad format (corrupt .exe?)a
|
||||
|
||||
ng0msg db 'Unknown problem',13,10,'$'
|
||||
ng1msg db 'Invalid Function',13,10
|
||||
db 'Make sure you are running DOS 4.0 or later.',13,10,'$'
|
||||
ng2msg db 'File not found.',13,10
|
||||
db 'CD to proper directory, or set PATH.',13,10,'$'
|
||||
ng3msg db 'Path not found.',13,10
|
||||
db 'CD to proper directory, or set PATH.',13,10,'$'
|
||||
ng4msg db 'Too many files open.',13,10
|
||||
db 'Shut down some TSRs that have file open?',13,10,'$'
|
||||
ng5msg db 'Access denied.',13,10
|
||||
db 'Make sure of your access rights to emul.exe?',13,10,'$'
|
||||
ng8msg db 'Not enough memory.',13,10
|
||||
db 'Shut down some TSR applications?',13,10,'$'
|
||||
ngamsg db 'Environment corrupt.',13,10
|
||||
db 'Check using SET; You may need to re-boot.',13,10,'$'
|
||||
ngbmsg db 'EXE file corrupted.',13,10,'$'
|
||||
db 'You may need to restore from backup or re-install.',13,10,'$'
|
||||
.code
|
||||
|
||||
|
||||
|
||||
;************************************************************************
|
||||
;* *
|
||||
;* M A C R O S *
|
||||
;* *
|
||||
;* prints Given a string ptr in DX, print it to the display. *
|
||||
;* *
|
||||
;* kill Exit cleanly, using INT 21/4C *
|
||||
;* *
|
||||
;************************************************************************
|
||||
|
||||
prints macro text
|
||||
mov dx, OFFSET text
|
||||
mov ah,9
|
||||
int 21h
|
||||
endm
|
||||
|
||||
kill macro
|
||||
mov ah,4ch
|
||||
int 21h
|
||||
endm
|
||||
|
||||
|
||||
|
||||
;************************************************************************
|
||||
;* *
|
||||
;* M A I N E N T R Y *
|
||||
;* *
|
||||
;* *
|
||||
;* *
|
||||
;* *
|
||||
;* *
|
||||
;************************************************************************
|
||||
|
||||
PUBLIC main
|
||||
main PROC NEAR
|
||||
|
||||
mov ax,ds ; Save memory-block start for freeing
|
||||
mov es,ax ; excess memory in a bit.
|
||||
|
||||
mov ax,@data ; DS points to start of data segment
|
||||
mov ds,ax
|
||||
|
||||
mov cmdcs, ax ; Copy the command line for the emulator
|
||||
mov cmdip, OFFSET cmdline
|
||||
|
||||
mov di, OFFSET cmdline
|
||||
mov cx,128
|
||||
mov bx,es
|
||||
mov dx,ds
|
||||
mov es,dx
|
||||
mov ds,bx
|
||||
mov si,80h
|
||||
|
||||
rep
|
||||
movsb
|
||||
|
||||
mov es,bx ; Free the excess memory that DOS gives
|
||||
mov ds,dx ; us (we need it for the emulator)
|
||||
|
||||
mov ax,4a00h
|
||||
mov bx,090h ; We only need 900h bytes for this program
|
||||
int 21h
|
||||
jnc freeok
|
||||
|
||||
prints errstg ; Couldn't free spare space; punt.
|
||||
kill
|
||||
|
||||
;************************************************
|
||||
;* Search the command line for -m or -M *
|
||||
;************************************************
|
||||
freeok:
|
||||
mov di,81h ; start of command line tail
|
||||
mov si, OFFSET mflag
|
||||
mov cx, 2
|
||||
|
||||
mov bx,81h
|
||||
add bl,es:[80h]
|
||||
|
||||
m1lp: call strcmp
|
||||
je fndm
|
||||
|
||||
add di, 1
|
||||
cmp di, bx
|
||||
jl m1lp
|
||||
|
||||
mov di,81h ; start of command line tail
|
||||
mov si, OFFSET mmflag
|
||||
|
||||
m2lp: call strcmp
|
||||
je fndm
|
||||
|
||||
add di, 1
|
||||
cmp di, bx
|
||||
jl m2lp
|
||||
|
||||
mov memval,02400000h ; memory value not set--use 35MB total.
|
||||
jmp doload
|
||||
|
||||
fndm: add di,2 ; Found "-m". Now look for a number
|
||||
cmp di,bx ; (Make sure it's not end of line)
|
||||
jnl nogoodm
|
||||
|
||||
ok1:
|
||||
mov edx, 0 ; Holds the memory-requirement value
|
||||
mov ax,0 ; holds characters as we read
|
||||
|
||||
;************************************************
|
||||
;* Skip over spaces/tabs before any number *
|
||||
;************************************************
|
||||
skiplp:
|
||||
mov al, es:[di]
|
||||
inc di
|
||||
cmp al, 20h ; spaces
|
||||
je skiplp
|
||||
cmp al, 09h ; tabs
|
||||
je skiplp
|
||||
cmp di,bx ; make sure we're still in the string
|
||||
jle cnvst ; Yup, we've got the first char, so enter
|
||||
; the conversion loop part-way down.
|
||||
|
||||
nogoodm:
|
||||
prints nominfo ; no arg to -m, or it's bad; Punt.
|
||||
kill
|
||||
|
||||
;********************************************************
|
||||
; Convert the numeric argument to -m; result in edx. *
|
||||
;********************************************************
|
||||
cnvlp: mov al,es:[di]
|
||||
add di, 1
|
||||
cnvst: cmp al, 30h
|
||||
jl endcnv
|
||||
cmp al, 39h
|
||||
jg endcnv
|
||||
sub al, 30h
|
||||
imul dx, 10
|
||||
add dx, ax
|
||||
jmp cnvlp
|
||||
|
||||
endcnv:
|
||||
cmp edx,0 ; if still 0, no valid chars!
|
||||
je nogoodm
|
||||
cmp edx, 8 ; must be in the range [8, 32]
|
||||
jl nogoodm
|
||||
cmp edx,64
|
||||
jg nogoodm
|
||||
|
||||
add edx, 3 ; add 3mb for data areas, etc, and
|
||||
sal edx, 20 ; convert to megabytes
|
||||
mov memval, edx ; save memory requested
|
||||
|
||||
;************************************************
|
||||
;* Load the real emulator .EXE file, emul.exe *
|
||||
;************************************************
|
||||
doload: mov dx, OFFSET emulpath
|
||||
mov ax, seg envseg
|
||||
mov es, ax
|
||||
mov bx, OFFSET envseg
|
||||
mov ax,4b01h ; load-don't-start
|
||||
int 21h
|
||||
jnc loadok
|
||||
|
||||
add ax,ax
|
||||
mov si,ax
|
||||
prints noload
|
||||
mov bx,OFFSET errtbl
|
||||
mov dx,ds:[bx+si]
|
||||
mov ah,9
|
||||
int 21h
|
||||
kill
|
||||
|
||||
loadok: ; Load succeeded.
|
||||
mov ah,51h ; get PSP address for child
|
||||
int 21h
|
||||
mov es, bx ; get segment for DI addressing
|
||||
|
||||
; mov cx,128 ; copy the command line tail
|
||||
; mov di,80h ; (which appears to be flaky in DOS 4)
|
||||
; mov si, offset cmdline
|
||||
; rep
|
||||
; movsb
|
||||
|
||||
mov eax,retad
|
||||
mov dword ptr es:[+0ah], eax ; set up return address.
|
||||
|
||||
cmp memval, 0 ; If no -m value given, just
|
||||
je dorun ; go start the emulator.
|
||||
|
||||
mov di,0 ; Search for the Intel Extender's PROFILE
|
||||
mov si, OFFSET profile ; (see extender.h)
|
||||
mov cx, 3 ; (length is 3 bytes)
|
||||
|
||||
srchlp: call strcmp
|
||||
je gotprof ; found the profile; fix it.
|
||||
add di, 1
|
||||
cmp di, 2048
|
||||
jle srchlp
|
||||
|
||||
prints badexe ; No extender profile, so the emulator
|
||||
kill ; EXE must be corrupt. Punt.
|
||||
|
||||
gotprof:
|
||||
mov eax,memval ; Fill in the memory requirement.
|
||||
mov es:[di+1bch], eax
|
||||
|
||||
;********************************************************
|
||||
;* *
|
||||
;* Set up the stack seg/pointer & start medley. *
|
||||
;* *
|
||||
;********************************************************
|
||||
dorun: lss sp,stk ; load stack SS & SP regs
|
||||
mov ax, es ; copy PSP ptr to ax & ds, since some
|
||||
mov bx, ds ; code expects it in both places.
|
||||
mov fs,bx ; Also, copy DS to FS, so we still have
|
||||
mov ds,ax ; a base for the indirect jump . . .
|
||||
jmp fs:[csip] ; to start-of-medley.
|
||||
|
||||
myret: kill ; we get back here, so quit gracefully.
|
||||
|
||||
main endp
|
||||
|
||||
|
||||
|
||||
;************************************************************************/
|
||||
;* */
|
||||
;* s t r c m p */
|
||||
;* */
|
||||
;* Compare [ds]di and es:[si] for (CX) characters. If the */
|
||||
;* strings are equal, the Zero flag is set when this returns. */
|
||||
;* */
|
||||
;* All registers are preserved. */
|
||||
;* */
|
||||
;************************************************************************/
|
||||
|
||||
strcmp proc near
|
||||
cld
|
||||
push di
|
||||
push si
|
||||
push cx
|
||||
|
||||
repe
|
||||
cmpsb
|
||||
|
||||
pop cx
|
||||
pop si
|
||||
pop di
|
||||
ret
|
||||
strcmp endp
|
||||
|
||||
END
|
||||
170
bin/ldechecksum
170
bin/ldechecksum
@@ -1,170 +0,0 @@
|
||||
#! /bin/sh
|
||||
# First line invokes Bourne shell
|
||||
# ============================================================================
|
||||
# ABSTRACT:
|
||||
# Bourne script for checking/generating checksums files for the
|
||||
# Medley release. The script will generate a checksum-file for each
|
||||
# release directory, containing the corresponding checksums for all
|
||||
# files residing in the directory. The files having incorrect
|
||||
# checksums will be reported with a message. The checksum-files will
|
||||
# be put under:
|
||||
# <medleydir>/checksumdir (Normally /usr/local/lde/checksumdir).
|
||||
#
|
||||
#
|
||||
# SYNOPSIS:
|
||||
# ldechecksum [-cg] medleydir [ dir | dirgroup ]
|
||||
#
|
||||
# -c compare checksumfiles "FOO.check" with "FOO.sum" (default).
|
||||
# -g generate checksumfiles "FOO.sum".
|
||||
# medleydir is the name of the Medley installation directory (normally
|
||||
# is "/usr/local/lde").
|
||||
# dir can be any specific directory residing under medleydir. Only
|
||||
# relative pathnames with respect to medleydir are accepted.
|
||||
# dirgroup can be either "all" (default), "fonts" or "lisp" which
|
||||
# means the "install.sunosX", "lisplibrary" and "lispsysouts"
|
||||
# directories.
|
||||
#
|
||||
# CHANGES:
|
||||
# 08-23-90 Carl Gadener : Added install.sunos4.1
|
||||
# 05-05-89 Carl Gadener : Added lispusers as an option
|
||||
# 03-30-89 Carl Gadener : Added fonts and fonts/press
|
||||
# 01-19-89 Carl Gadener : Parameter "medleydir" is now mandatory. Also
|
||||
# check that "checksum" files were installed.
|
||||
# 12-22-88 Carl Gadener : Compressed the big "case $dirspec" statement
|
||||
# 12-15-88 Carl Gadener : Rewrote it for Bourne shell due to limitation
|
||||
# factors in CSH
|
||||
# 12-12-88 Carl Gadener & Larry Harada : Creation of script
|
||||
# ============================================================================
|
||||
#
|
||||
# First case statement checks arguments to ldechecksum
|
||||
case $# in
|
||||
0) echo "Usage: ldechecksum [ -cg ] medleydir [ dir | dirgroup ] "
|
||||
exit 1 ;;
|
||||
1) case $1 in
|
||||
-*) echo "Usage: ldechecksum [ -cg ] medleydir [ dir | dirgroup ] "
|
||||
exit 1 ;;
|
||||
*) arg="-c"
|
||||
medleydir=$1
|
||||
dirspec=all
|
||||
break ;;
|
||||
esac ;;
|
||||
[23])
|
||||
case $1 in
|
||||
-[cg]) arg=$1
|
||||
medleydir=$2
|
||||
if test $# = 3
|
||||
then
|
||||
dirspec=$3
|
||||
else
|
||||
dirspec=all
|
||||
fi
|
||||
break ;;
|
||||
-*) echo "Usage: ldechecksum [ -cg ] medleydir [ dir | dirgroup ] "
|
||||
exit 1 ;;
|
||||
*) arg="-c"
|
||||
medleydir=$1
|
||||
if test $# = 2
|
||||
then
|
||||
dirspec=$2
|
||||
else
|
||||
echo "Unexpected arg: $3"
|
||||
exit 1
|
||||
fi
|
||||
break ;;
|
||||
esac ;;
|
||||
*) echo "Usage: ldechecksum [ -cg ] medleydir [ dir | dirgroup ] "
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
# Checking if the Medley directory exists
|
||||
if test -d $medleydir
|
||||
then
|
||||
cd $medleydir
|
||||
|
||||
# Checking that script is correctly installed
|
||||
if test -d checksumdir \
|
||||
-a -f checksumdir/ldechecksum \
|
||||
-a -f checksumdir/checksum
|
||||
then
|
||||
|
||||
lispdirs="install.sunos3 install.sunos4 install.sunos4.1 lisplibrary lispsysouts"
|
||||
fonts="JIS1 JIS2 chinese miscellaneous presentation printwheel \
|
||||
publishing"
|
||||
|
||||
if test $arg = "-g"
|
||||
then
|
||||
operation="Generating"
|
||||
else #$arg = "-c"
|
||||
operation="Verifying"
|
||||
fi
|
||||
|
||||
case $dirspec in
|
||||
all)
|
||||
checksumdir/ldechecksum $arg `pwd` lisp
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/display
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/interpress
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/press
|
||||
;;
|
||||
lisp)
|
||||
echo "----------------------------------------------------"
|
||||
echo "$operation checksums for Lisp directories"
|
||||
echo "----------------------------------------------------"
|
||||
for file in $lispdirs
|
||||
do
|
||||
checksumdir/checksum $arg $file
|
||||
done
|
||||
;;
|
||||
fonts)
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/display
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/interpress
|
||||
checksumdir/ldechecksum $arg `pwd` fonts/press
|
||||
;;
|
||||
fonts/display | \
|
||||
fonts/interpress)
|
||||
fonttype=`basename $dirspec`
|
||||
echo "----------------------------------------------------"
|
||||
echo "$operation checksums for $fonttype font directories"
|
||||
echo "----------------------------------------------------"
|
||||
for file in $fonts
|
||||
do
|
||||
checksumdir/checksum $arg $dirspec/$file
|
||||
done
|
||||
;;
|
||||
# All Medley directories at the "lowest" level
|
||||
install.sunos3 | \
|
||||
install.sunos4 | \
|
||||
install.sunos4.1 | \
|
||||
lisplibrary | \
|
||||
lispsysouts | \
|
||||
lispusers | \
|
||||
fonts/display/JIS1 | \
|
||||
fonts/display/JIS2 | \
|
||||
fonts/display/chinese | \
|
||||
fonts/display/miscellaneous | \
|
||||
fonts/display/presentation | \
|
||||
fonts/display/printwheel | \
|
||||
fonts/display/publishing | \
|
||||
fonts/interpress/JIS1 | \
|
||||
fonts/interpress/JIS2 | \
|
||||
fonts/interpress/chinese | \
|
||||
fonts/interpress/miscellaneous | \
|
||||
fonts/interpress/presentation | \
|
||||
fonts/interpress/printwheel | \
|
||||
fonts/interpress/publishing | \
|
||||
fonts/press)
|
||||
checksumdir/checksum $arg $dirspec
|
||||
;;
|
||||
*) echo "$dirspec : No such directory/grouping under `pwd`"
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
else
|
||||
echo "`pwd`/checksumdir : No such directory or script incorrectly installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
echo "$medleydir : No such directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
15
bin/makefile-init.sparc-multi → bin/legacy/makefile-init.sparc-multi
Executable file → Normal file
15
bin/makefile-init.sparc-multi → bin/legacy/makefile-init.sparc-multi
Executable file → Normal file
@@ -8,11 +8,6 @@
|
||||
#* (C) Copyright 1989-92 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
@@ -24,9 +19,9 @@ FPFLAGS =
|
||||
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
# for bigatom work, removed -DSPARCDISP -DSUN4_OS4_IL
|
||||
DFLAGS = -DINIT -DKBINT -DFSERROR -DOS4 -DOS4_TYPE4BUG -DCOLOR \
|
||||
-DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM \
|
||||
-DBIGATOMS -DNOASM -DNOFORN -DRELEASE=210 # -DNOVERSION -DRELEASE=201
|
||||
DFLAGS = -DINIT -DKBINT -DOS4 -DOS4_TYPE4BUG -DCOLOR \
|
||||
-DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER \
|
||||
-DNOASM -DRELEASE=210 # -DNOVERSION -DRELEASE=201
|
||||
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
#-Dsparc?
|
||||
@@ -44,7 +39,7 @@ default: ../$(OSARCHNAME)/$(LDENAME)
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
@@ -97,7 +92,7 @@ $(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
6
bin/makefile-sunos3.mc68020 → bin/legacy/makefile-sunos3.mc68020
Executable file → Normal file
6
bin/makefile-sunos3.mc68020 → bin/legacy/makefile-sunos3.mc68020
Executable file → Normal file
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -O2
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
DFLAGS = -DKBINT -DNEW_STORAGE -DFSERROR -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
@@ -20,11 +20,11 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
6
bin/makefile-sunos3.mc68020-multi → bin/legacy/makefile-sunos3.mc68020-multi
Executable file → Normal file
6
bin/makefile-sunos3.mc68020-multi → bin/legacy/makefile-sunos3.mc68020-multi
Executable file → Normal file
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DFSERROR -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DSUN3_OS3_IL -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
@@ -26,13 +26,13 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncallmacro.h $(INCDIR)inlinedefsC.h \
|
||||
$(INCDIR)inlinedefs68K.h \
|
||||
$(INCDIR)inlinedefsSPARC.h $(INCDIR)fastdispatch.h \
|
||||
$(INCDIR)fastinlinedefs68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinlinedefs68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
11
bin/makefile-sunos3.mc68020-x → bin/legacy/makefile-sunos3.mc68020-x
Executable file → Normal file
11
bin/makefile-sunos3.mc68020-x → bin/legacy/makefile-sunos3.mc68020-x
Executable file → Normal file
@@ -25,8 +25,7 @@ XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
@@ -34,13 +33,13 @@ OEXT = .o
|
||||
OPTFLAGS = -O2
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DOPDISP -DSUN3_OS3_IL -DNEWBITBLT -DLOGINT $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
|
||||
OBJECTDIR = ../sunos3.mc68020-x/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
|
||||
@@ -48,11 +47,11 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
4
bin/makefile-sunos3.sparc → bin/legacy/makefile-sunos3.sparc
Executable file → Normal file
4
bin/makefile-sunos3.sparc → bin/legacy/makefile-sunos3.sparc
Executable file → Normal file
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -O2
|
||||
FPFLAGS =
|
||||
# JRB - I'm not 100% sure about these flags; someone should check...
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DFLTINT -DSPARCDISP -DOS4_TYPE4BUG -DOLD_CURSOR -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DFLTINT -DSPARCDISP -DOS4_TYPE4BUG -DOLD_CURSOR -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
#-Dsparc?
|
||||
INLINE = $(SRCDIR)dispSPARC.il
|
||||
@@ -22,7 +22,7 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
8
bin/makefile-sunos4.1.i386 → bin/legacy/makefile-sunos4.1.i386
Executable file → Normal file
8
bin/makefile-sunos4.1.i386 → bin/legacy/makefile-sunos4.1.i386
Executable file → Normal file
@@ -5,12 +5,12 @@ OEXT = .o
|
||||
#For debugging
|
||||
OPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
|
||||
DFLAGS = -DKBINT -DFLTINT -DNOASM -DOS4 -DI386 -DCHECK -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp386i.il
|
||||
|
||||
OBJECTDIR = ../sunos4.i386/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
COLORFILES = $(OBJECTDIR)colorbltfns.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
@@ -21,14 +21,14 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncallmacro.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)n_op_inlineC.h $(SRCDIR)disp386i.il \
|
||||
$(INCDIR)dummy_entries.h \
|
||||
$(INCDIR)inline386i.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc -c -O -Qproduce .s $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.s
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
8
bin/makefile-sunos4.1.i386-multi → bin/legacy/makefile-sunos4.1.i386-multi
Executable file → Normal file
8
bin/makefile-sunos4.1.i386-multi → bin/legacy/makefile-sunos4.1.i386-multi
Executable file → Normal file
@@ -6,13 +6,13 @@ OEXT = .o
|
||||
OPTFLAGS = -O
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS =
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOS4 -DI386 -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp386i.il
|
||||
BITBLTFILE=$(OBJECTDIR)bitblt386i.o
|
||||
|
||||
OBJECTDIR = ../sunos4.i386-multi/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
COLORFILES = $(OBJECTDIR)colorbltfns.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
@@ -23,13 +23,13 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.s: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(SRCDIR)disp386i.il \
|
||||
$(INCDIR)inline386i.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc -c -O -Qproduce .s $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.s
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
6
bin/makefile-sunos4.1.mc68020 → bin/legacy/makefile-sunos4.1.mc68020
Executable file → Normal file
6
bin/makefile-sunos4.1.mc68020 → bin/legacy/makefile-sunos4.1.mc68020
Executable file → Normal file
@@ -10,7 +10,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright multi'. -osamu '90/02/07]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
@@ -25,12 +25,12 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
6
bin/makefile-sunos4.1.mc68020-multi → bin/legacy/makefile-sunos4.1.mc68020-multi
Executable file → Normal file
6
bin/makefile-sunos4.1.mc68020-multi → bin/legacy/makefile-sunos4.1.mc68020-multi
Executable file → Normal file
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
@@ -26,13 +26,13 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
11
bin/makefile-sunos4.1.mc68020-x → bin/legacy/makefile-sunos4.1.mc68020-x
Executable file → Normal file
11
bin/makefile-sunos4.1.mc68020-x → bin/legacy/makefile-sunos4.1.mc68020-x
Executable file → Normal file
@@ -25,8 +25,7 @@ XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
@@ -38,14 +37,14 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright x'. -osamu '90/02/27]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
|
||||
OBJECTDIR = ../sunos4.mc68020-x/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
|
||||
@@ -53,12 +52,12 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
4
bin/makefile-sunos4.1.sparc → bin/legacy/makefile-sunos4.1.sparc
Executable file → Normal file
4
bin/makefile-sunos4.1.sparc → bin/legacy/makefile-sunos4.1.sparc
Executable file → Normal file
@@ -9,7 +9,7 @@ DISPOPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS -DNOEUROKBD
|
||||
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DNOEUROKBD
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
# SPARC Assemble optimize check
|
||||
DFLAGS:sh += optck.sh ; true
|
||||
@@ -28,7 +28,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
4
bin/makefile-sunos4.1.sparc-color → bin/legacy/makefile-sunos4.1.sparc-color
Executable file → Normal file
4
bin/makefile-sunos4.1.sparc-color → bin/legacy/makefile-sunos4.1.sparc-color
Executable file → Normal file
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
# For COLOR, Add COLOR, remove OLD_CURSOR
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
|
||||
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
# SPARC Assemble optimize check
|
||||
DFLAGS:sh += optck.sh ; true
|
||||
@@ -26,7 +26,7 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)Cldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
4
bin/makefile-sunos4.1.sparc-multi → bin/legacy/makefile-sunos4.1.sparc-multi
Executable file → Normal file
4
bin/makefile-sunos4.1.sparc-multi → bin/legacy/makefile-sunos4.1.sparc-multi
Executable file → Normal file
@@ -14,7 +14,7 @@ FPFLAGS =
|
||||
# Now share the same ldemulti for Mono-Medley & Color-Medley
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS -DNOEUROKBD
|
||||
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DNOEUROKBD
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
# SPARC Assemble optimize check
|
||||
DFLAGS:sh += optck.sh ; true
|
||||
@@ -34,7 +34,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
17
bin/makefile-sunos4.1.sparc-x → bin/legacy/makefile-sunos4.1.sparc-x
Executable file → Normal file
17
bin/makefile-sunos4.1.sparc-x → bin/legacy/makefile-sunos4.1.sparc-x
Executable file → Normal file
@@ -1,10 +1,5 @@
|
||||
# Options for SunOS4, SPARC and X-Window
|
||||
|
||||
CLXFLAGS = -DCLX -DTCP_NODELAY
|
||||
|
||||
CLXFILES = $(OBJECTDIR)socket.o \
|
||||
$(OBJECTDIR)socdvr.o
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
@@ -28,11 +23,9 @@ XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o \
|
||||
$(CLXFILES)
|
||||
$(OBJECTDIR)Xwinman.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION) $(CLXFLAGS)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
@@ -41,7 +34,7 @@ OPTFLAGS = -g
|
||||
DISPOPTFLAGS = -g
|
||||
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS -DNOEUROKBD
|
||||
DFLAGS = -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR -DNEWBITBLT -DLOGINT $(XFLAGS) -DNOEUROKBD
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm -ldld
|
||||
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm
|
||||
# SPARC Assemble optimize check
|
||||
@@ -63,7 +56,7 @@ default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
@@ -114,7 +107,7 @@ $(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h #$(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
8
bin/makefile-sunos4.i386 → bin/legacy/makefile-sunos4.i386
Executable file → Normal file
8
bin/makefile-sunos4.i386 → bin/legacy/makefile-sunos4.i386
Executable file → Normal file
@@ -5,12 +5,12 @@ OEXT = .o
|
||||
#For debugging
|
||||
OPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DFLTINT -DNOASM -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DSUNDISPLAY -DFORKCOMM
|
||||
DFLAGS = -DKBINT -DFLTINT -DNOASM -DOS4 -DI386 -DCHECK -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp386i.il
|
||||
|
||||
OBJECTDIR = ../sunos4.i386/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
COLORFILES = $(OBJECTDIR)colorbltfns.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
@@ -21,14 +21,14 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncallmacro.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)n_op_inlineC.h $(SRCDIR)disp386i.il \
|
||||
$(INCDIR)dummy_entries.h \
|
||||
$(INCDIR)inline386i.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc -c -O -Qproduce .s $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.s
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
8
bin/makefile-sunos4.i386-multi → bin/legacy/makefile-sunos4.i386-multi
Executable file → Normal file
8
bin/makefile-sunos4.i386-multi → bin/legacy/makefile-sunos4.i386-multi
Executable file → Normal file
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -O -traditional
|
||||
DISPOPTFLAGS = -O -traditional
|
||||
FPFLAGS =
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DI386 -DBYTESWAP -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOS4 -DI386 -DCHECK -DLOGINT -DDISPLAYBUFFER -DSUNDISPLAY -DNEWBITBLT -DOPDISP
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
INLINE = $(SRCDIR)disp386i.il
|
||||
BITBLTFILE=$(OBJECTDIR)bitblt386i.o
|
||||
@@ -14,7 +14,7 @@ CC=gcc
|
||||
AS=/users/sybalsky/gcc/gas/gas-1.35/a386
|
||||
|
||||
OBJECTDIR = ../sunos4.i386-multi/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
COLORFILES = $(OBJECTDIR)colorbltfns.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
@@ -25,13 +25,13 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.s: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(SRCDIR)disp386i.il \
|
||||
$(INCDIR)inline386i.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc -c -O -Qproduce .s $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.s
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
6
bin/makefile-sunos4.mc68020 → bin/legacy/makefile-sunos4.mc68020
Executable file → Normal file
6
bin/makefile-sunos4.mc68020 → bin/legacy/makefile-sunos4.mc68020
Executable file → Normal file
@@ -10,7 +10,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright multi'. -osamu '90/02/07]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
@@ -25,12 +25,12 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
6
bin/makefile-sunos4.mc68020-multi → bin/legacy/makefile-sunos4.mc68020-multi
Executable file → Normal file
6
bin/makefile-sunos4.mc68020-multi → bin/legacy/makefile-sunos4.mc68020-multi
Executable file → Normal file
@@ -11,7 +11,7 @@ DISPOPTFLAGS = -O
|
||||
FPFLAGS = -f68881
|
||||
# DISPLAYBUFFER for Color Sparcstation code testing
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DDISPLAYBUFFER
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)disp68K.il
|
||||
@@ -26,13 +26,13 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
11
bin/makefile-sunos4.mc68020-x → bin/legacy/makefile-sunos4.mc68020-x
Executable file → Normal file
11
bin/makefile-sunos4.mc68020-x → bin/legacy/makefile-sunos4.mc68020-x
Executable file → Normal file
@@ -25,8 +25,7 @@ XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
@@ -38,7 +37,7 @@ FPFLAGS = -f68881
|
||||
# [I remove DISPLAYBUFFER option .
|
||||
# You may run 'makeright x'. -osamu '90/02/27]
|
||||
# NEWBITBLT for assembler version of bitblt.
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOPDISP -DUNSAFE -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS) -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DOPDISP -DOS4 -DSUN3_OS4_IL -DOS4_TYPE4BUG -DNEWBITBLT -DLOGINT $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm
|
||||
|
||||
@@ -46,7 +45,7 @@ INLINE = $(SRCDIR)disp68K.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitblt68K.o
|
||||
|
||||
OBJECTDIR = ../sunos4.mc68020-x/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
|
||||
@@ -54,12 +53,12 @@ $(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h \
|
||||
$(INCDIR)inlineSPARC.h $(INCDIR)fast_disp.h \
|
||||
$(INCDIR)fastinline68K.h $(INCDIR)profile.h
|
||||
$(INCDIR)fastinline68K.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
13
bin/makefile-sunos4.sparc → bin/legacy/makefile-sunos4.sparc
Executable file → Normal file
13
bin/makefile-sunos4.sparc → bin/legacy/makefile-sunos4.sparc
Executable file → Normal file
@@ -6,11 +6,6 @@
|
||||
#* (C) Copyright 1989-95 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
#
|
||||
|
||||
@@ -40,7 +35,7 @@ FPFLAGS =
|
||||
#
|
||||
DEBUGFLAGS = # -DNOASM -DSTACKCHECK -DFNSTKCHECK
|
||||
MACHINEFLAGS = -DOS4 -DOS4_TYPE4BUG -DCOLOR -DSUNDISPLAY \
|
||||
-DNEWBITBLT -DLOGINT -DFORKCOMM
|
||||
-DNEWBITBLT -DLOGINT
|
||||
FEATUREFLAGS = # -DLPSOLVE -DXMAS
|
||||
|
||||
INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
|
||||
@@ -48,7 +43,7 @@ INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
|
||||
DFLAGS = $(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
$(INLINEFLAGS) \
|
||||
-DKBINT -DFSERROR -DNEW_STORAGE \
|
||||
-DKBINT \
|
||||
-DRELEASE=350
|
||||
|
||||
LDFLAGS = -L$(LIBDIR) -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
@@ -69,7 +64,7 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
@@ -122,7 +117,7 @@ $(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
4
bin/makefile-sunos4.sparc-3 → bin/legacy/makefile-sunos4.sparc-3
Executable file → Normal file
4
bin/makefile-sunos4.sparc-3 → bin/legacy/makefile-sunos4.sparc-3
Executable file → Normal file
@@ -17,7 +17,7 @@ OPTFLAGS = -O2
|
||||
FPFLAGS =
|
||||
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DFORKCOMM -DBIGATOMS
|
||||
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
#-Dsparc?
|
||||
INLINE = $(SRCDIR)dispSPARC.il
|
||||
@@ -34,7 +34,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
4
bin/makefile-sunos4.sparc-color → bin/legacy/makefile-sunos4.sparc-color
Executable file → Normal file
4
bin/makefile-sunos4.sparc-color → bin/legacy/makefile-sunos4.sparc-color
Executable file → Normal file
@@ -6,7 +6,7 @@ OEXT = .o
|
||||
OPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
# For COLOR, Add COLOR, remove OLD_CURSOR
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT -DFORKCOMM
|
||||
DFLAGS = -DKBINT -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DFLTINT -DCOLOR -DNEWBITBLT -DSUNDISPLAY -DLOGINT
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
|
||||
#-Dsparc?
|
||||
@@ -24,7 +24,7 @@ default : $(OBJECTDIR)lde $(OBJECTDIR)Cldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
13
bin/makefile-sunos4.sparc-multi → bin/legacy/makefile-sunos4.sparc-multi
Executable file → Normal file
13
bin/makefile-sunos4.sparc-multi → bin/legacy/makefile-sunos4.sparc-multi
Executable file → Normal file
@@ -8,11 +8,6 @@
|
||||
#* (C) Copyright 1989-98 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
CC = gcc
|
||||
@@ -46,14 +41,14 @@ FPFLAGS =
|
||||
#
|
||||
#DEBUGFLAGS = -DNOASM -DSTACKCHECK -DFNSTKCHECK
|
||||
MACHINEFLAGS = -DOS4 -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DSUNDISPLAY \
|
||||
-DNEWBITBLT -DLOGINT -DFORKCOMM
|
||||
-DNEWBITBLT -DLOGINT
|
||||
|
||||
INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
|
||||
|
||||
DFLAGS = $(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
$(INLINEFLAGS) \
|
||||
-DKBINT -DFSERROR -DNEW_STORAGE \
|
||||
-DKBINT \
|
||||
-DNOVERSION -DRELEASE=350
|
||||
|
||||
LDFLAGS = -L$(LIBDIR) -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
@@ -73,7 +68,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
@@ -127,7 +122,7 @@ $(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
6
bin/makefile-sunos4.sparc-multi-3 → bin/legacy/makefile-sunos4.sparc-multi-3
Executable file → Normal file
6
bin/makefile-sunos4.sparc-multi-3 → bin/legacy/makefile-sunos4.sparc-multi-3
Executable file → Normal file
@@ -17,7 +17,7 @@ FPFLAGS =
|
||||
# Removed for debug: -DSPARCDISP -DSUN4_OS4_IL
|
||||
# Added for debug: -DFNSTKCHECK -DMYOPTRACE -DOPTRACE -DNOASM
|
||||
#
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DSPARCDISP -DSUN4_OS4_IL -DBIGATOMS -DFORKCOMM
|
||||
DFLAGS = -DKBINT -DOS4 -DOS4_TYPE4BUG -DCOLOR -DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DSPARCDISP -DSUN4_OS4_IL
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -lc -lm
|
||||
#-Dsparc?
|
||||
INLINE = $(SRCDIR)dispSPARC.il
|
||||
@@ -34,7 +34,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
@@ -87,7 +87,7 @@ $(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h# $(INCDIR)address.h \
|
||||
# $(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
# $(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
# $(INCDIR)tosfuncall.h $(INCDIR)inlineC.h
|
||||
17
bin/makefile-sunos4.sparc-x → bin/legacy/makefile-sunos4.sparc-x
Executable file → Normal file
17
bin/makefile-sunos4.sparc-x → bin/legacy/makefile-sunos4.sparc-x
Executable file → Normal file
@@ -1,11 +1,5 @@
|
||||
# Options for SunOS4, SPARC and X-Window
|
||||
|
||||
# CLXFLAGS = -DTCP_NODELAY
|
||||
|
||||
#CLXFILES = $(OBJECTDIR)socket.o \
|
||||
# $(OBJECTDIR)socdvr.o
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
@@ -18,8 +12,7 @@ XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
|
||||
CC = gcc
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DNOPIXRECT -D$(XVERSION) # $(CLXFLAGS)
|
||||
XFLAGS = -DXWINDOW -DNOPIXRECT
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
@@ -36,7 +29,7 @@ FPFLAGS =
|
||||
#DEBUGFLAGS = -DNOASM -DSTACKCHECK -DFNSTKCHECK
|
||||
MACHINEFLAGS = -DOS4 -DOS4_TYPE4BUG -DOLD_CURSOR -DNOPIXRECT \
|
||||
-I$(OPENWINHOME)/include \
|
||||
-DNEWBITBLT -DLOGINT -DFORKCOMM -DLOCK_X_UPDATES
|
||||
-DNEWBITBLT -DLOGINT -DLOCK_X_UPDATES
|
||||
|
||||
INLINEFLAGS = # -DSPARCDISP -DSUN4_OS4_IL
|
||||
|
||||
@@ -44,7 +37,7 @@ DFLAGS = $(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
$(INLINEFLAGS) \
|
||||
$(XFLAGS) \
|
||||
-DKBINT -DFSERROR -DNEW_STORAGE \
|
||||
-DKBINT \
|
||||
-DNOVERSION -DRELEASE=200
|
||||
|
||||
|
||||
@@ -67,7 +60,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
@@ -120,7 +113,7 @@ $(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
11
bin/makefile-sunos4.sparc-x-3 → bin/legacy/makefile-sunos4.sparc-x-3
Executable file → Normal file
11
bin/makefile-sunos4.sparc-x-3 → bin/legacy/makefile-sunos4.sparc-x-3
Executable file → Normal file
@@ -25,21 +25,20 @@ XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR \
|
||||
-DFORKCOMM -DNEWBITBLT -DLOGINT -DBIGATOMS $(XFLAGS)
|
||||
DFLAGS = -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR \
|
||||
-DNEWBITBLT -DLOGINT $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lpixrect -lc -lm
|
||||
# -Dsparc?
|
||||
INLINE = $(SRCDIR)dispSPARC.il
|
||||
BITBLTFILE = $(OBJECTDIR)bitbltSPARC.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
@@ -51,7 +50,7 @@ default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gcdata.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
@@ -9,16 +9,19 @@
|
||||
# #
|
||||
#########################################################################
|
||||
|
||||
os=`./config.guess`
|
||||
|
||||
os=${LDEARCH:-`./config.guess`}
|
||||
# o/s switch block
|
||||
case "$os" in
|
||||
sparc-*) echo sparc ;;
|
||||
alpha-*) echo alpha ;;
|
||||
i*86-*-*) echo 386 ;;
|
||||
armv7l-*-*) echo armv7l ;;
|
||||
aarch64-*-*) echo aarch64 ;;
|
||||
x86_64-apple-darwin15*) echo 386 ;;
|
||||
x86_64-*) echo x86_64 ;;
|
||||
powerpc-*) echo ppc ;;
|
||||
amd64-*) echo x86_64 ;;
|
||||
esac
|
||||
|
||||
|
||||
### Don't leave the variables set.
|
||||
unset os
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
os=`./config.guess`
|
||||
|
||||
# o/s switch block
|
||||
case "$os" in
|
||||
sparc-sun-sunos*) echo sunos4 ;;
|
||||
sparc-sun-solaris1*) echo sunos4 ;;
|
||||
sparc-sun-solaris2*) echo sunos5 ;;
|
||||
alpha-dec-osf1) echo osf1 ;;
|
||||
i386-*-solaris*) echo sunos5 ;;
|
||||
*-*-linux*) echo linux ;;
|
||||
*-*-openbsd*) echo openbsd ;;
|
||||
esac
|
||||
|
||||
|
||||
### Don't leave the variables set.
|
||||
unset os
|
||||
120
bin/makedecright
120
bin/makedecright
@@ -1,120 +0,0 @@
|
||||
# makeright
|
||||
# @(#) makeright Version 1.12 (7/18/90).
|
||||
##***********************************************************************/
|
||||
## */
|
||||
## Copyright 1989, 1990 Venue, Fuji Xerox Co., Ltd, Xerox Corp. */
|
||||
## */
|
||||
## This file is work-product resulting from the Xerox/Venue */
|
||||
## Agreement dated 18-August-1989 for support of Medley. */
|
||||
## */
|
||||
##***********************************************************************/
|
||||
#
|
||||
# Feb. 6 1990 osamu: Add display option
|
||||
# release option does not support yet.
|
||||
# Apr.23 1990 osamu: add release option.
|
||||
#
|
||||
# Jul 18 1990 JDS: Add 'init' option for making init-loading emulators
|
||||
#
|
||||
# usage: makeright [display-option] [other-option]
|
||||
#
|
||||
# example: makeright single ; make lde for mmaped displayFB
|
||||
# makeright multi ; make lde for cg3,cg6
|
||||
# makeright x ; make lde for X-windows
|
||||
# makeright color ; make lde with color support in it.
|
||||
# makeright multi release ; make release version of lde for cg3,cg6
|
||||
# makeright init ; make lde for loading INIT.DLINIT b/w only
|
||||
#
|
||||
# makeright multi requires directory "maiko/${osversion}.${architecture}-multi"
|
||||
# (ex. maiko/sunos4.sparc-multi)
|
||||
# object files are stored there.
|
||||
#
|
||||
# makeright init requires directory "maiko/init.${architecture}
|
||||
#
|
||||
# Note: X11R4 environment link shared libraries.
|
||||
# lde need X library. If lde links shared libraries,
|
||||
# X shared libraries are needed at run time.
|
||||
#
|
||||
# Hide X shared libraries from link libraries search path.
|
||||
setenv LD_LIBRARY_PATH /usr/local/lib
|
||||
set RELDIR = ../RELEASE/
|
||||
|
||||
if($1 == "") then
|
||||
set display=single
|
||||
else
|
||||
if($1 == "release") then
|
||||
switch($2)
|
||||
case single:
|
||||
set display = single
|
||||
breaksw
|
||||
case multi:
|
||||
set display = multi
|
||||
breaksw
|
||||
case x:
|
||||
set display = x
|
||||
breaksw
|
||||
default:
|
||||
makeright single release
|
||||
makeright multi release
|
||||
makeright x release
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
else
|
||||
set display=$1
|
||||
endif
|
||||
endif
|
||||
|
||||
if( $#argv > 0 ) then
|
||||
shift
|
||||
endif
|
||||
|
||||
set architecture = dec3100
|
||||
set osversion = ultrix
|
||||
switch($display)
|
||||
case init:
|
||||
set display = single
|
||||
set releasename = init.${architecture}
|
||||
set ldename = ldeinit
|
||||
breaksw
|
||||
case single:
|
||||
set releasename = ${osversion}.${architecture}
|
||||
set ldename = ldesingle
|
||||
breaksw
|
||||
case multi:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldemulti
|
||||
breaksw
|
||||
case x:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldex
|
||||
breaksw
|
||||
default:
|
||||
echo "display-option: $display is not supported."
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
set releaseflg = 0
|
||||
if( "$1" == "release" ) then
|
||||
set releaseflg = 1
|
||||
if($display != single) then
|
||||
if( !(-e usermakefile-${releasename})) then
|
||||
ln usermakefile-${osversion}.${architecture} usermakefile-${releasename}
|
||||
endif
|
||||
endif
|
||||
else
|
||||
set releaseflg = 0
|
||||
endif
|
||||
set installdir = ${RELDIR}install.${osversion}.${architecture}/
|
||||
|
||||
#if($display == single ) then
|
||||
# set releasename = ${osversion}.${architecture}
|
||||
#else
|
||||
# set releasename = ${osversion}.${architecture}-${display}
|
||||
#endif
|
||||
echo start making lde for ${releasename}.
|
||||
# then finally do the make, including the right stuff
|
||||
# With makefile-tail merged, this should only take ONE make command....
|
||||
make RELEASENAME=${releasename} INSDIR=${installdir} LDENAME=${ldename} \
|
||||
OSARCHNAME=${osversion}.${architecture} \
|
||||
-f makefile-header -f makefile-${releasename} \
|
||||
-f makefile-tail $*
|
||||
@@ -1,64 +0,0 @@
|
||||
# Options for SunOS4, SPARC and X-Window
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)InitXevent.o \
|
||||
$(OBJECTDIR)XKbdMouse.o \
|
||||
$(OBJECTDIR)LispWindow.o \
|
||||
$(OBJECTDIR)LispXbitblt.o \
|
||||
$(OBJECTDIR)XKeyboard.o \
|
||||
$(OBJECTDIR)MakeXicon.o \
|
||||
$(OBJECTDIR)OpenDisplay.o \
|
||||
$(OBJECTDIR)ReadXoption.o \
|
||||
$(OBJECTDIR)XReconfig.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Scrollbar.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Subwindows.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DAIX -DSYSVONLY -DSYSVSIGNALS -DNOASM -DLOGINT -DNOPIXRECT $(XFLAGS) -DBYTESWAP -DAIXPS2 -DFLTINT -D_I386 -DNOETHER -DFORKCOMM
|
||||
LDFLAGS = -lX11 -lc -lm -lbsd
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
# for the files that need to be included in byte-swapped implementations:
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns$(OEXT)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
|
||||
OPTFLAGS = -O -fstrength-reduce -fcombine-regs
|
||||
DISPOPTFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions
|
||||
CC = /gcc/gcc
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
|
||||
$(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)profile.h
|
||||
$(CC) $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Options for SunOS4, SPARC and X-Window
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)InitXevent.o \
|
||||
$(OBJECTDIR)XKbdMouse.o \
|
||||
$(OBJECTDIR)LispWindow.o \
|
||||
$(OBJECTDIR)LispXbitblt.o \
|
||||
$(OBJECTDIR)XKeyboard.o \
|
||||
$(OBJECTDIR)MakeXicon.o \
|
||||
$(OBJECTDIR)OpenDisplay.o \
|
||||
$(OBJECTDIR)ReadXoption.o \
|
||||
$(OBJECTDIR)XReconfig.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Scrollbar.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Subwindows.o \
|
||||
$(OBJECTDIR)VideoColor.o \
|
||||
$(OBJECTDIR)XWindowMgr.o
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DAIX -D_BSD -DNOASM -DLOGINT -DNOPIXRECT $(XFLAGS) -DBYTESWAP -DAIXPS2 -DFLTINT -D_I386 -DNOETHER -DFORKCOMM
|
||||
LDFLAGS = -lX11 -lc -lm -lbsd
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
# for the files that need to be included in byte-swapped implementations:
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswapfns$(OEXT)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
|
||||
OPTFLAGS = -O -fstrength-reduce -fcombine-regs
|
||||
DISPOPTFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions
|
||||
CC = gcc
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
|
||||
$(OBJECTDIR)xc.o : $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h $(INCDIR)dbprint.h\
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)profile.h
|
||||
$(CC) $(DISPRFLAGS) $(SRCDIR)xc.c $(INLINE) -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
# Options for AIX 3.1, IBM RISC System/6000, and X-Windows
|
||||
DEMO =
|
||||
EURO =
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O.
|
||||
#OPTFLAGS = -g
|
||||
OPTFLAGS = -O
|
||||
DISPOPTFLAGS = -O
|
||||
FPFLAGS =
|
||||
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -D_BSD -DNOASM -DNOPIXRECT -DNOETHER \
|
||||
-DRS6000 -DFORKCOMM -DLOGINT -DBIGATOMS -DNOFORN $(DEMO) $(EURO) $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lc -lm -lbsd
|
||||
LDELDFLAGS = -lX11 -lc -lm -lbsd
|
||||
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap$(OEXT)
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
# don't need ldeether on this machine, so omit it from here:
|
||||
|
||||
default : ../$(OSARCHNAME)/lde
|
||||
|
||||
# Special rules to create xc.o on IBM RISC-system/6000's:
|
||||
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
cc $(DISPRFLAGS) $(SRCDIR)xc.c -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
28
bin/makefile-cygwin.x86_64-x
Normal file
28
bin/makefile-cygwin.x86_64-x
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for Linux, Intel x86_64 and X-Window
|
||||
|
||||
#CC = gcc -m64 $(GCC_CFLAGS)
|
||||
CC = clang -m64 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
29
bin/makefile-darwin.386-x
Normal file
29
bin/makefile-darwin.386-x
Normal file
@@ -0,0 +1,29 @@
|
||||
# Options for MacOS, x86 processor, X windows
|
||||
|
||||
CC = clang -m32 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/opt/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) \
|
||||
-DRELEASE=351 -DSTACKCHECK -DFSBCHECK -DPCTRACE
|
||||
|
||||
LDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
28
bin/makefile-darwin.aarch64-x
Normal file
28
bin/makefile-darwin.aarch64-x
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for MacOS, x86 processor, X windows
|
||||
|
||||
CC = clang $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/opt/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
29
bin/makefile-darwin.ppc-x
Normal file
29
bin/makefile-darwin.ppc-x
Normal file
@@ -0,0 +1,29 @@
|
||||
# Options for MacOS, x86 processor, X windows
|
||||
|
||||
CC = cc $(GCC_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/usr/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) \
|
||||
-DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
28
bin/makefile-darwin.x86_64-x
Normal file
28
bin/makefile-darwin.x86_64-x
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for MacOS, x86 processor, X windows
|
||||
|
||||
CC = clang -m64 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/opt/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O1 -g
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
@@ -1,74 +0,0 @@
|
||||
# Options for Domain/OS, APOLLO Workstation 680x0, and X-Window
|
||||
|
||||
CLXFLAGS = -DCLX -DTCP_NODELAY
|
||||
|
||||
CLXFILES = $(OBJECTDIR)socket.o \
|
||||
$(OBJECTDIR)socdvr.o
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o \
|
||||
$(CLXFILES)
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DNOPIXRECT -D$(XVERSION) $(CLXFLAGS)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -g -O -W0,-natural
|
||||
DISPOPTFLAGS = -g -O -W0,-natural
|
||||
FPFLAGS =
|
||||
DFLAGS = -DAPOLLO -DFSERROR -DNEW_STORAGE -DNOFORN \
|
||||
-DFORKCOMM -DLOGINT -DBIGATOMS $(XFLAGS) \
|
||||
-DNOETHER -DNOASM -DNOEUROKBD
|
||||
|
||||
LDFLAGS = -lX11 -lc -lm
|
||||
LDELDFLAGS = -lX11 -lc -lm
|
||||
MAIN = main
|
||||
|
||||
INLINE = # $(SRCDIR)dsp68K.il
|
||||
BITBLTFILE = # $(OBJECTDIR)bbt68k.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde # ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Apollo
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.i $(INCDIR)lispemul.h
|
||||
# $(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
33
bin/makefile-dos
Executable file → Normal file
33
bin/makefile-dos
Executable file → Normal file
@@ -2,30 +2,28 @@ AFLAGS = /T
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
ADMINFILES = makefile mkvdate.c optck.c
|
||||
ADMINFILES = makefile mkvdate.c
|
||||
|
||||
LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
|
||||
|
||||
KEY = keytstno.obj
|
||||
|
||||
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT \
|
||||
-DNOFORN -DNOETHER -DNOVERSION -DLPSOLVE -g
|
||||
CFLAGS = -DDOS -DKBINT -DNOPIXRECT \
|
||||
-DNOVERSION -DLPSOLVE -g
|
||||
|
||||
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
|
||||
|
||||
RM = del
|
||||
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c hacks.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c keylib.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c keytstno.c keytst.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c find-dsp.l dsphack.l xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj hacks.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj keylib.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(KEY) $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
|
||||
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h fp.h gc.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h profile.h return.h stack.h stream.h subrs.h sysatms.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h gcdata.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h medleyfp.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h return.h stack.h stream.h subrs.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
|
||||
|
||||
|
||||
bigvm:
|
||||
CFLAGS = $(CFLAGS) -DBIGVM -DNEWCDRCODRING
|
||||
CFLAGS = $(CFLAGS)
|
||||
make -f foot emul.exe
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@@ -37,7 +35,7 @@ emul.exe : $(OFILES)
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h profile.h
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h
|
||||
|
||||
|
||||
|
||||
@@ -106,11 +104,6 @@ conspage.obj : ../src/conspage.c
|
||||
$(CC) @copts ../src/conspage.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keytstno.obj : ../src/keytstno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keytstno.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
dosmouse.obj : ../src/dosmouse.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/dosmouse.c -I ../inc -c $@
|
||||
@@ -214,11 +207,6 @@ arith2.obj : ../src/arith2.c
|
||||
$(CC) @copts ../src/arith2.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
hacks.obj : ../src/hacks.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/hacks.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
lowlev2.obj : ../src/lowlev2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/lowlev2.c -I ../inc -c $@
|
||||
@@ -459,11 +447,6 @@ fp.obj : ../src/fp.c
|
||||
$(CC) @copts ../src/fp.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
keylib.obj : ../src/keylib.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/keylib.c -I ../inc -c $@
|
||||
del copts
|
||||
|
||||
binds.obj : ../src/binds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../src/binds.c -I ../inc -c $@
|
||||
|
||||
27
bin/makefile-freebsd.386-x
Normal file
27
bin/makefile-freebsd.386-x
Normal file
@@ -0,0 +1,27 @@
|
||||
# Options for FreeBSD, Intel 386/486 and X Windows
|
||||
|
||||
CC = clang -m32 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/usr/local/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O1 -gdwarf-2
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/local/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/local/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
@@ -7,16 +7,15 @@ INCDIR = ../inc/
|
||||
INCLUDEDIR = ../include/
|
||||
LIBDIR = ../lib
|
||||
BINDIR = ./
|
||||
RELDIR = ../RELEASE/
|
||||
MAIN = _main
|
||||
RANLIB = ranlib
|
||||
AR = ar rcv
|
||||
ANSICC = $(CC)
|
||||
RM ?= rm -f
|
||||
|
||||
# Compiler flags
|
||||
CLANG_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
GCC_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
DEVSTUDIO_CFLAGS = -std=gnu99 -fno-strict-aliasing
|
||||
|
||||
# for the files that need to be included in byte-swapped implementations:
|
||||
BYTESWAPFILES =
|
||||
SXHASHFILE =
|
||||
BITBLTFILE =
|
||||
DLPIFILES =
|
||||
|
||||
# for files needed by X windows version
|
||||
@@ -33,3 +32,5 @@ LDFLAGS =
|
||||
LDELDFLAGS =
|
||||
LDEETHERLDFLAGS =
|
||||
|
||||
# OSARCHDIR is the os/architecture dir, where executables all go.
|
||||
OSARCHDIR = ../$(OSARCHNAME)/
|
||||
|
||||
@@ -1,93 +0,0 @@
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for HP Series 700 and 800, under HPUX and X-windows
|
||||
|
||||
CC = gcc
|
||||
|
||||
#XFILES = $(OBJECTDIR)XClose.o \
|
||||
# $(OBJECTDIR)Cursor.o \
|
||||
# $(OBJECTDIR)XWindow.o \
|
||||
# $(OBJECTDIR)DoRing.o \
|
||||
# $(OBJECTDIR)DoScroll.o \
|
||||
# $(OBJECTDIR)XEvent.o \
|
||||
# $(OBJECTDIR)XGravity.o \
|
||||
# $(OBJECTDIR)XInit.o \
|
||||
# $(OBJECTDIR)Xevinit.o \
|
||||
# $(OBJECTDIR)Xkbdmus.o \
|
||||
# $(OBJECTDIR)Xlspwin.o \
|
||||
# $(OBJECTDIR)Xbbt.o \
|
||||
# $(OBJECTDIR)Xkbd.o \
|
||||
# $(OBJECTDIR)Xmkicon.o \
|
||||
# $(OBJECTDIR)Xopendsp.o \
|
||||
# $(OBJECTDIR)Xrdopt.o \
|
||||
# $(OBJECTDIR)Xreconf.o \
|
||||
# $(OBJECTDIR)XScroll.o \
|
||||
# $(OBJECTDIR)Xscrolb.o \
|
||||
# $(OBJECTDIR)XCursor.o \
|
||||
# $(OBJECTDIR)XMouse.o \
|
||||
# $(OBJECTDIR)Xsubwin.o \
|
||||
# $(OBJECTDIR)Xcolor.o \
|
||||
# $(OBJECTDIR)Xwinman.o
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O +Obb990 -- latter enables large-file (xc) opt.
|
||||
OPTFLAGS = -O # +Onolimit
|
||||
DISPOPTFLAGS = -O # +Onolimit
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -DFORKCOMM -DLOGINT $(XFLAGS) \
|
||||
-DHPUX -DNOETHER -DNOPIXRECT -DHP9000 -DHPTIMERBUG \
|
||||
-DSYSVONLY \
|
||||
-DNOFORN \
|
||||
-DRELEASE=201
|
||||
|
||||
LDFLAGS = -L/usr/lib/X11R4 -lX11 -lm -lBSD
|
||||
LDELDFLAGS = $(LDFLAGS)
|
||||
MAIN = main
|
||||
|
||||
# -Dsparc?
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on HP/Apollo Series 700 or 800
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
cc -c $(OPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
28
bin/makefile-init-darwin.386
Normal file
28
bin/makefile-init-darwin.386
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for MacOS, x86 processor, X windows, for INIT processing
|
||||
|
||||
CC = clang -m32 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/opt/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2, for INIT we want unoptimized in case we need to debug it
|
||||
OPTFLAGS = -O0 -g
|
||||
DEBUGFLAGS =
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/ldeinit
|
||||
28
bin/makefile-init-darwin.aarch64
Normal file
28
bin/makefile-init-darwin.aarch64
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for MacOS, aarch64 processor, X windows, for INIT processing
|
||||
|
||||
CC = clang $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/opt/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O0 -g3
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT
|
||||
|
||||
LDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/opt/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/ldeinit
|
||||
64
bin/makefile-init-sunos5.sparc
Normal file
64
bin/makefile-init-sunos5.sparc
Normal file
@@ -0,0 +1,64 @@
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* Makefile for MAKEINIT processing. */
|
||||
#* */
|
||||
#* $Id: makefile-init.sparc,v 1.4 2001/12/26 22:17:08 sybalsky Exp $ */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991,8 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for SPARC under Solaris-2 operating system, X windows.
|
||||
|
||||
CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -g for MAKEINIT, as it needs debugging often.
|
||||
OPTFLAGS = -g3 -O0
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
# check, use -DFNSTKCHECK.
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
MACHINEFLAGS = -DOS5 -DUSE_DLPI -DLOCK_X_UPDATES
|
||||
|
||||
# The LDEINIT wants to have NOVERSION set, so we don't hang up on
|
||||
# any change-over in versions.
|
||||
|
||||
DFLAGS = -DINIT \
|
||||
$(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
-DNOVERSION -DRELEASE=351
|
||||
|
||||
|
||||
LDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/ldeinit
|
||||
@@ -1,100 +0,0 @@
|
||||
#
|
||||
#
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for SGI Indigo under IRIX operating system, X windows.
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xwinman.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)kbdif.o \
|
||||
$(OBJECTDIR)xinit.o
|
||||
|
||||
### XFILES used to include:
|
||||
|
||||
#XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O
|
||||
OPTFLAGS = -g
|
||||
DISPOPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -DFORKCOMM -DLOGINT $(XFLAGS) \
|
||||
-D_IEEE -DINDIGO -DSYSVONLY -DNOETHER -DNOPIXRECT -DSYSVSIGNALS -DNOFORN \
|
||||
-DNOASM -DBIGATOMS -DINIT -DNOVERSION -DBIGVM -DNEWCDRCODING
|
||||
LDFLAGS = -L/usr/lib/X11R4 -L/d/scsistr2/guest/gcc2 -lsun -lX11 -lm
|
||||
LDELDFLAGS = $(LDFLAGS)
|
||||
# -Dsparc?
|
||||
|
||||
CC = cc
|
||||
RANLIB = touch
|
||||
MAIN = main
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on HP/Apollo Series 700 or 800
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.i $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
# $(INCDIR)inln68k.h
|
||||
# $(CC) -c $(DISPOPTFLAGS) $(SRCDIR)xc.i -o $(OBJECTDIR)xc.o
|
||||
|
||||
@@ -1,120 +0,0 @@
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* Makefile for MAKEINIT processing. */
|
||||
#* */
|
||||
#* $Id: makefile-init.sparc,v 1.4 2001/12/26 22:17:08 sybalsky Exp $ */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991,8 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for SPARC under Solaris-2 operating system, X windows.
|
||||
|
||||
CC = gcc
|
||||
|
||||
XFILES = $(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xwinman.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)kbdif.o \
|
||||
$(OBJECTDIR)xinit.o
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DXV11R4 -I/usr/openwin/include
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -g for MAKEINIT, as it needs debugging often.
|
||||
OPTFLAGS = -g3 -O
|
||||
DISPOPTFLAGS = -g3 -O
|
||||
|
||||
MAIN = main
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
# check, use -DFNSTKCHECK.
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
MACHINEFLAGS = -DOS5 -DAIX -DUSE_DLPI -DNOPIXRECT \
|
||||
-I$(OPENWINHOME)/include -DSYSVSIGNALS -DSYSVONLY \
|
||||
-DOLD_CURSOR -DLOGINT -DFORKCOMM -DLOCK_X_UPDATES
|
||||
|
||||
INLINEFLAGS =
|
||||
|
||||
FPFLAGS =
|
||||
|
||||
# The LDEINIT wants to have NOVERSION set, so we don't hang up on
|
||||
# any change-over in versions.
|
||||
|
||||
DFLAGS = -DINIT \
|
||||
$(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
$(INLINEFLAGS) \
|
||||
-DNOVERSION -DRELEASE=351
|
||||
|
||||
|
||||
LDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
# SPARC Assemble optimize check
|
||||
# DFLAGS:sh += optck.sh ; true
|
||||
|
||||
#-Dsparc?
|
||||
INLINE =
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
#RANLIB = touch
|
||||
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c with GCC
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.i $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
# $(INCDIR)inln68k.h
|
||||
# $(CC) -c $(DISPOPTFLAGS) $(SRCDIR)xc.i -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
#
|
||||
#
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991,8 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for SPARC under Solaris-2 operating system, X windows.
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xwinman.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)kbdif.o \
|
||||
$(OBJECTDIR)xinit.o
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DXV11R4 -I/usr/openwin/include
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -g
|
||||
DISPOPTFLAGS = -g
|
||||
|
||||
MAIN = main
|
||||
|
||||
FPFLAGS =
|
||||
DFLAGS = -DINIT -DFSERROR -DNEW_STORAGE -DOS5 -DAIX -DUSE_DLPI \
|
||||
-DOLD_CURSOR -DLOGINT $(XFLAGS) \
|
||||
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \
|
||||
-I$(OPENWINHOME)/include -DSYSVSIGNALS -DSYSVONLY \
|
||||
-DNOVERSION -DRELEASE=350
|
||||
LDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
# SPARC Assemble optimize check
|
||||
# DFLAGS:sh += optck.sh ; true
|
||||
|
||||
#-Dsparc?
|
||||
INLINE =
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
CC = gcc
|
||||
#RANLIB = touch
|
||||
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c with GCC
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.i $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
# $(INCDIR)inln68k.h
|
||||
# $(CC) -c $(DISPOPTFLAGS) $(SRCDIR)xc.i -o $(OBJECTDIR)xc.o
|
||||
|
||||
@@ -1,112 +0,0 @@
|
||||
#
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1991 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
# Options for SGI Indigo under IRIX operating system, X windows.
|
||||
|
||||
ANSICC = gcc
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
OLDXFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o
|
||||
|
||||
LPFILES = $(OBJECTDIR)lpmain.o \
|
||||
$(OBJECTDIR)lpread.o \
|
||||
$(OBJECTDIR)lpsolve.o \
|
||||
$(OBJECTDIR)lpkit.o
|
||||
# $(OBJECTDIR)lptran.o \
|
||||
# $(OBJECTDIR)lpdual.o \
|
||||
# $(OBJECTDIR)lpwrite.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2 -Olimit 1600
|
||||
OPTFLAGS = -O2 -Olimit 1600
|
||||
ANSIOPTFLAGS = -O4
|
||||
DISPOPTFLAGS = -O2 -Olimit 1600
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -DFORKCOMM -DLOGINT $(XFLAGS)\
|
||||
-D_IEEE -DINDIGO -DSYSVONLY -DNOETHER -DNOPIXRECT -DSYSVSIGNALS -DNOFORN \
|
||||
-DNOASM -DBIGATOMS -DLPSOLVE -DNOVERSION -DBIGVM -DNEWCDRCODING
|
||||
LDFLAGS = -L/usr/lib/X11R4 -L/d/scsistr2/guest/gcc2 -lX11 -ll -lm -ly -lsun
|
||||
LDELDFLAGS = $(LDFLAGS)
|
||||
# -Dsparc?
|
||||
|
||||
CC = cc
|
||||
RANLIB = touch
|
||||
MAIN = main
|
||||
|
||||
INLINE =
|
||||
BITBLTFILE =
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on HP/Apollo Series 700 or 800
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.i $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
# $(INCDIR)inln68k.h
|
||||
# $(CC) -c $(DISPOPTFLAGS) $(SRCDIR)xc.i -o $(OBJECTDIR)xc.o
|
||||
|
||||
90
bin/makefile-linux.386-x
Executable file → Normal file
90
bin/makefile-linux.386-x
Executable file → Normal file
@@ -1,7 +1,7 @@
|
||||
# Options for Linux, Intel 386/486 and X-Window
|
||||
|
||||
CC = gcc
|
||||
|
||||
#CC = gcc -m32 $(GCC_CFLAGS)
|
||||
CC = clang -m32 $(CLANG_CFLAGS)
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
@@ -13,91 +13,15 @@ XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DNOPIXRECT -D$(XVERSION) # $(CLXFLAGS)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DISPOPTFLAGS = -O2 -g3
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR -DUSETERMIOS \
|
||||
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
|
||||
-DRELEASE=351 -D__USE_BSD
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt
|
||||
|
||||
INLINE = # $(SRCDIR)dspSPARC.il
|
||||
BITBLTFILE = # $(OBJECTDIR)bbtSPARC.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
#$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
# $(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
# $(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
# $(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
# $(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
# $(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
# $(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
# $(INCDIR)inln68k.h
|
||||
# cc -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
cc -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
cc -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
# /bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
|
||||
############
|
||||
#
|
||||
# SPECIAL xc.o for debugging
|
||||
#
|
||||
############
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
$(CC) $(DISPRFLAGS) -UOPDISP $(SRCDIR)xc.c -I$(INCDIR) -o $(OBJECTDIR)xc.o
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
|
||||
27
bin/makefile-linux.armv7l-x
Normal file
27
bin/makefile-linux.armv7l-x
Normal file
@@ -0,0 +1,27 @@
|
||||
# Options for Linux, ARMv7 and X-Window
|
||||
|
||||
CC = gcc $(GCC_CFLAGS)
|
||||
#CC = clang $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
28
bin/makefile-linux.x86_64-x
Normal file
28
bin/makefile-linux.x86_64-x
Normal file
@@ -0,0 +1,28 @@
|
||||
# Options for Linux, Intel x86_64 and X-Window
|
||||
|
||||
#CC = gcc -m64 $(GCC_CFLAGS)
|
||||
CC = clang -m64 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
27
bin/makefile-openbsd.x86_64-x
Normal file
27
bin/makefile-openbsd.x86_64-x
Normal file
@@ -0,0 +1,27 @@
|
||||
# Options for OpenBSD, Intel x86_64 and X-Window
|
||||
|
||||
CC = clang -m64 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
|
||||
XFLAGS = -I/usr/X11R6/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DFLAGS = $(XFLAGS) -DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11R6/lib -lX11 -lc -lm
|
||||
LDELDFLAGS = -L/usr/X11R6/lib -lX11 -lc -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
@@ -1,69 +0,0 @@
|
||||
# Options for Ultrix, DECStation 3100, and X-Window
|
||||
|
||||
|
||||
CC = cc
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o
|
||||
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -Olimit 999
|
||||
DISPOPTFLAGS = -O2 -Olimit 999
|
||||
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -DOLD_CURSOR -DNOPIXRECT -DBYTESWAP \
|
||||
-DFORKCOMM -DLOGINT -DSYS5 -DDEC3100 -DNOFORN -DNOETHER -DBIGATOMS \
|
||||
-DDECSTN -D_BSD -DOSF1 $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lc -lm
|
||||
LDELDFLAGS = -lX11 -lc -lm
|
||||
# -Dsparc?
|
||||
INLINE =
|
||||
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
# Options for Ultrix, RISCStation, and X-Window
|
||||
|
||||
|
||||
# CC = gcc
|
||||
|
||||
# CLXFLAGS = -DCLX -DTCP_NODELAY
|
||||
|
||||
# CLXFILES = $(OBJECTDIR)socket.o \
|
||||
# $(OBJECTDIR)socketdvr.o
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o \
|
||||
$(CLXFILES)
|
||||
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION) $(CLXFLAGS)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O; the Olimit lets us optimize the BIG files
|
||||
# (i.e., bitblt* and xc).
|
||||
OPTFLAGS = -O -Olimit 1000
|
||||
DISPOPTFLAGS = -O -Olimit 1000
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR \
|
||||
-DNEW_STORAGE -DAIX -DOLD_CURSOR -DNOPIXRECT -DRISCOS \
|
||||
-DSYSVSIGNALS -DSYSVONLY \
|
||||
-DBIGATOMS -DFORKCOMM -DLOGINT -DSYS5 -DNOETHER -DNOFORN \
|
||||
$(XFLAGS) -I/usr/include -I/usr/include/bsd
|
||||
LDFLAGS = -lX11 -lc -lm -lbsd
|
||||
LDELDFLAGS = $(LDFLAGS)
|
||||
|
||||
MAIN = main
|
||||
|
||||
# -Dsparc?
|
||||
INLINE =
|
||||
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on MIPS RISCstation.
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emulglobal.h $(INCDIR)address.h \
|
||||
$(INCDIR)address68k.h $(INCDIR)stack.h $(INCDIR)lispglobal.h \
|
||||
$(INCDIR)lisptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatoms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosretmacro.h \
|
||||
$(INCDIR)tosfuncall.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inline68K.h
|
||||
$(CC) -c $(DISPOPTFLAGS) $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
# Options for SunOS4 and SPARC
|
||||
# @(#) makefile-sunos4.sparc Version 1.19 (5/9/90).
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1989-92 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
#
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2
|
||||
FPFLAGS =
|
||||
# Now share the same ldesingle with COLOR(CG4)/MONO Suns
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL \
|
||||
-DOS4_TYPE4BUG -DCOLOR -DNEWBITBLT -DLOGINT -DSUNDISPLAY \
|
||||
-DFORKCOMM -DBIGATOMS
|
||||
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
#-Dsparc?
|
||||
INLINE = $(SRCDIR)dspSPARC.il
|
||||
BITBLTFILE = $(OBJECTDIR)bbtSPARC.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
COLORFILES = $(OBJECTDIR)rawcolor.o
|
||||
|
||||
default : $(OBJECTDIR)lde $(OBJECTDIR)ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
cc -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
cc -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
cc -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
/bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
|
||||
############
|
||||
#
|
||||
# SPECIAL xc.o for debugging
|
||||
#
|
||||
############
|
||||
#$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
# cc $(DISPRFLAGS) -UOPDISP -USPARCDISP $(SRCDIR)xc.c -I$(INCDIR) -o $(OBJECTDIR)xc.o
|
||||
@@ -1,98 +0,0 @@
|
||||
# makefile-sunos4.sparc-multi
|
||||
# @(#) makefile-sunos4.sparc-multi Version 1.6 (5/9/90).
|
||||
#
|
||||
# Options for SunOS4 and SPARC for CG3 or CG6
|
||||
# Add -DDISPLAYBUFFER in DFLAGS
|
||||
# ${RELEASENAME} is "sunos4.sparc-multi"
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -g
|
||||
DISPOPTFLAGS = -g
|
||||
FPFLAGS =
|
||||
# Now share the same ldemulti for Mono-Medley & Color-Medley
|
||||
# If you load MAIKOCOLOR.LCOM etc., you can use color functions
|
||||
#
|
||||
# Removed for debug: -DSPARCDISP -DSUN4_OS4_IL
|
||||
# Added for debug: -DFNSTKCHECK -DMYOPTRACE -DOPTRACE -DNOASM
|
||||
#
|
||||
DFLAGS = -DKBINT -DFSERROR -DNEW_STORAGE -DOS4 -DOS4_TYPE4BUG -DCOLOR \
|
||||
-DDISPLAYBUFFER -DNEWBITBLT -DLOGINT -DSUNDISPLAY -DSPARCDISP \
|
||||
-DSUN4_OS4_IL -DBIGATOMS -DFORKCOMM -DBIGVM -DNEWCDRCODING
|
||||
|
||||
LDFLAGS = -lsuntool -lsunwindow -lpixrect -ldld -lc -lm
|
||||
#-Dsparc?
|
||||
INLINE = $(SRCDIR)dspSPARC.il
|
||||
BITBLTFILE = $(OBJECTDIR)bbtSPARC.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
COLORFILES = $(OBJECTDIR)rawcolor.o
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
cc -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
cc -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
cc -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
# /bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
|
||||
|
||||
############
|
||||
#
|
||||
# SPECIAL xc.o for debugging
|
||||
#
|
||||
############
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h \
|
||||
$(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
cc $(DISPRFLAGS) -UOPDISP -USPARCDISP $(SRCDIR)xc.c -I$(INCDIR) -o $(OBJECTDIR)xc.o
|
||||
@@ -1,104 +0,0 @@
|
||||
# Options for SunOS4, SPARC and X-Window
|
||||
|
||||
CLXFLAGS = -DCLX -DTCP_NODELAY
|
||||
|
||||
CLXFILES = $(OBJECTDIR)socket.o \
|
||||
$(OBJECTDIR)socdvr.o
|
||||
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o \
|
||||
$(CLXFILES)
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -DNOPIXRECT -D$(XVERSION) $(CLXFLAGS)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DOS4 -DSPARCDISP -DSUN4_OS4_IL -DOS4_TYPE4BUG -DOLD_CURSOR \
|
||||
-DFORKCOMM -DNEWBITBLT -DLOGINT -DBIGATOMS $(XFLAGS) -DBIGVM -DNEWCDRCODING
|
||||
LDFLAGS = -lX11 -lpixrect -ldld -lc -lm
|
||||
LDELDFLAGS = -Bstatic -lX11 -lpixrect -Bdynamic -lc -lm
|
||||
|
||||
INLINE = $(SRCDIR)dspSPARC.il
|
||||
BITBLTFILE = $(OBJECTDIR)bbtSPARC.o
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
cc -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
cc -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
cc -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
/bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
50
bin/makefile-sunos5.386-x
Normal file
50
bin/makefile-sunos5.386-x
Normal file
@@ -0,0 +1,50 @@
|
||||
# Options for SOlaris 2.x, INTEL x86 and X-Window
|
||||
|
||||
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1989, 1990, 1990, 1991, 1992, 1993, 1994, 1996 Venue. */
|
||||
#* All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
CC = clang -m32 $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
# check, use -DFNSTKCHECK.
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
DFLAGS = $(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
-DOS5 \
|
||||
-DLOCK_X_UPDATES \
|
||||
-DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
DLPIFILES = # $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether ../$(OSARCHNAME)/ldex
|
||||
102
bin/makefile-sunos5.i386-x
Executable file → Normal file
102
bin/makefile-sunos5.i386-x
Executable file → Normal file
@@ -8,11 +8,6 @@
|
||||
#* All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
CC = gcc
|
||||
@@ -27,16 +22,10 @@ XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION) $(CLXFLAGS)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DISPOPTFLAGS = -O2 -g3
|
||||
|
||||
MAIN = main
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
@@ -44,96 +33,19 @@ MAIN = main
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
FPFLAGS =
|
||||
|
||||
DFLAGS = $(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
-DFSERROR -DNEW_STORAGE -DOS5 -DAIX -DUSE_DLPI \
|
||||
-DBYTESWAP \
|
||||
-DOLD_CURSOR -DLOGINT \
|
||||
-DNOPIXRECT -DFORKCOMM -DLOCK_X_UPDATES \
|
||||
-I$(OPENWINHOME)/include -DSYSVSIGNALS -DSYSVONLY \
|
||||
-DRELEASE=210
|
||||
$(DEBUGFLAGS) \
|
||||
-DOS5 -DUSE_DLPI \
|
||||
-DLOCK_X_UPDATES \
|
||||
-I$(OPENWINHOME)/include \
|
||||
-DRELEASE=210
|
||||
|
||||
LDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
# SPARC Assemble optimize check
|
||||
# DFLAGS:sh += optck.sh ; true
|
||||
|
||||
#-Dsparc?
|
||||
INLINE =
|
||||
BITBLTFILE = # $(OBJECTDIR)bbtSPARC.o
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
$(CC) -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
$(CC) -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
# /bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
|
||||
|
||||
########### debugging version of xc maker
|
||||
|
||||
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
$(CC) $(DISPRFLAGS) -USPARCDISP -UOPDISP -DNOASM $(INLINE) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether ../$(OSARCHNAME)/ldex
|
||||
|
||||
107
bin/makefile-sunos5.sparc-x
Executable file → Normal file
107
bin/makefile-sunos5.sparc-x
Executable file → Normal file
@@ -10,14 +10,14 @@
|
||||
#* Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
CC = gcc
|
||||
# Setup for using gcc
|
||||
# CC = gcc $(GCC_CFLAGS)
|
||||
# Setup for using Solaris Developer Studio 12.6 cc
|
||||
# CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
||||
|
||||
CC = cc -m32 $(DEVSTUDIO_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
@@ -29,16 +29,10 @@ XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION) $(CLXFLAGS)
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g3
|
||||
DISPOPTFLAGS = -O2 -g3
|
||||
|
||||
MAIN = main
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
@@ -46,98 +40,19 @@ MAIN = main
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
MACHINEFLAGS = -DOS5 -DAIX -DUSE_DLPI -DNOPIXRECT \
|
||||
-I$(OPENWINHOME)/include -DSYSVSIGNALS -DSYSVONLY \
|
||||
-DOLD_CURSOR -DLOGINT -DFORKCOMM -DLOCK_X_UPDATES
|
||||
|
||||
INLINEFLAGS =
|
||||
|
||||
FPFLAGS =
|
||||
MACHINEFLAGS = -DOS5 -DUSE_DLPI -DLOCK_X_UPDATES
|
||||
|
||||
DFLAGS = $(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
$(MACHINEFLAGS) \
|
||||
$(INLINEFLAGS) \
|
||||
-DRELEASE=351
|
||||
|
||||
LDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -R$(OPENWINHOME)/lib -L$(OPENWINHOME)/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
# SPARC Assemble optimize check
|
||||
# DFLAGS:sh += optck.sh ; true
|
||||
|
||||
#-Dsparc?
|
||||
INLINE =
|
||||
BITBLTFILE = $(OBJECTDIR)bbtSPARC.o
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.i: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -Qproduce .i $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.i
|
||||
|
||||
#run c compiler to produce first pass assembly
|
||||
$(OBJECTDIR)xc.s1: $(OBJECTDIR)xc.i
|
||||
rm -f $(OBJECTDIR)xc.s1
|
||||
/lib/ccom - $(FPFLAGS) <$(OBJECTDIR)xc.i >$(OBJECTDIR)xc.s1
|
||||
|
||||
#generate C program to remove dispatch loop, optimize
|
||||
$(OBJECTDIR)dsphack.c: $(SRCDIR)dsphack.lex
|
||||
rm -f $(OBJECTDIR)dsphack.c
|
||||
lex -t $(SRCDIR)dsphack.lex > $(OBJECTDIR)dsphack.c
|
||||
|
||||
#uses this program to find dispatch
|
||||
$(OBJECTDIR)find-dsp.c: $(SRCDIR)find-dsp.lex
|
||||
rm -f $(OBJECTDIR)find-dsp.c
|
||||
lex -t $(SRCDIR)find-dsp.lex > $(OBJECTDIR)find-dsp.c
|
||||
|
||||
$(OBJECTDIR)find-dsp: $(OBJECTDIR)find-dsp.c
|
||||
$(CC) -o $(OBJECTDIR)find-dsp $(OBJECTDIR)find-dsp.c -ll
|
||||
|
||||
$(OBJECTDIR)dispatch-label.c: $(OBJECTDIR)find-dsp $(OBJECTDIR)xc.s1
|
||||
rm -f $(OBJECTDIR)dispatch-label.c
|
||||
$(OBJECTDIR)find-dsp < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)dispatch-label.c
|
||||
|
||||
$(OBJECTDIR)dsphack: $(OBJECTDIR)dsphack.c $(OBJECTDIR)dispatch-label.c
|
||||
$(CC) -o $(OBJECTDIR)dsphack $(OBJECTDIR)dispatch-label.c $(OBJECTDIR)dsphack.c -ll
|
||||
rm -f $(OBJECTDIR)dispatch-label.o $(OBJECTDIR)dsphack.o
|
||||
|
||||
$(OBJECTDIR)xc.s2: $(OBJECTDIR)xc.s1 $(OBJECTDIR)dsphack
|
||||
rm -f $(OBJECTDIR)xc.s2
|
||||
$(OBJECTDIR)dsphack < $(OBJECTDIR)xc.s1 >$(OBJECTDIR)xc.s2
|
||||
|
||||
$(OBJECTDIR)xc.s3: $(OBJECTDIR)xc.s2 $(INLINE)
|
||||
rm -f $(OBJECTDIR)xc.s3
|
||||
/usr/lib/inline -i $(INLINE) < $(OBJECTDIR)xc.s2 > $(OBJECTDIR)xc.s3
|
||||
|
||||
#$(OBJECTDIR)xc.o: $(OBJECTDIR)xc.s3
|
||||
# /bin/as -o $(OBJECTDIR)xc.o -O1 $(OBJECTDIR)xc.s3
|
||||
|
||||
|
||||
########### debugging version of xc maker
|
||||
|
||||
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h
|
||||
$(CC) $(DISPRFLAGS) -USPARCDISP -UOPDISP -DNOASM $(INLINE) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether ../$(OSARCHNAME)/ldex
|
||||
|
||||
51
bin/makefile-sunos5.x86_64-x
Normal file
51
bin/makefile-sunos5.x86_64-x
Normal file
@@ -0,0 +1,51 @@
|
||||
# Options for SOlaris 2.x, INTEL x86 and X-Window
|
||||
|
||||
|
||||
|
||||
#************************************************************************/
|
||||
#* */
|
||||
#* (C) Copyright 1989, 1990, 1990, 1991, 1992, 1993, 1994, 1996 Venue. */
|
||||
#* All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
CC = clang $(CLANG_CFLAGS)
|
||||
|
||||
XFILES = $(OBJECTDIR)xmkicon.o \
|
||||
$(OBJECTDIR)xbbt.o \
|
||||
$(OBJECTDIR)dspif.o \
|
||||
$(OBJECTDIR)xinit.o \
|
||||
$(OBJECTDIR)xscroll.o \
|
||||
$(OBJECTDIR)xcursor.o \
|
||||
$(OBJECTDIR)xlspwin.o \
|
||||
$(OBJECTDIR)xrdopt.o \
|
||||
$(OBJECTDIR)xwinman.o
|
||||
|
||||
XFLAGS = -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g
|
||||
|
||||
# Set any debugging options in DEBUGFLAGS. E.g., to enable stack
|
||||
# checking, use -DSTACKCHECK; to enable the fn-call-time stack
|
||||
# check, use -DFNSTKCHECK.
|
||||
|
||||
DEBUGFLAGS = # -DSTACKCHECK -DFNSTKCHECK
|
||||
|
||||
DFLAGS = $(XFLAGS) \
|
||||
$(DEBUGFLAGS) \
|
||||
-DOS5 \
|
||||
-DLOCK_X_UPDATES \
|
||||
-DUSE_DLPI \
|
||||
-DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lsocket -lnsl
|
||||
LDEETHERLDFLAGS = -lc -lm -lsocket -lnsl
|
||||
|
||||
DLPIFILES = $(OBJECTDIR)dlpi.o
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default: ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether ../$(OSARCHNAME)/ldex
|
||||
1888
bin/makefile-tail
Executable file → Normal file
1888
bin/makefile-tail
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,67 +0,0 @@
|
||||
# Options for Ultrix, DECStation 3100, and X-Window
|
||||
|
||||
|
||||
CC = cc
|
||||
|
||||
XFILES = $(OBJECTDIR)XClose.o \
|
||||
$(OBJECTDIR)Cursor.o \
|
||||
$(OBJECTDIR)XWindow.o \
|
||||
$(OBJECTDIR)DoRing.o \
|
||||
$(OBJECTDIR)DoScroll.o \
|
||||
$(OBJECTDIR)XEvent.o \
|
||||
$(OBJECTDIR)XGravity.o \
|
||||
$(OBJECTDIR)XInit.o \
|
||||
$(OBJECTDIR)Xevinit.o \
|
||||
$(OBJECTDIR)Xkbdmus.o \
|
||||
$(OBJECTDIR)Xlspwin.o \
|
||||
$(OBJECTDIR)Xbbt.o \
|
||||
$(OBJECTDIR)Xkbd.o \
|
||||
$(OBJECTDIR)Xmkicon.o \
|
||||
$(OBJECTDIR)Xopendsp.o \
|
||||
$(OBJECTDIR)Xrdopt.o \
|
||||
$(OBJECTDIR)Xreconf.o \
|
||||
$(OBJECTDIR)XScroll.o \
|
||||
$(OBJECTDIR)Xscrolb.o \
|
||||
$(OBJECTDIR)XCursor.o \
|
||||
$(OBJECTDIR)XMouse.o \
|
||||
$(OBJECTDIR)Xsubwin.o \
|
||||
$(OBJECTDIR)Xcolor.o \
|
||||
$(OBJECTDIR)Xwinman.o
|
||||
|
||||
BYTESWAPFILES = $(OBJECTDIR)byteswap.o
|
||||
|
||||
XVERSION = XV11R4
|
||||
XFLAGS = -DXWINDOW -D$(XVERSION)
|
||||
|
||||
# This is to make the %$#@! Apollo cc happy
|
||||
OEXT = .o
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -Olimit 999
|
||||
DISPOPTFLAGS = -O2 -Olimit 999
|
||||
FPFLAGS =
|
||||
DFLAGS = -DFSERROR -DNEW_STORAGE -DAIX -DOLD_CURSOR -DNOPIXRECT -DBYTESWAP \
|
||||
-DFORKCOMM -DLOGINT -DSYS5 -DDEC3100 -DNOFORN -DNOETHER -DBIGATOMS $(XFLAGS)
|
||||
LDFLAGS = -lX11 -lc -lm
|
||||
LDELDFLAGS = -lX11 -lc -lm
|
||||
# -Dsparc?
|
||||
INLINE =
|
||||
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldeether
|
||||
|
||||
# Special rules to create xc.c on Sun4
|
||||
|
||||
#run cpp to expand macros
|
||||
$(OBJECTDIR)xc.o: $(SRCDIR)xc.c $(INCDIR)lispemul.h $(INCDIR)emlglob.h $(INCDIR)address.h \
|
||||
$(INCDIR)adr68k.h $(INCDIR)stack.h $(INCDIR)lspglob.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)lispmap.h $(INCDIR)cell.h \
|
||||
$(INCDIR)initatms.h $(INCDIR)gc.h \
|
||||
$(INCDIR)arith.h $(INCDIR)stream.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosret.h \
|
||||
$(INCDIR)tosfns.h $(INCDIR)inlineC.h \
|
||||
$(INCDIR)inln68k.h
|
||||
$(CC) -c $(DFLAGS) -I$(INCDIR) $(SRCDIR)xc.c -o $(OBJECTDIR)xc.o
|
||||
|
||||
|
||||
631
bin/makefile.dos
631
bin/makefile.dos
@@ -1,631 +0,0 @@
|
||||
AFLAGS = /T
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
ADMINFILES = makefile mkvdate.c optck.c
|
||||
|
||||
LPFILES = lpmain.obj lpread.obj lpsolve.obj lpwrite.obj lpdual.obj lptran.obj
|
||||
|
||||
KEY = keytstno.obj
|
||||
|
||||
CFLAGS = -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT \
|
||||
-DNOFORN -DNOETHER -DNOVERSION -DBIGVM -DNEWCDRCODING
|
||||
|
||||
LDFLAGS = -g graphics.lib binmode.lib mouse.lib
|
||||
|
||||
RM = del
|
||||
|
||||
SRCFILES = conspage.c gcoflow.c shift.c dbgtool.c gcr.c gcrcell.c llstk.c gcscan.c loopsops.c storage.c allocmds.c dir.c gvar2.c lowlev1.c subr.c arith2.c hacks.c lowlev2.c subr0374.c arith3.c doscomm.c hardrtn.c lsthandl.c sxhash.c arith4.c draw.c main.c testtool.c array.c dsk.c inet.c misc7.c timer.c array2.c dspif.c initdsp.c miscn.c typeof.c array3.c initkbd.c ubf1.c array4.c dspsubrs.c initsout.c mkatom.c ubf2.c array5.c eqf.c intcall.c mkcell.c ubf3.c array6.c ether.c mkvdate.c ufn.c atom.c findkey.c kbdsubrs.c mouseif.c ufs.c bbtsub.c foreign.c keyevent.c unixcomm.c bin.c fp.c keylib.c binds.c asmbbt.c fvar.c mvs.c unwind.c bitblt.c gc.c uraid.c blt.c gc2.c kprint.c keytstno.c keytst.c osmsg.c usrsubr.c byteswap.c gcarray.c perrno.c ldeboot.c ldeether.c uutils.c carcdr.c gccode.c rawcolor.c vars3.c gcfinal.c ldsout.c return.c vmemsave.c chardev.c gchtfind.c lineblt8.c rpc.c xc.c common.c gcmain3.c lisp2c.c rplcons.c z2.c find-dsp.l dsphack.l xmkicon.c xbbt.c xinit.c xscroll.c xcursor.c xlspwin.c xrdopt.c xwinman.c dosmouse.c vesafns.asm vesainit.c vgainit.c kbdif.c dspsparc.il copyright launch.asm lpread.c lpsolve.c lpmain.c lpwrite.c lpdual.c lptran.c
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj hacks.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj keylib.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(KEY) $(COLORFILES) $(ARCHFILES) $(LPFILES)
|
||||
|
||||
|
||||
HFILES = address.h adr68k.h arith.h cell.h dbprint.h display.h dspif.h ifpage.h iopage.h lispemul.h lispmap.h lsptypes.h miscstat.h lspglob.h array.h bb.h bitblt.h debug.h devconf.h dspdata.h ether.h fast_dsp.h fp.h gc.h hdw_conf.h initatms.h inlinec.h keyboard.h lispver1.h lispver2.h lldsp.h locfile.h mouseif.h my.h opcodes.h osmsg.h pilotbbt.h print.h profile.h return.h stack.h stream.h subrs.h sysatms.h timeout.h tos1defs.h tosfns.h tosret.h vmemsave.h xdefs.h xbitmaps.h xkeymap.h
|
||||
|
||||
|
||||
|
||||
bigvm:
|
||||
CFLAGS = $(CFLAGS) -DBIGVM -DNEWCDRCODRING
|
||||
make -f foot emul.exe
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(RM) vdate.c
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h profile.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
# xc.obj: xc.s
|
||||
# tasm /ml xc.s
|
||||
#
|
||||
#xc.s: xc.c
|
||||
# rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
vdate.obj : mkvdate.exe
|
||||
mkvdate > vdate.c
|
||||
$(CC) vdate.c -c $@
|
||||
|
||||
mkvdate.exe : ../dossrc/mkvdate.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkvdate.c
|
||||
del copts
|
||||
|
||||
xc.obj : ../dossrc/xc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/xc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpmain.obj : ../dossrc/lpmain.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpmain.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpsolve.obj : ../dossrc/lpsolve.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpsolve.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpread.obj : ../dossrc/lpread.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpread.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lptran.obj : ../dossrc/lptran.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lptran.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpdual.obj : ../dossrc/lpdual.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpdual.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lpwrite.obj : ../dossrc/lpwrite.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lpwrite.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
|
||||
|
||||
conspage.obj : ../dossrc/conspage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/conspage.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
keytstno.obj : ../dossrc/keytstno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/keytstno.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dosmouse.obj : ../dossrc/dosmouse.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dosmouse.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
doskbd.obj : ../dossrc/doskbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/doskbd.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vesafns.obj : ../dossrc/vesafns.asm
|
||||
tasm /ml ..\dossrc\vesafns.asm
|
||||
|
||||
vesainit.obj : ../dossrc/vesainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vesainit.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vgainit.obj : ../dossrc/vgainit.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vgainit.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kbdif.obj : ../dossrc/kbdif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kbdif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcoflow.obj : ../dossrc/gcoflow.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcoflow.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
shift.obj : ../dossrc/shift.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/shift.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dbgtool.obj : ../dossrc/dbgtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dbgtool.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcr.obj : ../dossrc/gcr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcrcell.obj : ../dossrc/gcrcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcrcell.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
llstk.obj : ../dossrc/llstk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/llstk.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcscan.obj : ../dossrc/gcscan.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcscan.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
loopsops.obj : ../dossrc/loopsops.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/loopsops.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
storage.obj : ../dossrc/storage.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/storage.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
allocmds.obj : ../dossrc/allocmds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/allocmds.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dir.obj : ../dossrc/dir.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dir.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gvar2.obj : ../dossrc/gvar2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gvar2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lowlev1.obj : ../dossrc/lowlev1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lowlev1.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
subr.obj : ../dossrc/subr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/subr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith2.obj : ../dossrc/arith2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
hacks.obj : ../dossrc/hacks.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/hacks.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lowlev2.obj : ../dossrc/lowlev2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lowlev2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
subr0374.obj : ../dossrc/subr0374.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/subr0374.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith3.obj : ../dossrc/arith3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
doscomm.obj : ../dossrc/doscomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/doscomm.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
hardrtn.obj : ../dossrc/hardrtn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/hardrtn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lsthandl.obj : ../dossrc/lsthandl.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lsthandl.c -I ../dosinc -c $@ -Le
|
||||
del copts
|
||||
|
||||
sxhash.obj : ../dossrc/sxhash.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/sxhash.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
arith4.obj : ../dossrc/arith4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/arith4.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
draw.obj : ../dossrc/draw.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/draw.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
main.obj : ../dossrc/main.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/main.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
testtool.obj : ../dossrc/testtool.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/testtool.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array.obj : ../dossrc/array.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dsk.obj : ../dossrc/dsk.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dsk.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
inet.obj : ../dossrc/inet.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/inet.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
misc7.obj : ../dossrc/misc7.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/misc7.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
timer.obj : ../dossrc/timer.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/timer.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array2.obj : ../dossrc/array2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dspif.obj : ../dossrc/dspif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dspif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initdsp.obj : ../dossrc/initdsp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initdsp.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
miscn.obj : ../dossrc/miscn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/miscn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
typeof.obj : ../dossrc/typeof.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/typeof.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array3.obj : ../dossrc/array3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initkbd.obj : ../dossrc/initkbd.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initkbd.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf1.obj : ../dossrc/ubf1.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf1.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array4.obj : ../dossrc/array4.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array4.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
dspsubrs.obj : ../dossrc/dspsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/dspsubrs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
initsout.obj : ../dossrc/initsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/initsout.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mkatom.obj : ../dossrc/mkatom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkatom.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf2.obj : ../dossrc/ubf2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array5.obj : ../dossrc/array5.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array5.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
eqf.obj : ../dossrc/eqf.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/eqf.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
intcall.obj : ../dossrc/intcall.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/intcall.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mkcell.obj : ../dossrc/mkcell.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mkcell.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ubf3.obj : ../dossrc/ubf3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ubf3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
array6.obj : ../dossrc/array6.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/array6.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ether.obj : ../dossrc/ether.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ether.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ufn.obj : ../dossrc/ufn.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ufn.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
atom.obj : ../dossrc/atom.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/atom.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
findkey.obj : ../dossrc/findkey.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/findkey.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kbdsubrs.obj : ../dossrc/kbdsubrs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kbdsubrs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mouseif.obj : ../dossrc/mouseif.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mouseif.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ufs.obj : ../dossrc/ufs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ufs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bbtsub.obj : ../dossrc/bbtsub.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bbtsub.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
foreign.obj : ../dossrc/foreign.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/foreign.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
keyevent.obj : ../dossrc/keyevent.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/keyevent.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
unixcomm.obj : ../dossrc/unixcomm.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/unixcomm.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bin.obj : ../dossrc/bin.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bin.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
fp.obj : ../dossrc/fp.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/fp.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
keylib.obj : ../dossrc/keylib.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/keylib.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
binds.obj : ../dossrc/binds.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/binds.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
fvar.obj : ../dossrc/fvar.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/fvar.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
mvs.obj : ../dossrc/mvs.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/mvs.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
unwind.obj : ../dossrc/unwind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/unwind.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
bitblt.obj : ../dossrc/bitblt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/bitblt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gc.obj : ../dossrc/gc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
uraid.obj : ../dossrc/uraid.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/uraid.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
blt.obj : ../dossrc/blt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/blt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gc2.obj : ../dossrc/gc2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gc2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
kprint.obj : ../dossrc/kprint.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/kprint.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
osmsg.obj : ../dossrc/osmsg.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/osmsg.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
usrsubr.obj : ../dossrc/usrsubr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/usrsubr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
byteswap.obj : ../dossrc/byteswap.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/byteswap.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcarray.obj : ../dossrc/gcarray.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcarray.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
perrno.obj : ../dossrc/perrno.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/perrno.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
uutils.obj : ../dossrc/uutils.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/uutils.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
carcdr.obj : ../dossrc/carcdr.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/carcdr.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
asmbbt.obj : ../dossrc/asmbbt.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/asmbbt.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gccode.obj : ../dossrc/gccode.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gccode.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vars3.obj : ../dossrc/vars3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vars3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcfinal.obj : ../dossrc/gcfinal.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcfinal.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
ldsout.obj : ../dossrc/ldsout.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/ldsout.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
return.obj : ../dossrc/return.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/return.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
vmemsave.obj : ../dossrc/vmemsave.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/vmemsave.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
chardev.obj : ../dossrc/chardev.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/chardev.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gchtfind.obj : ../dossrc/gchtfind.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gchtfind.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lineblt8.obj : ../dossrc/lineblt8.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lineblt8.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
rpc.obj : ../dossrc/rpc.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/rpc.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
common.obj : ../dossrc/common.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/common.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
gcmain3.obj : ../dossrc/gcmain3.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/gcmain3.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
lisp2c.obj : ../dossrc/lisp2c.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/lisp2c.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
rplcons.obj : ../dossrc/rplcons.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/rplcons.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
z2.obj : ../dossrc/z2.c
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts ../dossrc/z2.c -I ../dosinc -c $@
|
||||
del copts
|
||||
|
||||
1092
bin/makeisc
1092
bin/makeisc
File diff suppressed because it is too large
Load Diff
@@ -6,11 +6,6 @@
|
||||
#* (C) Copyright 1989-2001 Venue. All Rights Reserved. */
|
||||
#* Manufactured in the United States of America. */
|
||||
#* */
|
||||
#* The contents of this file are proprietary information */
|
||||
#* belonging to Venue, and are provided to you under license. */
|
||||
#* They may not be further distributed or disclosed to third */
|
||||
#* parties without the specific permission of Venue. */
|
||||
#* */
|
||||
#************************************************************************/
|
||||
|
||||
#
|
||||
@@ -30,7 +25,6 @@
|
||||
# makeright multi ; make lde for cg3,cg6
|
||||
# makeright x ; make lde for X-windows
|
||||
# makeright color ; make lde with color support in it.
|
||||
# makeright multi release ; make release version of lde for cg3,cg6
|
||||
# makeright init ; make lde for loading INIT.DLINIT b/w only
|
||||
#
|
||||
# makeright multi requires directory "maiko/${osversion}.${architecture}-multi"
|
||||
@@ -45,33 +39,17 @@
|
||||
#
|
||||
# Hide X shared libraries from link libraries search path.
|
||||
LD_LIBRARY_PATH=/usr/local/lib
|
||||
RELDIR="../RELEASE/"
|
||||
|
||||
export PATH=".:$PATH"
|
||||
|
||||
if test "$1" = ""
|
||||
then
|
||||
display="single"
|
||||
else
|
||||
if test "$1" = "release"
|
||||
then
|
||||
case "$2" in
|
||||
single) display = single
|
||||
;;
|
||||
multi) display = multi
|
||||
;;
|
||||
x) display=x
|
||||
;;
|
||||
*) makeright single release
|
||||
makeright multi release
|
||||
makeright x release
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
else
|
||||
display="$1"
|
||||
fi
|
||||
display="$1"
|
||||
fi
|
||||
|
||||
if test $# > 0
|
||||
if test $# -gt 0
|
||||
then
|
||||
shift
|
||||
fi
|
||||
@@ -80,15 +58,15 @@ architecture=`machinetype`
|
||||
osversion=`osversion`
|
||||
echo "making so far for ${osversion} on ${architecture}."
|
||||
case "$display" in
|
||||
init) set display = single
|
||||
set releasename = init.${architecture}
|
||||
set ldename = ldeinit
|
||||
init) display=single
|
||||
releasename=init-${osversion}.${architecture}
|
||||
ldename=ldeinit
|
||||
;;
|
||||
single) set releasename = ${osversion}.${architecture}
|
||||
set ldename = ldesingle
|
||||
single) releasename=${osversion}.${architecture}
|
||||
ldename=ldesingle
|
||||
;;
|
||||
multi) set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldemulti
|
||||
multi) releasename=${osversion}.${architecture}-${display}
|
||||
ldename=ldemulti
|
||||
;;
|
||||
x) releasename=${osversion}.${architecture}-${display}
|
||||
ldename=ldex
|
||||
@@ -97,37 +75,30 @@ case "$display" in
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
releaseflg=0
|
||||
|
||||
if test "$1" = "release"
|
||||
then
|
||||
releaseflg=1
|
||||
if test "$display" != single
|
||||
then
|
||||
if test ! -e usermakefile-${releasename}
|
||||
then
|
||||
ln usermakefile-${osversion}.${architecture} usermakefile-${releasename}
|
||||
fi
|
||||
fi
|
||||
else
|
||||
releaseflg=0
|
||||
fi
|
||||
|
||||
installdir=${RELDIR}install.${osversion}.${architecture}/
|
||||
echo making with display $display releasename $releasename ldename $ldename
|
||||
|
||||
#if($display == single ) then
|
||||
# set releasename = ${osversion}.${architecture}
|
||||
# releasename = ${osversion}.${architecture}
|
||||
#else
|
||||
# set releasename = ${osversion}.${architecture}-${display}
|
||||
# releasename = ${osversion}.${architecture}-${display}
|
||||
#endif
|
||||
|
||||
# ensure that the necessary directories exist
|
||||
|
||||
if [ ! -d ../${osversion}.${architecture} ]; then
|
||||
mkdir ../${osversion}.${architecture}
|
||||
fi
|
||||
|
||||
if [ ! -d ../${releasename} ]; then
|
||||
mkdir ../${releasename}
|
||||
fi
|
||||
|
||||
echo start making lde for ${releasename}.
|
||||
|
||||
# then finally do the make, including the right stuff
|
||||
# With makefile-tail merged, this should only take ONE make command....
|
||||
|
||||
make RELEASENAME=${releasename} INSDIR=${installdir} LDENAME=${ldename} \
|
||||
make RELEASENAME=${releasename} LDENAME=${ldename} \
|
||||
OSARCHNAME=${osversion}.${architecture} \
|
||||
-f makefile-header -f makefile-${releasename} \
|
||||
-f makefile-tail $*
|
||||
|
||||
131
bin/makeright.sh
131
bin/makeright.sh
@@ -1,131 +0,0 @@
|
||||
#! /bin/-sh
|
||||
#
|
||||
# @(#) makeright Version 1.12 (7/18/90).
|
||||
##***********************************************************************/
|
||||
## */
|
||||
## Copyright 1989, 1990 Venue, Fuji Xerox Co., Ltd, Xerox Corp. */
|
||||
## */
|
||||
## This file is work-product resulting from the Xerox/Venue */
|
||||
## Agreement dated 18-August-1989 for support of Medley. */
|
||||
## */
|
||||
##***********************************************************************/
|
||||
#
|
||||
# Feb. 6 1990 osamu: Add display option
|
||||
# release option does not support yet.
|
||||
# Apr.23 1990 osamu: add release option.
|
||||
#
|
||||
# Jul 18 1990 JDS: Add 'init' option for making init-loading emulators
|
||||
#
|
||||
# Mar 7 1991 JDS: Add '3' option for making 3-byte emulators.
|
||||
#
|
||||
# usage: makeright [display-option] [other-option]
|
||||
#
|
||||
# example: makeright single ; make lde for mmaped displayFB
|
||||
# makeright multi ; make lde for cg3,cg6
|
||||
# makeright x ; make lde for X-windows
|
||||
# makeright color ; make lde with color support in it.
|
||||
# makeright multi release ; make release version of lde for cg3,cg6
|
||||
# makeright init ; make lde for loading INIT.DLINIT b/w only
|
||||
# makeright x 3 ; make lde for X-windows, 3-byte-atom version.
|
||||
#
|
||||
# makeright multi requires directory "maiko/${osversion}.${architecture}-multi"
|
||||
# (ex. maiko/sunos4.sparc-multi)
|
||||
# object files are stored there.
|
||||
#
|
||||
# makeright init requires directory "maiko/init.${architecture}
|
||||
#
|
||||
# Note: X11R4 environment link shared libraries.
|
||||
# lde need X library. If lde links shared libraries,
|
||||
# X shared libraries are needed at run time.
|
||||
#
|
||||
# Hide X shared libraries from link libraries search path.
|
||||
setenv LD_LIBRARY_PATH /usr/local/lib
|
||||
set RELDIR = ../RELEASE/
|
||||
|
||||
if($1 == "") then
|
||||
set display=single
|
||||
else
|
||||
if($1 == "release") then
|
||||
switch($2)
|
||||
case single:
|
||||
set display = single
|
||||
breaksw
|
||||
case multi:
|
||||
set display = multi
|
||||
breaksw
|
||||
case x:
|
||||
set display = x
|
||||
breaksw
|
||||
default:
|
||||
makeright single release
|
||||
makeright multi release
|
||||
makeright x release
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
else
|
||||
set display=$1
|
||||
endif
|
||||
endif
|
||||
|
||||
if( $#argv > 0 ) then
|
||||
shift
|
||||
endif
|
||||
|
||||
set architecture = `mach`
|
||||
set osversion = `osversion`
|
||||
echo "making so far for ${osversion} on ${architecture}."
|
||||
switch($display)
|
||||
case init:
|
||||
set display = single
|
||||
set releasename = init.${architecture}
|
||||
set ldename = ldeinit
|
||||
breaksw
|
||||
case single:
|
||||
set releasename = ${osversion}.${architecture}
|
||||
set ldename = ldesingle
|
||||
breaksw
|
||||
case multi:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldemulti
|
||||
breaksw
|
||||
case x:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldex
|
||||
breaksw
|
||||
default:
|
||||
echo "display-option: $display is not supported."
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
|
||||
if ( ("$1" == "3")) then
|
||||
set releasename = ${releasename}-3
|
||||
shift
|
||||
endif
|
||||
|
||||
set releaseflg = 0
|
||||
if( "$1" == "release" ) then
|
||||
set releaseflg = 1
|
||||
if($display != single) then
|
||||
if( !(-e usermakefile-${releasename})) then
|
||||
ln usermakefile-${osversion}.${architecture} usermakefile-${releasename}
|
||||
endif
|
||||
endif
|
||||
else
|
||||
set releaseflg = 0
|
||||
endif
|
||||
set installdir = ${RELDIR}install.${osversion}.${architecture}/
|
||||
|
||||
#if($display == single ) then
|
||||
# set releasename = ${osversion}.${architecture}
|
||||
#else
|
||||
# set releasename = ${osversion}.${architecture}-${display}
|
||||
#endif
|
||||
echo start making lde for ${releasename}.
|
||||
# then finally do the make, including the right stuff
|
||||
# With makefile-tail merged, this should only take ONE make command....
|
||||
make RELEASENAME=${releasename} INSDIR=${installdir} LDENAME=${ldename} \
|
||||
OSARCHNAME=${osversion}.${architecture} \
|
||||
-f makefile-header -f makefile-${releasename} \
|
||||
-f makefile-tail $*
|
||||
120
bin/makersright
120
bin/makersright
@@ -1,120 +0,0 @@
|
||||
# makeright
|
||||
# @(#) makeright Version 1.12 (7/18/90).
|
||||
##***********************************************************************/
|
||||
## */
|
||||
## Copyright 1989, 1990 Venue, Fuji Xerox Co., Ltd, Xerox Corp. */
|
||||
## */
|
||||
## This file is work-product resulting from the Xerox/Venue */
|
||||
## Agreement dated 18-August-1989 for support of Medley. */
|
||||
## */
|
||||
##***********************************************************************/
|
||||
#
|
||||
# Feb. 6 1990 osamu: Add display option
|
||||
# release option does not support yet.
|
||||
# Apr.23 1990 osamu: add release option.
|
||||
#
|
||||
# Jul 18 1990 JDS: Add 'init' option for making init-loading emulators
|
||||
#
|
||||
# usage: makeright [display-option] [other-option]
|
||||
#
|
||||
# example: makeright single ; make lde for mmaped displayFB
|
||||
# makeright multi ; make lde for cg3,cg6
|
||||
# makeright x ; make lde for X-windows
|
||||
# makeright color ; make lde with color support in it.
|
||||
# makeright multi release ; make release version of lde for cg3,cg6
|
||||
# makeright init ; make lde for loading INIT.DLINIT b/w only
|
||||
#
|
||||
# makeright multi requires directory "maiko/${osversion}.${architecture}-multi"
|
||||
# (ex. maiko/sunos4.sparc-multi)
|
||||
# object files are stored there.
|
||||
#
|
||||
# makeright init requires directory "maiko/init.${architecture}
|
||||
#
|
||||
# Note: X11R4 environment link shared libraries.
|
||||
# lde need X library. If lde links shared libraries,
|
||||
# X shared libraries are needed at run time.
|
||||
#
|
||||
# Hide X shared libraries from link libraries search path.
|
||||
setenv LD_LIBRARY_PATH /usr/local/lib
|
||||
set RELDIR = ../RELEASE/
|
||||
|
||||
if($1 == "") then
|
||||
set display=single
|
||||
else
|
||||
if($1 == "release") then
|
||||
switch($2)
|
||||
case single:
|
||||
set display = single
|
||||
breaksw
|
||||
case multi:
|
||||
set display = multi
|
||||
breaksw
|
||||
case x:
|
||||
set display = x
|
||||
breaksw
|
||||
default:
|
||||
makeright single release
|
||||
makeright multi release
|
||||
makeright x release
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
else
|
||||
set display=$1
|
||||
endif
|
||||
endif
|
||||
|
||||
if( $#argv > 0 ) then
|
||||
shift
|
||||
endif
|
||||
|
||||
set architecture = rs6000
|
||||
set osversion = aix
|
||||
switch($display)
|
||||
case init:
|
||||
set display = single
|
||||
set releasename = init.${architecture}
|
||||
set ldename = ldeinit
|
||||
breaksw
|
||||
case single:
|
||||
set releasename = ${osversion}.${architecture}
|
||||
set ldename = ldesingle
|
||||
breaksw
|
||||
case multi:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldemulti
|
||||
breaksw
|
||||
case x:
|
||||
set releasename = ${osversion}.${architecture}-${display}
|
||||
set ldename = ldex
|
||||
breaksw
|
||||
default:
|
||||
echo "display-option: $display is not supported."
|
||||
exit
|
||||
breaksw
|
||||
endsw
|
||||
set releaseflg = 0
|
||||
if( "$1" == "release" ) then
|
||||
set releaseflg = 1
|
||||
if($display != single) then
|
||||
if( !(-e usermakefile-${releasename})) then
|
||||
ln usermakefile-${osversion}.${architecture} usermakefile-${releasename}
|
||||
endif
|
||||
endif
|
||||
else
|
||||
set releaseflg = 0
|
||||
endif
|
||||
set installdir = ${RELDIR}install.${osversion}.${architecture}/
|
||||
|
||||
#if($display == single ) then
|
||||
# set releasename = ${osversion}.${architecture}
|
||||
#else
|
||||
# set releasename = ${osversion}.${architecture}-${display}
|
||||
#endif
|
||||
echo start making lde for ${releasename}.
|
||||
# then finally do the make, including the right stuff
|
||||
# With makefile-tail merged, this should only take ONE make command....
|
||||
make RELEASENAME=${releasename} INSDIR=${installdir} LDENAME=${ldename} \
|
||||
OSARCHNAME=${osversion}.${architecture} \
|
||||
-f makefile-header -f makefile-${releasename} \
|
||||
-f makefile-tail $*
|
||||
@@ -1,6 +0,0 @@
|
||||
# Allows user to specify version to make
|
||||
# Almost useless, except that I needed it to handle the
|
||||
# SunOS 3.2 sparc version
|
||||
set relname = $1
|
||||
shift
|
||||
(echo RELEASENAME = ${relname};cat makefile-header makefile-${relname} makefile-tail) | make -f - $*
|
||||
@@ -1,203 +0,0 @@
|
||||
#! /bin/sh
|
||||
# ============================================================================
|
||||
# Changes:
|
||||
# ============================================================================
|
||||
# SYNOPSYS:
|
||||
# medley [[emulator] sysout]
|
||||
#
|
||||
# If no arguments are passed to the utility, it will try to find
|
||||
# an emulator and sysout based on DEFAULTDIR. When arguments are
|
||||
# given, it will try to be "smart" when finding files.
|
||||
#
|
||||
# It also will try to find a file containing the Medley software key.
|
||||
# If it doesn't find one, it will prompt for a valid key.
|
||||
#
|
||||
# ============================================================================
|
||||
|
||||
#---------- Change if necessary ----------
|
||||
DEFAULTEMULATOR=lde
|
||||
DEFAULTSYSOUT=LISP.SYSOUT
|
||||
DEFAULTDIR=REPLACEME # Normally updated by installation script
|
||||
|
||||
#************************************************************
|
||||
#********* Changes below this point should normally *********
|
||||
#********* not be required *********
|
||||
#************************************************************
|
||||
|
||||
APPLICATION="Medley 2.0"
|
||||
SCRIPTNAME=`/bin/basename $0`
|
||||
HOSTNAME=`/usr/ucb/hostname`
|
||||
|
||||
KEYFILENAME=".medleyKey.$HOSTNAME"
|
||||
|
||||
exitScript(){
|
||||
echo "$1"
|
||||
exit
|
||||
}
|
||||
|
||||
smartPath() {
|
||||
FILE=`/bin/basename $1`
|
||||
if [ -f "$1" ]
|
||||
then FILEPATH=$1
|
||||
elif [ "$FILE" = "$1" ]
|
||||
then if [ -f "$2/$1" ]
|
||||
then FILEPATH="$2/$1"
|
||||
elif [ -f "$HOME/$1" ]
|
||||
then FILEPATH="$HOME/$1"
|
||||
elif [ -f "$HOME/medley/$1" ]
|
||||
then FILEPATH="$HOME/medley/$1"
|
||||
else exitScript "$3 file not found: $1"
|
||||
fi
|
||||
else exitScript "$3 file not found: $1"
|
||||
fi
|
||||
}
|
||||
|
||||
parseCommand() {
|
||||
case $# in
|
||||
[012]) getOSVersion
|
||||
# Now set the machine type
|
||||
EMULATORDIR=install.sunos${OSVERSION}
|
||||
PATH=$PATH:$DEFAULTDIR/$EMULATORDIR:.
|
||||
cd $DEFAULTDIR/$EMULATORDIR
|
||||
export PATH
|
||||
case $# in
|
||||
0) EMULATOR=$DEFAULTEMULATOR ;;
|
||||
1) EMULATOR=$DEFAULTEMULATOR
|
||||
smartPath $1 $DEFAULTDIR/lispsysouts Sysout
|
||||
SYSOUT=$FILEPATH ;;
|
||||
2) EMULATOR=$1
|
||||
smartPath $2 $DEFAULTDIR/lispsysouts Sysout
|
||||
SYSOUT=$FILEPATH ;;
|
||||
esac ;;
|
||||
*) echo "Usage: $SCRIPTNAME [[emulator] sysout]"
|
||||
exit ;;
|
||||
esac
|
||||
}
|
||||
|
||||
setOSVersion(){
|
||||
unset validOSVersionP
|
||||
case "$1" in
|
||||
3|3.[X245]) OSVERSION=3 ;;
|
||||
4.0|4.0.*) OSVERSION=4 ;;
|
||||
4.1|4.1.*) OSVERSION=4.1 ;;
|
||||
5.*) OSVERSION=5 ;;
|
||||
*) MESSAGE="Invalid reply: $answer"
|
||||
validOSVersionP=notTrue ;;
|
||||
esac
|
||||
[ ${validOSVersionP:-true} = true ]
|
||||
}
|
||||
|
||||
askOSVersion(){
|
||||
MESSAGE="$1"
|
||||
while [ ${menuloop:-notdone} = notdone ]
|
||||
do /usr/ucb/clear
|
||||
|
||||
echo "
|
||||
<---------------> OS Options Menu <--------------->
|
||||
3.X - SunOS 3.2 3.4 3.5
|
||||
4.0 - SunOS 4.0 4.0.X
|
||||
4.1 - SunOS 4.1 4.1.X
|
||||
5.0 - SunOS 5.0 and up.
|
||||
${MESSAGE:+
|
||||
$MESSAGE}"
|
||||
unset MESSAGE
|
||||
echo -n "Select : "
|
||||
answer=`/usr/bin/line`
|
||||
if setOSVersion $answer
|
||||
then menuloop=done
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
getOSVersion() {
|
||||
if [ -f /etc/motd ]
|
||||
then if setOSVersion `/usr/ucb/sed -e '1s/.*SunOS \(...\).*/\1/' -e '1q' < /etc/motd`
|
||||
then echo -n ""
|
||||
else echo "$MESSAGE"
|
||||
fi
|
||||
else askOSVersion "Please specify the SunOS version you are running."
|
||||
fi
|
||||
}
|
||||
|
||||
validKeyP() {
|
||||
unset keyTooLongP
|
||||
VALID=`echo $* | /bin/awk '/[^0-9a-fA-F ]/'`
|
||||
for group in $*
|
||||
do LENGTH=`echo $group | /bin/awk '{print length}'`
|
||||
if [ "$LENGTH" -gt 8 ]
|
||||
then keyTooLongP=true
|
||||
fi
|
||||
done
|
||||
[ $# = 3 -a "$VALID" = "" -a ${keyTooLongP:-notTrue} = notTrue ]
|
||||
}
|
||||
|
||||
saveKey() {
|
||||
echo "Saving key '$KEY' into file '$KEYFILENAME' ..."
|
||||
echo -n "Trying $DEFAULTDIR/$KEYFILENAME ..."
|
||||
if [ -w "$DEFAULTDIR" ]
|
||||
then echo "$KEY" > "$DEFAULTDIR/$KEYFILENAME"
|
||||
else echo " Write protected ! "
|
||||
echo -n "Trying $HOME/$KEYFILENAME instead ..."
|
||||
echo "$KEY" > "$HOME/$KEYFILENAME"
|
||||
fi
|
||||
if [ $? = 0 ]
|
||||
then echo " Done"
|
||||
else echo " Some error occured \! "
|
||||
fi
|
||||
}
|
||||
|
||||
keyDefinedP() {
|
||||
if [ -f "$DEFAULTDIR/$KEYFILENAME" ]
|
||||
then if [ -r "$DEFAULTDIR/$KEYFILENAME" ]
|
||||
then KEYFILE="$DEFAULTDIR/$KEYFILENAME"
|
||||
else echo "ERROR! Cannot read file: $DEFAULTDIR/$KEYFILE"
|
||||
fi
|
||||
elif [ -f "$HOME/$KEYFILENAME" ]
|
||||
then KEYFILE="$HOME/$KEYFILENAME"
|
||||
else echo "
|
||||
To start $APPLICATION, a host access key is required.
|
||||
Call Venue at (1-800-228-5325) for one,
|
||||
|
||||
and be prepared to give them your workstations host ID#
|
||||
"
|
||||
fi
|
||||
[ ${KEYFILE:-notSpecified} != notSpecified ]
|
||||
}
|
||||
|
||||
promptForKey () {
|
||||
while [ ${VALIDKEYP:-notValid} = notValid ]
|
||||
do echo "Your workstations host ID# is: `hostid`"
|
||||
echo -n "Type in the key or [^C] to abort: "
|
||||
KEY=`/usr/bin/line`
|
||||
|
||||
if validKeyP $KEY
|
||||
then VALIDKEYP=x
|
||||
else echo "Sorry, invalid key: $KEY"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
#************************************************************
|
||||
#********** Main piece of code **********
|
||||
#************************************************************
|
||||
|
||||
trap 'echo "
|
||||
$SCRIPTNAME: Aborted ..."; exit' 2
|
||||
|
||||
parseCommand $*
|
||||
|
||||
if keyDefinedP
|
||||
then KEY=`/usr/bin/cat $KEYFILE`
|
||||
else promptForKey
|
||||
saveKey
|
||||
fi
|
||||
|
||||
|
||||
# Well, I think we might be ready to give it a try
|
||||
echo "Starting up $APPLICATION ..."
|
||||
/bin/sleep 2
|
||||
$EMULATOR $SYSOUT -k "$KEY"
|
||||
|
||||
|
||||
|
||||
212
bin/mkdos
212
bin/mkdos
@@ -1,212 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
KEY = keytstno.OEXT
|
||||
|
||||
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = $(SRCDIR)conspage.c $(SRCDIR)gcoflow.c $(SRCDIR)shift.c $(SRCDIR)dbgtool.c $(SRCDIR)gcr.c\
|
||||
$(SRCDIR)llcolor.c $(SRCDIR)gcrcell.c $(SRCDIR)llstk.c $(SRCDIR)gcscan.c $(SRCDIR)loopsops.c\
|
||||
$(SRCDIR)storage.c $(SRCDIR)allocmds.c $(SRCDIR)dir.c $(SRCDIR)gvar2.c $(SRCDIR)lowlev1.c\
|
||||
$(SRCDIR)subr.c $(SRCDIR)arith2.c $(SRCDIR)hacks.c $(SRCDIR)lowlev2.c $(SRCDIR)subr0374.c \
|
||||
$(SRCDIR)arith3.c $(SRCDIR)doscomm.c $(SRCDIR)hardrtn.c $(SRCDIR)lsthandl.c $(SRCDIR)sxhash.c \
|
||||
$(SRCDIR)arith4.c $(SRCDIR)draw.c $(SRCDIR)main.c $(SRCDIR)testtool.c $(SRCDIR)array.c $(SRCDIR)dsk.c \
|
||||
$(SRCDIR)inet.c $(SRCDIR)misc7.c $(SRCDIR)timer.c $(SRCDIR)array2.c $(SRCDIR)dspif.c $(SRCDIR)initdsp.c \
|
||||
$(SRCDIR)miscn.c $(SRCDIR)typeof.c $(SRCDIR)array3.c $(SRCDIR)initkbd.c $(SRCDIR)ubf1.c \
|
||||
$(SRCDIR)array4.c $(SRCDIR)dspsubrs.c $(SRCDIR)initsout.c $(SRCDIR)mkatom.c $(SRCDIR)ubf2.c \
|
||||
$(SRCDIR)array5.c $(SRCDIR)eqf.c $(SRCDIR)intcall.c $(SRCDIR)mkcell.c $(SRCDIR)ubf3.c $(SRCDIR)array6.c \
|
||||
$(SRCDIR)ether.c $(SRCDIR)mkvdate.c $(SRCDIR)ufn.c $(SRCDIR)atom.c $(SRCDIR)findkey.c \
|
||||
$(SRCDIR)kbdsubrs.c $(SRCDIR)mouseif.c $(SRCDIR)ufs.c $(SRCDIR)bbtsub.c $(SRCDIR)foreign.c \
|
||||
$(SRCDIR)keyevent.c $(SRCDIR)unixcomm.c $(SRCDIR)bin.c $(SRCDIR)fp.c $(SRCDIR)keylib.c $(SRCDIR)binds.c \
|
||||
$(SRCDIR)asmbbt.c $(SRCDIR)fvar.c $(SRCDIR)mvs.c $(SRCDIR)unwind.c $(SRCDIR)bitblt.c $(SRCDIR)gc.c \
|
||||
$(SRCDIR)uraid.c $(SRCDIR)blt.c $(SRCDIR)gc2.c $(SRCDIR)kprint.c $(SRCDIR)keytstno.c $(SRCDIR)keytst.c\
|
||||
$(SRCDIR)osmsg.c usrsubr.c $(SRCDIR)byteswap.c $(SRCDIR)gcarray.c \
|
||||
$(SRCDIR)perrno.c $(SRCDIR)ldeboot.c $(SRCDIR)ldeether.c $(SRCDIR)uutils.c $(SRCDIR)carcdr.c $(SRCDIR)gccode.c \
|
||||
$(SRCDIR)rawcolor.c $(SRCDIR)vars3.c $(SRCDIR)gcfinal.c $(SRCDIR)ldsout.c $(SRCDIR)return.c \
|
||||
$(SRCDIR)vmemsave.c $(SRCDIR)chardev.c $(SRCDIR)gchtfind.c $(SRCDIR)lineblt8.c $(SRCDIR)rpc.c \
|
||||
$(SRCDIR)xc.c $(SRCDIR)common.c $(SRCDIR)gcmain3.c $(SRCDIR)lisp2c.c $(SRCDIR)rplcons.c $(SRCDIR)z2.c \
|
||||
$(SRCDIR)find-dsp.l $(SRCDIR)dsphack.l \
|
||||
$(SRCDIR)xmkicon.c $(SRCDIR)xbbt.c $(SRCDIR)xinit.c $(SRCDIR)xscroll.c $(SRCDIR)xcursor.c $(SRCDIR)xlspwin.c \
|
||||
$(SRCDIR)xrdopt.c $(SRCDIR)xwinman.c \
|
||||
$(SRCDIR)dosmouse.c $(SRCDIR)vesafns.asm $(SRCDIR)vesainit.c $(SRCDIR)vgainit.c $(SRCDIR)kbdif.c \
|
||||
$(SRCDIR)dspsparc.il $(SRCDIR)copyright $(SRCDIR)launch.asm
|
||||
|
||||
OFILES = $(OBJECTDIR)conspage.OEXT $(OBJECTDIR)gcoflow.OEXT $(OBJECTDIR)shift.OEXT $(OBJECTDIR)dbgtool.OEXT \
|
||||
$(OBJECTDIR)gcr.OEXT $(OBJECTDIR)llcolor.OEXT $(OBJECTDIR)gcrcell.OEXT $(OBJECTDIR)llstk.OEXT \
|
||||
$(OBJECTDIR)gcscan.OEXT $(OBJECTDIR)loopsops.OEXT $(OBJECTDIR)storage.OEXT \
|
||||
$(OBJECTDIR)allocmds.OEXT $(OBJECTDIR)dir.OEXT $(OBJECTDIR)gvar2.OEXT $(OBJECTDIR)lowlev1.OEXT \
|
||||
$(OBJECTDIR)subr.OEXT $(OBJECTDIR)arith2.OEXT $(OBJECTDIR)hacks.OEXT $(OBJECTDIR)lowlev2.OEXT \
|
||||
$(OBJECTDIR)subr0374.OEXT $(OBJECTDIR)arith3.OEXT $(OBJECTDIR)doscomm.OEXT \
|
||||
$(OBJECTDIR)hardrtn.OEXT $(OBJECTDIR)lsthandl.OEXT $(OBJECTDIR)sxhash.OEXT $(OBJECTDIR)arith4.OEXT \
|
||||
$(OBJECTDIR)draw.OEXT $(OBJECTDIR)main.OEXT $(OBJECTDIR)testtool.OEXT $(OBJECTDIR)array.OEXT \
|
||||
$(OBJECTDIR)dsk.OEXT $(OBJECTDIR)inet.OEXT $(OBJECTDIR)misc7.OEXT $(OBJECTDIR)timer.OEXT \
|
||||
$(OBJECTDIR)array2.OEXT $(OBJECTDIR)dspif.OEXT $(OBJECTDIR)initdsp.OEXT $(OBJECTDIR)miscn.OEXT \
|
||||
$(OBJECTDIR)typeof.OEXT $(OBJECTDIR)array3.OEXT $(OBJECTDIR)initkbd.OEXT $(OBJECTDIR)ubf1.OEXT \
|
||||
$(OBJECTDIR)array4.OEXT $(OBJECTDIR)dspsubrs.OEXT $(OBJECTDIR)initsout.OEXT \
|
||||
$(OBJECTDIR)mkatom.OEXT $(OBJECTDIR)ubf2.OEXT $(OBJECTDIR)array5.OEXT $(OBJECTDIR)eqf.OEXT \
|
||||
$(OBJECTDIR)intcall.OEXT $(OBJECTDIR)mkcell.OEXT $(OBJECTDIR)ubf3.OEXT $(OBJECTDIR)array6.OEXT \
|
||||
$(OBJECTDIR)ether.OEXT $(OBJECTDIR)ufn.OEXT $(OBJECTDIR)atom.OEXT \
|
||||
$(OBJECTDIR)findkey.OEXT $(OBJECTDIR)kbdsubrs.OEXT $(OBJECTDIR)mouseif.OEXT $(OBJECTDIR)ufs.OEXT \
|
||||
$(OBJECTDIR)bbtsub.OEXT $(OBJECTDIR)foreign.OEXT $(OBJECTDIR)keyevent.OEXT \
|
||||
$(OBJECTDIR)unixcomm.OEXT $(OBJECTDIR)bin.OEXT $(OBJECTDIR)fp.OEXT $(OBJECTDIR)keylib.OEXT \
|
||||
$(OBJECTDIR)binds.OEXT $(OBJECTDIR)fvar.OEXT $(OBJECTDIR)mvs.OEXT \
|
||||
$(OBJECTDIR)unwind.OEXT $(OBJECTDIR)bitblt.OEXT $(OBJECTDIR)gc.OEXT \
|
||||
$(OBJECTDIR)uraid.OEXT $(OBJECTDIR)blt.OEXT $(OBJECTDIR)gc2.OEXT \
|
||||
$(OBJECTDIR)kprint.OEXT $(OBJECTDIR)osmsg.OEXT $(OBJECTDIR)usrsubr.OEXT $(OBJECTDIR)byteswap.OEXT \
|
||||
$(OBJECTDIR)gcarray.OEXT $(OBJECTDIR)perrno.OEXT $(OBJECTDIR)uutils.OEXT \
|
||||
$(OBJECTDIR)carcdr.OEXT $(OBJECTDIR)asmbbt.OEXT $(OBJECTDIR)gccode.OEXT \
|
||||
$(OBJECTDIR)vars3.OEXT $(OBJECTDIR)gcfinal.OEXT $(OBJECTDIR)ldsout.OEXT \
|
||||
$(OBJECTDIR)return.OEXT $(OBJECTDIR)vmemsave.OEXT $(OBJECTDIR)chardev.OEXT \
|
||||
$(OBJECTDIR)gchtfind.OEXT $(OBJECTDIR)lineblt8.OEXT $(OBJECTDIR)rpc.OEXT $(OBJECTDIR)xc.OEXT \
|
||||
$(OBJECTDIR)common.OEXT $(OBJECTDIR)gcmain3.OEXT $(OBJECTDIR)lisp2c.OEXT $(OBJECTDIR)rplcons.OEXT \
|
||||
$(OBJECTDIR)z2.OEXT $(OBJECTDIR) $(OBJECTDIR)vdate.OEXT $(KEY) $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = $(INCDIR)address.h $(INCDIR)adr68k.h $(INCDIR)arith.h $(INCDIR)cell.h $(INCDIR)dbprint.h $(INCDIR)display.h \
|
||||
$(INCDIR)dspif.h $(INCDIR)ifpage.h $(INCDIR)iopage.h $(INCDIR)lispemul.h $(INCDIR)lispmap.h \
|
||||
$(INCDIR)lsptypes.h $(INCDIR)miscstat.h $(INCDIR)lspglob.h $(INCDIR)array.h $(INCDIR)bb.h \
|
||||
$(INCDIR)bitblt.h $(INCDIR)debug.h $(INCDIR)devconf.h $(INCDIR)dspdata.h $(INCDIR)ether.h \
|
||||
$(INCDIR)fast_dsp.h $(INCDIR)fp.h $(INCDIR)gc.h $(INCDIR)hdw_conf.h $(INCDIR)initatms.h $(INCDIR)inlinec.h $(INCDIR)keyboard.h \
|
||||
$(INCDIR)lispver1.h $(INCDIR)lispver2.h $(INCDIR)lldsp.h $(INCDIR)locfile.h $(INCDIR)mouseif.h $(INCDIR)my.h \
|
||||
$(INCDIR)opcodes.h $(INCDIR)osmsg.h $(INCDIR)pilotbbt.h $(INCDIR)print.h $(INCDIR)profile.h \
|
||||
$(INCDIR)return.h $(INCDIR)stack.h $(INCDIR)stream.h $(INCDIR)subrs.h $(INCDIR)sysatms.h $(INCDIR)timeout.h \
|
||||
$(INCDIR)tos1defs.h $(INCDIR)tosfns.h $(INCDIR)tosret.h $(INCDIR)vmemsave.h \
|
||||
$(INCDIR)xdefs.h $(INCDIR)xbitmaps.h $(INCDIR)xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
all : x raw color
|
||||
|
||||
x : xmkfile
|
||||
$(MAKE) -f xmkfile $(MFLAGS) ldex
|
||||
|
||||
raw : mkfile
|
||||
$(MAKE) -f mkfile $(MFLAGS) lde
|
||||
|
||||
color : mkfile
|
||||
$(MAKE) -f mkfile $(MFLAGS) lde
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfile $(MFLAGS) medley.exe
|
||||
$(MAKE) -f ./dosmkfile $(MFLAGS) emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
xmkfile : mkfile
|
||||
$(CC) -E -DX mkfile > xmkfile
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
ldex : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the speciffic files for this target */
|
||||
$(CC) $(OFILES) -o $@ $(LDFLAGS)
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the speciffic files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
main.o : lispemul.h address.h lsptypes.h adr68k.h stack.h lspglob.h lispmap.h ifpage.h iopage.h return.h debug.h profile.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture speciffic targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
medley.exe: launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
launch.obj: launch.asm
|
||||
|
||||
xc.obj: xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
xc.s: xc.c
|
||||
rsh sparky (cd /users/nilsson/curr ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
201
bin/mkfile
201
bin/mkfile
@@ -1,201 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define SRCDIR .
|
||||
#define OBJECTDIR .
|
||||
#define BINDIR ../bin
|
||||
#define INCDIR ../inc
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
BINARYDIR = BINDIR
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
KEY = keytstno.OEXT
|
||||
|
||||
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = SRCDIR/conspage.c SRCDIR/gcoflow.c SRCDIR/shift.c SRCDIR/dbgtool.c SRCDIR/gcr.c\
|
||||
SRCDIR/llcolor.c SRCDIR/gcrcell.c SRCDIR/llstk.c SRCDIR/gcscan.c SRCDIR/loopsops.c\
|
||||
SRCDIR/storage.c SRCDIR/allocmds.c SRCDIR/dir.c SRCDIR/gvar2.c SRCDIR/lowlev1.c\
|
||||
SRCDIR/subr.c SRCDIR/arith2.c SRCDIR/hacks.c SRCDIR/lowlev2.c SRCDIR/subr0374.c \
|
||||
SRCDIR/arith3.c SRCDIR/doscomm.c SRCDIR/hardrtn.c SRCDIR/lsthandl.c SRCDIR/sxhash.c \
|
||||
SRCDIR/arith4.c SRCDIR/draw.c SRCDIR/main.c SRCDIR/testtool.c SRCDIR/array.c SRCDIR/dsk.c \
|
||||
SRCDIR/inet.c SRCDIR/misc7.c SRCDIR/timer.c SRCDIR/array2.c SRCDIR/dspif.c SRCDIR/initdsp.c \
|
||||
SRCDIR/miscn.c SRCDIR/typeof.c SRCDIR/array3.c SRCDIR/initkbd.c SRCDIR/ubf1.c \
|
||||
SRCDIR/array4.c SRCDIR/dspsubrs.c SRCDIR/initsout.c SRCDIR/mkatom.c SRCDIR/ubf2.c \
|
||||
SRCDIR/array5.c SRCDIR/eqf.c SRCDIR/intcall.c SRCDIR/mkcell.c SRCDIR/ubf3.c SRCDIR/array6.c \
|
||||
SRCDIR/ether.c SRCDIR/mkvdate.c SRCDIR/ufn.c SRCDIR/atom.c SRCDIR/findkey.c \
|
||||
SRCDIR/kbdsubrs.c SRCDIR/mouseif.c SRCDIR/ufs.c SRCDIR/bbtsub.c SRCDIR/foreign.c \
|
||||
SRCDIR/keyevent.c SRCDIR/unixcomm.c SRCDIR/bin.c SRCDIR/fp.c SRCDIR/keylib.c SRCDIR/binds.c \
|
||||
SRCDIR/asmbbt.c SRCDIR/fvar.c SRCDIR/mvs.c SRCDIR/unwind.c SRCDIR/bitblt.c SRCDIR/gc.c \
|
||||
SRCDIR/uraid.c SRCDIR/blt.c SRCDIR/gc2.c SRCDIR/kprint.c SRCDIR/keytstno.c SRCDIR/keytst.c\
|
||||
SRCDIR/osmsg.c usrsubr.c SRCDIR/byteswap.c SRCDIR/gcarray.c \
|
||||
SRCDIR/perrno.c SRCDIR/ldeboot.c SRCDIR/ldeether.c SRCDIR/uutils.c SRCDIR/carcdr.c SRCDIR/gccode.c \
|
||||
SRCDIR/rawcolor.c SRCDIR/vars3.c SRCDIR/gcfinal.c SRCDIR/ldsout.c SRCDIR/return.c \
|
||||
SRCDIR/vmemsave.c SRCDIR/chardev.c SRCDIR/gchtfind.c SRCDIR/lineblt8.c SRCDIR/rpc.c \
|
||||
SRCDIR/xc.c SRCDIR/common.c SRCDIR/gcmain3.c SRCDIR/lisp2c.c SRCDIR/rplcons.c SRCDIR/z2.c \
|
||||
SRCDIR/find-dsp.l SRCDIR/dsphack.l \
|
||||
SRCDIR/xmkicon.c SRCDIR/xbbt.c SRCDIR/xinit.c SRCDIR/xscroll.c SRCDIR/xcursor.c SRCDIR/xlspwin.c \
|
||||
SRCDIR/xrdopt.c SRCDIR/xwinman.c \
|
||||
SRCDIR/dosmouse.c SRCDIR/vesafns.asm SRCDIR/vesainit.c SRCDIR/vgainit.c SRCDIR/kbdif.c \
|
||||
SRCDIR/dspsparc.il SRCDIR/copyright SRCDIR/launch.asm
|
||||
|
||||
OFILES = conspage.OEXT gcoflow.OEXT shift.OEXT dbgtool.OEXT \
|
||||
gcr.OEXT llcolor.OEXT gcrcell.OEXT llstk.OEXT \
|
||||
gcscan.OEXT loopsops.OEXT storage.OEXT \
|
||||
allocmds.OEXT dir.OEXT gvar2.OEXT lowlev1.OEXT \
|
||||
subr.OEXT arith2.OEXT hacks.OEXT lowlev2.OEXT \
|
||||
subr0374.OEXT arith3.OEXT doscomm.OEXT \
|
||||
hardrtn.OEXT lsthandl.OEXT sxhash.OEXT arith4.OEXT \
|
||||
draw.OEXT main.OEXT testtool.OEXT array.OEXT \
|
||||
dsk.OEXT inet.OEXT misc7.OEXT timer.OEXT \
|
||||
array2.OEXT dspif.OEXT initdsp.OEXT miscn.OEXT \
|
||||
typeof.OEXT array3.OEXT initkbd.OEXT ubf1.OEXT \
|
||||
array4.OEXT dspsubrs.OEXT initsout.OEXT \
|
||||
mkatom.OEXT ubf2.OEXT array5.OEXT eqf.OEXT \
|
||||
intcall.OEXT mkcell.OEXT ubf3.OEXT array6.OEXT \
|
||||
ether.OEXT ufn.OEXT atom.OEXT \
|
||||
findkey.OEXT kbdsubrs.OEXT mouseif.OEXT ufs.OEXT \
|
||||
bbtsub.OEXT foreign.OEXT keyevent.OEXT \
|
||||
unixcomm.OEXT bin.OEXT fp.OEXT keylib.OEXT \
|
||||
binds.OEXT fvar.OEXT mvs.OEXT \
|
||||
unwind.OEXT bitblt.OEXT gc.OEXT \
|
||||
uraid.OEXT blt.OEXT gc2.OEXT \
|
||||
kprint.OEXT osmsg.OEXT usrsubr.OEXT byteswap.OEXT \
|
||||
gcarray.OEXT perrno.OEXT uutils.OEXT \
|
||||
carcdr.OEXT asmbbt.OEXT gccode.OEXT \
|
||||
vars3.OEXT gcfinal.OEXT ldsout.OEXT \
|
||||
return.OEXT vmemsave.OEXT chardev.OEXT \
|
||||
gchtfind.OEXT lineblt8.OEXT rpc.OEXT xc.OEXT \
|
||||
common.OEXT gcmain3.OEXT lisp2c.OEXT rplcons.OEXT \
|
||||
z2.OEXT vdate.OEXT $(KEY) $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = INCDIR/address.h INCDIR/adr68k.h INCDIR/arith.h INCDIR/cell.h INCDIR/dbprint.h INCDIR/display.h \
|
||||
INCDIR/dspif.h INCDIR/ifpage.h INCDIR/iopage.h INCDIR/lispemul.h INCDIR/lispmap.h \
|
||||
INCDIR/lsptypes.h INCDIR/miscstat.h INCDIR/lspglob.h INCDIR/array.h INCDIR/bb.h \
|
||||
INCDIR/bitblt.h INCDIR/debug.h INCDIR/devconf.h INCDIR/dspdata.h INCDIR/ether.h \
|
||||
INCDIR/fast_dsp.h INCDIR/fp.h INCDIR/gc.h INCDIR/hdw_conf.h INCDIR/initatms.h INCDIR/inlinec.h INCDIR/keyboard.h \
|
||||
INCDIR/lispver1.h INCDIR/lispver2.h INCDIR/lldsp.h INCDIR/locfile.h INCDIR/mouseif.h INCDIR/my.h \
|
||||
INCDIR/opcodes.h INCDIR/osmsg.h INCDIR/pilotbbt.h INCDIR/print.h INCDIR/profile.h \
|
||||
INCDIR/return.h INCDIR/stack.h INCDIR/stream.h INCDIR/subrs.h INCDIR/sysatms.h INCDIR/timeout.h \
|
||||
INCDIR/tos1defs.h INCDIR/tosfns.h INCDIR/tosret.h INCDIR/vmemsave.h \
|
||||
INCDIR/xdefs.h INCDIR/xbitmaps.h INCDIR/xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the speciffic files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
OBJECTDIR/main.o : INCDIR/lispemul.h INCDIR/address.h INCDIR/lsptypes.h INCDIR/adr68k.h\
|
||||
INCDIR/stack.h INCDIR/lspglob.h INCDIR/lispmap.h INCDIR/ifpage.h\
|
||||
INCDIR/iopage.h INCDIR/return.h INCDIR/debug.h INCDIR/profile.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture speciffic targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
BINDIR/medley.exe: OBJECTDIR/launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
OBJECTDIR/launch.obj: SRCDIR/launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
OBJECTDIR/xc.obj: SRCDIR/xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
SRCDIR/xc.s: SRCDIR/xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
201
bin/mkfile.c
201
bin/mkfile.c
@@ -1,201 +0,0 @@
|
||||
#define CORRECT WRONG /* don't mind this text */
|
||||
#define BELOW in the file makefile in this directory.
|
||||
|
||||
# You are editing the CORRECT file.
|
||||
# Read more BELOW.
|
||||
|
||||
# /* When you make a compile target this file is run through
|
||||
# cpp and redirected to a file called mkfile.
|
||||
# the file mkfile is then used as the make file for the subtargets.
|
||||
# This may seem convoluted but the win is quite big. /jarl */
|
||||
|
||||
|
||||
# /* The following #ifdef ... #endif selection uses the
|
||||
# symbols kexitnown to the local icc we use to transmogrify
|
||||
# this file with. When you port to a new arch you should
|
||||
# a) find the unique icc macros (sparc, mips, ibm etc.)
|
||||
# b) add or edit this to the #ifdef selection below
|
||||
# c) try it out by doing a make. */
|
||||
|
||||
|
||||
# defDEBUG -g -m
|
||||
#define DEBUG -O2
|
||||
#define OEXT o
|
||||
|
||||
# remember -DNOEUROKBD
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
#define SRCDIR .
|
||||
#define OBJECTDIR .
|
||||
#define BINDIR ../bin
|
||||
#define INCDIR ../inc
|
||||
#define EXTRACFLAGS -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING
|
||||
#define EXTRALDFLAGS graphics.lib binmode.lib mouse.lib
|
||||
BINARYDIR = BINDIR
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
#define EXTRAFILES
|
||||
#define EXTRALDFLAGS
|
||||
#undef OEXT
|
||||
#define OEXT obj
|
||||
|
||||
#endif /* DOS */
|
||||
|
||||
#define XFLAGS
|
||||
#define XLDFLAGS
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.OEXT
|
||||
|
||||
KEY = keytstno.OEXT
|
||||
|
||||
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE XFLAGS EXTRACFLAGS DEBUG
|
||||
|
||||
LDFLAGS = DEBUG EXTRALDFLAGS XLDFLAGS
|
||||
|
||||
SRCFILES = SRCDIR/conspage.c SRCDIR/gcoflow.c SRCDIR/shift.c SRCDIR/dbgtool.c SRCDIR/gcr.c\
|
||||
SRCDIR/llcolor.c SRCDIR/gcrcell.c SRCDIR/llstk.c SRCDIR/gcscan.c SRCDIR/loopsops.c\
|
||||
SRCDIR/storage.c SRCDIR/allocmds.c SRCDIR/dir.c SRCDIR/gvar2.c SRCDIR/lowlev1.c\
|
||||
SRCDIR/subr.c SRCDIR/arith2.c SRCDIR/hacks.c SRCDIR/lowlev2.c SRCDIR/subr0374.c \
|
||||
SRCDIR/arith3.c SRCDIR/doscomm.c SRCDIR/hardrtn.c SRCDIR/lsthandl.c SRCDIR/sxhash.c \
|
||||
SRCDIR/arith4.c SRCDIR/draw.c SRCDIR/main.c SRCDIR/testtool.c SRCDIR/array.c SRCDIR/dsk.c \
|
||||
SRCDIR/inet.c SRCDIR/misc7.c SRCDIR/timer.c SRCDIR/array2.c SRCDIR/dspif.c SRCDIR/initdsp.c \
|
||||
SRCDIR/miscn.c SRCDIR/typeof.c SRCDIR/array3.c SRCDIR/initkbd.c SRCDIR/ubf1.c \
|
||||
SRCDIR/array4.c SRCDIR/dspsubrs.c SRCDIR/initsout.c SRCDIR/mkatom.c SRCDIR/ubf2.c \
|
||||
SRCDIR/array5.c SRCDIR/eqf.c SRCDIR/intcall.c SRCDIR/mkcell.c SRCDIR/ubf3.c SRCDIR/array6.c \
|
||||
SRCDIR/ether.c SRCDIR/mkvdate.c SRCDIR/ufn.c SRCDIR/atom.c SRCDIR/findkey.c \
|
||||
SRCDIR/kbdsubrs.c SRCDIR/mouseif.c SRCDIR/ufs.c SRCDIR/bbtsub.c SRCDIR/foreign.c \
|
||||
SRCDIR/keyevent.c SRCDIR/unixcomm.c SRCDIR/bin.c SRCDIR/fp.c SRCDIR/keylib.c SRCDIR/binds.c \
|
||||
SRCDIR/asmbbt.c SRCDIR/fvar.c SRCDIR/mvs.c SRCDIR/unwind.c SRCDIR/bitblt.c SRCDIR/gc.c \
|
||||
SRCDIR/uraid.c SRCDIR/blt.c SRCDIR/gc2.c SRCDIR/kprint.c SRCDIR/keytstno.c SRCDIR/keytst.c\
|
||||
SRCDIR/osmsg.c usrsubr.c SRCDIR/byteswap.c SRCDIR/gcarray.c \
|
||||
SRCDIR/perrno.c SRCDIR/ldeboot.c SRCDIR/ldeether.c SRCDIR/uutils.c SRCDIR/carcdr.c SRCDIR/gccode.c \
|
||||
SRCDIR/rawcolor.c SRCDIR/vars3.c SRCDIR/gcfinal.c SRCDIR/ldsout.c SRCDIR/return.c \
|
||||
SRCDIR/vmemsave.c SRCDIR/chardev.c SRCDIR/gchtfind.c SRCDIR/lineblt8.c SRCDIR/rpc.c \
|
||||
SRCDIR/xc.c SRCDIR/common.c SRCDIR/gcmain3.c SRCDIR/lisp2c.c SRCDIR/rplcons.c SRCDIR/z2.c \
|
||||
SRCDIR/find-dsp.l SRCDIR/dsphack.l \
|
||||
SRCDIR/xmkicon.c SRCDIR/xbbt.c SRCDIR/xinit.c SRCDIR/xscroll.c SRCDIR/xcursor.c SRCDIR/xlspwin.c \
|
||||
SRCDIR/xrdopt.c SRCDIR/xwinman.c \
|
||||
SRCDIR/dosmouse.c SRCDIR/vesafns.asm SRCDIR/vesainit.c SRCDIR/vgainit.c SRCDIR/kbdif.c \
|
||||
SRCDIR/dspsparc.il SRCDIR/copyright SRCDIR/launch.asm
|
||||
|
||||
OFILES = conspage.OEXT gcoflow.OEXT shift.OEXT dbgtool.OEXT \
|
||||
gcr.OEXT llcolor.OEXT gcrcell.OEXT llstk.OEXT \
|
||||
gcscan.OEXT loopsops.OEXT storage.OEXT \
|
||||
allocmds.OEXT dir.OEXT gvar2.OEXT lowlev1.OEXT \
|
||||
subr.OEXT arith2.OEXT hacks.OEXT lowlev2.OEXT \
|
||||
subr0374.OEXT arith3.OEXT doscomm.OEXT \
|
||||
hardrtn.OEXT lsthandl.OEXT sxhash.OEXT arith4.OEXT \
|
||||
draw.OEXT main.OEXT testtool.OEXT array.OEXT \
|
||||
dsk.OEXT inet.OEXT misc7.OEXT timer.OEXT \
|
||||
array2.OEXT dspif.OEXT initdsp.OEXT miscn.OEXT \
|
||||
typeof.OEXT array3.OEXT initkbd.OEXT ubf1.OEXT \
|
||||
array4.OEXT dspsubrs.OEXT initsout.OEXT \
|
||||
mkatom.OEXT ubf2.OEXT array5.OEXT eqf.OEXT \
|
||||
intcall.OEXT mkcell.OEXT ubf3.OEXT array6.OEXT \
|
||||
ether.OEXT ufn.OEXT atom.OEXT \
|
||||
findkey.OEXT kbdsubrs.OEXT mouseif.OEXT ufs.OEXT \
|
||||
bbtsub.OEXT foreign.OEXT keyevent.OEXT \
|
||||
unixcomm.OEXT bin.OEXT fp.OEXT keylib.OEXT \
|
||||
binds.OEXT fvar.OEXT mvs.OEXT \
|
||||
unwind.OEXT bitblt.OEXT gc.OEXT \
|
||||
uraid.OEXT blt.OEXT gc2.OEXT \
|
||||
kprint.OEXT osmsg.OEXT usrsubr.OEXT byteswap.OEXT \
|
||||
gcarray.OEXT perrno.OEXT uutils.OEXT \
|
||||
carcdr.OEXT asmbbt.OEXT gccode.OEXT \
|
||||
vars3.OEXT gcfinal.OEXT ldsout.OEXT \
|
||||
return.OEXT vmemsave.OEXT chardev.OEXT \
|
||||
gchtfind.OEXT lineblt8.OEXT rpc.OEXT xc.OEXT \
|
||||
common.OEXT gcmain3.OEXT lisp2c.OEXT rplcons.OEXT \
|
||||
z2.OEXT vdate.OEXT $(KEY) $(COLORFILES) $(ARCHFILES) EXTRAFILES
|
||||
|
||||
|
||||
HFILES = INCDIR/address.h INCDIR/adr68k.h INCDIR/arith.h INCDIR/cell.h INCDIR/dbprint.h INCDIR/display.h \
|
||||
INCDIR/dspif.h INCDIR/ifpage.h INCDIR/iopage.h INCDIR/lispemul.h INCDIR/lispmap.h \
|
||||
INCDIR/lsptypes.h INCDIR/miscstat.h INCDIR/lspglob.h INCDIR/array.h INCDIR/bb.h \
|
||||
INCDIR/bitblt.h INCDIR/debug.h INCDIR/devconf.h INCDIR/dspdata.h INCDIR/ether.h \
|
||||
INCDIR/fast_dsp.h INCDIR/fp.h INCDIR/gc.h INCDIR/hdw_conf.h INCDIR/initatms.h INCDIR/inlinec.h INCDIR/keyboard.h \
|
||||
INCDIR/lispver1.h INCDIR/lispver2.h INCDIR/lldsp.h INCDIR/locfile.h INCDIR/mouseif.h INCDIR/my.h \
|
||||
INCDIR/opcodes.h INCDIR/osmsg.h INCDIR/pilotbbt.h INCDIR/print.h INCDIR/profile.h \
|
||||
INCDIR/return.h INCDIR/stack.h INCDIR/stream.h INCDIR/subrs.h INCDIR/sysatms.h INCDIR/timeout.h \
|
||||
INCDIR/tos1defs.h INCDIR/tosfns.h INCDIR/tosret.h INCDIR/vmemsave.h \
|
||||
INCDIR/xdefs.h INCDIR/xbitmaps.h INCDIR/xkeymap.h
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
### Entry rules ###
|
||||
############### ###
|
||||
### make only one of these ###
|
||||
### four rules on the ###
|
||||
### commandline ###
|
||||
##############################
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
###############################
|
||||
### Compile rules ###
|
||||
################# ###
|
||||
### Don't touch these. The ###
|
||||
### following rules are ###
|
||||
### used by the entry rules ###
|
||||
###############################
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the speciffic files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
##################
|
||||
### File rules ###
|
||||
##################
|
||||
|
||||
OBJECTDIR/main.o : INCDIR/lispemul.h INCDIR/address.h INCDIR/lsptypes.h INCDIR/adr68k.h\
|
||||
INCDIR/stack.h INCDIR/lspglob.h INCDIR/lispmap.h INCDIR/ifpage.h\
|
||||
INCDIR/iopage.h INCDIR/return.h INCDIR/debug.h INCDIR/profile.h
|
||||
|
||||
|
||||
######################################
|
||||
### Architecture speciffic targets ###
|
||||
### ###
|
||||
### replaces the cruft in the ###
|
||||
### makefile-<OS>.<ARCH> ###
|
||||
######################################
|
||||
|
||||
#ifdef _INTELC32_ /* The cpp macro for the DOS extender */
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
BINDIR/medley.exe: OBJECTDIR/launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
OBJECTDIR/launch.obj: SRCDIR/launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
OBJECTDIR/xc.obj: SRCDIR/xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
SRCDIR/xc.s: SRCDIR/xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
#endif
|
||||
86
bin/mkfile.i
86
bin/mkfile.i
@@ -1,86 +0,0 @@
|
||||
|
||||
#line 1 "d:/windows/TEMP/cbr3"
|
||||
#pragma si(C:\codebldr\inc\)
|
||||
|
||||
#line 1 "mkfile.c"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BINARYDIR = ../bin
|
||||
AFLAGS = /T
|
||||
COLORFILES = rawcolor.obj
|
||||
ARCHFILES = dosmouse.obj doskbd.obj vesafns.obj vesainit.obj vgainit.obj kbdif.obj
|
||||
|
||||
|
||||
|
||||
ADMINFILES = mkdos mkvdate.c optck.c
|
||||
|
||||
ETHERFILES = ldeether.obj
|
||||
|
||||
KEY = keytstno.obj
|
||||
|
||||
CFLAGS = -I. -DBIGATOMS -DNEW_STORAGE -DDOS -DBYTESWAP -DKBINT -DFSERROR -DNOPIXRECT -DNOFORN -DNOETHER -DBIGATOMS -DBIGVM -DNEWCDRCODING -O2
|
||||
|
||||
LDFLAGS = -O2 graphics.lib binmode.lib mouse.lib
|
||||
|
||||
SRCFILES = ./conspage.c ./gcoflow.c ./shift.c ./dbgtool.c ./gcr.c ./llcolor.c ./gcrcell.c ./llstk.c ./gcscan.c ./loopsops.c ./storage.c ./allocmds.c ./dir.c ./gvar2.c ./lowlev1.c ./subr.c ./arith2.c ./hacks.c ./lowlev2.c ./subr0374.c ./arith3.c ./doscomm.c ./hardrtn.c ./lsthandl.c ./sxhash.c ./arith4.c ./draw.c ./main.c ./testtool.c ./array.c ./dsk.c ./inet.c ./misc7.c ./timer.c ./array2.c ./dspif.c ./initdsp.c ./miscn.c ./typeof.c ./array3.c ./initkbd.c ./ubf1.c ./array4.c ./dspsubrs.c ./initsout.c ./mkatom.c ./ubf2.c ./array5.c ./eqf.c ./intcall.c ./mkcell.c ./ubf3.c ./array6.c ./ether.c ./mkvdate.c ./ufn.c ./atom.c ./findkey.c ./kbdsubrs.c ./mouseif.c ./ufs.c ./bbtsub.c ./foreign.c ./keyevent.c ./unixcomm.c ./bin.c ./fp.c ./keylib.c ./binds.c ./asmbbt.c ./fvar.c ./mvs.c ./unwind.c ./bitblt.c ./gc.c ./uraid.c ./blt.c ./gc2.c ./kprint.c ./keytstno.c ./keytst.c ./osmsg.c usrsubr.c ./byteswap.c ./gcarray.c ./perrno.c ./ldeboot.c ./ldeether.c ./uutils.c ./carcdr.c ./gccode.c ./rawcolor.c ./vars3.c ./gcfinal.c ./ldsout.c ./return.c ./vmemsave.c ./chardev.c ./gchtfind.c ./lineblt8.c ./rpc.c ./xc.c ./common.c ./gcmain3.c ./lisp2c.c ./rplcons.c ./z2.c ./find-dsp.l ./dsphack.l ./xmkicon.c ./xbbt.c ./xinit.c ./xscroll.c ./xcursor.c ./xlspwin.c ./xrdopt.c ./xwinman.c ./dosmouse.c ./vesafns.asm ./vesainit.c ./vgainit.c ./kbdif.c ./dspsparc.il ./copyright ./launch.asm
|
||||
|
||||
OFILES = conspage.obj gcoflow.obj shift.obj dbgtool.obj gcr.obj llcolor.obj gcrcell.obj llstk.obj gcscan.obj loopsops.obj storage.obj allocmds.obj dir.obj gvar2.obj lowlev1.obj subr.obj arith2.obj hacks.obj lowlev2.obj subr0374.obj arith3.obj doscomm.obj hardrtn.obj lsthandl.obj sxhash.obj arith4.obj draw.obj main.obj testtool.obj array.obj dsk.obj inet.obj misc7.obj timer.obj array2.obj dspif.obj initdsp.obj miscn.obj typeof.obj array3.obj initkbd.obj ubf1.obj array4.obj dspsubrs.obj initsout.obj mkatom.obj ubf2.obj array5.obj eqf.obj intcall.obj mkcell.obj ubf3.obj array6.obj ether.obj ufn.obj atom.obj findkey.obj kbdsubrs.obj mouseif.obj ufs.obj bbtsub.obj foreign.obj keyevent.obj unixcomm.obj bin.obj fp.obj keylib.obj binds.obj fvar.obj mvs.obj unwind.obj bitblt.obj gc.obj uraid.obj blt.obj gc2.obj kprint.obj osmsg.obj usrsubr.obj byteswap.obj gcarray.obj perrno.obj uutils.obj carcdr.obj asmbbt.obj gccode.obj vars3.obj gcfinal.obj ldsout.obj return.obj vmemsave.obj chardev.obj gchtfind.obj lineblt8.obj rpc.obj xc.obj common.obj gcmain3.obj lisp2c.obj rplcons.obj z2.obj vdate.obj $(KEY) $(COLORFILES) $(ARCHFILES)
|
||||
|
||||
|
||||
HFILES = ../inc/address.h ../inc/adr68k.h ../inc/arith.h ../inc/cell.h ../inc/dbprint.h ../inc/display.h ../inc/dspif.h ../inc/ifpage.h ../inc/iopage.h ../inc/lispemul.h ../inc/lispmap.h ../inc/lsptypes.h ../inc/miscstat.h ../inc/lspglob.h ../inc/array.h ../inc/bb.h ../inc/bitblt.h ../inc/debug.h ../inc/devconf.h ../inc/dspdata.h ../inc/ether.h ../inc/fast_dsp.h ../inc/fp.h ../inc/gc.h ../inc/hdw_conf.h ../inc/initatms.h ../inc/inlinec.h ../inc/keyboard.h ../inc/lispver1.h ../inc/lispver2.h ../inc/lldsp.h ../inc/locfile.h ../inc/mouseif.h ../inc/my.h ../inc/opcodes.h ../inc/osmsg.h ../inc/pilotbbt.h ../inc/print.h ../inc/profile.h ../inc/return.h ../inc/stack.h ../inc/stream.h ../inc/subrs.h ../inc/sysatms.h ../inc/timeout.h ../inc/tos1defs.h ../inc/tosfns.h ../inc/tosret.h ../inc/vmemsave.h ../inc/xdefs.h ../inc/xbitmaps.h ../inc/xkeymap.h
|
||||
|
||||
|
||||
|
||||
|
||||
dos4 :
|
||||
$(MAKE) -f ./mkfile $(MFLAGS) dosmkfil
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/medley.exe
|
||||
$(MAKE) -f ./dosmkfil $(MFLAGS) ../bin/emul.exe
|
||||
|
||||
|
||||
dosmkfil : mkfile
|
||||
-copy mkfile mkfile.c
|
||||
-$(CC) /P /c mkfile.c 2> junk
|
||||
-copy mkfile.i dosmkfil
|
||||
|
||||
../bin/emul.exe : $(OFILES)
|
||||
@ echo $** > linkopts
|
||||
@ echo $(CFLAGS) > copts
|
||||
$(CC) @copts @linkopts $(LDFLAGS) /e$@
|
||||
del linkopts
|
||||
del copts
|
||||
@ echo "Executable is now named '$@'"
|
||||
|
||||
lde : $(OFILES) mkvdate
|
||||
$(RM) vdate.c
|
||||
mkvdate > vdate.c
|
||||
- cd ARCH;$(MAKE) $(MFLAGS) all #/* Make the speciffic files for this target */
|
||||
$(CC) $(LDFLAGS) $(OFILES) -o $@
|
||||
|
||||
|
||||
./main.o : ../inc/lispemul.h ../inc/address.h ../inc/lsptypes.h ../inc/adr68k.h ../inc/stack.h ../inc/lspglob.h ../inc/lispmap.h ../inc/ifpage.h ../inc/iopage.h ../inc/return.h ../inc/debug.h ../inc/profile.h
|
||||
|
||||
|
||||
|
||||
|
||||
.SUFFIXES .exe .lib .c .obj .c .asm .s .c
|
||||
|
||||
../bin/medley.exe: ./launch.obj
|
||||
TLINK launch,medley
|
||||
|
||||
./launch.obj: ./launch.asm
|
||||
copy ..\src\launch.asm launch.asm
|
||||
tasm /ml launch.asm
|
||||
|
||||
./xc.obj: ./xc.s
|
||||
tasm /ml xc.s
|
||||
|
||||
./xc.s: ./xc.c
|
||||
rsh sparky (cd /users/sybalsky/maiko/src ; gcc-make $* )
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user