summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-21 05:04:49 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-21 05:04:49 +0000
commit80e9795b71c3b309c6702d46fc62c2e800727363 (patch)
treee10d950b2fc0b4db5f875a0c9f9d5a59fc1c71ef /image
parent1caea2c3612be3438670bf2214a8f3136c47bff2 (diff)
downloadwireshark-80e9795b71c3b309c6702d46fc62c2e800727363.tar.gz
Add resource stuff for text2pcap.
svn path=/trunk/; revision=3429
Diffstat (limited to 'image')
-rw-r--r--image/Makefile.nmake9
-rw-r--r--image/text2pcap.rc.in36
2 files changed, 43 insertions, 2 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake
index f8984b26b7..62de6a25d4 100644
--- a/image/Makefile.nmake
+++ b/image/Makefile.nmake
@@ -1,10 +1,10 @@
#
-# $Id: Makefile.nmake,v 1.1 2001/04/05 04:39:26 gram Exp $
+# $Id: Makefile.nmake,v 1.2 2001/05/21 05:04:49 guy Exp $
#
include ..\config.nmake
-ALL_RC=ethereal.rc tethereal.rc editcap.rc
+ALL_RC=ethereal.rc tethereal.rc editcap.rc text2pcap.rc
all : $(ALL_RC)
ethereal.rc : ethereal.rc.in
@@ -22,5 +22,10 @@ editcap.rc : editcap.rc.in
-e s/@RC_VERSION@/$(RC_VERSION)/ \
< editcap.rc.in > $@
+text2pcap.rc : text2pcap.rc.in
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < text2pcap.rc.in > $@
+
clean :
rm -f $(ALL_RC)
diff --git a/image/text2pcap.rc.in b/image/text2pcap.rc.in
new file mode 100644
index 0000000000..ba942d4cfb
--- /dev/null
+++ b/image/text2pcap.rc.in
@@ -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", "Text2pcap\0"
+ VALUE "FileVersion", "@VERSION@\0"
+ VALUE "InternalName", "Editcap @VERSION@\0"
+ VALUE "LegalCopyright", "Copyright © 2001 Ashok Narayanan <ashokn@cisco.com>\0"
+ VALUE "OriginalFilename", "Text2pcap.exe\0"
+ VALUE "ProductName", "Text2pcapp\0"
+ VALUE "ProductVersion", "@VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END