forked from osmocom/wireshark
Add the MSWIN RC information for capinfo.
svn path=/trunk/; revision=11556
This commit is contained in:
parent
cb6b29786b
commit
028fd26a0e
|
@ -110,9 +110,12 @@ randpkt_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(NET_SNMP_DIR)\win32\lib\netsnmp.lib
|
$(NET_SNMP_DIR)\win32\lib\netsnmp.lib
|
||||||
|
|
||||||
EXECUTABLES=ethereal.exe ethereal-gtk2.exe tethereal.exe capinfo.exe editcap.exe mergecap.exe text2pcap.exe
|
EXECUTABLES=ethereal.exe ethereal-gtk2.exe tethereal.exe \
|
||||||
|
capinfo.exe editcap.exe mergecap.exe text2pcap.exe
|
||||||
|
|
||||||
RESOURCES=image\ethereal.res image\libethereal.res image\tethereal.res image\editcap.res image\mergecap.res image\text2pcap.res image\wiretap.res
|
RESOURCES=image\ethereal.res image\libethereal.res image\tethereal.res \
|
||||||
|
image\capinfo.res image\editcap.res image\mergecap.res \
|
||||||
|
image\text2pcap.res image\wiretap.res
|
||||||
|
|
||||||
all: config.h tools image wiretap epan $(EXECUTABLES) $(RESOURCES) doc
|
all: config.h tools image wiretap epan $(EXECUTABLES) $(RESOURCES) doc
|
||||||
|
|
||||||
|
@ -165,10 +168,10 @@ tethereal.exe : config.h svnversion.h $(tethereal_OBJECTS) $(EXTRA_OBJECTS) epan
|
||||||
/OUT:tethereal.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(tethereal_LIBS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) image\tethereal.res
|
/OUT:tethereal.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(tethereal_LIBS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) image\tethereal.res
|
||||||
<<
|
<<
|
||||||
|
|
||||||
capinfo.exe : config.h capinfo.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res
|
capinfo.exe : config.h capinfo.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\capinfo.res
|
||||||
@echo Linking $@
|
@echo Linking $@
|
||||||
$(LINK) @<<
|
$(LINK) @<<
|
||||||
/OUT:capinfo.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console capinfo.obj getopt.obj $(capinfo_LIBS) image\editcap.res
|
/OUT:capinfo.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console capinfo.obj getopt.obj $(capinfo_LIBS) image\capinfo.res
|
||||||
<<
|
<<
|
||||||
|
|
||||||
editcap.exe : config.h editcap.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res
|
editcap.exe : config.h editcap.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
include ..\config.nmake
|
include ..\config.nmake
|
||||||
|
|
||||||
ALL_RC=ethereal.rc libethereal.rc tethereal.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc
|
ALL_RC=ethereal.rc libethereal.rc tethereal.rc capinfo.rc editcap.rc text2pcap.rc mergecap.rc wiretap.rc
|
||||||
all : $(ALL_RC)
|
all : $(ALL_RC)
|
||||||
|
|
||||||
ethereal.rc : ethereal.rc.in ..\config.nmake
|
ethereal.rc : ethereal.rc.in ..\config.nmake
|
||||||
|
@ -22,6 +22,11 @@ tethereal.rc : tethereal.rc.in ..\config.nmake
|
||||||
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
||||||
< tethereal.rc.in > $@
|
< tethereal.rc.in > $@
|
||||||
|
|
||||||
|
capinfo.rc : capinfo.rc.in ..\config.nmake
|
||||||
|
sed -e s/@VERSION@/$(VERSION)/ \
|
||||||
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
||||||
|
< capinfo.rc.in > $@
|
||||||
|
|
||||||
editcap.rc : editcap.rc.in ..\config.nmake
|
editcap.rc : editcap.rc.in ..\config.nmake
|
||||||
sed -e s/@VERSION@/$(VERSION)/ \
|
sed -e s/@VERSION@/$(VERSION)/ \
|
||||||
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
-e s/@RC_VERSION@/$(RC_VERSION)/ \
|
||||||
|
|
|
@ -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", "Capinfo\0"
|
||||||
|
VALUE "FileVersion", "@VERSION@\0"
|
||||||
|
VALUE "InternalName", "Capinfo @VERSION@\0"
|
||||||
|
VALUE "LegalCopyright", "Copyright © 2000 Gerald Combs <gerald@ethereal.com>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
|
||||||
|
VALUE "OriginalFilename", "Capinfo.exe\0"
|
||||||
|
VALUE "ProductName", "Capinfo\0"
|
||||||
|
VALUE "ProductVersion", "@VERSION@\0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
Loading…
Reference in New Issue