Changeset 1f21c79


Ignore:
Timestamp:
04/27/06 22:12:53 (15 years ago)
Author:
Matt Brown <mattb@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8f851f3
Parents:
c4a4d3d
Message:

Added winpcap support to the Visual Studio infrastructure. Until we get some
sort of autoconf replacement winpcap is a hard requirement unless you manually
edit config-win.h to remove the HAVE_PCAP, HAVE_BPF, etc directives.

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • config-win.h

    re641bdc r1f21c79  
    1 #
    2 # Highly hacked config.h template for WIN32 builds.
    3 #
    4 # This really needs to be fixed better sometime...
    5 #
    6 # Matt Brown <matt@mattb.net.nz>
    7 #
    8 
    91#define PACKAGE_VERSION "3.0.0"
    102
     
    124
    135#define HAVE_SPRINTF_S 1
     6
     7#define HAVE_PCAP 1
     8#define HAVE_BPF 1
     9#define HAVE_PCAP_BPF 1
     10#define HAVE_PCAP_H 1
     11#define HAVE_PCAP_SENDPACKET 1
  • libtrace.sln

    re641bdc r1f21c79  
    1010EndProject
    1111Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-convert", "test-convert.vcproj", "{9B70AE88-2117-44E4-9FDF-8AE2B1B474C2}"
     12EndProject
     13Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-pcap-bpf", "test-pcap-bpf.vcproj", "{30DAF374-0895-49A3-BE7F-888B12DDE497}"
    1214EndProject
    1315Global
     
    2931                {9B70AE88-2117-44E4-9FDF-8AE2B1B474C2}.Release|Win32.ActiveCfg = Release|Win32
    3032                {9B70AE88-2117-44E4-9FDF-8AE2B1B474C2}.Release|Win32.Build.0 = Release|Win32
     33                {30DAF374-0895-49A3-BE7F-888B12DDE497}.Debug|Win32.ActiveCfg = Debug|Win32
     34                {30DAF374-0895-49A3-BE7F-888B12DDE497}.Debug|Win32.Build.0 = Debug|Win32
     35                {30DAF374-0895-49A3-BE7F-888B12DDE497}.Release|Win32.ActiveCfg = Release|Win32
     36                {30DAF374-0895-49A3-BE7F-888B12DDE497}.Release|Win32.Build.0 = Release|Win32
    3137        EndGlobalSection
    3238        GlobalSection(SolutionProperties) = preSolution
  • libtrace.vcproj

    re641bdc r1f21c79  
    135135                                Name="VCCLCompilerTool"
    136136                                Optimization="0"
    137                                 AdditionalIncludeDirectories="&quot;H:\src\libtrace-win&quot;"
     137                                AdditionalIncludeDirectories="&quot;G:\Program Files\WpdPack\Include&quot;;&quot;H:\src\libtrace-win&quot;"
    138138                                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BUILDING_DLL"
    139139                                MinimalRebuild="true"
     
    161161                        <Tool
    162162                                Name="VCLinkerTool"
    163                                 AdditionalDependencies="Ws2_32.lib"
     163                                AdditionalDependencies="Ws2_32.lib wpcap.lib"
    164164                                LinkIncremental="2"
    165165                                SuppressStartupBanner="true"
    166                                 AdditionalLibraryDirectories=""
     166                                AdditionalLibraryDirectories="&quot;G:\Program Files\WpdPack\Lib&quot;"
    167167                                GenerateDebugInformation="true"
    168168                                ProgramDatabaseFile=".\Debug/libtrace.pdb"
Note: See TracChangeset for help on using the changeset viewer.