diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-05 04:34:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-05 04:34:01 -0700 |
commit | 241301fdd2e129ec93151696511509d7aa9ceb23 (patch) | |
tree | 4bf2ac315bee5f5828885bb7ad4c75180ae14bad /rpcapd | |
parent | b52e952a0f93597b4211e0eb5c37668c3046ede3 (diff) | |
download | libpcap-241301fdd2e129ec93151696511509d7aa9ceb23.tar.gz |
Move rpcapd's .rc file to the rpcapd subdirectory.
Diffstat (limited to 'rpcapd')
-rw-r--r-- | rpcapd/CMakeLists.txt | 2 | ||||
-rw-r--r-- | rpcapd/rpcapd.rc | 39 |
2 files changed, 40 insertions, 1 deletions
diff --git a/rpcapd/CMakeLists.txt b/rpcapd/CMakeLists.txt index e8a53977..319f43d5 100644 --- a/rpcapd/CMakeLists.txt +++ b/rpcapd/CMakeLists.txt @@ -22,7 +22,7 @@ endif(NOT MSVC) if(CMAKE_USE_PTHREADS_INIT OR PTHREADS_FOUND) if(WIN32) - set(RPCAPD_EXTRA_SOURCES win32-svc.c ${pcap_SOURCE_DIR}/rpcapd.rc) + set(RPCAPD_EXTRA_SOURCES win32-svc.c rpcapd.rc) include_directories(${pcap_SOURCE_DIR}/rpcapd) endif(WIN32) diff --git a/rpcapd/rpcapd.rc b/rpcapd/rpcapd.rc new file mode 100644 index 00000000..809c6787 --- /dev/null +++ b/rpcapd/rpcapd.rc @@ -0,0 +1,39 @@ +#include "config.h" +#undef PACKAGE_NAME +#include <winver.h> +#include <rpcapd.h> +#define PACKAGE_NAME PROGRAM_NAME + + VS_VERSION_INFO VERSIONINFO + FILEVERSION PACKAGE_VERSION_DLL + PRODUCTVERSION PACKAGE_VERSION_DLL + FILEFLAGSMASK 0x3fL + FILEOS VOS__WINDOWS32 + FILETYPE VFT_APP +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "https://github.com/the-tcpdump-group/libpcap/" + VALUE "CompanyName", "The TCPdump Group" + VALUE "FileDescription", "Remote Packet Capture Daemon" + VALUE "FileVersion", "PACKAGE_VERSION_DLL" + VALUE "InternalName", "PACKAGE_NAME" + VALUE "LegalCopyright", "Copyright (c) The TCPdump Group" + VALUE "LegalTrademarks", "" + VALUE "OriginalFilename", "rpcapd.exe" + VALUE "ProductName", "PACKAGE_NAME" + VALUE "ProductVersion", "PACKAGE_VERSION" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END + END |