diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-07-23 06:11:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-07-23 06:11:50 +0000 |
commit | f28323ba39027c4fbd571f7c5c2077ae439b822c (patch) | |
tree | 6e7199f85b4c9751af9245ac2209f90eb6c948ea /image | |
parent | 43b2da02ae40a519abf65d141b0ea5e44a5f9a7a (diff) |
From Graham Bloice: add resources to wiretap.dll.
svn path=/trunk/; revision=11476
Diffstat (limited to 'image')
-rw-r--r-- | image/Makefile.nmake | 7 | ||||
-rw-r--r-- | image/wiretap.rc.in | 34 |
2 files changed, 40 insertions, 1 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake index 8836313de9..aec3a46095 100644 --- a/image/Makefile.nmake +++ b/image/Makefile.nmake @@ -4,7 +4,7 @@ include ..\config.nmake -ALL_RC=ethereal.rc libethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc +ALL_RC=ethereal.rc libethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc all : $(ALL_RC) ethereal.rc : ethereal.rc.in ..\config.nmake @@ -37,6 +37,11 @@ text2pcap.rc : text2pcap.rc.in ..\config.nmake -e s/@RC_VERSION@/$(RC_VERSION)/ \ < text2pcap.rc.in > $@ +wiretap.rc : wiretap.rc.in ..\config.nmake + sed -e s/@VERSION@/$(WTAP_VERSION)/ \ + -e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \ + < wiretap.rc.in > $@ + clean : rm -f $(ALL_RC) diff --git a/image/wiretap.rc.in b/image/wiretap.rc.in new file mode 100644 index 0000000000..fa0a3e108a --- /dev/null +++ b/image/wiretap.rc.in @@ -0,0 +1,34 @@ +#include "winver.h" + +VS_VERSION_INFO VERSIONINFO + FILEVERSION @RC_VERSION@ + PRODUCTVERSION @RC_VERSION@ + 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 capture file library\0" + VALUE "FileVersion", "@VERSION@\0" + VALUE "InternalName", "wiretap @VERSION@\0" + VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@ethereal.com>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0" + VALUE "OriginalFilename", "wiretap-@VERSION@.dll\0" + VALUE "ProductName", "Ethereal\0" + VALUE "ProductVersion", "@VERSION@\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END |