From adde937ed74926323b084713caf6fbba871d8791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 15 Dec 2017 00:04:32 +0000 Subject: [PATCH] plugins: Remove redundant plugin.rc.in files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit plugin.rc is Windows specific, also add condition to reflect that. Change-Id: Ibbb7dab77dd1f277e2302c8f931218ca433f8c72 Reviewed-on: https://code.wireshark.org/review/24833 Reviewed-by: João Valverde Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- cmake/modules/WiresharkPlugin.cmake | 42 +++++++++++-------- doc/README.plugins | 4 +- .../wsdg_src/WSDG_chapter_dissection.asciidoc | 2 +- plugins/Makefile.am | 3 +- plugins/docsis/Makefile.am | 1 - plugins/ethercat/Makefile.am | 1 - plugins/ethercat/plugin.rc.in | 34 --------------- plugins/gryphon/Makefile.am | 1 - plugins/gryphon/plugin.rc.in | 34 --------------- plugins/irda/Makefile.am | 1 - plugins/irda/plugin.rc.in | 34 --------------- plugins/mate/Makefile.am | 1 - plugins/mate/plugin.rc.in | 34 --------------- plugins/opcua/Makefile.am | 1 - plugins/opcua/plugin.rc.in | 34 --------------- plugins/{docsis => }/plugin.rc.in | 0 plugins/pluginifdemo/Makefile.am | 1 - plugins/pluginifdemo/plugin.rc.in | 34 --------------- plugins/profinet/Makefile.am | 1 - plugins/profinet/plugin.rc.in | 34 --------------- plugins/stats_tree/Makefile.am | 1 - plugins/stats_tree/plugin.rc.in | 34 --------------- plugins/transum/Makefile.am | 1 - plugins/transum/plugin.rc.in | 34 --------------- plugins/unistim/Makefile.am | 1 - plugins/unistim/plugin.rc.in | 34 --------------- plugins/wimax/Makefile.am | 1 - plugins/wimax/plugin.rc.in | 34 --------------- plugins/wimaxasncp/Makefile.am | 1 - plugins/wimaxasncp/plugin.rc.in | 34 --------------- plugins/wimaxmacphy/Makefile.am | 1 - plugins/wimaxmacphy/plugin.rc.in | 34 --------------- 32 files changed, 30 insertions(+), 477 deletions(-) delete mode 100644 plugins/ethercat/plugin.rc.in delete mode 100644 plugins/gryphon/plugin.rc.in delete mode 100644 plugins/irda/plugin.rc.in delete mode 100644 plugins/mate/plugin.rc.in delete mode 100644 plugins/opcua/plugin.rc.in rename plugins/{docsis => }/plugin.rc.in (100%) delete mode 100644 plugins/pluginifdemo/plugin.rc.in delete mode 100644 plugins/profinet/plugin.rc.in delete mode 100644 plugins/stats_tree/plugin.rc.in delete mode 100644 plugins/transum/plugin.rc.in delete mode 100644 plugins/unistim/plugin.rc.in delete mode 100644 plugins/wimax/plugin.rc.in delete mode 100644 plugins/wimaxasncp/plugin.rc.in delete mode 100644 plugins/wimaxmacphy/plugin.rc.in diff --git a/cmake/modules/WiresharkPlugin.cmake b/cmake/modules/WiresharkPlugin.cmake index 161b68fe4a..540fb118a7 100644 --- a/cmake/modules/WiresharkPlugin.cmake +++ b/cmake/modules/WiresharkPlugin.cmake @@ -2,33 +2,41 @@ # Set information macro(SET_MODULE_INFO _plugin _ver_major _ver_minor _ver_micro _ver_extra) - # Create the Windows .rc file for the plugin. - # The values come from several files in the source, I can't see how to reuse them + if(WIN32) + # Create the Windows .rc file for the plugin. + # The values come from several files in the source, I can't see how to reuse them - set(PACKAGE ${_plugin}) - set(MODULE_VERSION_MAJOR ${_ver_major}) - set(MODULE_VERSION_MINOR ${_ver_minor}) - set(MODULE_VERSION_MICRO ${_ver_micro}) - set(MODULE_VERSION_EXTRA ${_ver_extra}) - set(MODULE_VERSION "${MODULE_VERSION_MAJOR}.${MODULE_VERSION_MINOR}.${MODULE_VERSION_MICRO}.${MODULE_VERSION_EXTRA}") - set(RC_MODULE_VERSION "${MODULE_VERSION_MAJOR},${MODULE_VERSION_MINOR},${MODULE_VERSION_MICRO},${MODULE_VERSION_EXTRA}") + set(PACKAGE ${_plugin}) + set(MODULE_VERSION_MAJOR ${_ver_major}) + set(MODULE_VERSION_MINOR ${_ver_minor}) + set(MODULE_VERSION_MICRO ${_ver_micro}) + set(MODULE_VERSION_EXTRA ${_ver_extra}) + set(MODULE_VERSION "${MODULE_VERSION_MAJOR}.${MODULE_VERSION_MINOR}.${MODULE_VERSION_MICRO}.${MODULE_VERSION_EXTRA}") + set(RC_MODULE_VERSION "${MODULE_VERSION_MAJOR},${MODULE_VERSION_MINOR},${MODULE_VERSION_MICRO},${MODULE_VERSION_EXTRA}") - # This info is from Makefile.am - set(PLUGIN_NAME ${PACKAGE}) + # This info is from Makefile.am + set(PLUGIN_NAME ${PACKAGE}) - set(MSVC_VARIANT "${CMAKE_GENERATOR}") + set(MSVC_VARIANT "${CMAKE_GENERATOR}") - # The rc.in requires a plain VERSION variable - set(VERSION ${PROJECT_VERSION}) + # The rc.in requires a plain VERSION variable + set(VERSION ${PROJECT_VERSION}) - # Create the plugin.rc file from the template - configure_file(plugin.rc.in plugin.rc @ONLY) + # Create the plugin.rc file from the template + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugin.rc.in) + set(_plugin_rc_in ${CMAKE_CURRENT_SOURCE_DIR}/plugin.rc.in) + else() + set(_plugin_rc_in ${CMAKE_SOURCE_DIR}/plugins/plugin.rc.in) + endif() + configure_file(${_plugin_rc_in} plugin.rc @ONLY) + set(HAVE_PLUGIN_RC TRUE) + endif() endmacro() macro(ADD_PLUGIN_LIBRARY _plugin _subfolder) add_library(${_plugin} MODULE ${PLUGIN_FILES} - ${CMAKE_CURRENT_BINARY_DIR}/plugin.rc + $<$:${CMAKE_CURRENT_BINARY_DIR}/plugin.rc> ) set_target_properties(${_plugin} PROPERTIES diff --git a/doc/README.plugins b/doc/README.plugins index e06842571a..b14dfd3b89 100644 --- a/doc/README.plugins +++ b/doc/README.plugins @@ -20,11 +20,11 @@ contain at least the following files: CMakeLists.txt Makefile.am moduleinfo.h -plugin.rc.in README The README can be brief but it should provide essential information relevant to developers and users. Optionally AUTHORS and ChangeLog files can be added. +Optionally you can add your own plugin.rc.in. And of course the source and header files for your dissector. @@ -59,7 +59,7 @@ for the plugin. Your plugins/foo/plugin.rc.in is the Windows resource template file used to add the plugin specific information as resources to the DLL. -No modifications are needed here. +If not provided the plugins/plugin.rc.in file will be used. 3. Changes to existing Wireshark files diff --git a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc index d7c984b029..5e40c5fff4 100644 --- a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc @@ -178,7 +178,7 @@ are required, besides the dissector source in 'packet-foo.c': * 'packet-foo.c' - Your dissector source. -* 'plugin.rc.in' - Contains the DLL resource template for Windows. +* 'plugin.rc.in' - Contains the DLL resource template for Windows. (optional) You can find a good example for these files in the gryphon plugin directory. 'Makefile.am' has to be modified to reflect the relevant files and dissector diff --git a/plugins/Makefile.am b/plugins/Makefile.am index ee51015782..a914a15f37 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -39,7 +39,8 @@ SUBDIRS = $(_CUSTOM_SUBDIRS_) \ EXTRA_DIST = \ $(_CUSTOM_EXTRA_DIST_) \ Custom.make.example \ - Custom.m4.example + Custom.m4.example \ + plugin.rc.in checkapi: for i in $(SUBDIRS); do \ diff --git a/plugins/docsis/Makefile.am b/plugins/docsis/Makefile.am index 03c9e9b55a..5c9bda7f79 100644 --- a/plugins/docsis/Makefile.am +++ b/plugins/docsis/Makefile.am @@ -66,6 +66,5 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ README \ CMakeLists.txt diff --git a/plugins/ethercat/Makefile.am b/plugins/ethercat/Makefile.am index a9c470714b..b2d76ddc2b 100644 --- a/plugins/ethercat/Makefile.am +++ b/plugins/ethercat/Makefile.am @@ -73,5 +73,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/ethercat/plugin.rc.in b/plugins/ethercat/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/ethercat/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/gryphon/Makefile.am b/plugins/gryphon/Makefile.am index b794d14d5d..dd7a262f2c 100644 --- a/plugins/gryphon/Makefile.am +++ b/plugins/gryphon/Makefile.am @@ -62,5 +62,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/gryphon/plugin.rc.in b/plugins/gryphon/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/gryphon/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/irda/Makefile.am b/plugins/irda/Makefile.am index fe24fdfd02..98bd1e874d 100644 --- a/plugins/irda/Makefile.am +++ b/plugins/irda/Makefile.am @@ -70,5 +70,4 @@ MAINTAINERCLEANFILES = \ $(GENERATED_HEADER_FILES) EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/irda/plugin.rc.in b/plugins/irda/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/irda/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/mate/Makefile.am b/plugins/mate/Makefile.am index 171701a3de..3f8b1af82c 100644 --- a/plugins/mate/Makefile.am +++ b/plugins/mate/Makefile.am @@ -105,7 +105,6 @@ MAINTAINERCLEANFILES = \ EXTRA_DIST = \ mate_grammar.lemon \ mate_parser.l \ - plugin.rc.in \ CMakeLists.txt \ examples/call.mate \ examples/mms.mate \ diff --git a/plugins/mate/plugin.rc.in b/plugins/mate/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/mate/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/opcua/Makefile.am b/plugins/opcua/Makefile.am index 6617da7d79..9b85bb0b67 100644 --- a/plugins/opcua/Makefile.am +++ b/plugins/opcua/Makefile.am @@ -86,6 +86,5 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ README \ CMakeLists.txt diff --git a/plugins/opcua/plugin.rc.in b/plugins/opcua/plugin.rc.in deleted file mode 100644 index 0ad7587981..0000000000 --- a/plugins/opcua/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "OPC Unified Architecture Dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/docsis/plugin.rc.in b/plugins/plugin.rc.in similarity index 100% rename from plugins/docsis/plugin.rc.in rename to plugins/plugin.rc.in diff --git a/plugins/pluginifdemo/Makefile.am b/plugins/pluginifdemo/Makefile.am index c91d380305..00cabbb9af 100644 --- a/plugins/pluginifdemo/Makefile.am +++ b/plugins/pluginifdemo/Makefile.am @@ -62,5 +62,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/pluginifdemo/plugin.rc.in b/plugins/pluginifdemo/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/pluginifdemo/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/profinet/Makefile.am b/plugins/profinet/Makefile.am index 6e636d7c19..9344616791 100644 --- a/plugins/profinet/Makefile.am +++ b/plugins/profinet/Makefile.am @@ -72,5 +72,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/profinet/plugin.rc.in b/plugins/profinet/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/profinet/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/stats_tree/Makefile.am b/plugins/stats_tree/Makefile.am index 513cd2b7fa..394fb4fa86 100644 --- a/plugins/stats_tree/Makefile.am +++ b/plugins/stats_tree/Makefile.am @@ -50,5 +50,4 @@ stats_tree_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) stats_tree_la_LDFLAGS = $(PLUGIN_LDFLAGS) EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/stats_tree/plugin.rc.in b/plugins/stats_tree/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/stats_tree/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/transum/Makefile.am b/plugins/transum/Makefile.am index c277eec746..67fc910037 100644 --- a/plugins/transum/Makefile.am +++ b/plugins/transum/Makefile.am @@ -67,5 +67,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/transum/plugin.rc.in b/plugins/transum/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/transum/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/unistim/Makefile.am b/plugins/unistim/Makefile.am index db3cf331f4..45f519a932 100644 --- a/plugins/unistim/Makefile.am +++ b/plugins/unistim/Makefile.am @@ -71,5 +71,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/unistim/plugin.rc.in b/plugins/unistim/plugin.rc.in deleted file mode 100644 index 568dc07b49..0000000000 --- a/plugins/unistim/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Build with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/wimax/Makefile.am b/plugins/wimax/Makefile.am index 33ee4897e2..91b0e8483c 100644 --- a/plugins/wimax/Makefile.am +++ b/plugins/wimax/Makefile.am @@ -111,6 +111,5 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt \ README.wimax diff --git a/plugins/wimax/plugin.rc.in b/plugins/wimax/plugin.rc.in deleted file mode 100644 index e63db077fb..0000000000 --- a/plugins/wimax/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "Intel Corporation\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/wimaxasncp/Makefile.am b/plugins/wimaxasncp/Makefile.am index 1780926429..3dd83f5394 100644 --- a/plugins/wimaxasncp/Makefile.am +++ b/plugins/wimaxasncp/Makefile.am @@ -85,7 +85,6 @@ MAINTAINERCLEANFILES = \ $(GENERATED_HEADER_FILES) EXTRA_DIST = \ - plugin.rc.in \ wimaxasncp_dict.l \ CMakeLists.txt diff --git a/plugins/wimaxasncp/plugin.rc.in b/plugins/wimaxasncp/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/wimaxasncp/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/plugins/wimaxmacphy/Makefile.am b/plugins/wimaxmacphy/Makefile.am index 27750a8ca6..1f1a2f1ae5 100644 --- a/plugins/wimaxmacphy/Makefile.am +++ b/plugins/wimaxmacphy/Makefile.am @@ -62,5 +62,4 @@ DISTCLEANFILES = \ plugin.c EXTRA_DIST = \ - plugin.rc.in \ CMakeLists.txt diff --git a/plugins/wimaxmacphy/plugin.rc.in b/plugins/wimaxmacphy/plugin.rc.in deleted file mode 100644 index cac1f406ac..0000000000 --- a/plugins/wimaxmacphy/plugin.rc.in +++ /dev/null @@ -1,34 +0,0 @@ -#include "winver.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION @RC_MODULE_VERSION@ - PRODUCTVERSION @RC_VERSION@ - FILEFLAGSMASK 0x0L -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0 -#endif - FILEOS VOS_NT_WINDOWS32 - FILETYPE VFT_DLL -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0" - VALUE "FileDescription", "@PACKAGE@ dissector\0" - VALUE "FileVersion", "@MODULE_VERSION@\0" - VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0" - VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs , Gilbert Ramirez and others\0" - VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0" - VALUE "ProductName", "Wireshark\0" - VALUE "ProductVersion", "@VERSION@\0" - VALUE "Comments", "Built with @MSVC_VARIANT@\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END