75 |
# BINARY - Holds the name of the binary file |
# BINARY - Holds the name of the binary file |
76 |
# DISPNAME - Holds the display name of the built application |
# DISPNAME - Holds the display name of the built application |
77 |
# APPVERSION - Holds the version string of the built application |
# APPVERSION - Holds the version string of the built application |
|
# BITS - 16 or 32 bit |
|
78 |
# RCINCLUDE - Holds the name of the RC File to include or "" |
# RCINCLUDE - Holds the name of the RC File to include or "" |
79 |
# QUIET - Turns off output |
# QUIET - Turns off output |
80 |
|
|
103 |
return undef; |
return undef; |
104 |
} |
} |
105 |
|
|
106 |
my ($quiet,$objdir,$debug,$official,$milestone,$buildid,$module,$binary,$depth,$rcinclude,$bits,$srcdir,$fileversion,$productversion); |
my ($quiet,$objdir,$debug,$official,$milestone,$buildid,$module,$binary,$depth,$rcinclude,$srcdir,$fileversion,$productversion); |
107 |
|
|
108 |
GetOptions( "QUIET" => \$quiet, |
GetOptions( "QUIET" => \$quiet, |
109 |
"DEBUG=s" => \$debug, |
"DEBUG=s" => \$debug, |
117 |
"TOPSRCDIR=s" => \$topsrcdir, |
"TOPSRCDIR=s" => \$topsrcdir, |
118 |
"DEPTH=s" => \$depth, |
"DEPTH=s" => \$depth, |
119 |
"RCINCLUDE=s" => \$rcinclude, |
"RCINCLUDE=s" => \$rcinclude, |
120 |
"OBJDIR=s" => \$objdir, |
"OBJDIR=s" => \$objdir); |
|
"BITS=s" => \$bits); |
|
121 |
if (!defined($debug)) {$debug="";} |
if (!defined($debug)) {$debug="";} |
122 |
if (!defined($official)) {$official="";} |
if (!defined($official)) {$official="";} |
123 |
if (!defined($milestone)) {$milestone="";} |
if (!defined($milestone)) {$milestone="";} |
130 |
if (!defined($objdir)) {$objdir=".";} |
if (!defined($objdir)) {$objdir=".";} |
131 |
if (!defined($srcdir)) {$srcdir=".";} |
if (!defined($srcdir)) {$srcdir=".";} |
132 |
if (!defined($topsrcdir)) {$topsrcdir=".";} |
if (!defined($topsrcdir)) {$topsrcdir=".";} |
|
if (!defined($bits)) {$bits="";} |
|
133 |
my $mfversion = "Personal"; |
my $mfversion = "Personal"; |
134 |
my $mpversion = "Personal"; |
my $mpversion = "Personal"; |
135 |
my @fileflags = ("0"); |
my @fileflags = ("0"); |
141 |
($module) = split(/\./,$module); |
($module) = split(/\./,$module); |
142 |
} |
} |
143 |
|
|
|
my $fileos = "VOS__WINDOWS32"; |
|
|
if ($bits eq "16") { $fileos="VOS__WINDOWS16"; } |
|
|
|
|
144 |
my $bufferstr=" "; |
my $bufferstr=" "; |
145 |
|
|
146 |
my $MILESTONE_FILE = "$topsrcdir/config/milestone.txt"; |
my $MILESTONE_FILE = "$topsrcdir/config/milestone.txt"; |
404 |
PRODUCTVERSION $productversion |
PRODUCTVERSION $productversion |
405 |
FILEFLAGSMASK 0x3fL |
FILEFLAGSMASK 0x3fL |
406 |
FILEFLAGS $fileflags |
FILEFLAGS $fileflags |
407 |
FILEOS $fileos |
FILEOS VOS__WINDOWS32 |
408 |
FILETYPE VFT_DLL |
FILETYPE VFT_DLL |
409 |
FILESUBTYPE 0x0L |
FILESUBTYPE 0x0L |
410 |
BEGIN |
BEGIN |