win32ver.awk revision 240b85022b73af58a6d971cd3d05d54037d8f682
# Copyright 2001-2004 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
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 "\
"The Apache HTTP Server project pages are at "\
print " VALUE \"CompanyName\", \"Apache Software Foundation\\0\"";
print " VALUE \"LegalCopyright\", \"Copyright � 2000-2004 "\
"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";
}