aboutsummaryrefslogtreecommitdiffstats
path: root/image
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-17 09:49:32 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-17 09:49:32 +0000
commit9d5df14fdd5e08077ff703bda50a9f8aefca434a (patch)
tree0f9bb7aa22fa008a7e3122124cf8a0a682a78d12 /image
parentf3905451593399a8cf6cb683dd8239d21fec7b53 (diff)
From Graham Bloice: add resource information to libethereal.dll.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11388 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'image')
-rw-r--r--image/Makefile.nmake7
-rw-r--r--image/libethereal.rc.in34
2 files changed, 40 insertions, 1 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake
index 2732c5326f..dc15d9afad 100644
--- a/image/Makefile.nmake
+++ b/image/Makefile.nmake
@@ -4,7 +4,7 @@
include ..\config.nmake
-ALL_RC=ethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc
+ALL_RC=ethereal.rc libethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc
all : $(ALL_RC)
ethereal.rc : ethereal.rc.in ..\config.nmake
@@ -12,6 +12,11 @@ ethereal.rc : ethereal.rc.in ..\config.nmake
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< ethereal.rc.in > $@
+libethereal.rc: libethereal.rc.in ..\config.nmake
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < libethereal.rc.in > $@
+
tethereal.rc : tethereal.rc.in ..\config.nmake
sed -e s/@VERSION@/$(VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
diff --git a/image/libethereal.rc.in b/image/libethereal.rc.in
new file mode 100644
index 0000000000..9a634558f0
--- /dev/null
+++ b/image/libethereal.rc.in
@@ -0,0 +1,34 @@
+#include "winver.h"
+
+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, http://www.ethereal.com/\0"
+ VALUE "FileDescription", "Ethereal dissector library\0"
+ VALUE "FileVersion", "@VERSION@\0"
+ VALUE "InternalName", "libethereal @VERSION@\0"
+ VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@ethereal.com>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
+ VALUE "OriginalFilename", "libethereal.dll\0"
+ VALUE "ProductName", "Ethereal\0"
+ VALUE "ProductVersion", "@VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END