aboutsummaryrefslogtreecommitdiffstats
path: root/image
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-11-28 08:54:52 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-11-28 08:54:52 +0000
commitfc61a1de255a9521b18ffc4db3320bd498b538ac (patch)
tree83654d0b55d2a4df2d46fef04d91a8c8bd1bd86a /image
parent1a77239007047afeb7176abd99a723e7270ecd0e (diff)
first steps towards a separated capture tool, working title "dumpcap"
personal backup only, not meant for public testing! I've copied main.c into dumpcap.c and carved out all things not needed currently won't work as a command line tool, capture_loop.c wants an input pipe console output is also very ugly and the whole code needs a lot of further cleanup shouldn't break the unix build as I've only changed the nmake files so far, but who knows ... svn path=/trunk/; revision=16615
Diffstat (limited to 'image')
-rw-r--r--image/Makefile.nmake7
-rw-r--r--image/dumpcap.rc.in36
2 files changed, 42 insertions, 1 deletions
diff --git a/image/Makefile.nmake b/image/Makefile.nmake
index cef58145a0..d7eee52cc1 100644
--- a/image/Makefile.nmake
+++ b/image/Makefile.nmake
@@ -4,7 +4,7 @@
include ..\config.nmake
-ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc
+ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfos.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc dumpcap.rc
all : $(ALL_RC)
ethereal.rc : ethereal.rc.in ..\config.nmake
@@ -47,6 +47,11 @@ wiretap.rc : wiretap.rc.in ..\config.nmake
-e s/@RC_VERSION@/$(RC_WTAP_VERSION)/ \
< wiretap.rc.in > $@
+dumpcap.rc : dumpcap.rc.in ..\config.nmake
+ sed -e s/@VERSION@/$(VERSION)/ \
+ -e s/@RC_VERSION@/$(RC_VERSION)/ \
+ < dumpcap.rc.in > $@
+
clean :
rm -f $(ALL_RC)
diff --git a/image/dumpcap.rc.in b/image/dumpcap.rc.in
new file mode 100644
index 0000000000..d6c148ae6e
--- /dev/null
+++ b/image/dumpcap.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", "Dumpcap\0"
+ VALUE "FileVersion", "@VERSION@\0"
+ VALUE "InternalName", "Dumpcap @VERSION@\0"
+ VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@ethereal.com>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
+ VALUE "OriginalFilename", "Dumpcap.exe\0"
+ VALUE "ProductName", "Dumpcap\0"
+ VALUE "ProductVersion", "@VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END