1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements.  See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License.  You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "ap_release.h"
18
19#define AP_SERVER_LICENSE_RCSTR \
20  "Licensed under the Apache License, Version 2.0 (the ""License""); " \
21  "you may not use this file except in compliance with the License. " \
22  "You may obtain a copy of the License at\r\n" \
23  "\r\n" \
24  "http://www.apache.org/licenses/LICENSE-2.0\r\n" \
25  "\r\n" \
26  "Unless required by applicable law or agreed to in writing, software " \
27  "distributed under the License is distributed on an ""AS IS"" BASIS, " \
28  "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. " \
29  "See the License for the specific language governing permissions and " \
30  "limitations under the License."
31
32
33#ifdef ICON_FILE
341 ICON DISCARDABLE APR_STRINGIFY(ICON_FILE)
35#endif
36
37#define LONG_NAME_STR APR_STRINGIFY(LONG_NAME)
38#define BIN_NAME_STR APR_STRINGIFY(BIN_NAME)
39
401 VERSIONINFO
41 FILEVERSION AP_SERVER_PATCHLEVEL_CSV,0
42 PRODUCTVERSION AP_SERVER_PATCHLEVEL_CSV,0
43 FILEFLAGSMASK 0x3fL
44#if AP_SERVER_DEVBUILD_BOOLEAN
45#if defined(_DEBUG)
46 FILEFLAGS 0x03L
47#else
48 FILEFLAGS 0x02L
49#endif
50#else
51#if defined(_DEBUG)
52 FILEFLAGS 0x01L
53#else
54 FILEFLAGS 0x00L
55#endif
56#endif
57#if defined(WINNT) || defined(WIN64)
58 FILEOS 0x40004L
59#else
60 FILEOS 0x4L
61#endif
62#if defined(APP_FILE)
63 FILETYPE 0x1L
64#else
65 FILETYPE 0x2L
66#endif
67 FILESUBTYPE 0x0L
68BEGIN
69  BLOCK "StringFileInfo"
70  BEGIN
71    BLOCK "040904b0"
72    BEGIN
73      VALUE "Comments", AP_SERVER_LICENSE_RCSTR "\0"
74      VALUE "CompanyName", AP_SERVER_BASEVENDOR "\0"
75      VALUE "FileDescription", LONG_NAME_STR "\0"
76      VALUE "FileVersion", AP_SERVER_BASEREVISION "\0"
77      VALUE "InternalName", BIN_NAME_STR "\0"
78      VALUE "LegalCopyright", AP_SERVER_COPYRIGHT "\0"
79      VALUE "OriginalFilename", BIN_NAME_STR "\0"
80      VALUE "ProductName", "Apache HTTP Server\0"
81      VALUE "ProductVersion", AP_SERVER_BASEREVISION "\0"
82    END
83  END
84  BLOCK "VarFileInfo"
85  BEGIN
86    VALUE "Translation", 0x409, 1200
87  END
88END
89