Compare commits
454 Commits
CCK_PREFED
...
tags/MANIF
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
579db27839 | ||
|
|
796a53d55b | ||
|
|
54d14dbba2 | ||
|
|
65b0f39f16 | ||
|
|
8c29255e64 | ||
|
|
7fafa4d03c | ||
|
|
46466956ae | ||
|
|
58587b373b | ||
|
|
ee778c8e30 | ||
|
|
fbc9177748 | ||
|
|
60274c0b19 | ||
|
|
bed46d8c62 | ||
|
|
effe694759 | ||
|
|
7e42ff9e5c | ||
|
|
169d1a7ec9 | ||
|
|
04693b47db | ||
|
|
1852a3e30e | ||
|
|
9462346e09 | ||
|
|
99fd76993e | ||
|
|
00b58ab1ea | ||
|
|
ba79073fa2 | ||
|
|
16fbbaf9d4 | ||
|
|
deaa503a0d | ||
|
|
45c9cbd26f | ||
|
|
f203eed058 | ||
|
|
86df5ea58f | ||
|
|
f5846ed591 | ||
|
|
425206c8e1 | ||
|
|
8903c91f4c | ||
|
|
817e20f860 | ||
|
|
1f3871671a | ||
|
|
a37750c94a | ||
|
|
198de19a87 | ||
|
|
3bb8c06d87 | ||
|
|
6783e43c63 | ||
|
|
4a6b33e189 | ||
|
|
4b09f48752 | ||
|
|
05908f3143 | ||
|
|
eab39ee1f1 | ||
|
|
3ac0faf9a4 | ||
|
|
da553946d1 | ||
|
|
514c1855f1 | ||
|
|
dc48cc5fa4 | ||
|
|
302cd73a49 | ||
|
|
afe7756633 | ||
|
|
b0b602a5ff | ||
|
|
5957e5ea60 | ||
|
|
bb5379a0c6 | ||
|
|
288b924f23 | ||
|
|
954f5c747f | ||
|
|
03211f466b | ||
|
|
7fea4b8a63 | ||
|
|
75a82c38a8 | ||
|
|
3f27c44666 | ||
|
|
8ff46c682a | ||
|
|
f45bdbfc44 | ||
|
|
a7a96a92e2 | ||
|
|
95206567c8 | ||
|
|
004d8c0cb6 | ||
|
|
6133f91b8f | ||
|
|
80eb3ede93 | ||
|
|
c28fefc7c9 | ||
|
|
606a7a53cd | ||
|
|
ca06ff41bf | ||
|
|
5083ec1a39 | ||
|
|
f1e6dd6f1a | ||
|
|
4cae05389d | ||
|
|
870d7e7d1e | ||
|
|
9372f4139f | ||
|
|
c30a2d709f | ||
|
|
33f6eeccc3 | ||
|
|
0f9e2f3932 | ||
|
|
e57569cebf | ||
|
|
10e1d30ebc | ||
|
|
a9f494934e | ||
|
|
f74edc1763 | ||
|
|
dce1cefdea | ||
|
|
47a5c23bed | ||
|
|
96d118baf2 | ||
|
|
91ebeecc75 | ||
|
|
c890eebe69 | ||
|
|
8dce316c66 | ||
|
|
2f8e19bfaa | ||
|
|
92e38d37b3 | ||
|
|
1d6e2a0aa3 | ||
|
|
2ebd64a02b | ||
|
|
e3e07fb994 | ||
|
|
666c74970b | ||
|
|
d626781288 | ||
|
|
e53a7cd5f3 | ||
|
|
89bcab6fb8 | ||
|
|
e5043cfe63 | ||
|
|
262f78bc1b | ||
|
|
d7e7f11f3d | ||
|
|
a2c30b9090 | ||
|
|
8925fb070e | ||
|
|
f417924894 | ||
|
|
bddbdc37fc | ||
|
|
3b77ff2b37 | ||
|
|
c965257d42 | ||
|
|
bddd879472 | ||
|
|
ec2bf9adab | ||
|
|
73627de405 | ||
|
|
346f18177f | ||
|
|
dea841c874 | ||
|
|
0f21c2d33a | ||
|
|
a81d8d7923 | ||
|
|
d195e63234 | ||
|
|
b1a389c029 | ||
|
|
43a68ce20d | ||
|
|
a90f40e73c | ||
|
|
5b90e853b4 | ||
|
|
1a8ec08f1f | ||
|
|
7259668568 | ||
|
|
5da433cdb7 | ||
|
|
f34f2ac34e | ||
|
|
1a8e73a425 | ||
|
|
bc83602eb6 | ||
|
|
4afe3bd255 | ||
|
|
63ed9981ec | ||
|
|
e14a0980e5 | ||
|
|
420739c997 | ||
|
|
671d2e1bd4 | ||
|
|
2da928d66f | ||
|
|
e408ea6671 | ||
|
|
5a7dc25a68 | ||
|
|
7272f7c025 | ||
|
|
a38ef4426f | ||
|
|
5f3d6232f1 | ||
|
|
0bc2c5ff67 | ||
|
|
8b4f52bf56 | ||
|
|
8c0c2b68ff | ||
|
|
3eba027d43 | ||
|
|
04c8b2846a | ||
|
|
f5449ffca9 | ||
|
|
835356f19f | ||
|
|
1b572e4cd8 | ||
|
|
f2973a0ff5 | ||
|
|
e806a0d9cc | ||
|
|
feb8121ae5 | ||
|
|
e27c3f7df0 | ||
|
|
1fda28bc65 | ||
|
|
9dfd326501 | ||
|
|
219053d1a8 | ||
|
|
dd39e4f92c | ||
|
|
620ceda3cc | ||
|
|
3ff0c37508 | ||
|
|
7263465c55 | ||
|
|
3bc3961578 | ||
|
|
a7c1aa6c16 | ||
|
|
479f8208ea | ||
|
|
a8a146390e | ||
|
|
1b1a6745fe | ||
|
|
98e17d3ede | ||
|
|
ace0783489 | ||
|
|
e15418f3be | ||
|
|
838b5b09d8 | ||
|
|
9a21ee440a | ||
|
|
ffbc7b49b2 | ||
|
|
789de3a0d0 | ||
|
|
578f77ebe4 | ||
|
|
63a0339788 | ||
|
|
63d15f8a16 | ||
|
|
a5afc5b36d | ||
|
|
30491f76f3 | ||
|
|
f06f7d18f7 | ||
|
|
900f0cc0f3 | ||
|
|
2ea7ac8a98 | ||
|
|
3f0a767aa2 | ||
|
|
1b78ab85c5 | ||
|
|
945f58c261 | ||
|
|
9d3d667b9d | ||
|
|
d95d04e637 | ||
|
|
6a202236e6 | ||
|
|
72d61e6fdb | ||
|
|
8a3dd285ec | ||
|
|
a1ec53a3fc | ||
|
|
4d34835ad1 | ||
|
|
64467ade03 | ||
|
|
f340f8c91a | ||
|
|
2a71a619fb | ||
|
|
6af8c16fdc | ||
|
|
266a721002 | ||
|
|
c5281ae48c | ||
|
|
81b00a75f4 | ||
|
|
aa14cd65f7 | ||
|
|
0ebedc6bd5 | ||
|
|
d94131cf1b | ||
|
|
07296635b8 | ||
|
|
75c585c5d9 | ||
|
|
5078300c90 | ||
|
|
dfefe70b3a | ||
|
|
06d2228d6b | ||
|
|
89f960bdbe | ||
|
|
b356e1e9fb | ||
|
|
d8d3e741b6 | ||
|
|
42f753e9ad | ||
|
|
7431f2ce42 | ||
|
|
bf7adadbf0 | ||
|
|
6a6747e1ef | ||
|
|
f7c6f04f2c | ||
|
|
4f8bf3c0f3 | ||
|
|
2a01b3928a | ||
|
|
45a5aae982 | ||
|
|
7e55b60d69 | ||
|
|
4d7ba9760a | ||
|
|
d8cebb72bd | ||
|
|
24e781c353 | ||
|
|
543645d5ed | ||
|
|
e189b0ef6d | ||
|
|
62e663a717 | ||
|
|
b044eb5fd0 | ||
|
|
15e1c473ea | ||
|
|
38a8f2216d | ||
|
|
049790985e | ||
|
|
afeddcce61 | ||
|
|
c53da34a3a | ||
|
|
7d40ace3c0 | ||
|
|
ec9ed750bd | ||
|
|
b9710a8058 | ||
|
|
70897e33a3 | ||
|
|
07cc220bdc | ||
|
|
b70d2016db | ||
|
|
d95fa1472b | ||
|
|
fa38f0056a | ||
|
|
18b0d37ced | ||
|
|
c7d8e5e202 | ||
|
|
cfebd8663b | ||
|
|
0e505dd4bc | ||
|
|
c09bd058f3 | ||
|
|
2186009327 | ||
|
|
861ecb8e94 | ||
|
|
cd957768bf | ||
|
|
004df2b7e5 | ||
|
|
09d7057129 | ||
|
|
7a40127bfc | ||
|
|
3615db686d | ||
|
|
5867138cb2 | ||
|
|
83e514c3f4 | ||
|
|
c105b967e1 | ||
|
|
9e9a6fe22f | ||
|
|
d7578b115e | ||
|
|
3507dc29e5 | ||
|
|
ceda91d57a | ||
|
|
813cbdb75e | ||
|
|
d538d3cab8 | ||
|
|
f23a79870c | ||
|
|
c9f864d803 | ||
|
|
c5e5d9d8c2 | ||
|
|
426d0ce8de | ||
|
|
fb30cdad7a | ||
|
|
23c7d5b5c0 | ||
|
|
932a3b47cd | ||
|
|
b513533b3b | ||
|
|
af6373d2cd | ||
|
|
b84b4b1785 | ||
|
|
83eec801a1 | ||
|
|
c304e44ded | ||
|
|
07379405b9 | ||
|
|
ee772c9ee1 | ||
|
|
59d39de039 | ||
|
|
be2a488c59 | ||
|
|
40333f4381 | ||
|
|
1d5ceeefb2 | ||
|
|
64a0e46abd | ||
|
|
1ab13e50cd | ||
|
|
c122826198 | ||
|
|
058597ef93 | ||
|
|
5f0394ce58 | ||
|
|
3118b6e8f8 | ||
|
|
fbb31f932c | ||
|
|
e421753f0f | ||
|
|
649399b1ef | ||
|
|
cc623abddd | ||
|
|
07a88154bd | ||
|
|
a12916befd | ||
|
|
0484f2b6cb | ||
|
|
55928b6626 | ||
|
|
94887f6d39 | ||
|
|
9f363d9975 | ||
|
|
34962f3c8b | ||
|
|
c79a14f332 | ||
|
|
cfe0a2579c | ||
|
|
203846143d | ||
|
|
423c388b35 | ||
|
|
d65e726031 | ||
|
|
1f87a7512d | ||
|
|
28d2074ac6 | ||
|
|
a3c70ecffe | ||
|
|
177089c990 | ||
|
|
9a2c803353 | ||
|
|
ce8e668a2f | ||
|
|
f67288c5fa | ||
|
|
917dced1a2 | ||
|
|
a02acc33f6 | ||
|
|
7314003c6b | ||
|
|
d25d810876 | ||
|
|
f2990c1fac | ||
|
|
ca05583dc0 | ||
|
|
34b1c239ec | ||
|
|
d4f70028c6 | ||
|
|
1087f99b9c | ||
|
|
4497d99e99 | ||
|
|
585f494c2b | ||
|
|
2c453919f9 | ||
|
|
68c9fea5f7 | ||
|
|
c28de47506 | ||
|
|
15dc299f57 | ||
|
|
c9679eb091 | ||
|
|
0f90639280 | ||
|
|
927750a93e | ||
|
|
79669c1815 | ||
|
|
bf57e6f796 | ||
|
|
7ac59119f1 | ||
|
|
98ad6281f1 | ||
|
|
f3ff770da3 | ||
|
|
c62a409731 | ||
|
|
99b52fa037 | ||
|
|
77ee1ab390 | ||
|
|
b4508f9011 | ||
|
|
7082abbe36 | ||
|
|
7b93034734 | ||
|
|
2145e0388b | ||
|
|
47d3f163d0 | ||
|
|
1af2b1b893 | ||
|
|
efbb3ec780 | ||
|
|
f52a34b544 | ||
|
|
ba0b4403b8 | ||
|
|
ca6a1fc3f5 | ||
|
|
c8b69778cb | ||
|
|
ed387b0067 | ||
|
|
d517f2dfc6 | ||
|
|
7eb211ae54 | ||
|
|
94fab80828 | ||
|
|
35232fd162 | ||
|
|
3cbbfaf0e5 | ||
|
|
de9b8939e9 | ||
|
|
c3fda864d4 | ||
|
|
c769606abc | ||
|
|
af62d8c454 | ||
|
|
421f0248df | ||
|
|
d56bb66cc1 | ||
|
|
a21cd0e645 | ||
|
|
557707b45d | ||
|
|
49f6af1fbe | ||
|
|
959ac5cd04 | ||
|
|
645ffeadef | ||
|
|
969f2692fa | ||
|
|
7cd5063fc4 | ||
|
|
524110ffa5 | ||
|
|
dcad624144 | ||
|
|
3c1b7c7637 | ||
|
|
8540834445 | ||
|
|
a1edc00ce7 | ||
|
|
102a87ac33 | ||
|
|
f45f8237a5 | ||
|
|
8c381a6ef9 | ||
|
|
98f0deba9d | ||
|
|
6dcf71d7af | ||
|
|
df1af6ebdd | ||
|
|
0fa7fcf1bf | ||
|
|
be67b224b2 | ||
|
|
7bf933aafd | ||
|
|
4d3d62a821 | ||
|
|
5dafcaf9b5 | ||
|
|
d2f840e3f5 | ||
|
|
433901b528 | ||
|
|
11ed7d8b06 | ||
|
|
525dd05ce1 | ||
|
|
8da824c39e | ||
|
|
f298318472 | ||
|
|
83956b8a01 | ||
|
|
1089e77f09 | ||
|
|
c080841ee9 | ||
|
|
43e15e5cd3 | ||
|
|
28eb648cfd | ||
|
|
be2cbda884 | ||
|
|
85a4e434ac | ||
|
|
30a4b71815 | ||
|
|
2a3be99dd6 | ||
|
|
0ffc39086e | ||
|
|
30d69c2864 | ||
|
|
af59fe7cda | ||
|
|
6924e731f7 | ||
|
|
dfc18d3272 | ||
|
|
872219e405 | ||
|
|
ca646a7cdb | ||
|
|
82ef314901 | ||
|
|
ed4efc8544 | ||
|
|
b91aa05f09 | ||
|
|
dbc05d593a | ||
|
|
e7444e470a | ||
|
|
9150509220 | ||
|
|
2bbe2cccbe | ||
|
|
43e44e693c | ||
|
|
3eaf49e90b | ||
|
|
bcfdb1f0e1 | ||
|
|
8c0f70b3e3 | ||
|
|
e270ddab63 | ||
|
|
ae607ba685 | ||
|
|
4569bcab9a | ||
|
|
47aa1a3502 | ||
|
|
3f4a8770e9 | ||
|
|
710047008d | ||
|
|
dfde8128cb | ||
|
|
8115bef7af | ||
|
|
a10689f4ba | ||
|
|
fe680ef8bc | ||
|
|
c859faff19 | ||
|
|
ef9b980b2c | ||
|
|
98871d04a5 | ||
|
|
cae358cf1d | ||
|
|
33812501dd | ||
|
|
fb214653a8 | ||
|
|
cd699994d1 | ||
|
|
72063bc38d | ||
|
|
37ce3ad802 | ||
|
|
fdcb6e3f0e | ||
|
|
281dc063cc | ||
|
|
2eb04799fb | ||
|
|
3e6c0976c2 | ||
|
|
3a7ff5a10c | ||
|
|
770f130629 | ||
|
|
ca65e7c25a | ||
|
|
1b1c87a89e | ||
|
|
464557ac0b | ||
|
|
4c4e2b0999 | ||
|
|
b5766e86a7 | ||
|
|
b4fb9c59ac | ||
|
|
31c5125d4b | ||
|
|
41fa742270 | ||
|
|
1a5c770d74 | ||
|
|
4b00d4052f | ||
|
|
80d4a9e9f3 | ||
|
|
ed28a46077 | ||
|
|
f4c04212c7 | ||
|
|
ed2c9d0df6 | ||
|
|
3d7e9fb2f4 | ||
|
|
05a261a55f | ||
|
|
19afdaf4c7 | ||
|
|
500cdc5083 | ||
|
|
b44c337df4 | ||
|
|
de6b4cf57f | ||
|
|
786b8013f7 | ||
|
|
2ee33fbdad | ||
|
|
e1660c3f46 | ||
|
|
47ffc0d528 | ||
|
|
7fa441016c | ||
|
|
f710081a51 | ||
|
|
2d51f312dc | ||
|
|
2671ead5cb | ||
|
|
27b06cfe84 | ||
|
|
6956c02abf | ||
|
|
7af78328dc |
287
mozilla/build/mac/BuildList.pm
Normal file
@@ -0,0 +1,287 @@
|
||||
#!perl
|
||||
|
||||
package BuildList;
|
||||
require Exporter;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(BuildMozilla DistMozilla);
|
||||
|
||||
=head1 NAME
|
||||
|
||||
BuildList - build the [ordered] set of projects needed to construct Mozilla
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
...
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
The contents of this file are subject to the Netscape Public License
|
||||
Version 1.0 (the "NPL"); you may not use this file except in
|
||||
compliance with the NPL. You may obtain a copy of the NPL at
|
||||
http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
for the specific language governing rights and limitations under the
|
||||
NPL.
|
||||
|
||||
The Initial Developer of this code under the NPL is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
Reserved.
|
||||
|
||||
=cut
|
||||
|
||||
use Moz;
|
||||
use File::Path;
|
||||
|
||||
sub BuildMozilla()
|
||||
{
|
||||
if ( $main::DEBUG )
|
||||
{
|
||||
$D = "Debug";
|
||||
$dist_dir = ":mozilla:dist:client_debug:";
|
||||
}
|
||||
else
|
||||
{
|
||||
$D = "";
|
||||
$dist_dir = ":mozilla:dist:client:";
|
||||
}
|
||||
|
||||
#
|
||||
# Build the appropriate target of each project
|
||||
#
|
||||
|
||||
BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
|
||||
BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
|
||||
BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
|
||||
BuildProjectClean(":mozilla:cmd:macfe:projects:client:NavigatorStubs.mcp", "Stubs");
|
||||
|
||||
BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "NSRuntime$D.shlb");
|
||||
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:cmd:macfe:restext:StringLib.mcp", "Strings$D.shlb");
|
||||
MakeAlias(":mozilla:cmd:macfe:restext:Strings$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
|
||||
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
|
||||
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp", "DBM$D.shlb");
|
||||
MakeAlias(":mozilla:dbm:macbuild:DBM$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
|
||||
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
|
||||
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
|
||||
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp", "PowerPlant$D.shlb");
|
||||
MakeAlias(":mozilla:lib:mac:PowerPlant:PowerPlant$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
|
||||
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
|
||||
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "JavaRuntime$D.shlb");
|
||||
MakeAlias(":mozilla:sun-java:stubs:macbuild:JavaRuntime$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPC.mcp", "JSJ$D.o");
|
||||
|
||||
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScript$D.shlb");
|
||||
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "NavJava$D.shlb");
|
||||
MakeAlias(":mozilla:nav-java:stubs:macbuild:NavJava$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "RDF$D.shlb");
|
||||
MakeAlias(":mozilla:modules:rdf:macbuild:RDF$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "XML$D.shlb");
|
||||
MakeAlias(":mozilla:modules:xml:macbuild:XML$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "Scheduler$D.shlb");
|
||||
MakeAlias(":mozilla:modules:schedulr:macbuild:Scheduler$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomLib$D.shlb");
|
||||
MakeAlias(":mozilla:build:mac:CustomLib:CustomLib$D.shlb", "$dist_dir");
|
||||
|
||||
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomStaticLibs$D.o");
|
||||
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
|
||||
BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "FontBroker$D.o");
|
||||
BuildProject(":mozilla:lib:libmocha:macbuild:LibMocha.mcp", "LibMocha$D.o");
|
||||
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o");
|
||||
|
||||
if ( $main::MOZ_LITE == 0 )
|
||||
{
|
||||
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
|
||||
|
||||
# Build the appropriate resources target
|
||||
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Moz_Resources");
|
||||
}
|
||||
else
|
||||
{
|
||||
# Build a project with dummy targets to make stub libraries
|
||||
BuildProject("cmd:macfe:projects:dummies:MakeDummies.mcp", "Composer$D.o");
|
||||
|
||||
# Build the appropriate resources target
|
||||
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Nav_Resources");
|
||||
}
|
||||
|
||||
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Client$D");
|
||||
}
|
||||
|
||||
|
||||
sub DistMozilla()
|
||||
{
|
||||
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
|
||||
|
||||
#INCLUDE
|
||||
InstallFromManifest(":mozilla:config:mac:MANIFEST", ":mozilla:dist:config:");
|
||||
InstallFromManifest(":mozilla:include:MANIFEST", ":mozilla:dist:include:");
|
||||
InstallFromManifest(":mozilla:cmd:macfe:pch:MANIFEST", ":mozilla:dist:include:");
|
||||
|
||||
#MAC_COMMON
|
||||
InstallFromManifest(":mozilla:build:mac:MANIFEST", ":mozilla:dist:mac:common:");
|
||||
InstallFromManifest(":mozilla:lib:mac:NSStdLib:include:MANIFEST", ":mozilla:dist:mac:common:");
|
||||
InstallFromManifest(":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", ":mozilla:dist:mac:common:");
|
||||
InstallFromManifest(":mozilla:lib:mac:Misc:MANIFEST", ":mozilla:dist:mac:common:");
|
||||
InstallFromManifest(":mozilla:lib:mac:MoreFiles:MANIFEST", ":mozilla:dist:mac:common:morefiles:");
|
||||
InstallFromManifest(":mozilla:cmd:macfe:MANIFEST", ":mozilla:dist:mac:macfe:");
|
||||
|
||||
#NSPR
|
||||
InstallFromManifest(":mozilla:nsprpub:pr:include:MANIFEST", ":mozilla:dist:nspr:");
|
||||
InstallFromManifest(":mozilla:nsprpub:pr:src:md:mac:MANIFEST", ":mozilla:dist:nspr:mac:");
|
||||
InstallFromManifest(":mozilla:nsprpub:lib:ds:MANIFEST", ":mozilla:dist:nspr:");
|
||||
InstallFromManifest(":mozilla:nsprpub:lib:libc:include:MANIFEST", ":mozilla:dist:nspr:");
|
||||
InstallFromManifest(":mozilla:nsprpub:lib:msgc:include:MANIFEST", ":mozilla:dist:nspr:");
|
||||
|
||||
#DBM
|
||||
InstallFromManifest(":mozilla:dbm:include:MANIFEST", ":mozilla:dist:dbm:");
|
||||
|
||||
#LIBIMAGE
|
||||
InstallFromManifest(":mozilla:modules:libimg:png:MANIFEST", ":mozilla:dist:libimg:");
|
||||
InstallFromManifest(":mozilla:modules:libimg:src:MANIFEST", ":mozilla:dist:libimg:");
|
||||
InstallFromManifest(":mozilla:modules:libimg:public:MANIFEST", ":mozilla:dist:libimg:");
|
||||
|
||||
#SECURITY_freenav
|
||||
InstallFromManifest(":mozilla:modules:security:freenav:MANIFEST", ":mozilla:dist:security:");
|
||||
|
||||
#XPCOM
|
||||
InstallFromManifest(":mozilla:xpcom:src:MANIFEST", ":mozilla:dist:xpcom:");
|
||||
|
||||
#ZLIB
|
||||
InstallFromManifest(":mozilla:modules:zlib:src:MANIFEST", ":mozilla:dist:zlib:");
|
||||
|
||||
#JPEG
|
||||
InstallFromManifest(":mozilla:jpeg:MANIFEST", ":mozilla:dist:jpeg:");
|
||||
|
||||
#JSJ
|
||||
InstallFromManifest(":mozilla:js:jsj:MANIFEST", ":mozilla:dist:jsj:");
|
||||
|
||||
#JSDEBUG
|
||||
InstallFromManifest(":mozilla:js:jsd:MANIFEST", ":mozilla:dist:jsdebug:");
|
||||
|
||||
#JS
|
||||
InstallFromManifest(":mozilla:js:src:MANIFEST", ":mozilla:dist:js:");
|
||||
|
||||
#RDF
|
||||
InstallFromManifest(":mozilla:modules:rdf:include:MANIFEST", ":mozilla:dist:rdf:");
|
||||
|
||||
#XML
|
||||
InstallFromManifest(":mozilla:modules:xml:glue:MANIFEST", ":mozilla:dist:xml:");
|
||||
InstallFromManifest(":mozilla:modules:xml:expat:xmlparse:MANIFEST", ":mozilla:dist:xml:");
|
||||
|
||||
#LIBFONT
|
||||
InstallFromManifest(":mozilla:modules:libfont:MANIFEST", ":mozilla:dist:libfont:");
|
||||
InstallFromManifest(":mozilla:modules:libfont:src:MANIFEST", ":mozilla:dist:libfont:");
|
||||
|
||||
#LDAP
|
||||
if ( $main::MOZ_LDAP )
|
||||
{
|
||||
InstallFromManifest(":mozilla:directory:c-sdk:ldap:include:MANIFEST", ":mozilla:dist:ldap:");
|
||||
}
|
||||
|
||||
#SCHEDULER
|
||||
InstallFromManifest(":mozilla:modules:schedulr:public:MANIFEST", ":mozilla:dist:schedulr:");
|
||||
|
||||
#NETWORK
|
||||
InstallFromManifest(":mozilla:network:cache:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:client:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:cnvts:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:cstream:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:main:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:about:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:certld:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:dataurl:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:file:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:ftp:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:gopher:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:http:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:js:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:mailbox:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:marimba:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:nntp:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:pop3:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:remote:MANIFEST", ":mozilla:dist:network:");
|
||||
InstallFromManifest(":mozilla:network:protocol:smtp:MANIFEST", ":mozilla:dist:network:");
|
||||
|
||||
#HTML_DIALOGS
|
||||
InstallFromManifest(":mozilla:lib:htmldlgs:MANIFEST", ":mozilla:dist:htmldlgs:");
|
||||
|
||||
#LAYOUT
|
||||
InstallFromManifest(":mozilla:lib:layout:MANIFEST", ":mozilla:dist:layout:");
|
||||
|
||||
#LAYERS
|
||||
InstallFromManifest(":mozilla:lib:liblayer:include:MANIFEST", ":mozilla:dist:layers:");
|
||||
|
||||
#PARSE
|
||||
InstallFromManifest(":mozilla:lib:libparse:MANIFEST", ":mozilla:dist:libparse:");
|
||||
|
||||
#STYLE
|
||||
InstallFromManifest(":mozilla:lib:libstyle:MANIFEST", ":mozilla:dist:libstyle:");
|
||||
|
||||
#PLUGIN
|
||||
InstallFromManifest(":mozilla:lib:plugin:MANIFEST", ":mozilla:dist:plugin:");
|
||||
|
||||
#LIBHOOK
|
||||
InstallFromManifest(":mozilla:modules:libhook:public:MANIFEST", ":mozilla:dist:libhook:");
|
||||
|
||||
#LIBPREF
|
||||
InstallFromManifest(":mozilla:modules:libpref:public:MANIFEST", ":mozilla:dist:libpref:");
|
||||
|
||||
#LIBREG
|
||||
InstallFromManifest(":mozilla:modules:libreg:include:MANIFEST", ":mozilla:dist:libreg:");
|
||||
|
||||
#LIBUTIL
|
||||
InstallFromManifest(":mozilla:modules:libutil:public:MANIFEST", ":mozilla:dist:libutil:");
|
||||
|
||||
#PROGRESS
|
||||
InstallFromManifest(":mozilla:modules:progress:public:MANIFEST", ":mozilla:dist:progress:");
|
||||
|
||||
#SOFTUPDATE
|
||||
InstallFromManifest(":mozilla:modules:softupdt:include:MANIFEST", ":mozilla:dist:softupdate:");
|
||||
|
||||
#EDTPLUG
|
||||
InstallFromManifest(":mozilla:modules:edtplug:include:MANIFEST", ":mozilla:dist:edtplug:");
|
||||
|
||||
#NAV_JAVA
|
||||
InstallFromManifest(":mozilla:nav-java:stubs:include:MANIFEST", ":mozilla:dist:nav-java:");
|
||||
InstallFromManifest(":mozilla:nav-java:stubs:macjri:MANIFEST", ":mozilla:dist:nav-java:");
|
||||
|
||||
#SUN_JAVA
|
||||
InstallFromManifest(":mozilla:sun-java:stubs:include:MANIFEST", ":mozilla:dist:sun-java:");
|
||||
InstallFromManifest(":mozilla:sun-java:stubs:macjri:MANIFEST", ":mozilla:dist:sun-java:");
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
||||
35
mozilla/build/mac/BuildMozilla.pl
Normal file
@@ -0,0 +1,35 @@
|
||||
#!perl
|
||||
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
use Moz;
|
||||
use BuildList;
|
||||
|
||||
$DEBUG = 0;
|
||||
$MOZ_LITE = 0; # build moz medium. This will come from a config file at some stage.
|
||||
|
||||
Moz::OpenErrorLog(":::Mozilla.BuildLog");
|
||||
Moz::StopForErrors();
|
||||
|
||||
chdir("::::");
|
||||
|
||||
# Make and popuplate the dist directory
|
||||
DistMozilla();
|
||||
|
||||
# Now build the projects
|
||||
BuildMozilla();
|
||||
35
mozilla/build/mac/BuildMozillaDebug.pl
Normal file
@@ -0,0 +1,35 @@
|
||||
#!perl
|
||||
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
use Moz;
|
||||
use BuildList;
|
||||
|
||||
$DEBUG = 1;
|
||||
$MOZ_LITE = 0; # build moz medium. This will come from a config file at some stage.
|
||||
|
||||
Moz::OpenErrorLog(":::Mozilla.BuildLog");
|
||||
Moz::StopForErrors();
|
||||
|
||||
chdir("::::");
|
||||
|
||||
# Make and popuplate the dist directory
|
||||
DistMozilla();
|
||||
|
||||
# Now build the projects
|
||||
BuildMozilla();
|
||||
BIN
mozilla/build/mac/CodeWarriorLib
Normal file
78
mozilla/build/mac/CopyExports.script
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
if {#} != 1
|
||||
echo "CopyExports requires 1 parameters:"
|
||||
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
|
||||
echo " the list of files to be copied, one per line. This path"
|
||||
echo " may not begin with a colon"
|
||||
echo
|
||||
Exit 1
|
||||
end if
|
||||
|
||||
|
||||
Set SourceList "{SourceRootDir}{1}"
|
||||
|
||||
Set ScriptsDir "{SourceRootDir}mozilla:build:mac:"
|
||||
|
||||
#set sourceList "{SourceRootDir}mozilla:{1}"
|
||||
|
||||
if {verbose}
|
||||
echo "Source list is in file ¶"{SourceList}¶""
|
||||
echo "Scripts directory is ¶"{ScriptsDir}¶""
|
||||
end if
|
||||
|
||||
# for each line in the source file, remove it if it starts with #, otherwise quote it
|
||||
|
||||
for curLine in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
|
||||
|
||||
echo "{curLine}"
|
||||
|
||||
# ignore empty lines
|
||||
if `evaluate "{{curLine}}" != ""`
|
||||
|
||||
echo "{curLine}"
|
||||
|
||||
# strip out trailing comments
|
||||
if `evaluate "{curLine}" =~ /(Å)¨1[ ¶t]+(#Å)¨2/`
|
||||
set sourceLine "{¨1}"
|
||||
# echo "Discarding comment {¨2}"
|
||||
else
|
||||
set sourceLine "{curLine}"
|
||||
end if
|
||||
|
||||
if `evaluate "{sourceLine}" =~ /([Â ¶t]+)¨1[ ¶t]+[:]*(Å)¨2/`
|
||||
|
||||
if {verbose}
|
||||
echo "Cur line is {sourceLine}"
|
||||
end if
|
||||
|
||||
set exportFile "{¨1}"
|
||||
set theTarget "{¨2}"
|
||||
|
||||
if {verbose}
|
||||
echo "Export file name is {exportFile}"
|
||||
echo "Target directory is {theTarget}"
|
||||
end if
|
||||
|
||||
"{ScriptsDir}CopyList.script" "{exportFile}" "{theTarget}"
|
||||
|
||||
end if
|
||||
|
||||
end if
|
||||
|
||||
end for
|
||||
81
mozilla/build/mac/CopyHeaders.script
Normal file
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
|
||||
# This is the controlling script for a set of scripts that copy public
|
||||
# header files in one or more source trees into a single, "dist" directory.
|
||||
#
|
||||
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
|
||||
# ÒCopyExports.scriptÓ, which must be in the same directory.
|
||||
#
|
||||
# To execute this script, select everything from "# Get the..." to
|
||||
# " the end" and hit the Enter key.
|
||||
#
|
||||
# Known bugs:
|
||||
# Header files are always copied if the export.mac file contains
|
||||
# non-local paths.
|
||||
# Spurious output is produced even when verbose is off.
|
||||
#
|
||||
|
||||
# Uncomment this to get some progress information
|
||||
# set -e verbose 1
|
||||
|
||||
# Get the root of everything
|
||||
|
||||
set magicfilepath "{systempfolder}filepath" # Temporary items folder, "filepath"
|
||||
if !`Exists "{{magicFilePath}}"`
|
||||
Echo "No file path file seems to have been created in the temporary items folder."
|
||||
Echo "Was this script executed from the perl script? That's the way it was designed."
|
||||
Exit 1
|
||||
end if
|
||||
|
||||
set myDirectory "`catenate "{{magicFilePath}}"`"
|
||||
delete -i "{{magicFilePath}}"
|
||||
|
||||
Set SourceList "{myDirectory}{1}"
|
||||
(Evaluate "{myDirectory}" =~ /(Å:)¨1[Â:]+:[Â:]+:[Â:]+/) #·· dev:null
|
||||
Set -e mozillaDir "{¨1}"
|
||||
|
||||
if !`Exists "{{mozillaDir}}"`
|
||||
Echo "A file path was passed, but it doesn't seem to be the mozilla directory."
|
||||
Exit 1
|
||||
end if
|
||||
echo "Mozilla directory found at {mozillaDir}"
|
||||
|
||||
#Calculate the root directory by stripping off the leaf name.
|
||||
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
|
||||
Set -e SourceRootDir "{¨1}"
|
||||
Set -e DestRootDir "{mozillaDir}dist:"
|
||||
|
||||
# Ensure the build and stubs folders exist
|
||||
|
||||
if !`exists -d "{mozillaDir}dist"`
|
||||
newfolder "{mozillaDir}dist"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client"`
|
||||
newfolder "{mozillaDir}dist:client"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client_debug"`
|
||||
newfolder "{mozillaDir}dist:client_debug"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client_stubs"`
|
||||
newfolder "{mozillaDir}dist:client_stubs"
|
||||
end if
|
||||
|
||||
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
|
||||
|
||||
# the end
|
||||
97
mozilla/build/mac/CopyList.script
Normal file
@@ -0,0 +1,97 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
if {#} != 2
|
||||
echo "CopyList requires 2 parameters:"
|
||||
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
|
||||
echo " the list of files to be copied, one per line. This path"
|
||||
echo " may not begin with a colon"
|
||||
echo
|
||||
echo "Parameter 2: path relative to {DestRootDir} of the directory where all the"
|
||||
echo " files are to be copied. No initial colons!"
|
||||
echo
|
||||
Exit 1
|
||||
end if
|
||||
|
||||
set debugEcho "" # This setting will actually duplicate the files
|
||||
#set debugEcho "echo" # This setting will merely print the "duplicate" commands.
|
||||
|
||||
set sourceList "{SourceRootDir}{1}"
|
||||
set targetDir "{DestRootDir}{2}"
|
||||
|
||||
# targetDir may not end in a colon for this script to work.
|
||||
if `Evaluate "{targetDir}" =~ /(Å)¨1:/`
|
||||
#echo "Removed a colon"
|
||||
set targetDir "{¨1}"
|
||||
end if
|
||||
|
||||
#Ensure the target hierarchy exists
|
||||
# Volume name
|
||||
(Evaluate "{TargetDir}" =~ /([Â:]+)¨1:Å/) ·· dev:null
|
||||
Set PartialPath "{¨1}"
|
||||
Loop
|
||||
(Evaluate "{TargetDir}" =~ /("{PartialPath}":[Â:]+)¨1([:]*)¨2Å/) ·· dev:null
|
||||
Set PartialPath "{¨1}"
|
||||
Set Exit 0
|
||||
(NewFolder "{PartialPath}") ·· dev:null
|
||||
Set Exit 1
|
||||
break if "{¨2}" == ""
|
||||
End Loop
|
||||
|
||||
#Calculate the source directory by stripping off the leaf name.
|
||||
(Evaluate "{SourceList}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
|
||||
Set SourceDir "{¨1}"
|
||||
|
||||
if {verbose}
|
||||
echo "Source list is in file ¶"{sourceList}¶""
|
||||
echo "Source directory is ¶"{SourceDir}¶""
|
||||
echo "Target directory is ¶"{targetDir}¶""
|
||||
end if
|
||||
|
||||
# Strip all comment lines, pipe the stripped lines into the "for" loop.
|
||||
# We quote each whole line here so that we deal with a line at a time in the
|
||||
# for loop. Don't ya just love MPW quoting rulesÉ
|
||||
|
||||
for f in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
|
||||
|
||||
if `evaluate "{{f}}" != ""`
|
||||
|
||||
# strip out trailing comments (in fact, anything following whitespace)
|
||||
if `evaluate "{f}" =~ /([Â ¶t]+)¨1[ ¶t]+([#]*Å)¨2/`
|
||||
set sourceFile "{¨1}"
|
||||
# echo "Discarding comment {¨2}"
|
||||
else
|
||||
set sourceFile "{f}"
|
||||
end if
|
||||
|
||||
# sourceFile can be a relative path, so need to get the file name for date comparisons
|
||||
if `evaluate "{sourceFile}" =~ /Å:([Â:]+)¨1/`
|
||||
set filename "{¨1}"
|
||||
else
|
||||
set filename "{sourceFile}"
|
||||
end if
|
||||
|
||||
# now copy the file if newer
|
||||
if "`Newer "{sourceDir}{sourceFile}" "{targetDir}:{filename}"`" #|| !`Exists "{targetDir}:{filename}"`
|
||||
if {verbose} ; echo "{sourceDir}{sourceFile} is newer than {targetDir}:{filename}" ; end if
|
||||
#{debugEcho} duplicate -y "{sourceDir}{sourceFile}" "{targetDir}"
|
||||
{debugEcho} newalias "{sourceDir}{sourceFile}" "{targetDir}:{filename}"
|
||||
end if
|
||||
|
||||
end if
|
||||
|
||||
end for
|
||||
88
mozilla/build/mac/IDE_Options.h
Normal file
@@ -0,0 +1,88 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
/*
|
||||
|
||||
This file overrides all option settings in the IDE. It is an attempt to allow all builds
|
||||
to have the same options.
|
||||
|
||||
Note: We can't use ConditionalMacros.h in this file because it will conflict with
|
||||
the PowerPlant precompiled headers.
|
||||
|
||||
*/
|
||||
|
||||
/* warning pragmas */
|
||||
#pragma warn_hidevirtual on
|
||||
|
||||
#pragma check_header_flags on
|
||||
|
||||
/* Language features that must be the same across libraries... */
|
||||
#pragma enumsalwaysint on
|
||||
#pragma unsigned_char off
|
||||
#pragma exceptions on
|
||||
#pragma bool on
|
||||
|
||||
|
||||
/* Save as much space as possible with strings... */
|
||||
#pragma pool_strings on
|
||||
#pragma dont_reuse_strings off
|
||||
|
||||
#pragma options align=native
|
||||
#pragma sym on /* Takes no memory. OK in non-debug. */
|
||||
|
||||
|
||||
|
||||
#ifdef powerc /* ...generating PowerPC */
|
||||
#pragma toc_data on
|
||||
#pragma fp_contract on
|
||||
#pragma readonly_strings on
|
||||
|
||||
#ifdef DEBUG
|
||||
#pragma traceback on
|
||||
#pragma global_optimizer off
|
||||
#pragma scheduling off
|
||||
#pragma peephole off
|
||||
#pragma optimize_for_size off
|
||||
#else
|
||||
#pragma traceback off
|
||||
#pragma global_optimizer on
|
||||
#pragma optimization_level 4
|
||||
#pragma scheduling 604
|
||||
#pragma peephole on
|
||||
#pragma optimize_for_size on
|
||||
#endif
|
||||
|
||||
#else /* ...generating 68k */
|
||||
#pragma code68020 on
|
||||
#pragma code68881 off
|
||||
|
||||
/* Far everything... */
|
||||
#pragma far_code
|
||||
#pragma far_data on
|
||||
#pragma far_strings on
|
||||
#pragma far_vtables on
|
||||
|
||||
#pragma fourbyteints on /* 4-byte ints */
|
||||
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
|
||||
|
||||
#ifdef DEBUG
|
||||
#pragma macsbug on
|
||||
#pragma oldstyle_symbols off
|
||||
#else
|
||||
#pragma macsbug off
|
||||
#endif
|
||||
#endif
|
||||
156
mozilla/build/mac/MacExportListPublic
Normal file
@@ -0,0 +1,156 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
# This is a list of paths to export.mac files, and destination
|
||||
# directories for the copied headers. Destinations are relative
|
||||
# to "mozilla:dist".
|
||||
|
||||
###################
|
||||
# PUBLIC TREE
|
||||
###################
|
||||
|
||||
# LDAP
|
||||
mozilla:directory:c-sdk:ldap:include:MANIFEST :ldap
|
||||
|
||||
#INCLUDE
|
||||
mozilla:config:mac:export.mac :config
|
||||
mozilla:include:export.mac :include
|
||||
mozilla:cmd:macfe:pch:export.mac :include
|
||||
|
||||
#MAC_COMMON
|
||||
mozilla:build:mac:export.mac :mac:common
|
||||
mozilla:lib:mac:NSStdLib:include:export.mac :mac:common
|
||||
mozilla:lib:mac:MacMemoryAllocator:include:export.mac :mac:common
|
||||
mozilla:lib:mac:Misc:export.mac :mac:common
|
||||
mozilla:lib:mac:MoreFiles:export.mac :mac:common:morefiles
|
||||
mozilla:cmd:macfe:export.mac :mac:macfe
|
||||
|
||||
#NSPR
|
||||
mozilla:nsprpub:pr:include:export.mac :nspr
|
||||
mozilla:nsprpub:pr:src:md:mac:export.mac :nspr:mac
|
||||
mozilla:nsprpub:lib:ds:export.mac :nspr
|
||||
mozilla:nsprpub:lib:libc:include:export.mac :nspr
|
||||
mozilla:nsprpub:lib:msgc:include:export.mac :nspr
|
||||
|
||||
#DBM
|
||||
mozilla:dbm:include:export.mac :dbm
|
||||
|
||||
#LIBIMAGE
|
||||
mozilla:modules:libimg:png:export.mac :libimg
|
||||
mozilla:modules:libimg:src:export.mac :libimg
|
||||
mozilla:modules:libimg:public:export.mac :libimg
|
||||
|
||||
#SECURITY_freenav
|
||||
mozilla:modules:security:freenav:export.mac :security
|
||||
|
||||
#XPCOM
|
||||
mozilla:xpcom:src:export.mac :xpcom
|
||||
|
||||
#ZLIB
|
||||
mozilla:modules:zlib:src:export.mac :zlib
|
||||
|
||||
#JPEG
|
||||
mozilla:jpeg:export.mac :jpeg
|
||||
|
||||
#JSJ
|
||||
mozilla:js:jsj:export.mac :jsj
|
||||
|
||||
#JSDEBUG
|
||||
mozilla:js:jsd:export.mac :jsdebug
|
||||
|
||||
#JS
|
||||
mozilla:js:src:export.mac :js
|
||||
|
||||
#RDF
|
||||
mozilla:modules:rdf:include:export.mac :rdf
|
||||
|
||||
#XML
|
||||
mozilla:modules:xml:glue:export.mac :xml
|
||||
mozilla:modules:xml:expat:xmlparse:export.mac :xml
|
||||
|
||||
#LIBFONT
|
||||
mozilla:modules:libfont:public:export.mac :libfont
|
||||
mozilla:modules:libfont:src:export.mac :libfont
|
||||
|
||||
#SCHEDULER
|
||||
mozilla:modules:schedulr:public:export.mac :schedulr
|
||||
|
||||
#NETWORK
|
||||
#This stuff is all in libnet on the branch.
|
||||
#mozilla:network:cache:export.mac :network
|
||||
#mozilla:network:client:export.mac :network
|
||||
#mozilla:network:cnvts:export.mac :network
|
||||
#mozilla:network:cstream:export.mac :network
|
||||
#mozilla:network:main:export.mac :network
|
||||
#ozilla:network:protocol:about:export.mac :network
|
||||
#mozilla:network:protocol:certld:export.mac :network
|
||||
#mozilla:network:protocol:dataurl:export.mac :network
|
||||
#mozilla:network:protocol:file:export.mac :network
|
||||
#mozilla:network:protocol:ftp:export.mac :network
|
||||
#mozilla:network:protocol:gopher:export.mac :network
|
||||
#mozilla:network:protocol:http:export.mac :network
|
||||
#mozilla:network:protocol:js:export.mac :network
|
||||
#mozilla:network:protocol:mailbox:export.mac :network
|
||||
#mozilla:network:protocol:marimba:export.mac :network
|
||||
#mozilla:network:protocol:nntp:export.mac :network
|
||||
#mozilla:network:protocol:pop3:export.mac :network
|
||||
#mozilla:network:protocol:remote:export.mac :network
|
||||
#mozilla:network:protocol:smtp:export.mac :network
|
||||
|
||||
#NORMANDY_BRANCH only
|
||||
mozilla:lib:libnet:export.mac :libnet
|
||||
|
||||
#HTML_DIALOGS
|
||||
mozilla:lib:htmldlgs:export.mac :htmldlgs
|
||||
|
||||
#LAYOUT
|
||||
mozilla:lib:layout:export.mac :layout
|
||||
|
||||
#LAYERS
|
||||
mozilla:lib:liblayer:include:export.mac :layers
|
||||
|
||||
#PARSE
|
||||
mozilla:lib:libparse:export.mac :libparse
|
||||
|
||||
#STYLE
|
||||
mozilla:lib:libstyle:export.mac :libstyle
|
||||
|
||||
#LIBHOOK
|
||||
mozilla:modules:libhook:public:export.mac :libhook
|
||||
|
||||
#LIBPREF
|
||||
mozilla:modules:libpref:public:export.mac :libpref
|
||||
|
||||
#LIBREG
|
||||
mozilla:modules:libreg:include:export.mac :libreg
|
||||
|
||||
#LIBUTIL
|
||||
mozilla:modules:libutil:public:export.mac :libutil
|
||||
|
||||
#PROGRESS
|
||||
mozilla:modules:progress:public:export.mac :progress
|
||||
|
||||
#SOFTUPDATE
|
||||
mozilla:modules:softupdt:include:export.mac :softupdate
|
||||
|
||||
#NAV_JAVA
|
||||
mozilla:nav-java:stubs:macjri:export.mac :nav-java:macjri
|
||||
mozilla:nav-java:stubs:include:export.mac :nav-java
|
||||
|
||||
#SUN_JAVA
|
||||
mozilla:sun-java:stubs:include:export.mac :sun-java:include
|
||||
mozilla:sun-java:stubs:macjri:export.mac :sun-java:macjri
|
||||
BIN
mozilla/build/mac/MakeDist.mcp
Normal file
368
mozilla/build/mac/Moz.pm
Normal file
@@ -0,0 +1,368 @@
|
||||
=head1 NAME
|
||||
|
||||
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
use Moz;
|
||||
|
||||
OpenErrorLog(":::BuildLog");
|
||||
StopForErrors();
|
||||
|
||||
$Moz::QUIET = 1;
|
||||
InstallFromManifest(":projects:MANIFEST", $dist_dir);
|
||||
|
||||
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
|
||||
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
|
||||
|
||||
DontStopForErrors();
|
||||
|
||||
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
|
||||
|
||||
package Moz;
|
||||
require Exporter;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest);
|
||||
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
|
||||
|
||||
use Cwd;
|
||||
use File::Path;
|
||||
use ExtUtils::Manifest 'maniread';
|
||||
|
||||
sub current_directory()
|
||||
{
|
||||
my $current_directory = cwd();
|
||||
chop($current_directory) if ( $current_directory =~ m/:$/ );
|
||||
return $current_directory;
|
||||
}
|
||||
|
||||
sub full_path_to($)
|
||||
{
|
||||
my ($path) = @_;
|
||||
if ( $path =~ m/^[^:]+$/ )
|
||||
{
|
||||
$path = ":" . $path;
|
||||
}
|
||||
|
||||
if ( $path =~ m/^:/ )
|
||||
{
|
||||
$path = current_directory() . $path;
|
||||
}
|
||||
|
||||
return $path;
|
||||
}
|
||||
|
||||
=head2 Setup
|
||||
|
||||
Pretty much, everything is taken care of for you.
|
||||
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
|
||||
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
|
||||
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
|
||||
This routine is not exported by default, nor are you likely to need it.
|
||||
|
||||
=cut
|
||||
|
||||
sub UseCodeWarriorLib($)
|
||||
{
|
||||
($CodeWarriorLib) = @_;
|
||||
$CodeWarriorLib = full_path_to($CodeWarriorLib);
|
||||
}
|
||||
|
||||
sub activate_CodeWarrior()
|
||||
{
|
||||
MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
|
||||
tell (load script file "$CodeWarriorLib") to ActivateCodeWarrior()
|
||||
END_OF_APPLESCRIPT
|
||||
}
|
||||
|
||||
BEGIN
|
||||
{
|
||||
UseCodeWarriorLib(":CodeWarriorLib");
|
||||
activate_CodeWarrior();
|
||||
}
|
||||
|
||||
$logging = 0;
|
||||
$recent_errors_file = "";
|
||||
$stop_on_1st_error = 1;
|
||||
$QUIET = 0;
|
||||
|
||||
|
||||
|
||||
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
|
||||
|
||||
The warnings and errors generated in the course of building projects can be logged to a file.
|
||||
Tinderbox uses this facility to show why a remote build failed.
|
||||
|
||||
Logging is off by default.
|
||||
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
|
||||
Stop with C<CloseErrorLog()>.
|
||||
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
|
||||
C<CloseErrorLog()> is not exported by default.
|
||||
|
||||
=cut
|
||||
|
||||
sub CloseErrorLog()
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
close(ERROR_LOG);
|
||||
$logging = 0;
|
||||
StopForErrors() if $stop_on_1st_error;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
sub OpenErrorLog($)
|
||||
{
|
||||
my ($log_file) = @_;
|
||||
|
||||
CloseErrorLog();
|
||||
if ( $log_file )
|
||||
{
|
||||
$log_file = full_path_to($log_file);
|
||||
|
||||
open(ERROR_LOG, ">$log_file");
|
||||
|
||||
$log_file =~ m/.+:(.+)/;
|
||||
$recent_errors_file = full_path_to("$1.part");
|
||||
$logging = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
|
||||
|
||||
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
|
||||
By default, your build script will C<die> after the first project that generates an error while building.
|
||||
Change this behavior with C<DontStopForErrors()>.
|
||||
Re-enable it with C<StopForErrors()>.
|
||||
|
||||
=cut
|
||||
|
||||
sub StopForErrors()
|
||||
{
|
||||
$stop_on_1st_error = 1;
|
||||
|
||||
# Can't stop for errors unless we notice them.
|
||||
# Can't notice them unless we are logging.
|
||||
# If the user didn't explicitly request logging, log to a temporary file.
|
||||
|
||||
if ( ! $recent_errors_file )
|
||||
{
|
||||
OpenErrorLog("${TMPDIR}BuildResults");
|
||||
}
|
||||
}
|
||||
|
||||
sub DontStopForErrors()
|
||||
{
|
||||
$stop_on_1st_error = 0;
|
||||
}
|
||||
|
||||
sub log_message($)
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
my ($message) = @_;
|
||||
print ERROR_LOG $message;
|
||||
}
|
||||
}
|
||||
|
||||
sub log_message_with_time($)
|
||||
{
|
||||
if ( $logging )
|
||||
{
|
||||
my ($message) = @_;
|
||||
my $time_stamp = localtime();
|
||||
log_message("$message ($time_stamp)\n");
|
||||
}
|
||||
}
|
||||
|
||||
sub log_recent_errors($)
|
||||
{
|
||||
my ($project_name) = @_;
|
||||
my $found_errors = 0;
|
||||
|
||||
if ( $logging )
|
||||
{
|
||||
open(RECENT_ERRORS, "<$recent_errors_file");
|
||||
|
||||
while( <RECENT_ERRORS> )
|
||||
{
|
||||
if ( /^Error/ || /^CouldnÕt find project file/ )
|
||||
{
|
||||
$found_errors = 1;
|
||||
}
|
||||
print ERROR_LOG $_;
|
||||
}
|
||||
|
||||
close(RECENT_ERRORS);
|
||||
unlink("$recent_errors_file");
|
||||
}
|
||||
|
||||
if ( $stop_on_1st_error && $found_errors )
|
||||
{
|
||||
print ERROR_LOG "### Build failed.\n";
|
||||
die "### Errors encountered building \"$project_name\".\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub build_project($$$)
|
||||
{
|
||||
my ($project_path, $target_name, $clean_build) = @_;
|
||||
$project_path = full_path_to($project_path);
|
||||
|
||||
$project_path =~ m/.+:(.+)/;
|
||||
my $project_name = $1;
|
||||
|
||||
log_message_with_time("### Building \"$project_path\"");
|
||||
|
||||
# Check that the given project exists
|
||||
if (! -e $project_path)
|
||||
{
|
||||
print ERROR_LOG "### Build failed.\n";
|
||||
die "### Can't find project file \"$project_path\".\n";
|
||||
}
|
||||
|
||||
print "Building \"$project_path\"\n";
|
||||
|
||||
$had_errors =
|
||||
MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
|
||||
tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
|
||||
END_OF_APPLESCRIPT
|
||||
|
||||
# Append any errors to the globally accumulated log file
|
||||
if ( $had_errors )
|
||||
{
|
||||
log_recent_errors($project_path);
|
||||
}
|
||||
}
|
||||
|
||||
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
|
||||
|
||||
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
|
||||
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
|
||||
the project, if it wasn't already open.
|
||||
|
||||
=cut
|
||||
|
||||
sub BuildProject($;$)
|
||||
{
|
||||
my ($project_path, $target_name) = @_;
|
||||
build_project($project_path, $target_name, "false");
|
||||
}
|
||||
|
||||
sub BuildProjectClean($;$)
|
||||
{
|
||||
my ($project_path, $target_name) = @_;
|
||||
build_project($project_path, $target_name, "true");
|
||||
}
|
||||
|
||||
|
||||
=head2 Miscellaneous
|
||||
|
||||
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
|
||||
|
||||
=cut
|
||||
|
||||
sub MakeAlias($$)
|
||||
{
|
||||
my ($old_file, $new_file) = @_;
|
||||
|
||||
# if the directory to hold $new_file doesn't exist, create it
|
||||
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
|
||||
{
|
||||
mkpath($1);
|
||||
}
|
||||
|
||||
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
|
||||
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
|
||||
{
|
||||
$new_file .= $1;
|
||||
}
|
||||
|
||||
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\";";
|
||||
# die "$message symlink doesn't work on directories.\n" if -d $old_file;
|
||||
die "$message because \"$old_file\" doesn't exist.\n" unless -e $old_file;
|
||||
|
||||
unlink $new_file;
|
||||
# print "symlink(\"$old_file\", \"$new_file\");\n";
|
||||
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
|
||||
}
|
||||
|
||||
|
||||
=pod
|
||||
|
||||
C<InstallFromManifest()>
|
||||
|
||||
=cut
|
||||
|
||||
sub InstallFromManifest($;$)
|
||||
{
|
||||
my ($manifest_file, $dest_dir) = @_;
|
||||
|
||||
$dest_dir ||= ":";
|
||||
|
||||
$manifest_file =~ m/(.+):/;
|
||||
my $source_dir = $1;
|
||||
|
||||
chop($dest_dir) if $dest_dir =~ m/:$/;
|
||||
|
||||
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
|
||||
|
||||
my $read = maniread(full_path_to($manifest_file));
|
||||
foreach $file (keys %$read)
|
||||
{
|
||||
next unless $file;
|
||||
|
||||
$subdir = ":";
|
||||
if ( $file =~ /:.+:/ )
|
||||
{
|
||||
$subdir = $&;
|
||||
}
|
||||
|
||||
$file = ":$file" unless $file =~ m/^:/;
|
||||
MakeAlias("$source_dir$file", "$dest_dir$subdir");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
1;
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
The contents of this file are subject to the Netscape Public License
|
||||
Version 1.0 (the "NPL"); you may not use this file except in
|
||||
compliance with the NPL. You may obtain a copy of the NPL at
|
||||
http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
for the specific language governing rights and limitations under the
|
||||
NPL.
|
||||
|
||||
The Initial Developer of this code under the NPL is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
Reserved.
|
||||
|
||||
=cut
|
||||
38
mozilla/build/mac/NSCrossProductDefines.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#define OLDROUTINELOCATIONS 0
|
||||
#define XP_MAC 1
|
||||
#ifndef NSPR20
|
||||
#define NSPR20 1
|
||||
#endif
|
||||
#define _NSPR 1
|
||||
#define _NO_FAST_STRING_INLINES_ 1
|
||||
#define HAVE_BOOLEAN 1
|
||||
#define NETSCAPE 1
|
||||
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
|
||||
|
||||
/*
|
||||
This compiles in heap dumping utilities and other good stuff
|
||||
for developers -- maybe we only want it in for a special SDK
|
||||
nspr/java runtime(?):
|
||||
*/
|
||||
#define DEVELOPER_DEBUG 1
|
||||
|
||||
#define MAX(_a,_b) ((_a) < (_b) ? (_b) : (_a))
|
||||
#define MIN(_a,_b) ((_a) < (_b) ? (_a) : (_b))
|
||||
BIN
mozilla/build/mac/RunTSScript
Normal file
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This is a list of local files which get copied to the mozilla:dist:xpfe directory
|
||||
# This is a list of local files which get copied to the mozilla:dist directory
|
||||
#
|
||||
|
||||
nsBuildID.h
|
||||
IDE_Options.h
|
||||
26
mozilla/build/mac/makedist.xps
Normal file
@@ -0,0 +1,26 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
The only job of this file is for make dependencies:
|
||||
include files here that you want to cause MakeDist
|
||||
to happen again when they change.
|
||||
*/
|
||||
|
||||
|
||||
#include "MacExportListPublic"
|
||||
76
mozilla/build/mac/makedist.xps_Make
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
#
|
||||
|
||||
# This is the controlling script for a set of scripts that copy public
|
||||
# header files in one or more source trees into a single, "dist" directory.
|
||||
#
|
||||
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
|
||||
# ÒCopyExports.scriptÓ, which must be in the same directory.
|
||||
#
|
||||
#
|
||||
# Known bugs:
|
||||
# Header files are always copied if the export.mac file contains
|
||||
# non-local paths.
|
||||
# Spurious output is produced even when verbose is off.
|
||||
#
|
||||
|
||||
set echo 0
|
||||
|
||||
Evaluate % = ("{{SourceFile}}" =~ /(Å:)¨0Å/)
|
||||
Directory "{{¨0}}"
|
||||
|
||||
set mozillaDir "{¨0}"
|
||||
if `evaluate "{mozillaDir}" =~ /(Å:)¨1[Â:]+:[Â:]+:/`
|
||||
set -e mozillaDir "{¨1}"
|
||||
else
|
||||
echo "Failed to find mozilla directory. Exitting"
|
||||
exit 1;
|
||||
end if
|
||||
|
||||
# Sanity check for mozilla
|
||||
|
||||
if !`exists -d "{mozillaDir}"`
|
||||
echo "Failed to find mozilla directory. Exitting"
|
||||
exit 1;
|
||||
end if
|
||||
|
||||
# Calculate the root directory by stripping off the leaf name.
|
||||
|
||||
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2:/)
|
||||
Set -e SourceRootDir "{¨1}"
|
||||
Set -e DestRootDir "{mozillaDir}dist:"
|
||||
|
||||
# Ensure the build and stubs folders exist
|
||||
|
||||
if !`exists -d "{mozillaDir}dist"`
|
||||
newfolder "{mozillaDir}dist"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client"`
|
||||
newfolder "{mozillaDir}dist:client"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client_debug"`
|
||||
newfolder "{mozillaDir}dist:client_debug"
|
||||
end if
|
||||
if !`exists -d "{mozillaDir}dist:client_stubs"`
|
||||
newfolder "{mozillaDir}dist:client_stubs"
|
||||
end if
|
||||
|
||||
# Now do the grunt work of copying headers. This can take some time
|
||||
|
||||
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
|
||||
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
echo off
|
||||
REM Check out, build and deliever the CCK stuff
|
||||
REM 3/16/99 Frank Petitta Netscape Communications Corp.
|
||||
REM
|
||||
REM Basic operation outline:
|
||||
REM _MSC_VER and MOZ_DEBUG are the only System Vars used(currently)
|
||||
REM IF _MSC_VER doesnt equal 1200 then VC+ is not version 6.0,
|
||||
REM 6.0 is the standard so the build will not happen if _MSC_VER is
|
||||
REM any value other than 1200!
|
||||
REM System var MOZ_DEBUG is used to detemine Debug or Non-Debug builds
|
||||
REM
|
||||
REM * I hate this Batch CRAP, I going to use this as a temp and write this again in PERL!!!*
|
||||
REM
|
||||
|
||||
REM echo on
|
||||
|
||||
:SetUp
|
||||
|
||||
REM Set all of environ vars for the build process
|
||||
set BuildGood=0
|
||||
call C:\"Program Files"\"Microsoft Visual Studio"\VC98\Bin\vcvars32.bat
|
||||
|
||||
REM Set/get Sys vars to make sure you are doing the right thing.
|
||||
REM Make sure we are building with the right version of VC+ (6.0)
|
||||
if not "%_MSC_VER%"=="1200" set ErrorType=1
|
||||
if not "%_MSC_VER%"=="1200" goto Errors
|
||||
|
||||
REM Set the BuildType
|
||||
if "%MOZ_DEBUG%"=="1" set BuildType=debug
|
||||
if "%MOZ_DEBUG%"=="0" set BuildType=release
|
||||
|
||||
D:
|
||||
cd\builds
|
||||
|
||||
REM remove the mozilla directory
|
||||
echo y | rd /s mozilla
|
||||
|
||||
REM check out mozilla/cck
|
||||
cvs co mozilla/cck
|
||||
|
||||
REM Copy the build files to the build directory
|
||||
C:
|
||||
cd\cckscripts
|
||||
copy WizardMachine.dep D:\builds\mozilla\cck\driver
|
||||
copy WizardMachine.mak D:\builds\mozilla\cck\driver
|
||||
|
||||
D:
|
||||
cd\builds\mozilla\cck\driver
|
||||
|
||||
REM Send Pull completion notification
|
||||
echo.CCK source pull complete. >> tempfile.txt
|
||||
blat tempfile.txt -t page-petitta@netscape.com -s "CCK Pull Notification" -i Undertaker
|
||||
if exist tempfile.txt del tempfile.txt
|
||||
|
||||
REM build the damn thing, then send notification if the exe is there.
|
||||
if "%MOZ_DEBUG%"=="1" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
|
||||
if "%MOZ_DEBUG%"=="0" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
|
||||
|
||||
REM See if the target is there
|
||||
if exist D:\builds\mozilla\cck\driver\"%BuildType%"\wizardmachine.exe set BuildGood=1
|
||||
|
||||
REM If the target is there then do the right thing, Mail notification then upload it.
|
||||
echo.CCK build complete and verified. >> tempfile.txt
|
||||
if "%BuildGood%"=="1" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker
|
||||
if exist tempfile.txt del tempfile.txt
|
||||
|
||||
REM Houston we have a problem, abort, abort!!!!!
|
||||
if "%BuildGood%" =="0" echo.CCK build died, casualty assesment. >> tempfile.txt
|
||||
if "%BuildGood%" =="0" blat tempfile.txt -t page-petitta@netscape.com -s "CCK Build Notification" -i Undertaker
|
||||
if exist tempfile.txt del tempfile.txt
|
||||
if "%BuildGood%" =="0" set ErrorType=2
|
||||
if "%BuildGood%" =="0" goto Errors
|
||||
|
||||
:BuildNumber
|
||||
REM Get the build date to label the folder we create on upload.
|
||||
C:
|
||||
Perl C:\CCKScripts\date.pl
|
||||
call C:\CCKScripts\bdate.bat
|
||||
if "%BuildID%" == "" goto set ErrorType = 3
|
||||
if "%BuildID%" == "" goto EndOfScript
|
||||
|
||||
REM Make the Main repository Folder using the BuildID var
|
||||
O:
|
||||
md \products\client\cck\cck50\"%BuildType%"\"%BuildID%"
|
||||
|
||||
|
||||
REM Put it where we all can get it.
|
||||
:UpLoad
|
||||
REM Make the folder for the INI's then copy/move all of them.
|
||||
O:
|
||||
md \products\client\cck\cck50\"%BuildType%"\"%BuildID%"\iniFiles
|
||||
D:
|
||||
cd\builds\mozilla\cck\cckwiz\inifiles
|
||||
copy *.ini O:\products\client\cck\cck50\"%BuildType%"\"%BuildID%"\iniFiles
|
||||
REM Copy the wizardmachine.exe to sweetlou
|
||||
D:
|
||||
cd\builds\mozilla\cck\driver\"%BuildType%"
|
||||
copy *.exe O:\products\client\cck\cck50\"%BuildType%"\"%BuildID%"
|
||||
goto EndOfScript
|
||||
|
||||
REM Capture the errors, do something smart with them.
|
||||
:Errors
|
||||
if "%ErrorType%"=="1" echo. Incorrect version of VC+, not 6.0! Script halted!!
|
||||
|
||||
if "%ErrorType%"=="2" echo. The build blew up in your face, get to work laughing boy!!
|
||||
|
||||
if "%ErrorType%"=="3" echo. BuildNumber Generation Failed
|
||||
|
||||
if "%ErrorType%"=="4" echo. Busted4
|
||||
|
||||
if "%ErrorType%"=="5" echo. Busted5
|
||||
|
||||
|
||||
REM Like , duh. Oh my gosh and all that stuff!
|
||||
:EndOfScript
|
||||
echo. This is the end, my friend. My only friend, the end......
|
||||
@@ -1,188 +0,0 @@
|
||||
# 4/7/99 Frank Petitta
|
||||
# 1999 Netscape Communications Corp.
|
||||
# All rights reserved, must be over 18 to play.
|
||||
#
|
||||
# What is it?
|
||||
# Build, deliver the CCK parts and pieces.
|
||||
#
|
||||
|
||||
printf("Begin CCK Setup.\n");
|
||||
|
||||
$BuildType = "";
|
||||
$GoodBuild = 1;
|
||||
$ErrorType = 0;
|
||||
$SourceRoot = "";
|
||||
$ContinousBuild = 0;
|
||||
|
||||
|
||||
# Use the ContinousBuild Var for Tinderboxen
|
||||
# I will also set the mailing to tinderbox, based off the value of
|
||||
# ContinousBuild Var.
|
||||
#while (ContinousBuild = 0){
|
||||
|
||||
# Must have VC+ 6.0 or it's a no go.
|
||||
if ($ENV{'_MSC_VER'}!=1200) {
|
||||
# go to some subroutine that will handle errors
|
||||
$ErrorType = 1;
|
||||
CFHandler($ErrorType);
|
||||
}
|
||||
|
||||
# Lets see what the Source path is.
|
||||
$SourceRoot = $ENV{'MOZ_SRC'};
|
||||
$len = length($SourceRoot);
|
||||
if ($len < 2) {
|
||||
# Can't start if you dont know the Src Root.
|
||||
$ErrorType = 2;
|
||||
CFHandler($ErrorType);
|
||||
}
|
||||
|
||||
# Make sure MOZ_DEBUG is either 1 or 0
|
||||
if ($ENV{'MOZ_DEBUG'} > 1 or $ENV{'MOZ_DEBUG'} < 0) {
|
||||
$ErrorType = 3;
|
||||
CFHandler($ErrorType);
|
||||
}
|
||||
|
||||
# Now that we know MOZ_DEBUG is a 1 or 0, lets do something with it.
|
||||
if ($ENV{'MOZ_DEBUG'}==0 && $ErrorType < 1) {
|
||||
$BuildType = "release";
|
||||
}
|
||||
elsif ($ENV{'MOZ_DEBUG'}==1 && $ErrorType < 1) {
|
||||
$BuildType = "debug";
|
||||
}
|
||||
|
||||
# Email notification.
|
||||
# I tried to use this file open/write method but,
|
||||
# I kept getting "error reading tempfile.txt, aborting"
|
||||
# So until I figuer it out I must use the .bat method......
|
||||
#open (SENDFILE, ">c:\\CCKScripts\\tempfile.txt") || die "cannot open c:\\CCKScripts\\tempfile.txt: $!";
|
||||
#print SENDFILE "CCK Build Starting\n";
|
||||
|
||||
#system("echo.CCK Build Starting. >> tempfile.txt");
|
||||
#system("blat tempfile.txt -t page-petitta\@netscape.com -s \"CCK Build Notification\" -i Undertaker");
|
||||
#system("if exist tempfile.txt del tempfile.txt");
|
||||
|
||||
printf("Begin CCK pull-build.\n");
|
||||
|
||||
# Get the Source Drive letter. And the Source Path.
|
||||
@pieces = split(/\\/, $SourceRoot);
|
||||
$SourceDrive = ("$pieces[0]");
|
||||
@pieces = split(/:/, $SourceRoot);
|
||||
$SourcePath = ("$pieces[$#pieces]");
|
||||
|
||||
# Now change the path to the build source.
|
||||
chdir ("$SourceDrive");
|
||||
chdir ("$SourcePath");
|
||||
# Remove the old source, pull the new.
|
||||
system ("echo y | rd /s mozilla");
|
||||
system ("cvs co mozilla/cck");
|
||||
|
||||
# Lets build it
|
||||
$TestPath = $SourcePath."\\mozilla\\cck\\driver";
|
||||
chdir ($TestPath);
|
||||
|
||||
# Gonna need a batch file to build. This is because
|
||||
# of the fact that the PERL system command opens a new
|
||||
# session, thereby making the vcvars32.bat delaration
|
||||
# invalid(different session)
|
||||
#
|
||||
system ("call C:\\CCKScripts\\PERLBuild.bat");
|
||||
|
||||
if ($ENV{'BuildGood'}==1) {
|
||||
print ("Your mama");
|
||||
}
|
||||
|
||||
|
||||
print "$BuildType \n";
|
||||
print "$SourceRoot \n";
|
||||
print "$ErrorType \n";
|
||||
print "$SourceDrive \n";
|
||||
print "$SourcePath \n";
|
||||
print "$TestPath \n";
|
||||
|
||||
|
||||
#SetBuildDate();
|
||||
|
||||
|
||||
|
||||
#}
|
||||
|
||||
# Compute and format the date string for the folder and build label.
|
||||
sub SetBuildDate
|
||||
{
|
||||
|
||||
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
|
||||
#print "time... $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst \n";
|
||||
#$days = $yday + 1;
|
||||
$mon = $mon + 1;
|
||||
|
||||
$len = length($mon);
|
||||
if ($len < 2) {
|
||||
$mon = 0 . $mon
|
||||
}
|
||||
|
||||
$len = length($mday);
|
||||
if ($len < 2) {
|
||||
$mday = 0 . $mday
|
||||
}
|
||||
|
||||
$len = length($hour);
|
||||
if ($len < 2) {
|
||||
$hour = 0 . $hour
|
||||
}
|
||||
|
||||
$year = $year + 1900;
|
||||
|
||||
$Blddate = $year . "-" . $mon . "-" . $mday . "-" . $hour;
|
||||
#open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!");
|
||||
#print BDATE "set BuildID=$Blddate\n";
|
||||
|
||||
printf($Blddate);
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Handles all the errors ((CharlieFoxtrotHandler) Charlie = cluster, Foxtrot = f$*k)
|
||||
sub CFHandler
|
||||
{
|
||||
|
||||
if ($ErrorType==1)
|
||||
{
|
||||
printf("Wrong ver. of Visual C+, must have Ver. 6.0 "|| die);
|
||||
}
|
||||
|
||||
if ($ErrorType==2)
|
||||
{
|
||||
printf("Cannot get the path to the Source base "|| die);
|
||||
}
|
||||
|
||||
if ($ErrorType==3)
|
||||
{
|
||||
printf("MOZ_DEBUG is not defined "|| die);
|
||||
}
|
||||
|
||||
if ($ErrorType==4)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if ($ErrorType==5)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if ($ErrorType==6)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if ($ErrorType==7)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
# END THIS THING!!!
|
||||
quit;
|
||||
die;
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
REM PERL issues 'system' calls to a different session with each 'system'
|
||||
REM command, the commands below must happen within the same "session".
|
||||
REM
|
||||
|
||||
REM Set the BuildType
|
||||
if "%MOZ_DEBUG%"=="1" set BuildType=debug
|
||||
if "%MOZ_DEBUG%"=="0" set BuildType=release
|
||||
|
||||
REM Set the environment vars.
|
||||
@echo Setting System Vars.
|
||||
call C:\"Program Files"\"Microsoft Visual Studio"\VC98\Bin\vcvars32.bat
|
||||
|
||||
REM build the damn thing, then send notification if the exe is there.
|
||||
@echo Building Wizardmachine.
|
||||
if "%MOZ_DEBUG%"=="1" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
|
||||
if "%MOZ_DEBUG%"=="0" NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
REM Put it where we all can get it.
|
||||
REM %1 = release 'or' debug %2 = builddate
|
||||
|
||||
REM Make the Main repository Folder using the BuildID var
|
||||
P:
|
||||
md \client\cck\new\win\5.0\domestic\"%1"\"%2"
|
||||
|
||||
REM Make the folder for the INI's then copy/move all of them.
|
||||
md \client\cck\new\win\5.0\domestic\"%1"\"%2"\iniFiles
|
||||
D:
|
||||
cd\builds\mozilla\cck\cckwiz\inifiles
|
||||
copy *.ini P:\client\cck\new\win\5.0\domestic\"%1"\"%2"\iniFiles
|
||||
REM Copy the wizardmachine.exe to sweetlou
|
||||
D:
|
||||
cd\builds\mozilla\cck\driver\%1
|
||||
copy *.exe P:\client\cck\new\win\5.0\domestic\%1\%2
|
||||
|
||||
@@ -1,111 +0,0 @@
|
||||
# Microsoft Developer Studio Generated Dependency File, included by WizardMachine.mak
|
||||
|
||||
.\ImageDialog.cpp : \
|
||||
".\ImageDialog.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\NavText.cpp : \
|
||||
".\NavText.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\NewConfigDialog.cpp : \
|
||||
".\NewConfigDialog.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\NewDialog.cpp : \
|
||||
".\NewDialog.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\ProgDlgThread.cpp : \
|
||||
".\ProgDlgThread.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\ProgressDialog.cpp : \
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\PropSheet.cpp : \
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\StdAfx.cpp : \
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
.\WizardMachine.cpp : \
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\WizardMachine.rc : \
|
||||
".\res\WizardMachine.ico"\
|
||||
".\res\WizardMachine.rc2"\
|
||||
|
||||
|
||||
.\WizardMachineDlg.cpp : \
|
||||
".\ImageDialog.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
|
||||
.\WizardUI.cpp : \
|
||||
".\ImageDialog.h"\
|
||||
".\NavText.h"\
|
||||
".\NewConfigDialog.h"\
|
||||
".\NewDialog.h"\
|
||||
".\ProgDlgThread.h"\
|
||||
".\ProgressDialog.h"\
|
||||
".\PropSheet.h"\
|
||||
".\StdAfx.h"\
|
||||
".\WizardMachine.h"\
|
||||
".\WizardMachineDlg.h"\
|
||||
".\WizardUI.h"\
|
||||
|
||||
@@ -1,415 +0,0 @@
|
||||
# Microsoft Developer Studio Generated NMAKE File, Based on WizardMachine.dsp
|
||||
!IF "$(CFG)" == ""
|
||||
CFG=WizardMachine - Win32 Release
|
||||
!MESSAGE No configuration specified. Defaulting to WizardMachine - Win32 Release.
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" != "WizardMachine - Win32 Release" && "$(CFG)" != "WizardMachine - Win32 Debug"
|
||||
!MESSAGE Invalid configuration "$(CFG)" specified.
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "WizardMachine - Win32 Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "WizardMachine - Win32 Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE
|
||||
!ERROR An invalid configuration is specified.
|
||||
!ENDIF
|
||||
|
||||
!IF "$(OS)" == "Windows_NT"
|
||||
NULL=
|
||||
!ELSE
|
||||
NULL=nul
|
||||
!ENDIF
|
||||
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
OUTDIR=.\Release
|
||||
INTDIR=.\Release
|
||||
# Begin Custom Macros
|
||||
OutDir=.\Release
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\WizardMachine.exe"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\ImageDialog.obj"
|
||||
-@erase "$(INTDIR)\NavText.obj"
|
||||
-@erase "$(INTDIR)\NewConfigDialog.obj"
|
||||
-@erase "$(INTDIR)\NewDialog.obj"
|
||||
-@erase "$(INTDIR)\ProgDlgThread.obj"
|
||||
-@erase "$(INTDIR)\ProgressDialog.obj"
|
||||
-@erase "$(INTDIR)\PropSheet.obj"
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\WizardMachine.obj"
|
||||
-@erase "$(INTDIR)\WizardMachine.pch"
|
||||
-@erase "$(INTDIR)\WizardMachine.res"
|
||||
-@erase "$(INTDIR)\WizardMachineDlg.obj"
|
||||
-@erase "$(INTDIR)\WizardUI.obj"
|
||||
-@erase "$(OUTDIR)\WizardMachine.exe"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\WizardMachine.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
||||
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\WizardMachine.res" /d "NDEBUG" /d "_AFXDLL"
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\WizardMachine.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\WizardMachine.pdb" /machine:I386 /out:"$(OUTDIR)\WizardMachine.exe"
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\WizardMachine.obj" \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\NavText.obj" \
|
||||
"$(INTDIR)\ImageDialog.obj" \
|
||||
"$(INTDIR)\PropSheet.obj" \
|
||||
"$(INTDIR)\WizardMachineDlg.obj" \
|
||||
"$(INTDIR)\ProgressDialog.obj" \
|
||||
"$(INTDIR)\ProgDlgThread.obj" \
|
||||
"$(INTDIR)\NewConfigDialog.obj" \
|
||||
"$(INTDIR)\NewDialog.obj" \
|
||||
"$(INTDIR)\WizardUI.obj" \
|
||||
"$(INTDIR)\WizardMachine.res"
|
||||
|
||||
"$(OUTDIR)\WizardMachine.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
OUTDIR=.\Debug
|
||||
INTDIR=.\Debug
|
||||
# Begin Custom Macros
|
||||
OutDir=.\Debug
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\WizardMachine.exe" "$(OUTDIR)\WizardMachine.bsc"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\ImageDialog.obj"
|
||||
-@erase "$(INTDIR)\ImageDialog.sbr"
|
||||
-@erase "$(INTDIR)\NavText.obj"
|
||||
-@erase "$(INTDIR)\NavText.sbr"
|
||||
-@erase "$(INTDIR)\NewConfigDialog.obj"
|
||||
-@erase "$(INTDIR)\NewConfigDialog.sbr"
|
||||
-@erase "$(INTDIR)\NewDialog.obj"
|
||||
-@erase "$(INTDIR)\NewDialog.sbr"
|
||||
-@erase "$(INTDIR)\ProgDlgThread.obj"
|
||||
-@erase "$(INTDIR)\ProgDlgThread.sbr"
|
||||
-@erase "$(INTDIR)\ProgressDialog.obj"
|
||||
-@erase "$(INTDIR)\ProgressDialog.sbr"
|
||||
-@erase "$(INTDIR)\PropSheet.obj"
|
||||
-@erase "$(INTDIR)\PropSheet.sbr"
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\StdAfx.sbr"
|
||||
-@erase "$(INTDIR)\vc60.idb"
|
||||
-@erase "$(INTDIR)\vc60.pdb"
|
||||
-@erase "$(INTDIR)\WizardMachine.obj"
|
||||
-@erase "$(INTDIR)\WizardMachine.pch"
|
||||
-@erase "$(INTDIR)\WizardMachine.res"
|
||||
-@erase "$(INTDIR)\WizardMachine.sbr"
|
||||
-@erase "$(INTDIR)\WizardMachineDlg.obj"
|
||||
-@erase "$(INTDIR)\WizardMachineDlg.sbr"
|
||||
-@erase "$(INTDIR)\WizardUI.obj"
|
||||
-@erase "$(INTDIR)\WizardUI.sbr"
|
||||
-@erase "$(OUTDIR)\WizardMachine.bsc"
|
||||
-@erase "$(OUTDIR)\WizardMachine.exe"
|
||||
-@erase "$(OUTDIR)\WizardMachine.ilk"
|
||||
-@erase "$(OUTDIR)\WizardMachine.pdb"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\WizardMachine.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
||||
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\WizardMachine.res" /d "_DEBUG" /d "_AFXDLL"
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\WizardMachine.bsc"
|
||||
BSC32_SBRS= \
|
||||
"$(INTDIR)\WizardMachine.sbr" \
|
||||
"$(INTDIR)\StdAfx.sbr" \
|
||||
"$(INTDIR)\NavText.sbr" \
|
||||
"$(INTDIR)\ImageDialog.sbr" \
|
||||
"$(INTDIR)\PropSheet.sbr" \
|
||||
"$(INTDIR)\WizardMachineDlg.sbr" \
|
||||
"$(INTDIR)\ProgressDialog.sbr" \
|
||||
"$(INTDIR)\ProgDlgThread.sbr" \
|
||||
"$(INTDIR)\NewConfigDialog.sbr" \
|
||||
"$(INTDIR)\NewDialog.sbr" \
|
||||
"$(INTDIR)\WizardUI.sbr"
|
||||
|
||||
"$(OUTDIR)\WizardMachine.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
|
||||
$(BSC32) @<<
|
||||
$(BSC32_FLAGS) $(BSC32_SBRS)
|
||||
<<
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\WizardMachine.pdb" /debug /machine:I386 /out:"$(OUTDIR)\WizardMachine.exe"
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\WizardMachine.obj" \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\NavText.obj" \
|
||||
"$(INTDIR)\ImageDialog.obj" \
|
||||
"$(INTDIR)\PropSheet.obj" \
|
||||
"$(INTDIR)\WizardMachineDlg.obj" \
|
||||
"$(INTDIR)\ProgressDialog.obj" \
|
||||
"$(INTDIR)\ProgDlgThread.obj" \
|
||||
"$(INTDIR)\NewConfigDialog.obj" \
|
||||
"$(INTDIR)\NewDialog.obj" \
|
||||
"$(INTDIR)\WizardUI.obj" \
|
||||
"$(INTDIR)\WizardMachine.res"
|
||||
|
||||
"$(OUTDIR)\WizardMachine.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ENDIF
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
|
||||
!IF "$(NO_EXTERNAL_DEPS)" != "1"
|
||||
!IF EXISTS("WizardMachine.dep")
|
||||
!INCLUDE "WizardMachine.dep"
|
||||
!ELSE
|
||||
!MESSAGE Warning: cannot find "WizardMachine.dep"
|
||||
!ENDIF
|
||||
!ENDIF
|
||||
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release" || "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
SOURCE=.\ImageDialog.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\ImageDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\ImageDialog.obj" "$(INTDIR)\ImageDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\NavText.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\NavText.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\NavText.obj" "$(INTDIR)\NavText.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\NewConfigDialog.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\NewConfigDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\NewConfigDialog.obj" "$(INTDIR)\NewConfigDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\NewDialog.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\NewDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\NewDialog.obj" "$(INTDIR)\NewDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\ProgDlgThread.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\ProgDlgThread.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\ProgDlgThread.obj" "$(INTDIR)\ProgDlgThread.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\ProgressDialog.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\ProgressDialog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\ProgressDialog.obj" "$(INTDIR)\ProgressDialog.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\PropSheet.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\PropSheet.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\PropSheet.obj" "$(INTDIR)\PropSheet.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\StdAfx.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
CPP_SWITCHES=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)\WizardMachine.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\WizardMachine.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
CPP_SWITCHES=/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\WizardMachine.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\StdAfx.sbr" "$(INTDIR)\WizardMachine.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\WizardMachine.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardMachine.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardMachine.obj" "$(INTDIR)\WizardMachine.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\WizardMachine.rc
|
||||
|
||||
"$(INTDIR)\WizardMachine.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) $(RSC_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
SOURCE=.\WizardMachineDlg.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardMachineDlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardMachineDlg.obj" "$(INTDIR)\WizardMachineDlg.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\WizardUI.cpp
|
||||
|
||||
!IF "$(CFG)" == "WizardMachine - Win32 Release"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardUI.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "WizardMachine - Win32 Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\WizardUI.obj" "$(INTDIR)\WizardUI.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\WizardMachine.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
set BuildID=99040215
|
||||
@@ -1,25 +0,0 @@
|
||||
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time);
|
||||
print "time... $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst \n";
|
||||
#$days = $yday + 1;
|
||||
$mon = $mon + 1;
|
||||
|
||||
$len = length($mon);
|
||||
if ($len < 2) {
|
||||
$mon = 0 . $mon
|
||||
}
|
||||
|
||||
$len = length($mday);
|
||||
if ($len < 2) {
|
||||
$mday = 0 . $mday
|
||||
}
|
||||
|
||||
$len = length($hour);
|
||||
if ($len < 2) {
|
||||
$hour = 0 . $hour
|
||||
}
|
||||
|
||||
$year = $year + 1900;
|
||||
|
||||
$Blddate = $year . "-" . $mon . "-" . $mday . "-" . $hour;
|
||||
open (BDATE, ">c:\\CCKScripts\\bdate.bat") || die "cannot open c:\\CCKScripts\\bdate.bat: $!";
|
||||
print BDATE "set BuildID=$Blddate\n";
|
||||
@@ -1,49 +0,0 @@
|
||||
CCK Read Me
|
||||
|
||||
|
||||
What are all of these files?
|
||||
-------------------------
|
||||
|
||||
bdate.bat - Sets the environment var, BuildID, to the value given it by the PERL script date.pl.
|
||||
The BuildID var is used to name the repository folder.
|
||||
|
||||
CCKBuild.bat - Build automation file for this whole build processs. Paths, in the script will have
|
||||
to updated to work on a machine other than mine. I plan to move this to PERL to better script the
|
||||
build process for portability.
|
||||
|
||||
CCKBuild.pl - The PERL build script for CCK. This must also have PERLBuild.bat and PERLUpload.bat
|
||||
in the same folder to work.
|
||||
|
||||
date.pl - PERL script that creates a the date that is used to name the repository folder. Called
|
||||
by CCKBuild.bat.
|
||||
|
||||
PERLUpload.bat - Creates repoitory folders, moves the wizardmachine.exe and associated ini's to the
|
||||
repository folders. Called by CCKBuild.pl.
|
||||
|
||||
PERLBuild.bat - Issues the commands to set the Env vars and start the build. Called by CCKBuild.pl.
|
||||
|
||||
ReadMe.txt - Um, uh, well.... DUH!
|
||||
|
||||
WizardMachine.mak - Make file for WizardMachine. Details below.....
|
||||
|
||||
WizardMachine.dep - The dependancy file for WizardMachine.mak. Put both WizardMachine.mak
|
||||
and WizardMachine.dep in the mozilla/cck/driver folder to build the WizardMachine project(They
|
||||
should already be there).
|
||||
To build this project issue the commands:
|
||||
|
||||
NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Debug"
|
||||
or
|
||||
NMAKE /f "WizardMachine.mak" CFG="WizardMachine - Win32 Release"
|
||||
|
||||
The commands above should be executed in the same folder as the WizardMachine.mak and .dep
|
||||
files. When complete, you should end up with nice shiny new .exe, .obj's, .pch and .res files in a
|
||||
"release" or "debug" folder, depending on the command issued from above.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Doc Owner:
|
||||
|
||||
Frank (petitta@netscape.com)
|
||||
X6378
|
||||
@@ -1,3 +0,0 @@
|
||||
[autorun]
|
||||
open=setup.exe
|
||||
icon=.\shell\bmps\ncomm.ico
|
||||
@@ -1,36 +0,0 @@
|
||||
|
||||
=================================================================
|
||||
|
||||
Mozilla Client Customization Kit 6.0
|
||||
|
||||
=================================================================
|
||||
|
||||
Welcome to the Mozilla Client Customization Kit (CCK) Preview Release!
|
||||
|
||||
The Mozilla Client Customization Kit is subject to the terms
|
||||
detailed in the license agreement accompanying it.
|
||||
|
||||
Before you install CCK, be sure to read the Release Notes, which
|
||||
describe known problems and work-arounds:
|
||||
|
||||
http://home.netscape.com/eng/mozilla/ns6/relnotes/cck.html
|
||||
|
||||
Before you install Mozilla, be sure to read the Release Notes, which
|
||||
describe known problems and installation issues:
|
||||
|
||||
http://home.netscape.com/eng/mozilla/ns6/relnotes/pv6-1.html
|
||||
|
||||
|
||||
==================================================================
|
||||
|
||||
System Requirements
|
||||
|
||||
==================================================================
|
||||
|
||||
|
||||
To use CCK, you need the following:
|
||||
|
||||
*An IBM-compatible computer running Windows NT 4.0 or Windows 2000
|
||||
*Pentium 133 MHz (or faster) processor
|
||||
*48 MB of RAM (or greater)
|
||||
*At least 60 MB hard disk space for installation
|
||||
@@ -1,35 +0,0 @@
|
||||
; This file is used to configure a setup launcher.
|
||||
; Each section represents an OS that can be detected.
|
||||
; Each section can have either a
|
||||
; command=foobar foobar gets appended to the path where
|
||||
; this setup.exe exist. Do not lead with backslash.
|
||||
; This command is then execute through WinExec()
|
||||
; and this app terminates.
|
||||
; postError=My error message saying OS not supported
|
||||
; This message will be posted. Message caption will
|
||||
; be the Caption item in Error Messages section
|
||||
|
||||
|
||||
[Error Messages]
|
||||
; This is the caption that will appear in any error message generated
|
||||
Caption=Setup Launcher
|
||||
|
||||
[Windows 16]
|
||||
PostError=This program requires Windows 95 or Windows NT 4.0!
|
||||
command=shell\nsetup16\Nsetup16.exe
|
||||
|
||||
[Windows 95]
|
||||
PostError=Detected Windows 95
|
||||
command=shell\nsetup32\Nsetup32.exe
|
||||
|
||||
[Windows NT Original GUI]
|
||||
PostError=This program requires Windows 95 or Windows NT 4.0
|
||||
|
||||
|
||||
[Windows NT New GUI]
|
||||
PostError=Detected Windows NT version 4.0 or newer
|
||||
command=shell\nsetup32\Nsetup32.exe
|
||||
|
||||
[OS UNDEFINED]
|
||||
PostError=Undefined Operating System detected. Unable to install application
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..
|
||||
|
||||
DIRS=shell
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
include <$(DEPTH)\cck\InitDist.win>
|
||||
|
||||
export::
|
||||
$(MAKE_INSTALL) *.exe $(CCKDIST)
|
||||
$(MAKE_INSTALL) *.inf $(CCKDIST)
|
||||
$(MAKE_INSTALL) *.ini $(CCKDIST)
|
||||
$(MAKE_INSTALL) *.txt $(CCKDIST)
|
||||
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 303 KiB |
@@ -1,30 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..\..
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
include <$(DEPTH)\cck\InitDist.win>
|
||||
|
||||
export::
|
||||
$(MAKE_INSTALL) *.bmp $(CCKDIST)\Shell\bmps
|
||||
$(MAKE_INSTALL) *.ico $(CCKDIST)\Shell\bmps
|
||||
@@ -1,31 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
DIRS=bmps nsetup32
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
include <$(DEPTH)\cck\InitDist.win>
|
||||
|
||||
#export::
|
||||
#$(MAKE_INSTALL) * $(CCKDIST)\CCKTool\Shell
|
||||
@@ -1,4 +0,0 @@
|
||||
cd Core
|
||||
setup.exe
|
||||
echo off
|
||||
cls
|
||||
@@ -1,31 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..\..
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
include <$(DEPTH)\cck\InitDist.win>
|
||||
|
||||
export::
|
||||
$(MAKE_INSTALL) *.exe $(CCKDIST)\Shell\nsetup32
|
||||
$(MAKE_INSTALL) *.ini $(CCKDIST)\Shell\nsetup32
|
||||
$(MAKE_INSTALL) *.bat $(CCKDIST)\Shell\nsetup32
|
||||
@@ -1,757 +0,0 @@
|
||||
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;
|
||||
; RSHELL.INI FOR NETSCAPE 6
|
||||
;
|
||||
;
|
||||
; This rshell.ini specifies the configuration data used by the CD Shell
|
||||
; program to dynamically create the CD install screens. To create custom
|
||||
; versions of the shell, simply delete, fill-in or change the settings
|
||||
; in this ini file. Make a copy of it first though!
|
||||
;
|
||||
; There are several sections in this rshell.ini file:
|
||||
;
|
||||
; [General] contains the data used by all the shell dialogs (screens).
|
||||
; It specifies the settings for the browse, back and exit buttons.
|
||||
;
|
||||
; [Dialog*] contains the data used by each unique shell dialog (screen).
|
||||
; Each [Dialog*] section is associated with one dialog. The sections are
|
||||
; named [Dialog1] [Dialog2] [Dialog3], etc, one for each shell dialog.
|
||||
;
|
||||
; Notes:
|
||||
;
|
||||
; 1) Some of the file paths specified in this rshell.ini file need to be
|
||||
; relative to the location of the exe file. Relative paths are specified
|
||||
; with this format: ..\directory\filename. Each "..\" is one step back
|
||||
; in the directory structure. So, if your CD has the following structure:
|
||||
;
|
||||
; \root
|
||||
; \setup.exe
|
||||
; \launch.ini
|
||||
; \Netscape6\ [Netscape 6 software]
|
||||
; \plugins\
|
||||
; \extras\clipart\
|
||||
; \shell\nsetup32\rshell.ini
|
||||
; \shell\nsetup16\rshell.ini
|
||||
;
|
||||
; then ..\..\ would be required in the rshell.ini for the program to find
|
||||
; the plugins directory or the Comm directory.
|
||||
;
|
||||
; Other file paths are absolute from the root level of the CD, and therefore
|
||||
; will not need the "..\..\." For example, an absolute path for the clipart
|
||||
; directory would just be: extras\clipart\.
|
||||
;
|
||||
; 2) To remove a section of settings, just delete it. For example, if you only
|
||||
; want a single column on a dialog, delete all of the col2_ settings. If you
|
||||
; only want 2 dialog (screens), delete all of the Dialog3 and greater
|
||||
; sections. If you only want 2 buttons on a dialog, delete all of the
|
||||
; settings for button3 and greater.
|
||||
;
|
||||
; 3) All widths and positions are in pixels.
|
||||
;
|
||||
; 4) All (x,y) positions are are relative to the top left corner of the dialog.
|
||||
;
|
||||
; 5) The background bitmaps included with the software are 640x480 pixels.
|
||||
;
|
||||
; 6) To prevent palette swapping problems when changing from one dialog screen
|
||||
; to the next, it's best to put all 256 Windows palette colors into each
|
||||
; background bitmap. Then if new buttons are introduced on a follow-on
|
||||
; dialog, a palette swap won't occur (to accomodate the new colors).
|
||||
;
|
||||
; 7) When entering text for buttons and dialogs, leave extra space around the
|
||||
; text to accomodate Windows "large fonts" mode.
|
||||
;
|
||||
; 8) For reference, here's a list of 16 common colors from the standard
|
||||
; Windows palette:
|
||||
;
|
||||
; black: 0,0,0
|
||||
; white: 255,255,255
|
||||
; red: 255,0,0
|
||||
; green: 0,255,0
|
||||
; blue: 0,0,255
|
||||
; yellow: 255,255,0
|
||||
; magenta: 255,0,255
|
||||
; cyan: 0,255,255
|
||||
; dark red: 128,0,0
|
||||
; dark green: 0,128,0
|
||||
; dark yellow: 128,128,0
|
||||
; dark blue: 0,0,128
|
||||
; dark cyan: 0,128,128
|
||||
; dark gray: 128,128,128
|
||||
; dark magenta: 128,0,128
|
||||
; gray: 192,192,192
|
||||
;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;======================= general configurations =========================
|
||||
|
||||
[General]
|
||||
; This section specifies the attributes of the control buttons: browse,
|
||||
; back and exit. Either text or bitmaps can be used for the buttons, when
|
||||
; both are set, bitmaps take precedence.
|
||||
|
||||
;---------------------------------------
|
||||
browse_button_text=Browse &CD
|
||||
|
||||
; default setting: browse_button_text=Browse
|
||||
; the "&" sets the C as the keyboard shortcut for this button
|
||||
|
||||
;---------------------------------------
|
||||
browse_button_pos=
|
||||
|
||||
; e.g.: browse_button_pos=x1,y1,x2,y2
|
||||
; where (x1,y1) is the upper left corner of the button,
|
||||
; (x2,y2) is the lower right corner of the button
|
||||
|
||||
; default setting: browse_button_pos=
|
||||
; if left blank, the position calculation is based on the
|
||||
; size of the dialogs; if bitmaps are used, (x2,y2) are not used.
|
||||
|
||||
;---------------------------------------
|
||||
browse_button_bitmaps=
|
||||
|
||||
; defines button bitmap files
|
||||
|
||||
; e.g.: browse_button_bitmaps=brse_up.bmp,brse_dn.bmp,brse_sel.bmp,brse_dis.bmp
|
||||
|
||||
; 4 bitmaps specify the states of the buttons: up,down,selected,disabled.
|
||||
; Selected and disabled are optional
|
||||
|
||||
; If the bitmaps are not specified, the dialog uses a standard
|
||||
; Windows button with the text specified in browse_button_text
|
||||
|
||||
;---------------------------------------
|
||||
back_button_text=&Back
|
||||
|
||||
; same as the settings of browse button
|
||||
; the "&" sets the B as the keyboard shortcut for this button
|
||||
|
||||
;---------------------------------------
|
||||
back_button_pos=
|
||||
|
||||
; same as the settings of browse button
|
||||
|
||||
;---------------------------------------
|
||||
back_button_bitmaps=
|
||||
|
||||
; same as the settings of browse button
|
||||
|
||||
;---------------------------------------
|
||||
exit_button_text=E&xit
|
||||
|
||||
; same as the settings of browse button
|
||||
; the "&" sets the x as the keyboard shortcut for this button
|
||||
|
||||
;---------------------------------------
|
||||
exit_button_pos=
|
||||
|
||||
; same as the settings of browse button
|
||||
|
||||
;---------------------------------------
|
||||
exit_button_bitmaps=
|
||||
|
||||
; same as the settings of browse button
|
||||
|
||||
;---------------------------------------
|
||||
; check_netscape_registry=default
|
||||
|
||||
; defines registry/ini path check for Netscape 6
|
||||
|
||||
; Used to check to be sure Netscape 6 is installed before installing
|
||||
; plug-ins or applications. If set to default, uses a default method to check
|
||||
; if Netscape 6 is installed that is version independant (any 4.x or later version).
|
||||
|
||||
; Check path for registry or ini can also be specified (for example, if you
|
||||
; want to check for a different software program). Here's the formats:
|
||||
|
||||
; Win32 registry: registry_path,registry_key,registry_val
|
||||
; Example: check__netscape_registry=HKEY_LOCAL_MACHINE\Software\netscape\netscape navigator\4.01 (en)\main,Install Directory,program\netscape.exe
|
||||
|
||||
; Win16 ini file: ini_file_name|ini_section,ini_entry,ini_val
|
||||
; this determines if the ini_val is the value of ini_entry in the ini_section of
|
||||
; the ini_file_name
|
||||
; Example: check__netscape_registry=c:\windows\win.ini|netscape,ini,c:\netscape\netscape.ini
|
||||
|
||||
;--------------------------------------
|
||||
; check_netscape_registry_error_msg=Please install Netscape 6 before installing Bonus Plug-ins or Applications.
|
||||
|
||||
; error message shown to user if the registry check doesn't find the
|
||||
; Netscape 6 key
|
||||
|
||||
;===================== dialog configurations =======================
|
||||
|
||||
[Dialog1]
|
||||
|
||||
; There are 3 types of data in this section - dialog data, column
|
||||
; data and button data.
|
||||
|
||||
; The dialog data configures the global settings of the specific dialog
|
||||
; (screen); in this case dialog 1.
|
||||
; The column and buttons settings configure the columns and buttons.
|
||||
|
||||
;---------------------------------------
|
||||
caption=Netscape 6.2 Client Customization Kit
|
||||
|
||||
; defines dialog caption text (the text that goes in the top bar of
|
||||
; the Windows window)
|
||||
|
||||
;---------------------------------------
|
||||
dialog_position=
|
||||
|
||||
; e.g.: dialog_position=x1,y1,x2,y2
|
||||
|
||||
; defines dialog position on total screen (monitor)
|
||||
|
||||
; (x1,y1) is the upper-left corner and (x2,y2) is the lower-right corner
|
||||
; of the dialog.
|
||||
|
||||
; If left blank, the dialog is placed at the center of the
|
||||
; screen. if bitmaps are used, (x2,y2) are not used.
|
||||
|
||||
;---------------------------------------
|
||||
bk_bitmap=..\bmps\cckit_bg.bmp
|
||||
|
||||
; defines background bitmap for the dialog.
|
||||
|
||||
; if the data is not present, the shell dialog is painted with
|
||||
; the system background color.
|
||||
|
||||
;---------------------------------------
|
||||
button_gap=25
|
||||
|
||||
; defines vertical gap (y) between the buttons in the dialog.
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;================= global text for dialog =======================
|
||||
|
||||
; this section allows you to add a paragraph or line of text that
|
||||
; you want to apply to the whole dialog (screen). Using the position
|
||||
; setting, you can have this text appear anywhere -- along the top or
|
||||
; bottom of the dialog screen, for example.
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_text=Welcome to the installer for Netscape 6.2 Client Customization Kit
|
||||
|
||||
; defines the dialog title text
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_pos=80,90,630,420
|
||||
|
||||
; defines the dialog title text position (x1,y1,x2,y2)
|
||||
|
||||
; Text is written into a box where x1,y1 defines the position of
|
||||
; the top left corner and x2,y2 is the bottom right corner
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_text_color=0,0,0
|
||||
|
||||
; defines the dialog title text color
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_shadow_color=
|
||||
|
||||
; defines the dialog title text shadow color
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_shadow_depth=
|
||||
|
||||
; defines the dialog title text shadow depth
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_text_font=arial,10
|
||||
|
||||
; defines the dialog title text font and font size
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_font_bold=TRUE
|
||||
|
||||
; disable/enable dialog title bold text; TRUE or FALSE
|
||||
; default for no entry is FALSE
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_font_underline=
|
||||
|
||||
; disable/enable dialog title underline text; TRUE or FALSE
|
||||
; default for no entry is FALSE
|
||||
|
||||
;---------------------------------------
|
||||
dialog_title_font_italic=
|
||||
|
||||
; disable/enable dialog title italic text; TRUE or FALSE
|
||||
; default for no entry is FALSE
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;====== global text settings for all button text in dialog 1 ======
|
||||
|
||||
;---------------------------------------
|
||||
text_color_default=0,0,0
|
||||
|
||||
; defines the default text color for all text on the dialog.
|
||||
; e.g.: text_color_default=red,green,blue
|
||||
|
||||
;---------------------------------------
|
||||
text_color_highlight=4,137,161
|
||||
|
||||
; defines the color for mouse-over highlighting for all text
|
||||
; on the dialog.
|
||||
; e.g.: text_color_highlight=red,green,blue
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;==== settings for button titles and button body text in dialog =====
|
||||
|
||||
;--------------------------------------
|
||||
button_title_text_font=arial,14
|
||||
|
||||
; defines button title font and font size
|
||||
|
||||
; if left blank, the system font and font size are used.
|
||||
|
||||
;---------------------------------------
|
||||
button_title_text_font_bold=TRUE
|
||||
|
||||
; flag to enable/disable button title bold text; TRUE or FALSE
|
||||
|
||||
; e.g.: button_title_text_font_bold=FALSE
|
||||
|
||||
; if left blank, the bold is disabled.
|
||||
|
||||
;---------------------------------------
|
||||
button_title_text_font_underline=
|
||||
|
||||
; flag to enable/disable underline of button title text; TRUE or FALSE
|
||||
|
||||
; e.g.: button_title_text_font_underline=FALSE
|
||||
|
||||
; if left blank, the underline is disabled.
|
||||
|
||||
;---------------------------------------
|
||||
button_title_text_font_italic=
|
||||
|
||||
; flag to enable/disable button title italic text; TRUE or FALSE
|
||||
|
||||
; e.g.: button_title_text_font_italic=FALSE
|
||||
|
||||
; if left blank, the italic is disabled.
|
||||
|
||||
;---------------------------------------
|
||||
body_text_font=arial,10
|
||||
|
||||
; defines the button body text font and font size.
|
||||
; For each button desciptive text, there is body text and title text,
|
||||
; and different fonts can be set for these two text areas.
|
||||
|
||||
; e.g.: body_text_font=roman,12
|
||||
|
||||
; if left blank, the system font and font size are used.
|
||||
|
||||
;---------------------------------------
|
||||
body_text_font_bold=
|
||||
|
||||
; flag to enable/disable the button body text bold font; TRUE or FALSE
|
||||
|
||||
; e.g.: body_text_font_bold=FALSE
|
||||
|
||||
; if left blank, the bold font is disabled.
|
||||
|
||||
;---------------------------------------
|
||||
body_text_font_underline=
|
||||
|
||||
; flag to enable/disable the button body text underline; TRUE or FALSE
|
||||
|
||||
; e.g.: body_text_font_underline=FALSE
|
||||
|
||||
; if left blank, the underline is disabled.
|
||||
|
||||
;---------------------------------------
|
||||
body_text_font_italic=
|
||||
|
||||
; flag to enable/disable the button body text italic font; TRUE or FALSE
|
||||
|
||||
; e.g.: body_text_font_italic=FALSE
|
||||
|
||||
; if left blank, the italic is disabled.
|
||||
;---------------------------------------
|
||||
|
||||
;==================== columns within dialogs ========================
|
||||
|
||||
; Each dialog can have single or multiple columns. Each column can be
|
||||
; customized with the follow settings. For multiple columns, the setting names
|
||||
; are differentiated by the last digit of the name. For example,
|
||||
; col1_button_pos is the button position of the column 1; col2_button_pos is
|
||||
; the button position of the column 2.
|
||||
|
||||
; If you only want 1 column, delete all of the col2 or greater settings, or
|
||||
; leave them blank.
|
||||
;---------------------------------------
|
||||
|
||||
;==================== column 1 for dialog 1 =========================
|
||||
|
||||
;---------------------------------------
|
||||
col1_button_pos=70,150
|
||||
|
||||
; defines the button position of the first button in column 1.
|
||||
|
||||
; e.g.: col1_button_pos=x,y
|
||||
; (x,y) is the upper-left corner of the first button of the column 1
|
||||
; relative to the upper left corner of the dialog.
|
||||
|
||||
;---------------------------------------
|
||||
col1_text_offset=10
|
||||
|
||||
; defines the offset between the button description text and the
|
||||
; button position.
|
||||
|
||||
; there are two ways to specify the button descriptive text position, one is
|
||||
; by the offset from the button, the other is by the absolute x position
|
||||
; (see below).
|
||||
|
||||
; default setting if left blank: col1_text_offset=10
|
||||
|
||||
;or use the next setting:
|
||||
;---------------------------------------
|
||||
col1_text_posx=
|
||||
|
||||
; defines absolute x position of button descriptive text.
|
||||
|
||||
; if both col1_text_offset and col1_text_posx are set, col1_text_posx
|
||||
; overwrites col1_text_offset.
|
||||
|
||||
;---------------------------------------
|
||||
col1_text_width=275
|
||||
|
||||
; the x distance at which the button descriptive text word-wraps.
|
||||
|
||||
; default setting: if this setting is left blank, the text runs to 10 pixels
|
||||
; away from the right edge of the dialog.
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;====================== column 2 for dialog 1 =========================
|
||||
|
||||
; If you don't want 2 columns, simply delete the settings in this section
|
||||
; or leave them blank.
|
||||
|
||||
;---------------------------------------
|
||||
col2_button_pos=
|
||||
; see description for column 1
|
||||
|
||||
;---------------------------------------
|
||||
col2_text_offset=
|
||||
; see description for column 1
|
||||
|
||||
;---------------------------------------
|
||||
col2_text_posx=
|
||||
; see description for column 1
|
||||
|
||||
;---------------------------------------
|
||||
col2_text_width=
|
||||
; see description for column 1
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;======================= buttons for dialog 1 ========================
|
||||
|
||||
; Similiar to columns, each dialog (screen) can have one or multiple buttons.
|
||||
; Each button can be customized with the follow settings. For multiple buttons,
|
||||
; the setting names are differentiated by the last digit of the name. For
|
||||
; example, button1_bitmaps specifies the button bitmaps of button 1,
|
||||
; button2_bitmaps specifies the button bitmaps of button 2.
|
||||
|
||||
;---------------------------------------
|
||||
button1_bitmaps=..\bmps\N6_up.bmp,..\bmps\N6_dn.bmp,..\bmps\N6_mo.bmp,..\bmps\N6_mo.bmp
|
||||
|
||||
|
||||
; defines button bitmap files.
|
||||
|
||||
; e.g.: button1_bitmaps=btn_up.bmp, btn_dn.bmp, btn_sel.bmp, btn_dis.bmp
|
||||
|
||||
; 4 bitmaps specify the states of the button: up,down,selected,disabled.
|
||||
; Selected and disabled are optional
|
||||
|
||||
;---------------------------------------
|
||||
button1_cmdline=exe,ChangeDir.bat
|
||||
|
||||
; defines button action
|
||||
|
||||
; a button click can cause any of 6 actions:
|
||||
|
||||
; 1) launch a program: button1_cmdline=exe,program name
|
||||
|
||||
; e.g.: button1_cmdline=exe,setup.exe
|
||||
|
||||
; when the 1st argument is exe, it is a program and the 2nd argument
|
||||
; is the relative program path
|
||||
|
||||
; 2) goto a different dialog screen: button1_cmdline=window,dialog#
|
||||
|
||||
; e.g.: button1_cmdline=window,dialog2
|
||||
|
||||
; when the 1st argument is window, it is a goto for another dialog and
|
||||
; the 2nd argument is the section name of that dialog.
|
||||
|
||||
; 3) open a file: button1_cmdline=open,file name
|
||||
|
||||
; eg.: button1_cmdline=open,myfile.txt
|
||||
|
||||
; when the 1st argument is open, the 2nd argument is the file to be
|
||||
; opened. That file will be opened with whatever program the OS has
|
||||
; associated for that file type. Association is handled by the file
|
||||
; extension, which, in this example is .txt. If an association doesn't
|
||||
; exist, the OS will ask user to create an association to open the file.
|
||||
|
||||
; 4) print a file: button1_cmdline=print,file name
|
||||
|
||||
; e.g.: button1_cmdline=print,myfile.txt
|
||||
|
||||
; when the 1st argument is print, the 2nd argument is the file to be
|
||||
; printed. That file will be printed with whatever program the OS has
|
||||
; associated for that file type. Association is handled by the file
|
||||
; extension, which, in this example is .txt. If an association doesn't
|
||||
; exist, the OS will ask user to create an association to open the file.
|
||||
; Please note that printing of html files does not work through Windows.
|
||||
|
||||
; 5) explore a directory: button1_cmdline=explore,path to directory
|
||||
|
||||
; e.g.: button1_cmdline=explore,extras\clipart\
|
||||
|
||||
; when the first argument is explore, the 2nd argument is the directory
|
||||
; on the CD to browse to. The path to the directory must be specified as
|
||||
; an absolute path from the root of the CD. In the example above, it would
|
||||
; open the 'clipart' directory that is in the 'extras' directory, which is
|
||||
; at the root level of the CD.
|
||||
|
||||
; 6) open file in Navigator: button1_cmdline=netscape,file name
|
||||
|
||||
; e.g.: button1_cmdline=netscape,myfile.html
|
||||
|
||||
; when the 1st argument is netscape, the 2nd argument is the file to be
|
||||
; opened with the current installed version of Netscape Navigator. That file
|
||||
; type may be an html file, or a .gif, or, if a plug-in is already installed,
|
||||
; it could be an Adobe .pdf...
|
||||
|
||||
;---------------------------------------
|
||||
button1_text_title=Client Customization Kit
|
||||
|
||||
; defines button descriptive title text.
|
||||
|
||||
;---------------------------------------
|
||||
button1_text_body=Click here to install the Client Customization Kit -- Everything you need to customize Netscape 6.2.
|
||||
|
||||
; defines button descriptive body text.
|
||||
|
||||
;---------------------------------------
|
||||
button1_offset=
|
||||
|
||||
; defines button x and y position offsets, which allows you to offset individual
|
||||
; buttons from the column offset. This offset is in respect to the left side
|
||||
; of the dialog. The button1 (x,y) position is calculated by:
|
||||
|
||||
; x = button1_offset + col1_button_pos(x)
|
||||
; y = col1_button_pos(y);
|
||||
|
||||
; default setting if left blank: button1_offset=0;If you specify a y offset greater than 0 for button1, this y offset applies to ;all other buttons in the same column unless you also specify individual y offset ;values for the other buttons in the same column. If you do that, then each ;button uses the x,y offset values specified for it.
|
||||
|
||||
;---------------------------------------
|
||||
button1_netscape_required=FALSE
|
||||
|
||||
; for apps which require a registry/ini check to make sure that Netscape 6
|
||||
; (or some other software) is installed. TRUE or FALSE. If left blank, default
|
||||
; is FALSE. See check_netscape_registry in the [General] section.
|
||||
|
||||
;---------------------------------------
|
||||
|
||||
;=================== buttons 2-6 for dialog 1 ===========================
|
||||
|
||||
; Note if you want fewer than 6 buttons, simply delete the button# groups
|
||||
; higher than what you want or leave their settings blank. To add more than
|
||||
; 6 buttons, just copy and paste a button group and increment the button#.
|
||||
|
||||
button2_bitmaps=..\bmps\help_up.bmp,..\bmps\help_dn.bmp,..\bmps\help_mo.bmp,..\bmps\help_mo.bmp
|
||||
button2_cmdline=exe,..\..\Install.txt
|
||||
button2_text_title=Installation Guide
|
||||
button2_text_body=Click here to get all the information you need to install Netscape 6.2 Client Customization Kit. It is recommended that you read or print this information before installing.
|
||||
button2_offset=
|
||||
button2_netscape_required=FALSE
|
||||
|
||||
;button3_bitmaps=..\bmps\apps_up.bmp,..\bmps\apps_dn.bmp,..\bmps\apps_mo.bmp,..\bmps\apps_mo.bmp
|
||||
;button3_cmdline=window,Dialog2
|
||||
;button3_text_title=Bonus Applications and Plug-ins
|
||||
;button3_text_body=Click here to see the Bonus Applications and Plug-ins included with this CD.
|
||||
;button3_offset=
|
||||
;button3_netscape_required=FALSE
|
||||
|
||||
;=========================== dialog 2 ===========================
|
||||
|
||||
[Dialog2]
|
||||
|
||||
;================ dialog config =================
|
||||
|
||||
caption=Bonus Applications and Plug-ins
|
||||
dialog_position=
|
||||
bk_bitmap=..\bmps\comm.bmp
|
||||
|
||||
button_gap=70
|
||||
|
||||
dialog_title_text=Be sure to install Netscape 6 before you install any Applications or Plug-ins.
|
||||
dialog_title_pos=100,400,630,420
|
||||
dialog_title_text_color=255,255,255
|
||||
dialog_title_shadow_color=0,0,0
|
||||
dialog_title_shadow_depth=
|
||||
dialog_title_text_font=arial,10
|
||||
dialog_title_font_bold=TRUE
|
||||
dialog_title_font_underline=
|
||||
dialog_title_font_italic=
|
||||
|
||||
text_color_default=0,0,0
|
||||
text_color_highlight=255,255,255
|
||||
|
||||
button_title_text_font=arial,14
|
||||
button_title_text_font_bold=TRUE
|
||||
button_title_text_font_underline=
|
||||
button_title_text_font_italic=
|
||||
|
||||
body_text_font=arial,10
|
||||
body_text_font_bold=
|
||||
body_text_font_underline=
|
||||
body_text_font_italic=
|
||||
|
||||
;========== column 1 for dialog 2 ==========
|
||||
|
||||
col1_button_pos=80,130
|
||||
col1_text_offset=15
|
||||
col1_text_posx=
|
||||
col1_text_width=200
|
||||
|
||||
;========== column 2 for dialog 2 ==========
|
||||
|
||||
col2_button_pos=350,130
|
||||
col2_text_offset=15
|
||||
col2_text_posx=
|
||||
col2_text_width=200
|
||||
|
||||
;========== buttons for dialog 2 ==========
|
||||
|
||||
button1_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
|
||||
button1_cmdline=exe,..\..\apps\app1\app1.exe
|
||||
button1_text_title=Application1
|
||||
button1_text_body=descriptive text
|
||||
button1_offset=
|
||||
button1_netscape_required=
|
||||
|
||||
button2_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
|
||||
button2_cmdline=exe,..\..\apps\app2\app2.exe
|
||||
button2_text_title=Application2
|
||||
button2_text_body=descriptive text
|
||||
button2_offset=
|
||||
button2_netscape_required=
|
||||
|
||||
button3_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
|
||||
button3_cmdline=exe,..\..\apps\app3\app3.exe
|
||||
button3_text_title=Plug-in1
|
||||
button3_text_body=descriptive text
|
||||
button3_offset=
|
||||
button3_netscape_required=
|
||||
|
||||
button4_bitmaps=..\bmps\32b_up.bmp,..\bmps\32b_dn.bmp,..\bmps\32b_mo.bmp,..\bmps\32b_mo.bmp
|
||||
button4_cmdline=exe,..\..\apps\app4\app4.exe
|
||||
button4_text_title=Plug-in2
|
||||
button4_text_body=descriptive text
|
||||
button4_offset=
|
||||
button4_netscape_required=
|
||||
|
||||
;============================== dialog 3 ==============================
|
||||
|
||||
[Dialog3]
|
||||
|
||||
;============= dialog config ===============
|
||||
|
||||
caption=Bonus Plug-ins
|
||||
dialog_position=
|
||||
bk_bitmap=..\bmps\comm.bmp
|
||||
|
||||
button_gap=50
|
||||
|
||||
dialog_title_text=Be sure to install Netscape 6 before you install any Plug-ins.
|
||||
dialog_title_pos=120,400,630,420
|
||||
dialog_title_text_color=255,255,255
|
||||
dialog_title_shadow_color=
|
||||
dialog_title_shadow_depth=
|
||||
dialog_title_text_font=arial,10
|
||||
dialog_title_font_bold=TRUE
|
||||
dialog_title_font_underline=
|
||||
dialog_title_font_italic=
|
||||
|
||||
text_color_default=0,0,0
|
||||
text_color_highlight=255,255,255
|
||||
|
||||
button_title_text_font=arial,14
|
||||
button_title_text_font_bold=TRUE
|
||||
button_title_text_font_underline=
|
||||
button_title_text_font_italic=
|
||||
|
||||
body_text_font=arial,10
|
||||
body_text_font_bold=
|
||||
body_text_font_underline=
|
||||
body_text_font_italic=
|
||||
|
||||
;========== column 1 for dialog 3 ==========
|
||||
|
||||
col1_button_pos=80,110
|
||||
col1_text_offset=15
|
||||
col1_text_posx=
|
||||
col1_text_width=200
|
||||
|
||||
;========== column 2 for dialog 3 ==========
|
||||
|
||||
col2_button_pos=350,110
|
||||
col2_text_offset=15
|
||||
col2_text_posx=
|
||||
col2_text_width=200
|
||||
|
||||
;========== buttons for dialog 3 ==========
|
||||
|
||||
button1_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button1_cmdline=exe,..\..\plugins\plugin1\32plugin1.exe
|
||||
button1_text_title=Plug-in1
|
||||
button1_text_body=descriptive text
|
||||
button1_offset=
|
||||
button1_netscape_required=TRUE
|
||||
|
||||
button2_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button2_cmdline=exe,..\..\plugins\plugin2\32plug2.exe
|
||||
button2_text_title=Plug-in2
|
||||
button2_text_body=descriptive text
|
||||
button2_offset=
|
||||
button2_netscape_required=TRUE
|
||||
|
||||
button3_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button3_cmdline=exe,..\..\plugins\plugin3\32plug3.exe
|
||||
button3_text_title=Plug-in3
|
||||
button3_text_body=descriptive text
|
||||
button3_offset=
|
||||
button3_netscape_required=TRUE
|
||||
|
||||
button4_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button4_cmdline=exe,..\..\plugins\plugin4\32plug4.exe
|
||||
button4_text_title=Plug-in4
|
||||
button4_text_body=descriptive text
|
||||
button4_offset=
|
||||
button4_netscape_required=TRUE
|
||||
|
||||
button5_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button5_cmdline=exe,..\..\plugins\plugin5\32plug5.exe
|
||||
button5_text_title=Plug-in5
|
||||
button5_text_body=descriptive text
|
||||
button5_offset=
|
||||
button5_netscape_required=TRUE
|
||||
|
||||
button6_bitmaps=..\bmps\16b_up.bmp,..\bmps\16b_dn.bmp,..\bmps\16b_mo.bmp,..\bmps\16b_mo.bmp
|
||||
button6_cmdline=exe,..\..\plugins\plugin6\32plug6.exe
|
||||
button6_text_title=Plug-in6
|
||||
button6_text_body=descriptive text
|
||||
button6_offset=
|
||||
button6_netscape_required=TRUE
|
||||
|
||||
;----------------------------------------------------------
|
||||
@@ -1,165 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
#include <windows.h>
|
||||
#include <ctype.h>
|
||||
//#include <globalheader.h>
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int width;
|
||||
int height;
|
||||
} DIMENSION;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char name[50];
|
||||
char value[50];
|
||||
char type[20];
|
||||
DIMENSION size;
|
||||
POINT location;
|
||||
char options[20];
|
||||
} widget;
|
||||
|
||||
widget ptr_ga[1000];
|
||||
|
||||
int isnum(char valuestring[50]);
|
||||
|
||||
int isnum(char valuestring[50])
|
||||
{
|
||||
//cout << "this is the value string " << valuestring << "\n";
|
||||
for (int i=0; i < (strlen(valuestring)); i++)
|
||||
{ if(!isdigit(valuestring[i]))
|
||||
{//cout << "this is the string char " <<valuestring[i] <<"\n";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *GetGlobal (char *fname);
|
||||
|
||||
char *GetGlobal (char *fname)
|
||||
{
|
||||
|
||||
|
||||
for (int i=0;i<1000;i++)
|
||||
{
|
||||
|
||||
if (strcmp (fname, ptr_ga[i].name) == 0)
|
||||
return (ptr_ga[i].value);
|
||||
|
||||
}
|
||||
|
||||
cout << ("error:variable not found \n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
int i = 0;
|
||||
|
||||
ifstream myin("test.dat");
|
||||
ifstream prefin("pref.dat");
|
||||
ofstream myout("out.js");
|
||||
|
||||
if(!myin) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
while (!myin.eof()) {
|
||||
myin >> ptr_ga[i].name >> ptr_ga[i].value ;
|
||||
// cout << ptr_ga[i].name <<","<< ptr_ga[i].value <<"\n";
|
||||
|
||||
i++;
|
||||
|
||||
}
|
||||
|
||||
myin.close();
|
||||
if(!myout) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (argc == 1)
|
||||
{
|
||||
|
||||
char prefer [7];
|
||||
char prefname[50];
|
||||
char pref1[5];
|
||||
char pref2[7];
|
||||
char bool1[5];
|
||||
char bool2[6];
|
||||
|
||||
if(!prefin) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
while (!prefin.eof()) {
|
||||
|
||||
prefin >> prefer >> prefname ;
|
||||
// cout <<"This is "<< prefer << " and " << prefname << "\n";
|
||||
i++;
|
||||
|
||||
|
||||
|
||||
strcpy(pref1, "pref");
|
||||
strcpy(pref2, "config");
|
||||
strcpy(bool1, "true");
|
||||
strcpy(bool2, "false");
|
||||
|
||||
if (strcmp(prefer,pref1) ==0)
|
||||
{
|
||||
// cout << "inside the def pref \n";
|
||||
if (GetGlobal(prefname)!= NULL)
|
||||
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2)== 0) || (isnum (GetGlobal(prefname))))
|
||||
{ //cout << "the current value is " <<GetGlobal(prefname)<<"\n";
|
||||
myout<< "defaultPref(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
|
||||
}
|
||||
else
|
||||
myout<< "defaultPref(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
|
||||
}
|
||||
else
|
||||
cout << prefname << " is not found \n";
|
||||
}
|
||||
|
||||
else if (strcmp(prefer,pref2) ==0)
|
||||
{
|
||||
// cout << "inside the config \n";
|
||||
|
||||
if (GetGlobal(prefname)!= NULL)
|
||||
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2) == 0) || (isnum (GetGlobal(prefname))))
|
||||
{//cout << "the value of isnum is " << isnum <<"\n";
|
||||
//cout << "the curretn value is "<<GetGlobal(prefname)<<"\n";
|
||||
myout<< "config(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
|
||||
}
|
||||
else
|
||||
myout<< "config(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
|
||||
}
|
||||
else
|
||||
cout << prefname << " is not found \n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
myout.close();
|
||||
prefin.close();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define MD5_WORD unsigned int
|
||||
|
||||
union {
|
||||
char bytes[4];
|
||||
MD5_WORD n;
|
||||
} u;
|
||||
|
||||
void main()
|
||||
{
|
||||
u.n=0x03020100;
|
||||
if (u.bytes[0] == 3)
|
||||
printf("#define MD5_BIG_ENDIAN\n");
|
||||
else if (u.bytes[0] == 0)
|
||||
printf("#define MD5_LITTLE_ENDIAN\n");
|
||||
else
|
||||
{
|
||||
printf("#error No endians!\n");
|
||||
exit(1);
|
||||
}
|
||||
exit (0);
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
#define IS_LITTLE_ENDIAN
|
||||
@@ -1,249 +0,0 @@
|
||||
|
||||
//#define MD 5
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
//#include "global.h"
|
||||
//#include "md5.h"
|
||||
//#include "md5c.c"
|
||||
//#include "nsMsgMD5.h"
|
||||
|
||||
|
||||
//#define MD5_LENGTH 16
|
||||
#define OBSCURE_CODE 7
|
||||
const void *nsMsgMD5Digest(const void *msg, unsigned int len);
|
||||
|
||||
static void MDString (unsigned char *, char *);
|
||||
//static void MDFile (unsigned char *, char *);
|
||||
static void MDPrint (char *, char *, unsigned char *, long);
|
||||
void obscure (const char *, char *, int);
|
||||
|
||||
//#define MD_CTX MD5_CTX
|
||||
//#define MDInit MD5Init
|
||||
//#define MDUpdate MD5Update
|
||||
//#define MDFinal MD5Final
|
||||
|
||||
// Main driver.
|
||||
|
||||
|
||||
|
||||
short bflag = 1; /* 1 == print sums in binary */
|
||||
|
||||
int main (argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
char outputfile[] = "netscape.cfg";
|
||||
unsigned char* digest;//[MD5_LENGTH];
|
||||
long f_size=0;
|
||||
int index=0;
|
||||
int num=0;
|
||||
char *file_buffer;
|
||||
char *hash_input;
|
||||
char final_buf[50];
|
||||
char final_hash[49];
|
||||
char *magic_key = "VonGloda5652TX75235ISBN";
|
||||
unsigned int key_len =(strlen (magic_key)+1);
|
||||
FILE *outp;
|
||||
FILE *input_file;
|
||||
unsigned int len_buffer;
|
||||
|
||||
printf ("before opening the file \n");
|
||||
|
||||
if ((input_file = fopen (argv[1], "rb")) == NULL){
|
||||
printf ("%s can't be opened for reading\n", argv[1]);
|
||||
} else { printf ("after opening the file \n");
|
||||
|
||||
fseek(input_file, 0,2);
|
||||
|
||||
f_size = ftell(input_file);
|
||||
|
||||
fseek (input_file,0,0);
|
||||
|
||||
file_buffer = (char *) malloc (f_size);
|
||||
hash_input = (char *) malloc (f_size +key_len);
|
||||
|
||||
fread (file_buffer,1,f_size,input_file);
|
||||
|
||||
file_buffer[f_size]=NULL;
|
||||
printf ("%s is the statement \n", magic_key);
|
||||
|
||||
strcpy (hash_input , file_buffer);
|
||||
printf ("%s is 2 hash input statement \n",hash_input);
|
||||
// printf ("%s\n",file_buffer);
|
||||
// strncat (hash_input,magic_key,key_len);
|
||||
// printf ("%s is 1 hash input statement \n",hash_input);
|
||||
// printf ("%d is the length \n", strlen(hash_input));
|
||||
hash_input[strlen(hash_input)]=NULL;
|
||||
|
||||
}
|
||||
if (argc > 1) {
|
||||
// MDFile (digest,argv[1]);
|
||||
// MDString (digest, file_buffer);
|
||||
digest = (unsigned char *)nsMsgMD5Digest(hash_input, strlen(hash_input));
|
||||
printf("%s is the digest \n", digest);
|
||||
for (index =0; index <16;++index)
|
||||
{
|
||||
strcpy(&(final_hash[3*index])," ");
|
||||
num=digest[index];
|
||||
// printf("the num is %d and the dig is %s\n", num,&(digest[index]));
|
||||
sprintf(&(final_hash[(3*index)+1]),"%0.2x",num);
|
||||
// printf ("inside the for %s and the index %d \n", &(final_hash[3*index]), index);
|
||||
}
|
||||
final_hash[48]=NULL;
|
||||
// printf("the hashed output is %s\n", final_hash);
|
||||
strncpy (final_buf, "//",2);
|
||||
final_buf[2]=NULL;
|
||||
// printf ("the final hex %0.2x \n", "b");
|
||||
strncat(final_buf,final_hash,48);
|
||||
// printf ("the final buf %s\n",final_buf);
|
||||
final_buf[50]=NULL;
|
||||
printf ("%s is the final buffer \n",final_buf);
|
||||
MDPrint (outputfile, file_buffer, final_buf,f_size);
|
||||
} else {
|
||||
|
||||
printf("Usage: md5 <file> \n");
|
||||
}
|
||||
//free(file_buffer);
|
||||
return (0);
|
||||
}
|
||||
|
||||
// To convert to Hex String
|
||||
/*void HexConvert(digest, final_hash)
|
||||
|
||||
|
||||
|
||||
{
|
||||
char *tuple;
|
||||
char *map ="000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff";
|
||||
char *output = final_hash;
|
||||
int index=0;
|
||||
for (index =0; index <16;++index)
|
||||
{
|
||||
char *tuple =map[digest[index]];
|
||||
*output++ = *tuple++;
|
||||
*output++ = *tuple++;
|
||||
}
|
||||
*output ='\0';
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
// Digests a file and prints the result.
|
||||
|
||||
/*static void MDFile (digest, filename)
|
||||
unsigned char *digest;
|
||||
char *filename;
|
||||
{
|
||||
FILE *file;
|
||||
MD_CTX context;
|
||||
int len;
|
||||
unsigned char buffer[1024];
|
||||
unsigned char magic_key[] = "VonGloda5652TX75235ISBN\0";
|
||||
unsigned int key_len =strlen (magic_key);
|
||||
if ((file = fopen (filename, "rb")) == NULL)
|
||||
printf ("%s can't be opened\n", filename);
|
||||
else {
|
||||
MDInit (&context);
|
||||
|
||||
MDUpdate (&context, magic_key, key_len);
|
||||
while (len = fread (buffer, 1, 1024, file))
|
||||
MDUpdate (&context, buffer, len);
|
||||
MDFinal (digest, &context);
|
||||
|
||||
fclose (file);
|
||||
}
|
||||
}
|
||||
*/
|
||||
// Digests a string and prints the result.
|
||||
/*
|
||||
static void MDString (digest, str)
|
||||
unsigned char *digest;
|
||||
char *str;
|
||||
{
|
||||
MD_CTX context;
|
||||
unsigned int len = strlen (str);
|
||||
unsigned char *magic_key = "VonGloda5652TX75235ISBN";
|
||||
unsigned int key_len =(strlen (magic_key)+1);
|
||||
MDInit (&context);
|
||||
MDUpdate (&context, magic_key, key_len);
|
||||
MDUpdate (&context, str, len);
|
||||
MDFinal (digest, &context);
|
||||
|
||||
}
|
||||
*/
|
||||
void obscure (input, obscured, len)
|
||||
const char *input;
|
||||
char *obscured;
|
||||
int len;
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < len; i++) {
|
||||
obscured[i] = (input[i] + OBSCURE_CODE) ;
|
||||
}
|
||||
obscured[len] = '\0';
|
||||
}
|
||||
|
||||
|
||||
/* Prints a message digest in hexadecimal or binary.
|
||||
*/
|
||||
static void MDPrint (outfile, file_buffer, final_buf, f_size)
|
||||
char *outfile;
|
||||
char *file_buffer;
|
||||
unsigned char *final_buf;
|
||||
//long file_size;
|
||||
{
|
||||
FILE *outp;
|
||||
int len;
|
||||
unsigned char buffer[1024];
|
||||
char obscured[2000];
|
||||
//printf("inside the mdprint \n");
|
||||
if ((outp = fopen (outfile, "wb")) == NULL) {
|
||||
printf ("%s can't be opened for writing\n", outfile);
|
||||
} else {
|
||||
if (bflag) {
|
||||
|
||||
// print in obscured digest
|
||||
obscure(final_buf, obscured, 50);
|
||||
printf ("finished first obscure\n");
|
||||
fprintf(outp, "%s", obscured);
|
||||
printf("%s is the 1 obscured \n",obscured);
|
||||
// print in obscured end of file
|
||||
obscure("\n", obscured, 1);
|
||||
fprintf(outp, "%s", obscured);
|
||||
printf("%s is the 2 obscured \n",obscured);
|
||||
|
||||
//print in obscured file
|
||||
obscure(file_buffer, obscured, f_size);
|
||||
fprintf(outp, "%s",obscured);
|
||||
// printf ("the digest length is %ld now \n",strlen(file_buffer));
|
||||
printf("%s is the 3 obscured \n",obscured);
|
||||
|
||||
} else {/*
|
||||
|
||||
// print in hex
|
||||
obscure(digest, obscured, MD5_LENGTH);
|
||||
fprintf(outp, "%s\n", obscured);
|
||||
// for (i = 0; i < MD5_LENGTH; i++) {
|
||||
// fprintf (outp, "%02x ", digest[i]);
|
||||
// }
|
||||
//
|
||||
|
||||
// print in obscured digest
|
||||
obscure("\n", obscured, 1);
|
||||
fprintf(outp, "%s\n", obscured);
|
||||
|
||||
while(len = fread (buffer, 1, 1024, inpp)) {
|
||||
obscure(buffer, obscured, 1024);
|
||||
fprintf(outp, "%s", obscured);
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
fclose (outp);
|
||||
// fclose (inpp);
|
||||
}
|
||||
}
|
||||
@@ -1,197 +0,0 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <iostream.h>
|
||||
#include <fstream.h>
|
||||
#include <windows.h>
|
||||
#include <ctype.h>
|
||||
//#include <globalheader.h>
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int width;
|
||||
int height;
|
||||
} DIMENSION;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char name[50];
|
||||
char value[50];
|
||||
char type[20];
|
||||
DIMENSION size;
|
||||
POINT location;
|
||||
char options[20];
|
||||
} widget;
|
||||
|
||||
widget ptr_ga[1000];
|
||||
|
||||
int isnum(char valuestring[50]);
|
||||
|
||||
int isnum(char valuestring[50])
|
||||
{
|
||||
//cout << "this is the value string " << valuestring << "\n";
|
||||
for (int i=0; i < (strlen(valuestring)); i++)
|
||||
{ if(!isdigit(valuestring[i]))
|
||||
{//cout << "this is the string char " <<valuestring[i] <<"\n";
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
char *GetGlobal (char *fname);
|
||||
|
||||
char *GetGlobal (char *fname)
|
||||
{
|
||||
|
||||
|
||||
for (int i=0;i<1000;i++)
|
||||
{
|
||||
|
||||
if (strcmp (fname, ptr_ga[i].name) == 0)
|
||||
return (ptr_ga[i].value);
|
||||
|
||||
}
|
||||
|
||||
cout << ("error:variable not found \n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
ifstream myin("test.dat");
|
||||
ifstream prefin("pref.dat");
|
||||
ifstream addition("addition.js");
|
||||
ofstream myout("out.js");
|
||||
|
||||
if(!myin) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
while (!myin.eof()) {
|
||||
myin >> ptr_ga[i].name >> ptr_ga[i].value ;
|
||||
// cout << ptr_ga[i].name <<","<< ptr_ga[i].value <<"\n";
|
||||
|
||||
i++;
|
||||
|
||||
}
|
||||
|
||||
myin.close();
|
||||
if(!myout) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (argc == 1)
|
||||
{
|
||||
|
||||
char prefer [7];
|
||||
char prefname[50];
|
||||
char pref1[5];
|
||||
char pref2[7];
|
||||
char bool1[5];
|
||||
char bool2[6];
|
||||
|
||||
if(!prefin) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
while (!prefin.eof()) {
|
||||
|
||||
prefin >> prefer >> prefname ;
|
||||
// cout <<"This is "<< prefer << "and " << prefname << "\n";
|
||||
i++;
|
||||
|
||||
|
||||
|
||||
strcpy(pref1, "pref");
|
||||
strcpy(pref2, "config");
|
||||
strcpy(bool1, "true");
|
||||
strcpy(bool2, "false");
|
||||
|
||||
if (strcmp(prefer,pref1) ==0)
|
||||
{
|
||||
// cout << "inside the def pref \n";
|
||||
if (GetGlobal(prefname)!= NULL)
|
||||
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2)== 0) || (isnum (GetGlobal(prefname))))
|
||||
{ //cout << "the current value is " <<GetGlobal(prefname)<<"\n";
|
||||
myout<< "defaultPref(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
|
||||
}
|
||||
else
|
||||
myout<< "defaultPref(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
|
||||
}
|
||||
else
|
||||
cout << prefname << " is not found\n";
|
||||
}
|
||||
|
||||
else if (strcmp(prefer,pref2) ==0)
|
||||
{
|
||||
// cout << "inside the config \n";
|
||||
|
||||
if (GetGlobal(prefname)!= NULL)
|
||||
{ if (( strcmp (GetGlobal(prefname), bool1) == 0)|| ( strcmp (GetGlobal(prefname), bool2) == 0) || (isnum (GetGlobal(prefname))))
|
||||
{//cout << "the value of isnum is " << isnum <<"\n";
|
||||
//cout << "the curretn value is "<<GetGlobal(prefname)<<"\n";
|
||||
myout<< "config(\"" << prefname << "\", " <<GetGlobal(prefname) <<");\n";
|
||||
}
|
||||
else
|
||||
myout<< "config(\"" << prefname << "\", \"" <<GetGlobal(prefname) <<"\");\n";
|
||||
}
|
||||
else
|
||||
cout << prefname << " is not found\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(!addition) {
|
||||
cout << "cannot open the file \n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
while (!addition.eof()) {
|
||||
|
||||
char jsprefname[150];
|
||||
|
||||
addition.getline(jsprefname,150);
|
||||
char *quote_ptr1;
|
||||
char *quote_ptr2;
|
||||
quote_ptr1 = strchr(jsprefname, '"');
|
||||
quote_ptr2 = strchr((quote_ptr1+1), '"');
|
||||
char jspref[100];
|
||||
strncpy(jspref, (quote_ptr1 +1),(quote_ptr2-quote_ptr1-1));
|
||||
jspref[(quote_ptr2-quote_ptr1-1)] = NULL;
|
||||
// printf("%s \n", jsprefname);
|
||||
// printf("%s \n", jspref);
|
||||
// printf("%s \n", (quote_ptr1 +1));
|
||||
// printf("%s \n", (quote_ptr2 +1));
|
||||
if (GetGlobal(jspref)!= NULL)
|
||||
//cout << "The preference \"" << jspref << "\" already exists.\n";
|
||||
{ printf("the preference ");
|
||||
printf("%s", jspref);
|
||||
printf("already exists.\n");}
|
||||
myout << jsprefname <<"\n";
|
||||
}
|
||||
myout.close();
|
||||
addition.close();
|
||||
return 1;
|
||||
}
|
||||
@@ -1,260 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
/*
|
||||
* MD5 digest implementation
|
||||
*
|
||||
* contributed by mrsam@geocities.com
|
||||
*
|
||||
*/
|
||||
|
||||
/* for endian-ness */
|
||||
//#include "prtypes.h"
|
||||
#include "string.h"
|
||||
//#include "nsMsgMD5.h"
|
||||
|
||||
#define MD5_BYTE unsigned char
|
||||
#define MD5_WORD unsigned int
|
||||
extern "C" const void *nsMsgMD5Digest(const void *msg, unsigned int len);
|
||||
|
||||
typedef union md5_endian {
|
||||
//#ifdef IS_LITTLE_ENDIAN
|
||||
MD5_WORD m_word;
|
||||
struct {
|
||||
MD5_BYTE m_0, m_1, m_2, m_3;
|
||||
} m_bytes;
|
||||
//#endif
|
||||
/*#ifdef IS_BIG_ENDIAN
|
||||
MD5_WORD m_word;
|
||||
struct {
|
||||
MD5_BYTE m_3, m_2, m_1, m_0;
|
||||
} m_bytes;
|
||||
#endif
|
||||
*/ } ;
|
||||
|
||||
static const MD5_BYTE *m_msg;
|
||||
static MD5_WORD m_msglen;
|
||||
static MD5_WORD m_msgpaddedlen;
|
||||
static MD5_BYTE m_pad[72];
|
||||
static MD5_BYTE m_digest[16];
|
||||
|
||||
#define MD5_MSGBYTE(n) ((MD5_BYTE)((n) < m_msglen?m_msg[n]:m_pad[n-m_msglen]))
|
||||
|
||||
inline void MD5_MSGWORD(MD5_WORD &n, MD5_WORD i)
|
||||
{
|
||||
union md5_endian e;
|
||||
|
||||
i *= 4;
|
||||
e.m_bytes.m_0=MD5_MSGBYTE(i); ++i;
|
||||
e.m_bytes.m_1=MD5_MSGBYTE(i); ++i;
|
||||
e.m_bytes.m_2=MD5_MSGBYTE(i); ++i;
|
||||
e.m_bytes.m_3=MD5_MSGBYTE(i);
|
||||
n=e.m_word;
|
||||
}
|
||||
|
||||
inline MD5_WORD MD5_ROL(MD5_WORD w, int n)
|
||||
{
|
||||
return ( w << n | ( (w) >> (32-n) ) );
|
||||
}
|
||||
|
||||
static MD5_WORD T[64]={
|
||||
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee,
|
||||
0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
|
||||
0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,
|
||||
0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821,
|
||||
0xf61e2562, 0xc040b340, 0x265e5a51, 0xe9b6c7aa,
|
||||
0xd62f105d, 0x2441453, 0xd8a1e681, 0xe7d3fbc8,
|
||||
0x21e1cde6, 0xc33707d6, 0xf4d50d87, 0x455a14ed,
|
||||
0xa9e3e905, 0xfcefa3f8, 0x676f02d9, 0x8d2a4c8a,
|
||||
0xfffa3942, 0x8771f681, 0x6d9d6122, 0xfde5380c,
|
||||
0xa4beea44, 0x4bdecfa9, 0xf6bb4b60, 0xbebfbc70,
|
||||
0x289b7ec6, 0xeaa127fa, 0xd4ef3085, 0x4881d05,
|
||||
0xd9d4d039, 0xe6db99e5, 0x1fa27cf8, 0xc4ac5665,
|
||||
0xf4292244, 0x432aff97, 0xab9423a7, 0xfc93a039,
|
||||
0x655b59c3, 0x8f0ccc92, 0xffeff47d, 0x85845dd1,
|
||||
0x6fa87e4f, 0xfe2ce6e0, 0xa3014314, 0x4e0811a1,
|
||||
0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391};
|
||||
|
||||
const void *nsMsgMD5Digest(const void *msg, unsigned int len)
|
||||
{
|
||||
MD5_WORD i,j;
|
||||
union md5_endian e;
|
||||
MD5_WORD hilen, lolen;
|
||||
MD5_BYTE padlen[8];
|
||||
|
||||
m_msg=(const MD5_BYTE *)msg;
|
||||
m_msglen=len;
|
||||
m_msgpaddedlen = len+72;
|
||||
m_msgpaddedlen &= ~63;
|
||||
for (i=0; i<72; i++) m_pad[i]=0;
|
||||
m_pad[0]=0x80;
|
||||
|
||||
lolen=len << 3;
|
||||
hilen=len >> 29;
|
||||
|
||||
e.m_word=lolen;
|
||||
padlen[0]=e.m_bytes.m_0;
|
||||
padlen[1]=e.m_bytes.m_1;
|
||||
padlen[2]=e.m_bytes.m_2;
|
||||
padlen[3]=e.m_bytes.m_3;
|
||||
e.m_word=hilen;
|
||||
padlen[4]=e.m_bytes.m_0;
|
||||
padlen[5]=e.m_bytes.m_1;
|
||||
padlen[6]=e.m_bytes.m_2;
|
||||
padlen[7]=e.m_bytes.m_3;
|
||||
|
||||
memcpy( &m_pad[m_msgpaddedlen - m_msglen - 8], padlen, 8);
|
||||
|
||||
MD5_WORD A=0x67452301;
|
||||
MD5_WORD B=0xefcdab89;
|
||||
MD5_WORD C=0x98badcfe;
|
||||
MD5_WORD D=0x10325476;
|
||||
|
||||
#define F(X,Y,Z) ( ((X) & (Y)) | ( (~(X)) & (Z)))
|
||||
#define G(X,Y,Z) ( ((X) & (Z)) | ( (Y) & (~(Z))))
|
||||
#define H(X,Y,Z) ( (X) ^ (Y) ^ (Z) )
|
||||
#define I(X,Y,Z) ( (Y) ^ ( (X) | (~(Z))))
|
||||
|
||||
MD5_WORD nwords= m_msgpaddedlen / 4, k=0;
|
||||
MD5_WORD x[16];
|
||||
|
||||
for (i=0; i<nwords; i += 16)
|
||||
{
|
||||
for (j=0; j<16; j++)
|
||||
{
|
||||
MD5_MSGWORD(x[j],k);
|
||||
++k;
|
||||
}
|
||||
|
||||
MD5_WORD AA=A, BB=B, CC=C, DD=D;
|
||||
|
||||
#define ROUND1(a,b,c,d,k,s,i) \
|
||||
a = b + MD5_ROL((a + F(b,c,d) + x[k] + T[i]),s)
|
||||
|
||||
ROUND1(A,B,C,D,0,7,0);
|
||||
ROUND1(D,A,B,C,1,12,1);
|
||||
ROUND1(C,D,A,B,2,17,2);
|
||||
ROUND1(B,C,D,A,3,22,3);
|
||||
ROUND1(A,B,C,D,4,7,4);
|
||||
ROUND1(D,A,B,C,5,12,5);
|
||||
ROUND1(C,D,A,B,6,17,6);
|
||||
ROUND1(B,C,D,A,7,22,7);
|
||||
ROUND1(A,B,C,D,8,7,8);
|
||||
ROUND1(D,A,B,C,9,12,9);
|
||||
ROUND1(C,D,A,B,10,17,10);
|
||||
ROUND1(B,C,D,A,11,22,11);
|
||||
ROUND1(A,B,C,D,12,7,12);
|
||||
ROUND1(D,A,B,C,13,12,13);
|
||||
ROUND1(C,D,A,B,14,17,14);
|
||||
ROUND1(B,C,D,A,15,22,15);
|
||||
|
||||
#define ROUND2(a,b,c,d,k,s,i) \
|
||||
a = b + MD5_ROL((a + G(b,c,d) + x[k] + T[i]),s)
|
||||
|
||||
ROUND2(A,B,C,D,1,5,16);
|
||||
ROUND2(D,A,B,C,6,9,17);
|
||||
ROUND2(C,D,A,B,11,14,18);
|
||||
ROUND2(B,C,D,A,0,20,19);
|
||||
ROUND2(A,B,C,D,5,5,20);
|
||||
ROUND2(D,A,B,C,10,9,21);
|
||||
ROUND2(C,D,A,B,15,14,22);
|
||||
ROUND2(B,C,D,A,4,20,23);
|
||||
ROUND2(A,B,C,D,9,5,24);
|
||||
ROUND2(D,A,B,C,14,9,25);
|
||||
ROUND2(C,D,A,B,3,14,26);
|
||||
ROUND2(B,C,D,A,8,20,27);
|
||||
ROUND2(A,B,C,D,13,5,28);
|
||||
ROUND2(D,A,B,C,2,9,29);
|
||||
ROUND2(C,D,A,B,7,14,30);
|
||||
ROUND2(B,C,D,A,12,20,31);
|
||||
|
||||
#define ROUND3(a,b,c,d,k,s,i) \
|
||||
a = b + MD5_ROL((a + H(b,c,d) + x[k] + T[i]),s)
|
||||
|
||||
ROUND3(A,B,C,D,5,4,32);
|
||||
ROUND3(D,A,B,C,8,11,33);
|
||||
ROUND3(C,D,A,B,11,16,34);
|
||||
ROUND3(B,C,D,A,14,23,35);
|
||||
ROUND3(A,B,C,D,1,4,36);
|
||||
ROUND3(D,A,B,C,4,11,37);
|
||||
ROUND3(C,D,A,B,7,16,38);
|
||||
ROUND3(B,C,D,A,10,23,39);
|
||||
ROUND3(A,B,C,D,13,4,40);
|
||||
ROUND3(D,A,B,C,0,11,41);
|
||||
ROUND3(C,D,A,B,3,16,42);
|
||||
ROUND3(B,C,D,A,6,23,43);
|
||||
ROUND3(A,B,C,D,9,4,44);
|
||||
ROUND3(D,A,B,C,12,11,45);
|
||||
ROUND3(C,D,A,B,15,16,46);
|
||||
ROUND3(B,C,D,A,2,23,47);
|
||||
|
||||
#define ROUND4(a,b,c,d,k,s,i) \
|
||||
a = b + MD5_ROL((a + I(b,c,d) + x[k] + T[i]),s)
|
||||
|
||||
ROUND4(A,B,C,D,0,6,48);
|
||||
ROUND4(D,A,B,C,7,10,49);
|
||||
ROUND4(C,D,A,B,14,15,50);
|
||||
ROUND4(B,C,D,A,5,21,51);
|
||||
ROUND4(A,B,C,D,12,6,52);
|
||||
ROUND4(D,A,B,C,3,10,53);
|
||||
ROUND4(C,D,A,B,10,15,54);
|
||||
ROUND4(B,C,D,A,1,21,55);
|
||||
ROUND4(A,B,C,D,8,6,56);
|
||||
ROUND4(D,A,B,C,15,10,57);
|
||||
ROUND4(C,D,A,B,6,15,58);
|
||||
ROUND4(B,C,D,A,13,21,59);
|
||||
ROUND4(A,B,C,D,4,6,60);
|
||||
ROUND4(D,A,B,C,11,10,61);
|
||||
ROUND4(C,D,A,B,2,15,62);
|
||||
ROUND4(B,C,D,A,9,21,63);
|
||||
|
||||
A += AA;
|
||||
B += BB;
|
||||
C += CC;
|
||||
D += DD;
|
||||
}
|
||||
|
||||
union md5_endian ea, eb, ec, ed;
|
||||
|
||||
ea.m_word=A;
|
||||
eb.m_word=B;
|
||||
ec.m_word=C;
|
||||
ed.m_word=D;
|
||||
|
||||
m_digest[0]=ea.m_bytes.m_0;
|
||||
m_digest[1]=ea.m_bytes.m_1;
|
||||
m_digest[2]=ea.m_bytes.m_2;
|
||||
m_digest[3]=ea.m_bytes.m_3;
|
||||
m_digest[4]=eb.m_bytes.m_0;
|
||||
m_digest[5]=eb.m_bytes.m_1;
|
||||
m_digest[6]=eb.m_bytes.m_2;
|
||||
m_digest[7]=eb.m_bytes.m_3;
|
||||
m_digest[8]=ec.m_bytes.m_0;
|
||||
m_digest[9]=ec.m_bytes.m_1;
|
||||
m_digest[10]=ec.m_bytes.m_2;
|
||||
m_digest[11]=ec.m_bytes.m_3;
|
||||
m_digest[12]=ed.m_bytes.m_0;
|
||||
m_digest[13]=ed.m_bytes.m_1;
|
||||
m_digest[14]=ed.m_bytes.m_2;
|
||||
m_digest[15]=ed.m_bytes.m_3;
|
||||
return (m_digest);
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
/*
|
||||
* MD5 digest implementation
|
||||
*
|
||||
* contributed by sam@email-scan.webcircle.com
|
||||
*/
|
||||
|
||||
//#ifndef __nsMsgMD5_h
|
||||
//#define __nsMsgMD5_h
|
||||
|
||||
//#include "nscore.h"
|
||||
|
||||
//NS_BEGIN_EXTERN_C
|
||||
//
|
||||
// RFC 1321 MD5 Message digest calculation.
|
||||
//
|
||||
// Returns a pointer to a sixteen-byte message digest.
|
||||
//
|
||||
|
||||
const void *nsMsgMD5Digest(const void *msg, unsigned int len);
|
||||
|
||||
//NS_END_EXTERN_C
|
||||
|
||||
//#endif
|
||||
@@ -1,58 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Dial-In Configuration]
|
||||
SiteName=<Your Site Name>
|
||||
Description=<Description>
|
||||
Phone=<Phone number to dial>
|
||||
SupportPhone=<Support number in TAPI format>
|
||||
|
||||
[Services]
|
||||
SMTP_Server=
|
||||
POP_Server=
|
||||
IMAP_Server=
|
||||
Default_Mail_Protocol=
|
||||
NNTP_Server=
|
||||
LDAP_Server=
|
||||
|
||||
[IP]
|
||||
IPAddress=
|
||||
DomainName=
|
||||
DNSAddress=
|
||||
DNSAddress2=
|
||||
|
||||
[Proxy Settings]
|
||||
ProxyEnabled=<Yes/No>
|
||||
AutomaticProxyURL=
|
||||
FTPProxy=
|
||||
FTPProxyPort=
|
||||
GopherProxy=
|
||||
GopherProxyPort=
|
||||
HTTPProxy=
|
||||
HTTPProxyPort=
|
||||
SecurityProxy=
|
||||
SecurityProxyPort=
|
||||
WAISProxy=
|
||||
WAISProxyPort=
|
||||
SOCKSHost=
|
||||
SOCKSHostPort=
|
||||
DirectAccessURLs=
|
||||
|
Before Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 367 KiB |
|
Before Width: | Height: | Size: 139 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 137 KiB |
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* The contents of this directory are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use the files in this directory
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
include <$(DEPTH)\cck\InitDist.win>
|
||||
|
||||
export::
|
||||
$(MAKE_INSTALL) *.bmp $(CCKDIST)\CCKTool\BitMaps
|
||||
|
Before Width: | Height: | Size: 334 KiB |
|
Before Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 278 KiB |
@@ -1,35 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=Branding
|
||||
Title=Branding Cutomizations
|
||||
Caption=1st level node
|
||||
Help=Online;http://www.mozilla.org/projects/cck/
|
||||
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
Help=Branding.txt
|
||||
|
||||
[Sub Pages]
|
||||
Branding_page2=show
|
||||
@@ -1,234 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
|
||||
[Local Variables]
|
||||
Name=Branding_page1
|
||||
Title=<%CustomizationList%> - Customize the %DefaultName% Browser - Part One
|
||||
Caption=2nd level node
|
||||
;Help=Online;http://www.mozilla.org/projects/cck/
|
||||
Help=Online;%Root%CCKHelp\brandingpage1.html
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
Help=Branding1_Help.ini
|
||||
|
||||
|
||||
[Image 1]
|
||||
Type=Image
|
||||
Name=banner3.bmp
|
||||
Value=
|
||||
Start_x=0
|
||||
Start_y=0
|
||||
Width=425
|
||||
Height=56
|
||||
|
||||
[Widget 4]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox7
|
||||
Value=Animated Logo
|
||||
Start_x=0
|
||||
Start_y=32
|
||||
Width=407
|
||||
Height=115
|
||||
|
||||
[Widget 563]
|
||||
Type=Text
|
||||
Name=Text563
|
||||
Value=Logo Button URL:
|
||||
Start_x=11
|
||||
Start_y=60
|
||||
Width=65
|
||||
Height=11
|
||||
|
||||
|
||||
[Widget 554]
|
||||
Type=Text
|
||||
Name=Text542
|
||||
Value=Enter the URL that users will go to when they click the animated logo button.
|
||||
Start_x=11
|
||||
Start_y=45
|
||||
Width=250
|
||||
Height=10
|
||||
|
||||
|
||||
[Widget 6]
|
||||
Type=EditBox
|
||||
Name=AnimatedLogoURL
|
||||
Value=
|
||||
Start_x=80
|
||||
Start_y=57
|
||||
Width=230
|
||||
Height=15
|
||||
|
||||
[Widget 7]
|
||||
Type=DynamicText
|
||||
Name=LargeAnimPath
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=93
|
||||
Width=200
|
||||
Height=15
|
||||
|
||||
[Widget 972]
|
||||
Type=DynamicText
|
||||
Name=LargeStillPath
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=125
|
||||
Width=200
|
||||
Height=15
|
||||
|
||||
[Widget 845]
|
||||
Type=Button
|
||||
Name=Button1975
|
||||
Value=View File
|
||||
Start_x=300
|
||||
Start_y=93
|
||||
Width=40
|
||||
Height=14
|
||||
onCommand=OpenURL(%LargeAnimPath%)
|
||||
|
||||
[Widget 970]
|
||||
Type=Button
|
||||
Name=Button1279
|
||||
Value=Choose File...
|
||||
Start_x=346
|
||||
Start_y=93
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=BrowseFile()
|
||||
Target=LargeAnimPath
|
||||
|
||||
[Widget 19]
|
||||
Type=Button
|
||||
Name=Button122
|
||||
Value=Show Example
|
||||
Start_x=336
|
||||
Start_y=57
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(button.ini)
|
||||
|
||||
[Widget 12]
|
||||
Type=Text
|
||||
Name=Text54
|
||||
Value=Path to Your Animated GIF File (32 x 32 pixels):
|
||||
Start_x=11
|
||||
Start_y=80
|
||||
Width=160
|
||||
Height=12
|
||||
|
||||
[Widget 971]
|
||||
Type=Text
|
||||
Name=Text536
|
||||
Value=Path to Your At Rest GIF File (32 x 32 pixels):
|
||||
Start_x=11
|
||||
Start_y=112
|
||||
Width=160
|
||||
Height=12
|
||||
|
||||
[Widget 892]
|
||||
Type=Button
|
||||
Name=Button198
|
||||
Value=View File
|
||||
Start_x=300
|
||||
Start_y=125
|
||||
Width=40
|
||||
Height=14
|
||||
onCommand=OpenURL(%LargeStillPath%)
|
||||
|
||||
|
||||
[Widget 973]
|
||||
Type=Button
|
||||
Name=Button1239
|
||||
Value=Choose File...
|
||||
Start_x=346
|
||||
Start_y=125
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=BrowseFile()
|
||||
Target=LargeStillPath
|
||||
|
||||
[Widget 5]
|
||||
Type=Text
|
||||
Name=Text81
|
||||
Value=You can add an item to the Help Menu which provides a link to your online customer support page.
|
||||
Start_x=11
|
||||
Start_y=164
|
||||
Width=350
|
||||
Height=9
|
||||
|
||||
[Widget 796]
|
||||
Type=Text
|
||||
Name=Text825
|
||||
Value=Menu Item Text:
|
||||
Start_x=11
|
||||
Start_y=175
|
||||
Width=199
|
||||
Height=10
|
||||
|
||||
[Widget 638]
|
||||
Type=EditBox
|
||||
Name=HelpMenuCommandName
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=185
|
||||
Width=258
|
||||
Height=14
|
||||
|
||||
[Widget 20]
|
||||
Type=Button
|
||||
Name=Button119
|
||||
Value=Show Example
|
||||
Start_x=336
|
||||
Start_y=212
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(help.ini)
|
||||
|
||||
[Widget 317]
|
||||
Type=Text
|
||||
Name=Text82
|
||||
Value=Help Menu Item URL:
|
||||
Start_x=11
|
||||
Start_y=201
|
||||
Width=199
|
||||
Height=10
|
||||
|
||||
[Widget 8]
|
||||
Type=EditBox
|
||||
Name=HelpMenuCommandURL
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=211
|
||||
Width=257
|
||||
Height=14
|
||||
|
||||
[Widget 9]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox13
|
||||
Value=Help Menu
|
||||
Start_x=0
|
||||
Start_y=153
|
||||
Width=407
|
||||
Height=79
|
||||
@@ -1,253 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=Branding_page2
|
||||
Title=<%CustomizationList%> - Customize the CD Autorun Screen
|
||||
Caption=2nd level node
|
||||
;Help=Online;http://www.mozilla.org/projects/cck/
|
||||
Help=Online;%Root%CCKHelp\brandingpage2.html
|
||||
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
onEnter=VerifyVal(%CD image%,0)
|
||||
Help=Branding2_help.ini
|
||||
|
||||
[Image 1]
|
||||
Type=Image
|
||||
Name=banner7.bmp
|
||||
Value=
|
||||
Start_x=0
|
||||
Start_y=0
|
||||
Width=425
|
||||
Height=56
|
||||
|
||||
|
||||
[Widget 1]
|
||||
Type=GlobalText
|
||||
Name=Text59
|
||||
Value=The CD Autorun screen appears when the user inserts a %DefaultName% CD into their computer's CD-ROM drive. You can customize the background bitmap image that appears on the CD Autorun screen, as well as the text and installation instructions.
|
||||
Start_x=0
|
||||
Start_y=32
|
||||
Width=400
|
||||
Height=30
|
||||
|
||||
|
||||
[Widget 2]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox8
|
||||
Value=Title Bar Text
|
||||
Start_x=0
|
||||
Start_y=106
|
||||
Width=407
|
||||
Height=77
|
||||
|
||||
|
||||
|
||||
[Widget 5]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox9
|
||||
Value=Background Bitmap
|
||||
Start_x=0
|
||||
Start_y=54
|
||||
Width=407
|
||||
Height=50
|
||||
|
||||
[Widget 10]
|
||||
Type=GlobalText
|
||||
Name=Text6512
|
||||
Value=The size of your bitmap (.BMP format) image determines the size of the CD Autorun screen. %DefaultName% recommends a bitmap size of 640 x 480 pixels. Path to your bitmap image:
|
||||
Start_x=11
|
||||
Start_y=65
|
||||
Width=380
|
||||
Height=20
|
||||
|
||||
[Widget 6]
|
||||
Type=DynamicText
|
||||
Name=ShellBgBitmap
|
||||
Value=
|
||||
Start_x=12
|
||||
Start_y=86
|
||||
Width=200
|
||||
Height=14
|
||||
|
||||
[Widget 7]
|
||||
Type=Button
|
||||
Name=Button13
|
||||
Value=Choose File...
|
||||
Start_x=285
|
||||
Start_y=83
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=BrowseFile()
|
||||
Target=ShellBgBitmap
|
||||
|
||||
[Widget 768]
|
||||
Type=Button
|
||||
Name=Button1353
|
||||
Value=View File
|
||||
Start_x=240
|
||||
Start_y=83
|
||||
Width=40
|
||||
Height=14
|
||||
onCommand=OpenViewer(%ShellBgBitmap%)
|
||||
|
||||
[Widget 21]
|
||||
Type=Button
|
||||
Name=Button127
|
||||
Value=Show Example
|
||||
Start_x=340
|
||||
Start_y=83
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(shell1.ini)
|
||||
|
||||
[Widget 3]
|
||||
Type=GlobalText
|
||||
Name=Text60
|
||||
Value=Enter the text (for example, your company name) that you want to appear after the string "%DefaultName% by" in the title bar.
|
||||
Start_x=11
|
||||
Start_y=118
|
||||
Width=380
|
||||
Height=15
|
||||
|
||||
[Widget 8962]
|
||||
Type=GlobalText
|
||||
Name=Text6148
|
||||
Value=%DefaultName% by
|
||||
Start_x=11
|
||||
Start_y=133
|
||||
Width=45
|
||||
Height=10
|
||||
|
||||
[Widget 4]
|
||||
Type=EditBox
|
||||
Name=ShellTitleText
|
||||
Value=
|
||||
Start_x=57
|
||||
Start_y=131
|
||||
Width=228
|
||||
Height=14
|
||||
|
||||
[Widget 23]
|
||||
Type=Button
|
||||
Name=Button123
|
||||
Value=Show Example
|
||||
Start_x=340
|
||||
Start_y=160
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(shell2.ini)
|
||||
|
||||
|
||||
[Widget 8]
|
||||
Type=Text
|
||||
Name=Text61
|
||||
Value=Display This Text Below the Title Bar:
|
||||
Start_x=11
|
||||
Start_y=149
|
||||
Width=210
|
||||
Height=10
|
||||
|
||||
|
||||
[Widget 9]
|
||||
Type=EditBox
|
||||
Name=ShellBelowTitleText
|
||||
Value=
|
||||
Start_x=12
|
||||
Start_y=160
|
||||
Width=272
|
||||
Height=14
|
||||
|
||||
|
||||
[Widget 12]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox10
|
||||
Value=Custom Installation Text File
|
||||
Start_x=0
|
||||
Start_y=187
|
||||
Width=407
|
||||
Height=59
|
||||
|
||||
|
||||
[Widget 13]
|
||||
Type=Text
|
||||
Name=Text6064
|
||||
Value=When the user clicks the Installation Guide button, your customized installation instructions will appear.
|
||||
Start_x=11
|
||||
Start_y=200
|
||||
Width=386
|
||||
Height=16
|
||||
|
||||
|
||||
[Widget 14]
|
||||
Type=Text
|
||||
Name=Text65
|
||||
Value=Path to Installation Text File (install.txt):
|
||||
Start_x=12
|
||||
Start_y=212
|
||||
Width=148
|
||||
Height=12
|
||||
|
||||
|
||||
[Widget 15]
|
||||
Type=DynamicText
|
||||
Name=ShellInstallTextFile
|
||||
Value=
|
||||
Start_x=12
|
||||
Start_y=223
|
||||
Width=200
|
||||
Height=14
|
||||
|
||||
[Widget 728]
|
||||
Type=Button
|
||||
Name=Button1383
|
||||
Value=View File
|
||||
Start_x=240
|
||||
Start_y=223
|
||||
Width=40
|
||||
Height=14
|
||||
onCommand=command(%NCIFileEditor% "%ShellInstallTextFile%")
|
||||
[Widget 16]
|
||||
Type=Button
|
||||
Name=Button14
|
||||
Value=Choose File...
|
||||
Start_x=285
|
||||
Start_y=223
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=BrowseFile()
|
||||
Target=ShellInstallTextFile
|
||||
|
||||
[Widget 22]
|
||||
Type=Button
|
||||
Name=Button125
|
||||
Value=Show Example
|
||||
Start_x=340
|
||||
Start_y=223
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(shell4.ini)
|
||||
|
||||
|
||||
|
||||
@@ -1,218 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=Branding_page3
|
||||
Title=<%CustomizationList%> - Customize Internet Setup - Part Two
|
||||
Caption=1st level node
|
||||
Help=Online;http://www.mozilla.org/projects/cck/
|
||||
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
Help=Branding3_help.ini
|
||||
|
||||
[Image 1]
|
||||
Type=Image
|
||||
Name=banner8.bmp
|
||||
Value=
|
||||
Start_x=0
|
||||
Start_y=0
|
||||
Width=425
|
||||
Height=56
|
||||
|
||||
[Widget 1931]
|
||||
Type=Text
|
||||
Name=Text7053
|
||||
Value=Internet Setup lets users easily create new Internet accounts or set up Netscape to connect to an existing account.
|
||||
Start_x=0
|
||||
Start_y=32
|
||||
Width=400
|
||||
Height=15
|
||||
|
||||
|
||||
|
||||
[Widget 1]
|
||||
Type=Text
|
||||
Name=Text70
|
||||
Value=Internet Setup will display your logo graphic.
|
||||
Start_x=11
|
||||
Start_y=58
|
||||
Width=360
|
||||
Height=13
|
||||
|
||||
|
||||
[Widget 2]
|
||||
Type=DynamicText
|
||||
Name=IntSetupBgBitmap
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=86
|
||||
Width=200
|
||||
Height=15
|
||||
|
||||
[Widget 362]
|
||||
Type=Button
|
||||
Name=Button169
|
||||
Value=View File...
|
||||
Start_x=231
|
||||
Start_y=86
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=OpenViewer(%IntSetupBgBitmap%)
|
||||
|
||||
[Widget 3]
|
||||
Type=Button
|
||||
Name=Button16
|
||||
Value=Choose File...
|
||||
Start_x=285
|
||||
Start_y=86
|
||||
Width=50
|
||||
Height=14
|
||||
onCommand=BrowseFile()
|
||||
Target=IntSetupBgBitmap
|
||||
|
||||
[Widget 15]
|
||||
Type=Button
|
||||
Name=Button128
|
||||
Value=Show Example
|
||||
Start_x=339
|
||||
Start_y=86
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(accnt1.ini)
|
||||
|
||||
|
||||
[Widget 4]
|
||||
Type=Text
|
||||
Name=Text71
|
||||
Value=Internet Setup will display your company name.
|
||||
Start_x=11
|
||||
Start_y=128
|
||||
Width=266
|
||||
Height=12
|
||||
|
||||
[Widget 4917]
|
||||
Type=Text
|
||||
Name=Text7194
|
||||
Value=Enter Your Company Name:
|
||||
Start_x=11
|
||||
Start_y=141
|
||||
Width=266
|
||||
Height=12
|
||||
|
||||
|
||||
|
||||
[Widget 5]
|
||||
Type=EditBox
|
||||
Name=Company_Name
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=152
|
||||
Width=245
|
||||
Height=15
|
||||
|
||||
[Widget 16]
|
||||
Type=Button
|
||||
Name=Button129
|
||||
Value=Show Example
|
||||
Start_x=339
|
||||
Start_y=152
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(accnt3.ini)
|
||||
|
||||
[Widget 689]
|
||||
Type=Text
|
||||
Name=Text721
|
||||
Value=Path to Logo Graphic (.gif) file (pixel dimensions):
|
||||
Start_x=11
|
||||
Start_y=71
|
||||
Width=366
|
||||
Height=10
|
||||
|
||||
|
||||
[Widget 9]
|
||||
Type=Text
|
||||
Name=Text75
|
||||
Value=Internet Setup will display your technical support phone number.
|
||||
Start_x=11
|
||||
Start_y=193
|
||||
Width=300
|
||||
Height=9
|
||||
|
||||
[Widget 4993]
|
||||
Type=Text
|
||||
Name=Text7539
|
||||
Value=Enter Your Technical Support Phone Number:
|
||||
Start_x=11
|
||||
Start_y=206
|
||||
Width=300
|
||||
Height=9
|
||||
|
||||
|
||||
[Widget 10]
|
||||
Type=EditBox
|
||||
Name=TechSupportNumber
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=218
|
||||
Width=246
|
||||
Height=15
|
||||
|
||||
[Widget 17]
|
||||
Type=Button
|
||||
Name=Button130
|
||||
Value=Show Example
|
||||
Start_x=339
|
||||
Start_y=218
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(accnt2.ini)
|
||||
|
||||
|
||||
[Widget 6435]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox1
|
||||
Value=Logo Graphic
|
||||
Start_x=0
|
||||
Start_y=45
|
||||
Width=407
|
||||
Height=65
|
||||
|
||||
[Widget 653]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox2
|
||||
Value=Company Name
|
||||
Start_x=0
|
||||
Start_y=115
|
||||
Width=407
|
||||
Height=60
|
||||
|
||||
[Widget 923]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox313
|
||||
Value=Technical Support Phone Number
|
||||
Start_x=0
|
||||
Start_y=180
|
||||
Width=407
|
||||
Height=60
|
||||
@@ -1,100 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
|
||||
[Local Variables]
|
||||
|
||||
Name=Branding_page4
|
||||
Title=<%CustomizationList%> - Customize the Installer
|
||||
Caption=1st level node
|
||||
;Help=Online;http://www.mozilla.org/projects/cck/
|
||||
Help=Online;%Root%CCKHelp\brandingpage4.html
|
||||
|
||||
|
||||
[Navigation Controls]
|
||||
|
||||
onNext=wizard.CreateJSFile()
|
||||
Help=Branding4_help.ini
|
||||
|
||||
[Image 1]
|
||||
Type=Image
|
||||
Name=banner6.bmp
|
||||
Value=
|
||||
Start_x=0
|
||||
Start_y=0
|
||||
Width=425
|
||||
Height=56
|
||||
|
||||
[Widget 60643]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox5895
|
||||
Value=Installer Background Text
|
||||
Start_x=0
|
||||
Start_y=32
|
||||
Width=407
|
||||
Height=77
|
||||
|
||||
[Widget 3]
|
||||
Type=Text
|
||||
Name=Text24
|
||||
Value=The Installer background text appears in the background during installation. You can customize the second and third lines of text.
|
||||
Start_x=11
|
||||
Start_y=44
|
||||
Width=350
|
||||
Height=15
|
||||
|
||||
[Widget 2]
|
||||
Type=GlobalText
|
||||
Name=Text347
|
||||
Value=%DefaultName% 6 Setup
|
||||
Start_x=11
|
||||
Start_y=64
|
||||
Width=150
|
||||
Height=10
|
||||
|
||||
[Widget 4]
|
||||
Type=EditBox
|
||||
Name=InstallerScreenText1
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=75
|
||||
Width=217
|
||||
Height=14
|
||||
|
||||
[Widget 5]
|
||||
Type=EditBox
|
||||
Name=InstallerScreenText2
|
||||
Value=
|
||||
Start_x=11
|
||||
Start_y=88
|
||||
Width=217
|
||||
Height=14
|
||||
|
||||
[Widget 16]
|
||||
Type=Button
|
||||
Name=InstButton133
|
||||
Value=Show Example
|
||||
Start_x=339
|
||||
Start_y=89
|
||||
Width=60
|
||||
Height=14
|
||||
onCommand=DisplayImage(inst.ini)
|
||||
@@ -1,32 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is the Client Customization Kit.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
; Reserved.
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=Installer
|
||||
Title=Installer
|
||||
Caption=1st level node
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
Help=Installer.txt
|
||||
|
||||
[Sub Pages]
|
||||
Build_page1=Show
|
||||
Build_page2=show
|
||||
@@ -1,233 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=CheckList
|
||||
Title=Welcome to the %DefaultName% Client Customization Kit
|
||||
Caption=1st level node
|
||||
;Help=Online;http://www.mozilla.org/projects/cck/
|
||||
Help=Online;%Root%CCKHelp\checklist.html
|
||||
|
||||
[Navigation Controls]
|
||||
onEnter=Reload(%Root%);
|
||||
onNext=VerifySet(%CustomizationList%,Choose an existing configuration or create a new one);Reload(%Root%Configs\%CustomizationList%)
|
||||
Help=ChecklistHelp.ini
|
||||
|
||||
[Image 1]
|
||||
Type=Image
|
||||
Name=banner1.bmp
|
||||
Value=
|
||||
Start_x=0
|
||||
Start_y=0
|
||||
Width=425
|
||||
Height=56
|
||||
|
||||
[Widget 19]
|
||||
Type=Button
|
||||
Name=Button142
|
||||
Value=New Configuration...
|
||||
Start_x=230
|
||||
Start_y=218
|
||||
Width=77
|
||||
Height=17
|
||||
onCommand=wizard.NewConfig(_NewConfigName);GenerateDirList(CustomizationList,%Root%Configs\*.*);SelectItem(%_NewConfigName%)
|
||||
target=CustomizationList
|
||||
|
||||
[Widget 1]
|
||||
Type=GlobalText
|
||||
Name=Text31
|
||||
Value=This tool helps you create customized CD- and Network-ready %DefaultName% installers that you can distribute to your users.
|
||||
Start_x=0
|
||||
Start_y=32
|
||||
Width=380
|
||||
Height=11
|
||||
|
||||
|
||||
[Widget 2]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox2865
|
||||
Value=Before You Begin
|
||||
Start_x=0
|
||||
Start_y=44
|
||||
Width=407
|
||||
Height=115
|
||||
|
||||
|
||||
[Widget 4]
|
||||
Type=ComboBox
|
||||
Name=CustomizationList
|
||||
Value=
|
||||
Start_x=7
|
||||
Start_y=220
|
||||
Width=115
|
||||
Height=99
|
||||
subsection=Options for ComboBox1
|
||||
onInit=GenerateDirList(self,%Root%Configs\*.*)
|
||||
onCommand=toggleEnabled2(%CustomizationList%,Button8);WriteCache(CustomizationList)
|
||||
[Options for ComboBox1]
|
||||
|
||||
|
||||
[Widget 5]
|
||||
Type=Text
|
||||
Name=Text34
|
||||
Value=Select an existing configuration, or click "New Configuration" to create a new installer configuration and workspace in which to store your custom files. To edit an existing configuration without overwriting the original configuration, select it from the list and click "Create a Copy".
|
||||
Start_x=8
|
||||
Start_y=179
|
||||
Width=390
|
||||
Height=25
|
||||
|
||||
|
||||
[Widget 6]
|
||||
Type=Text
|
||||
Name=Text35
|
||||
Value=* Bookmarks (bookmark.html) file
|
||||
Start_x=19
|
||||
Start_y=67
|
||||
Width=123
|
||||
Height=9
|
||||
|
||||
|
||||
[Widget 7]
|
||||
Type=Text
|
||||
Name=Text36
|
||||
Value=* Read Me file
|
||||
Start_x=19
|
||||
Start_y=89
|
||||
Width=200
|
||||
Height=9
|
||||
|
||||
|
||||
[Widget 8]
|
||||
Type=Text
|
||||
Name=Text37
|
||||
Value=* Custom animation files for browser's animated logo
|
||||
Start_x=19
|
||||
Start_y=78
|
||||
Width=250
|
||||
Height=9
|
||||
|
||||
|
||||
[Widget 9]
|
||||
Type=Text
|
||||
Name=Text38
|
||||
Value=* Background bitmap for CD Autorun screen (for CD-based installers)
|
||||
Start_x=19
|
||||
Start_y=110
|
||||
Width=300
|
||||
Height=11
|
||||
|
||||
|
||||
[Widget 10]
|
||||
Type=Text
|
||||
Name=Text39
|
||||
Value=* Custom sidebar panels file (panels.rdf)
|
||||
Start_x=19
|
||||
Start_y=99
|
||||
Width=200
|
||||
Height=9
|
||||
|
||||
|
||||
[Widget 11]
|
||||
Type=Text
|
||||
Name=Text40
|
||||
Value=* Custom installation instructions (for CD-based installers)
|
||||
Start_x=19
|
||||
Start_y=121
|
||||
Width=300
|
||||
Height=11
|
||||
|
||||
|
||||
;[Widget 12]
|
||||
Type=Text
|
||||
Name=Text41
|
||||
Value=1. Decide on the type of installer(s) you want to create:
|
||||
Start_x=7
|
||||
Start_y=50
|
||||
Width=206
|
||||
Height=10
|
||||
|
||||
|
||||
[Widget 374]
|
||||
Type=Text
|
||||
Name=Text449
|
||||
Value=* Third-party installers (up to two .exe files)
|
||||
Start_x=19
|
||||
Start_y=131
|
||||
Width=300
|
||||
Height=10
|
||||
|
||||
|
||||
;[Widget 17]
|
||||
Type=Text
|
||||
Name=Text46
|
||||
Value=* CD-based installer or network-downloadable installer? (you can create one or both at the same time)
|
||||
Start_x=20
|
||||
Start_y=62
|
||||
Width=370
|
||||
Height=10
|
||||
|
||||
[Widget 14]
|
||||
Type=Text
|
||||
Name=Text43
|
||||
Value=Decide which customizations you want to make and create the customized files, such as:
|
||||
Start_x=9
|
||||
Start_y=55
|
||||
Width=370
|
||||
Height=20
|
||||
|
||||
[Widget 2817]
|
||||
Type=BoldGroup
|
||||
Name=GroupBox2385
|
||||
Value=Select an Existing Configuration or Create a New One
|
||||
Start_x=0
|
||||
Start_y=165
|
||||
Width=407
|
||||
Height=80
|
||||
|
||||
|
||||
[Widget 18]
|
||||
Type=Button
|
||||
Name=Button8
|
||||
Value=Create a Copy...
|
||||
Start_x=320
|
||||
Start_y=218
|
||||
Width=77
|
||||
Height=17
|
||||
onInit=Enable2(%CustomizationList%)
|
||||
onCommand=VerifySet(%CustomizationList%,Choose an existing configuration or create a new one);SetGlobal(_FromConfigName,%CustomizationList%);wizard.CopyConfig(_NewConfigName);GenerateDirList(CustomizationList,%Root%Configs\*.*);SelectItem(%_NewConfigName%);CopyDir(%Root%Configs\%_FromConfigName%,%Root%Configs\%_NewConfigName%)
|
||||
|
||||
; GenerateFileList not required due to the way NewConfigDialog works,
|
||||
; but this should be changed at some point...
|
||||
|
||||
target=CustomizationList
|
||||
|
||||
[Widget 2010]
|
||||
Type=Button
|
||||
Name=ButtonSummary
|
||||
Value=Show Config Info
|
||||
Start_x=140
|
||||
Start_y=218
|
||||
Width=77
|
||||
Height=17
|
||||
onInit=Enable2(%CustomizationList%)
|
||||
onCommand=ShowSummary()
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
|
||||
;
|
||||
; The contents of this file are subject to the Netscape Public
|
||||
; License Version 1.1 (the "License"); you may not use this file
|
||||
; except in compliance with the License. You may obtain a copy of
|
||||
; the License at http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the License is distributed on an "AS
|
||||
; IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
; implied. See the License for the specific language governing
|
||||
; rights and limitations under the License.
|
||||
;
|
||||
; The Original Code is mozilla.org code.
|
||||
;
|
||||
; The Initial Developer of the Original Code is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
; Rights Reserved.
|
||||
;
|
||||
; Contributor(s):
|
||||
;
|
||||
|
||||
[Local Variables]
|
||||
Name=Customize
|
||||
Title=Customize Application
|
||||
Caption=1st level node
|
||||
Help=Online;http://www.mozilla.org/projects/cck/
|
||||
|
||||
|
||||
[Navigation Controls]
|
||||
onNext=
|
||||
|
||||
[Sub Pages]
|
||||
Customize_page1=show
|
||||
Customize_page3=show
|
||||