win32ver.awk revision 08ead5b61f90aff61d9477a2e9dfaf74a9737835
BEGIN {
# ff bits: 1(debug), 2(prerelease), 4(patched), 8(vendor) and 32(special)
# debug is summed based on the /Define _DEBUG
# prerelease is based on the -dev extension,
# patched is based on a non-standard "-ver" extension,
# special and vendor are toggled by their args.
#
ff = 0;
i = 4;
}
}
}
i = i + 1
}
i = i - 1;
while (i) {
i = i - 1;
}
}
}
}
}
}
print "1 VERSIONINFO";
print " FILEFLAGSMASK 0x3fL";
print "#if defined(_DEBUG)"
print "#else"
print "#endif"
print " FILEOS 0x40004L";
print " FILETYPE 0x1L";
print " FILESUBTYPE 0x0L";
print "BEGIN";
print " BLOCK \"StringFileInfo\"";
print " BEGIN";
print " BLOCK \"040904b0\"";
print " BEGIN";
print " VALUE \"Comments\", \"All rights reserved. The license "\
print " VALUE \"CompanyName\", \"Apache Software Foundation\\0\"";
print " VALUE \"LegalCopyright\", \"Copyright � 2001 "\
"The Apache Software Foundation.\\0\"";
}
}
print " VALUE \"ProductName\", \"Apache HTTP Server\\0\"";
print " END";
print " END";
print " BLOCK \"VarFileInfo\"";
print " BEGIN";
print " VALUE \"Translation\", 0x409, 1200";
print " END";
print "END";
}