Use sed in the Win32 build to place the version in various files.
[obnox/wireshark/wip.git] / image / tethereal.rc.in
diff --git a/image/tethereal.rc.in b/image/tethereal.rc.in
new file mode 100644 (file)
index 0000000..833d7d1
--- /dev/null
@@ -0,0 +1,36 @@
+#include "winver.h"
+
+ETHEREAL_ICON          ICON                    "ethereal.ico"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION @RC_VERSION@,0
+ PRODUCTVERSION @RC_VERSION@,0
+ FILEFLAGSMASK 0x0L
+#ifdef _DEBUG
+ FILEFLAGS 0x3L
+#else
+ FILEFLAGS 0x2L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName", "The Ethereal developer community\0"
+            VALUE "FileDescription", "Tethereal\0"
+            VALUE "FileVersion", "@VERSION@\0"
+            VALUE "InternalName", "Tethereal @VERSION@\0"
+            VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@ethereal.com>, Gilbert Ramirez <gram@xiexie.org> and others\0"
+            VALUE "OriginalFilename", "Tethereal.exe\0"
+            VALUE "ProductName", "Tethereal\0"
+            VALUE "ProductVersion", "@VERSION@\0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END