Browse Source

Import OCTSDR-2G-01.08.05-B29_Wireshark_Source

master
Harald Welte 6 years ago
commit
685b5a2bcf
  1. 340
      GNU General Public Licence.txt
  2. 293
      application/tool/wireshark/1.2.6/config.h
  3. 293
      application/tool/wireshark/1.2.6/config.h.win32
  4. 964
      application/tool/wireshark/1.2.6/config.nmake
  5. 1852
      application/tool/wireshark/1.2.6/configure.in
  6. 84
      application/tool/wireshark/1.2.6/oct_readme.txt
  7. 278
      application/tool/wireshark/1.6.5/config.h
  8. 278
      application/tool/wireshark/1.6.5/config.h.win32
  9. 1383
      application/tool/wireshark/1.6.5/config.nmake
  10. 2182
      application/tool/wireshark/1.6.5/configure.in
  11. 101
      application/tool/wireshark/1.6.5/oct_readme.txt
  12. 54
      application/tool/wireshark/plugins/Makefile.am
  13. 150
      application/tool/wireshark/plugins/octasic/MakeRules.nmake
  14. 67
      application/tool/wireshark/plugins/octasic/include/oct_ws_macro.h
  15. 45
      application/tool/wireshark/plugins/octasic/include/oct_ws_priv.h
  16. 40
      application/tool/wireshark/plugins/octasic/include/oct_ws_version.h
  17. 104
      application/tool/wireshark/plugins/octasic/octpkt_ws/Makefile.am
  18. 40
      application/tool/wireshark/plugins/octasic/octpkt_ws/Makefile.common
  19. 58
      application/tool/wireshark/plugins/octasic/octpkt_ws/Makefile.nmake
  20. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt.obj
  21. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.dll
  22. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.exp
  23. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.lib
  24. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.pdb
  25. 0
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.rc
  26. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.res
  27. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/plugin.obj
  28. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/vc90.pdb
  29. 56
      application/tool/wireshark/plugins/octasic/octpkt_ws/include/moduleinfo.h
  30. 34
      application/tool/wireshark/plugins/octasic/octpkt_ws/source/octpkr.rc
  31. 265
      application/tool/wireshark/plugins/octasic/octpkt_ws/source/octpkt.c
  32. 62
      application/tool/wireshark/plugins/octasic/octpkt_ws/source/plugin.c
  33. 24
      application/tool/wireshark/plugins/octasic/octsdr/makefile.nmake
  34. 25
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/MakeSmoke.nmake
  35. 96
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/MakeSmokeApp.nmake
  36. 103
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.am
  37. 16
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.common
  38. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octdev_common.obj
  39. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octpkt_common.obj
  40. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_cid_eid_value_string.obj
  41. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_common.obj
  42. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_cpp.obj
  43. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_ctrl.obj
  44. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_gsm.obj
  45. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_main.obj
  46. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_net.obj
  47. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_ctrl.obj
  48. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_event.obj
  49. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_plugin.obj
  50. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.dll
  51. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.exp
  52. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.lib
  53. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.pdb
  54. 0
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.rc
  55. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.res
  56. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvocnet_common.obj
  57. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/plugin.obj
  58. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/vc90.pdb
  59. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/ws_util.obj
  60. 59
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/module.h
  61. 43
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octdev_common.h
  62. 42
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octpkt_common.h
  63. 101
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvc1_common.h
  64. 41
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvocnet_common.h
  65. 77
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/plugin_info.h
  66. 78
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/ws_util.h
  67. 62
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/makefile.nmake
  68. 141
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis2ws.nmake
  69. 7
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis_pkgCommon.xml
  70. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/octvc1.pcap
  71. 60
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octdev_common.c
  72. 89
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octpkt_common.c
  73. 282
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_cid_eid_value_string.c
  74. 2261
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_common.c
  75. 4396
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_cpp.c
  76. 202
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_ctrl.c
  77. 7362
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_gsm.c
  78. 11076
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_main.c
  79. 16794
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_net.c
  80. 740
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_ctrl.c
  81. 315
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_event.c
  82. 404
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_plugin.c
  83. 101
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvocnet_common.c
  84. 61
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/plugin.c
  85. 85
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/ws_util.c
  86. 34
      application/tool/wireshark/plugins/octasic/plugin.rc.in
  87. 1
      application/tool/wireshark/ws_dev_root.nmake
  88. 7
      readme.txt
  89. 63
      software/include/octdev_devices.h
  90. 91
      software/include/octdev_macro.h
  91. 105
      software/include/octdev_opus_rev.h
  92. 39
      software/include/octdev_rc_base.h
  93. 277
      software/include/octdev_types.h
  94. 67
      software/include/octdev_types_swap.h
  95. 91
      software/include/octpkt/octpkt_hdr.h
  96. 42
      software/include/octpkt/octpkt_hdr_swap.h
  97. 85
      software/include/octpkt/octpkt_hdrxl.h
  98. 51
      software/include/octpkt/octpkt_hdrxl_swap.h
  99. 930
      software/include/vocallo/cpp/octvc1_cpp_api.h
  100. 551
      software/include/vocallo/cpp/octvc1_cpp_api_swap.h
  101. Some files were not shown because too many files have changed in this diff Show More

340
GNU General Public Licence.txt

@ -0,0 +1,340 @@ @@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

293
application/tool/wireshark/1.2.6/config.h

@ -0,0 +1,293 @@ @@ -0,0 +1,293 @@
/* $Id: config.h.win32 27098 2008-12-23 18:56:31Z gerald $ */
/* config.h.win32 Generated manually. :-) */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Generated Bison and Flex files test whether __STDC__ is defined
in order to check whether to use ANSI C features such as "const".
GCC defines it as 1 even if extensions that render the implementation
non-conformant are enabled; Sun's C compiler (and, I think, other
AT&T-derived C compilers) define it as 0 if extensions that render
the implementation non-conformant are enabled; Microsoft Visual C++
6.0 doesn't define it at all if extensions that render the implementation
non-conformant are enabled.
We define it as 0 here, so that those generated files will use
those features (and thus not get type warnings when compiled with
MSVC++). */
#ifndef __STDC__
#define __STDC__ 0
#endif
/*
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
*/
#define YY_NO_UNISTD_H
/* Use Unicode in Windows runtime functions. */
#define UNICODE 1
#define _UNICODE 1
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define if lex declares yytext as a char * by default, not a char[]. */
#define YYTEXT_POINTER 1
#define HAVE_PLUGINS 1
#define PLUGINS_NEED_ADDRESS_TABLE 1
/* Plugins can also use the import library of libwireshark.dll instead
of the old API. In that case we undefine PLUGINS_NEED_ADDRESS_TABLE
for the plugin. We don't undefine PLUGINS_NEED_ADDRESS_TABLE globally.
Thus Wireshark will be still able to load plugins using the old API.
The macro HAVE_WIN32_LIBWIRESHARK_LIB has to be defined in plugin's
makefile.nmake. A template is available in doc/README.plugins */
#ifdef HAVE_WIN32_LIBWIRESHARK_LIB
#undef PLUGINS_NEED_ADDRESS_TABLE
#endif
/* #undef HAVE_SA_LEN */
/* #undef NEED_STRERROR_H */
#define NEED_MKSTEMP 1
#define HAVE_LIBPCAP 1
#define HAVE_PCAP_FINDALLDEVS 1
#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
#define HAVE_PCAP_DATALINK_VAL_TO_NAME 1
#define WPCAP_CONSTIFIED 1
#define HAVE_LIBWIRESHARKDLL 1
#define HAVE_PCAP_LIST_DATALINKS 1
#define HAVE_PCAP_SET_DATALINK 1
#define HAVE_REMOTE 1
#define HAVE_PCAP_REMOTE 1
#define HAVE_PCAP_OPEN 1
#define HAVE_PCAP_FINDALLDEVS_EX 1
#define HAVE_PCAP_CREATESRCSTR 1
#define HAVE_PCAP_SETSAMPLING 1
#define HAVE_AIRPCAP 1
#define HAVE_AIRPDCAP 1
/* availability of pcap_freecode() is handled at runtime */
#define HAVE_PCAP_FREECODE 1
/* define macro for importing variables from an dll
* it depends on HAVE_LIBWIRESHARKDLL and _NEED_VAR_IMPORT_
*/
#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBWIRESHARKDLL)
# define WS_VAR_IMPORT __declspec(dllimport) extern
#else
# define WS_VAR_IMPORT extern
#endif
/* Define if you have the gethostbyname2 function. */
/* #undef HAVE_GETHOSTBYNAME2 */
/* Define if you have the getprotobynumber function. */
/* #undef HAVE_GETPROTOBYNUMBER */
/* Define if you have the <arpa/inet.h> header file. */
/* #undef HAVE_ARPA_INET_H */
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <iconv.h> header file. */
/* #undef HAVE_ICONV */
/* Define if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */
/* Define if you have the <netinet/in.h> header file. */
/* #define HAVE_NETINET_IN_H 1 */
/* Define if you have the <snmp/snmp.h> header file. */
/* #undef HAVE_SNMP_SNMP_H */
/* Define if you have the <snmp/version.h> header file. */
/* #undef HAVE_SNMP_VERSION_H */
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define if you have the <stddef.h> header file. */
/* #undef HAVE_STDDEF_H */
/* Define if you have the <sys/ioctl.h> header file. */
/* #undef HAVE_SYS_IOCTL_H */
/* Define if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */
/* Define if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/time.h> header file. */
/* #define HAVE_SYS_TIME_H 1 */
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the <sys/wait.h> header file. */
/* #undef HAVE_SYS_WAIT_H */
/* Define if you have the <unistd.h> header file. */
/* #define HAVE_UNISTD_H 1 */
/* Define if <inttypes.h> defines PRI[doxu]64 macros */
/* #define INTTYPES_H_DEFINES_FORMATS */
/* Format for printing 64-bit signed decimal numbers */
#ifndef PRId64
#ifdef _MSC_EXTENSIONS
#define PRId64 "I64d"
#else /* _MSC_EXTENSIONS */
#define PRId64 "lld"
#endif /* _MSC_EXTENSIONS */
#endif /* PRId64 */
/* Format for printing 64-bit unsigned octal numbers */
#ifndef PRIo64
#ifdef _MSC_EXTENSIONS
#define PRIo64 "I64o"
#else /* _MSC_EXTENSIONS */
#define PRIo64 "llo"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIo64 */
/* Format for printing 64-bit unsigned decimal numbers */
#ifndef PRIu64
#ifdef _MSC_EXTENSIONS
#define PRIu64 "I64u"
#else /* _MSC_EXTENSIONS */
#define PRIu64 "llu"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIu64 */
/* Formats for printing 64-bit unsigned hexadecimal numbers */
/* XXX - it seems that GLib has problems with the MSVC like I64x.
As we use GLib's g_sprintf and alike, it should be safe to use
llx everywhere now, making the macros pretty useless. For details see:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1025 */
#ifndef PRIx64
#ifdef _MSC_EXTENSIONS
/*#define PRIx64 "I64x"*/
#define PRIx64 "llx"
#else /* _MSC_EXTENSIONS */
#define PRIx64 "llx"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIx64 */
#ifndef PRIX64
#ifdef _MSC_EXTENSIONS
/*#define PRIX64 "I64X"*/
#define PRIX64 "llX"
#else /* _MSC_EXTENSIONS */
#define PRIX64 "llX"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIX64 */
/* Define if you have the z library (-lz). */
#define HAVE_LIBZ 1
/* Define to use GNU ADNS library */
#define HAVE_C_ARES 1
/* Define to use GNU ADNS library */
#ifndef HAVE_C_ARES
#define ADNS_JGAA_WIN32 1
#endif
/* Define to use the PCRE library */
#define HAVE_LIBPCRE 1
/* Define to use the Nettle library */
/* Define to use the gnutls library */
#define HAVE_LIBGNUTLS 1
/* Define to use the libgcrypt library */
#define HAVE_LIBGCRYPT 1
/* Define to use mit kerberos for decryption of kerberos/sasl/dcerpc */
#define HAVE_MIT_KERBEROS 1
#ifdef HAVE_MIT_KERBEROS
#define HAVE_KERBEROS
#endif
/* Define to use Lua */
#define HAVE_LUA 1
#define HAVE_LUA_5_1 1
/* Define to use Portaudio library */
#define HAVE_LIBPORTAUDIO 1
/* Define version of of the Portaudio library API */
/* Define to have SMI */
#define HAVE_LIBSMI 1
/* Define to have GeoIP */
#define HAVE_GEOIP 1
#ifndef WIN32
#define WIN32 1
#endif
/* Define for IPv6 */
#define INET6 1
#define HAVE_WINDOWS_H 1
#define HAVE_WINSOCK2_H 1
#define HAVE_DIRECT_H 1
#define NEED_INET_ATON_H 1
#define NEED_INET_V6DEFS_H 1
/* Visual C 9 (2008) now needs these prototypes */
#if _MSC_VER == 1500
#define NTDDI_VERSION NTDDI_WIN2K
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
#endif
#define NEED_GETOPT_H 1
#define NEED_STRPTIME_H 1
#define strcasecmp stricmp
#define strncasecmp strnicmp
#define popen _popen
#define pclose _pclose
/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
/*#define ZLIB_DLL 1
#define _WINDOWS 1*/
/* Name of package */
#define PACKAGE "wireshark"
/* Version number of package */
#define VERSION "1.1.3"
/* We shouldn't need this under Windows but we'll define it anyway. */
#define HTML_VIEWER "mozilla"
/* Check for the required _MSC_VER */
#if MSC_VER_REQUIRED != _MSC_VER
#define WS_TO_STRING2(x) #x
#define WS_TO_STRING(x) WS_TO_STRING2(x)
#pragma message( "_MSC_VER is:" WS_TO_STRING(_MSC_VER) " but required is:" WS_TO_STRING(MSC_VER_REQUIRED) )
#error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version!
#endif

293
application/tool/wireshark/1.2.6/config.h.win32

@ -0,0 +1,293 @@ @@ -0,0 +1,293 @@
/* $Id: config.h.win32 27098 2008-12-23 18:56:31Z gerald $ */
/* config.h.win32 Generated manually. :-) */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Generated Bison and Flex files test whether __STDC__ is defined
in order to check whether to use ANSI C features such as "const".
GCC defines it as 1 even if extensions that render the implementation
non-conformant are enabled; Sun's C compiler (and, I think, other
AT&T-derived C compilers) define it as 0 if extensions that render
the implementation non-conformant are enabled; Microsoft Visual C++
6.0 doesn't define it at all if extensions that render the implementation
non-conformant are enabled.
We define it as 0 here, so that those generated files will use
those features (and thus not get type warnings when compiled with
MSVC++). */
#ifndef __STDC__
#define __STDC__ 0
#endif
/*
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
*/
#define YY_NO_UNISTD_H
/* Use Unicode in Windows runtime functions. */
#define UNICODE 1
#define _UNICODE 1
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Define if lex declares yytext as a char * by default, not a char[]. */
#define YYTEXT_POINTER 1
#define HAVE_PLUGINS 1
#define PLUGINS_NEED_ADDRESS_TABLE 1
/* Plugins can also use the import library of libwireshark.dll instead
of the old API. In that case we undefine PLUGINS_NEED_ADDRESS_TABLE
for the plugin. We don't undefine PLUGINS_NEED_ADDRESS_TABLE globally.
Thus Wireshark will be still able to load plugins using the old API.
The macro HAVE_WIN32_LIBWIRESHARK_LIB has to be defined in plugin's
makefile.nmake. A template is available in doc/README.plugins */
#ifdef HAVE_WIN32_LIBWIRESHARK_LIB
#undef PLUGINS_NEED_ADDRESS_TABLE
#endif
/* #undef HAVE_SA_LEN */
/* #undef NEED_STRERROR_H */
#define NEED_MKSTEMP 1
@HAVE_LIBPCAP@
@HAVE_PCAP_BREAKLOOP@
@HAVE_PCAP_FINDALLDEVS@
@HAVE_PCAP_DATALINK_NAME_TO_VAL@
@HAVE_PCAP_DATALINK_VAL_TO_NAME@
@WPCAP_CONSTIFIED@
@HAVE_LIBWIRESHARKDLL@
@HAVE_PCAP_LIST_DATALINKS@
@HAVE_PCAP_SET_DATALINK@
@HAVE_REMOTE@
@HAVE_PCAP_REMOTE@
@HAVE_PCAP_OPEN@
@HAVE_PCAP_FINDALLDEVS_EX@
@HAVE_PCAP_CREATESRCSTR@
@HAVE_PCAP_SETSAMPLING@
@HAVE_AIRPCAP@
@HAVE_AIRPDCAP@
/* availability of pcap_freecode() is handled at runtime */
#define HAVE_PCAP_FREECODE 1
/* define macro for importing variables from an dll
* it depends on HAVE_LIBWIRESHARKDLL and _NEED_VAR_IMPORT_
*/
#if defined (_NEED_VAR_IMPORT_) && defined (HAVE_LIBWIRESHARKDLL)
# define WS_VAR_IMPORT __declspec(dllimport) extern
#else
# define WS_VAR_IMPORT extern
#endif
/* Define if you have the gethostbyname2 function. */
/* #undef HAVE_GETHOSTBYNAME2 */
/* Define if you have the getprotobynumber function. */
/* #undef HAVE_GETPROTOBYNUMBER */
/* Define if you have the <arpa/inet.h> header file. */
/* #undef HAVE_ARPA_INET_H */
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <iconv.h> header file. */
/* #undef HAVE_ICONV */
/* Define if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */
/* Define if you have the <netinet/in.h> header file. */
/* #define HAVE_NETINET_IN_H 1 */
/* Define if you have the <snmp/snmp.h> header file. */
/* #undef HAVE_SNMP_SNMP_H */
/* Define if you have the <snmp/version.h> header file. */
/* #undef HAVE_SNMP_VERSION_H */
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define if you have the <stddef.h> header file. */
/* #undef HAVE_STDDEF_H */
/* Define if you have the <sys/ioctl.h> header file. */
/* #undef HAVE_SYS_IOCTL_H */
/* Define if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */
/* Define if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/time.h> header file. */
/* #define HAVE_SYS_TIME_H 1 */
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the <sys/wait.h> header file. */
/* #undef HAVE_SYS_WAIT_H */
/* Define if you have the <unistd.h> header file. */
/* #define HAVE_UNISTD_H 1 */
/* Define if <inttypes.h> defines PRI[doxu]64 macros */
/* #define INTTYPES_H_DEFINES_FORMATS */
/* Format for printing 64-bit signed decimal numbers */
#ifndef PRId64
#ifdef _MSC_EXTENSIONS
#define PRId64 "I64d"
#else /* _MSC_EXTENSIONS */
#define PRId64 "lld"
#endif /* _MSC_EXTENSIONS */
#endif /* PRId64 */
/* Format for printing 64-bit unsigned octal numbers */
#ifndef PRIo64
#ifdef _MSC_EXTENSIONS
#define PRIo64 "I64o"
#else /* _MSC_EXTENSIONS */
#define PRIo64 "llo"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIo64 */
/* Format for printing 64-bit unsigned decimal numbers */
#ifndef PRIu64
#ifdef _MSC_EXTENSIONS
#define PRIu64 "I64u"
#else /* _MSC_EXTENSIONS */
#define PRIu64 "llu"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIu64 */
/* Formats for printing 64-bit unsigned hexadecimal numbers */
/* XXX - it seems that GLib has problems with the MSVC like I64x.
As we use GLib's g_sprintf and alike, it should be safe to use
llx everywhere now, making the macros pretty useless. For details see:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1025 */
#ifndef PRIx64
#ifdef _MSC_EXTENSIONS
/*#define PRIx64 "I64x"*/
#define PRIx64 "llx"
#else /* _MSC_EXTENSIONS */
#define PRIx64 "llx"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIx64 */
#ifndef PRIX64
#ifdef _MSC_EXTENSIONS
/*#define PRIX64 "I64X"*/
#define PRIX64 "llX"
#else /* _MSC_EXTENSIONS */
#define PRIX64 "llX"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIX64 */
/* Define if you have the z library (-lz). */
@HAVE_LIBZ@
/* Define to use GNU ADNS library */
@HAVE_C_ARES@
/* Define to use GNU ADNS library */
#ifndef HAVE_C_ARES
@HAVE_GNU_ADNS@
#define ADNS_JGAA_WIN32 1
#endif
/* Define to use the PCRE library */
@HAVE_PCRE@
/* Define to use the Nettle library */
@HAVE_NETTLE@
/* Define to use the gnutls library */
@HAVE_LIBGNUTLS@
/* Define to use the libgcrypt library */
@HAVE_LIBGCRYPT@
/* Define to use mit kerberos for decryption of kerberos/sasl/dcerpc */
@HAVE_KFW@
#ifdef HAVE_MIT_KERBEROS
#define HAVE_KERBEROS
#endif
/* Define to use Lua */
@HAVE_LUA@
@HAVE_LUA_5_1@
/* Define to use Portaudio library */
@HAVE_LIBPORTAUDIO@
/* Define version of of the Portaudio library API */
@PORTAUDIO_API_1@
/* Define to have SMI */
@HAVE_SMI@
/* Define to have GeoIP */
@HAVE_GEOIP@
#ifndef WIN32
#define WIN32 1
#endif
/* Define for IPv6 */
@INET6@
#define HAVE_WINDOWS_H 1
#define HAVE_WINSOCK2_H 1
#define HAVE_DIRECT_H 1
#define NEED_INET_ATON_H 1
#define NEED_INET_V6DEFS_H 1
/* Visual C 9 (2008) now needs these prototypes */
#if _MSC_VER == 1500
#define NTDDI_VERSION NTDDI_WIN2K
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
#endif
#define NEED_GETOPT_H 1
#define NEED_STRPTIME_H 1
#define strcasecmp stricmp
#define strncasecmp strnicmp
#define popen _popen
#define pclose _pclose
/* Needed for zlib, according to http://www.winimage.com/zLibDll/ */
/*#define ZLIB_DLL 1
#define _WINDOWS 1*/
/* Name of package */
#define PACKAGE "wireshark"
/* Version number of package */
#define VERSION "@VERSION@"
/* We shouldn't need this under Windows but we'll define it anyway. */
#define HTML_VIEWER "mozilla"
/* Check for the required _MSC_VER */
#if MSC_VER_REQUIRED != _MSC_VER
#define WS_TO_STRING2(x) #x
#define WS_TO_STRING(x) WS_TO_STRING2(x)
#pragma message( "_MSC_VER is:" WS_TO_STRING(_MSC_VER) " but required is:" WS_TO_STRING(MSC_VER_REQUIRED) )
#error Your MSVC_VARIANT setting in config.nmake doesn't match the MS compiler version!
#endif

964
application/tool/wireshark/1.2.6/config.nmake

@ -0,0 +1,964 @@ @@ -0,0 +1,964 @@
# $Id: config.nmake 27582 2009-03-02 21:33:11Z gerald $
# Some more informations about the settings in this file, can be found
# in the file README.win32 and the Developer's Guide (available online).
##### Target platform #####
# Only "win32" is valid (for now).
# This can be defined in the system environment.
!IFNDEF PLATFORM
PLATFORM=win32
!ENDIF
##### Versions #####
# The current Wireshark version
# It's highly recommended to leave MAJOR/MINOR/MICRO unchanged
VERSION_MAJOR=1
VERSION_MINOR=1
VERSION_MICRO=3
VERSION_BUILD=0
# It's recommended to change VERSION_EXTRA for your own custom builds
# e.g. "-SVN-12345"
VERSION_EXTRA=
# The version of the wiretap library (recommended: leave unchanged)
WTAP_VERSION_MAJOR=0
WTAP_VERSION_MINOR=3
WTAP_VERSION_MICRO=1
##### Directories #####
#
# Base directory, where your libraries reside, which are needed to
# compile the sources. This setting is used only inside this file.
#
#PPMODIF
#WIRESHARK_LIBS=C:\wireshark-$(PLATFORM)-libs
!IFNDEF DEV_ROOT
DEV_ROOT=../../../../../..
!ENDIF
!IFNDEF WS_DEV_ROOT
!IF EXIST( "$(DEV_ROOT)\application\tool\wireshark\ws_dev_root.nmake")
!include $(DEV_ROOT)\application\tool\wireshark\ws_dev_root.nmake
!ENDIF
!ENDIF
!IFNDEF WS_DEV_ROOT
WIRESHARK_LIBS=$(DEV_ROOT)/application/3rdparty/wireshark/$(TGT_WS_VERSION)/$(PLATFORM)-libs
!ELSE
WIRESHARK_LIBS=$(WS_DEV_ROOT)/$(TGT_WS_VERSION)/$(PLATFORM)-libs
!ENDIF
OCT_INC = $(DEV_ROOT)/software/include
!IF "$(DEBUG)" == "1"
DISSECTOR_OBJ_PATH = $(DISSECTOR_SRC:source=Debug_1.2.6)
SMOKE_OBJ_PATH = $(SMOKE_SRC:smoke_test=Debug_Smoke_1.2.6)
!ELSE
DISSECTOR_OBJ_PATH = $(DISSECTOR_SRC:source=Release_1.2.6)
SMOKE_OBJ_PATH = $(SMOKE_SRC:smoke_test=Release_Smoke_1.2.6)
!ENDIF
#
# Base directory, where your programs reside.
# This setting is used only inside this file.
#
!IFNDEF WIRESHARK_RELEASE
WIRESHARK_RELEASE=$(TGT_WS_VERSION)
!ENDIF
PROGRAM_FILES=$(PROGRAMFILES)
!IFNDEF WS_INSTALL_PATH
#
# Wireshark plugins installation
WS_INSTALL_PATH=$(PROGRAM_FILES)/wireshark
!ENDIF
WIRESHARK_PLUGING_DEST=$(WS_INSTALL_PATH)/plugins/$(WIRESHARK_RELEASE)
#
# Location of the "tools" directory. This affects HTML2TXT below and should
# be overridden by makefiles in any subdirectories that use HTML2TXT.
!IFNDEF TOOLS_DIR
TOOLS_DIR=tools
!ENDIF
#
# Machine type for the compiler and linker
# TARGET_MACHINE (Used for link /MACHINE) should be one of "X86" or "X64"
# (sorry ARM, Alpha, MIPS, and Itanium fans).
# CPU (Used by win32.mak) should be one of "i386" or "AMD64".
!if "$(PLATFORM)" == "win32"
TARGET_MACHINE=X86
CPU=i386
!else if "$(PLATFORM)" == "win64"
TARGET_MACHINE=X64
CPU=AMD64
!endif
!IF !DEFINED(MSVC_VARIANT)
##### Microsoft Visual C / Studio Variant #####
# for the different Studios, see: http://en.wikipedia.org/wiki/Microsoft_Visual_Studio
# only one of the following MSVC_VARIANT settings should be used
# BTW: The "Microsoft Visual C++ Toolkit 2003" DOESN'T WORK for WS!
# "Microsoft Visual Studio 6.0"
# Visual C++ 6.0, _MSC_VER 1200, msvcrt.dll (version 6)
#MSVC_VARIANT=MSVC6
# "Microsoft Visual Studio .NET (2002)"
# Visual C++ 7.0, _MSC_VER 1300, msvcr70.dll
#MSVC_VARIANT=MSVC2002
# "Microsoft .Net Framework SDK Version 1.0"
# needs additional Platform SDK installation
# Visual C++ 7.0, _MSC_VER 1300, msvcr70.dll
#MSVC_VARIANT=DOTNET10
# "Microsoft Visual Studio .NET 2003"
# Visual C++ 7.1, _MSC_VER 1310, msvcr71.dll
#MSVC_VARIANT=MSVC2003
# "Microsoft .Net Framework SDK Version 1.1"
# needs additional Platform SDK installation
# Visual C++ 7.1, _MSC_VER 1310, msvcr71.dll
#MSVC_VARIANT=DOTNET11
# "Microsoft Visual Studio 2005"
# Visual C++ 8.0, _MSC_VER 1400, msvcr80.dll
#MSVC_VARIANT=MSVC2005
# "Microsoft Visual C++ 2005 Express Edition"
# needs additional Platform SDK installation
# Visual C++ 8.0, _MSC_VER 1400, msvcr80.dll
#MSVC_VARIANT=MSVC2005EE
# "Microsoft .Net Framework 2.0 SDK"
# needs additional Platform SDK installation
# Visual C++ 8.0, _MSC_VER 1400, msvcr80.dll
#MSVC_VARIANT=DOTNET20
# "Microsoft Visual Studio 2008"
# Visual C++ 9.0, _MSC_VER 1500, msvcr90.dll
#MSVC_VARIANT=MSVC2008
# "Microsoft Visual C++ 2008 Express Edition"
# Visual C++ 9.0, _MSC_VER 1500, msvcr90.dll
MSVC_VARIANT=MSVC2008EE
#
!ENDIF
#
#
# Optional: To compile some time critical code from assembler instead of C
#
# If you have the NASM compiler, set this to the NASM executable.
# http://nasm.sourceforge.net/
#
# If you don't have NASM, comment this line out, so that NASM
# isn't defined.
#
NASM=$(WIRESHARK_LIBS)\nasm-2.02\nasm.exe
##### Libraries #####
#
# Mandatory: GLib settings
#
# Please note: Since Wireshark release 1.0.0, we no longer support GLib1.x
#
GLIB_VERSION=2.0
GLIB_DIR=$(WIRESHARK_LIBS)\glib
#
# Mandatory: GTK (& related libs) settings
#
# Please note: Since Wireshark release 1.0.0, we no longer support GTK1.x
#
# If you want building with GTK+, set GTK_DIR to the pathname of the
# directory in which the "include" and "lib" directories reside.
#
GTK_DIR=$(WIRESHARK_LIBS)\gtk2
#
# Mandatory: Version numbers of GTK and pango.
#
# (MAJOR + MINOR Version number but without MICRO version number)
# These macros are used by the nsis installer script and by the setup target.
#
# GTK 2.12 is the mainline since Wireshark 0.99.7
GTK_INST_VERSION=2.14
PANGO_INST_VERSION=1.22
#
# Optional: WinPcap developer's pack to capture network traffic.
#
# If you have the WinPcap developer's pack (at least version 3.0),
# set this to the directory in which the WinPcap developer's pack resides.
#
# If you don't have the WPdpack, comment this line out, so that
# PCAP_DIR isn't defined.
#
PCAP_DIR=$(WIRESHARK_LIBS)\WPdpack
#
# Optional: WinPcap remote capture support and new API
# (pcap_open(), pcap_findalldevs_ex(), etc.)
#
PCAP_REMOTE=1
#
# Optional: The ZLib enables unzipping of gzip compressed capture files
# "on the fly".
#
# If you have Zlib, set this to directory in which the Zlib headers
# and .lib file are stored.
#
# If you don't have Zlib, comment this line out, so that ZLIB_DIR isn't
# defined.
#
ZLIB_DIR=$(WIRESHARK_LIBS)\zlib123
#
# Optional: the ADNS library enables asynchronous (nonblocking) DNS
# name resolvings.
#
# If you have GNU ADNS, set this to the directory in which the GNU ADNS
# .lib file is stored.
#
# If you don't have GNU ADNS, comment this line out, so that ADNS_DIR
# isn't defined.
#
# If C_ARES_DIR is defined below, it will override this setting.
#
#ADNS_DIR=$(WIRESHARK_LIBS)\adns-1.0-win32-05ws
#
# Optional: the c-ares library enables asynchronous (nonblocking) DNS
# name resolvings.
#
# If you have c-ares, set this to the directory in which the c-ares
# .lib file is stored. Setting this will override ADNS_DIR above. You
# can't have both.
#
# If you're using Visual C++ 6.0, you'll have to use a platform SDK that
# defines socklen_t, such as Windows Server 2003 PSDK.
#
# If you don't have c-ares, comment this line out, so that C_ARES_DIR
# isn't defined.
#
C_ARES_DIR=$(WIRESHARK_LIBS)\c-ares-1.6.0ws
#
# Optional: the PCRE (Perl Compatible Regular Expressions) library
# enables regular expressions for display filters.
#
# If you have the PCRE library, set this to the directory in which
# the GNUWIN32 pcre-lib package is stored.
#
# If you don't have PCRE, comment this line out, so that PCRE_DIR
# isn't defined.
#
PCRE_DIR=$(WIRESHARK_LIBS)\pcre-7.0
#
# Optional: the GNUTLS library enables ssl decryption.
#
# If you have the GNUTLS library, set this to the directory where
# the lib and include files are stored.
#
# If you don't have GNUTLS, comment this line out, so that GNUTLS_DIR
# isn't defined.
#
# Platform SDK conflicts with openssl.h header
#GNUTLS_DIR=$(WIRESHARK_LIBS)\gnutls-2.6.3-1
GNUTLS_DIR=$(WIRESHARK_LIBS)\gnutls-2.6.4-1
#
# Optional: the KFW library enables kerberos/sasl/dcerpc decryption.
#
# If you have the kerberos for windows (mit) library, set this to the
# directory where the kfw package is stored.
#
# If you don't have KFW, comment this line out, so that KFW_DIR
# isn't defined.
#
KFW_DIR=$(WIRESHARK_LIBS)\kfw-2.5
#
# Optional: the Nettle library enables ??? decryption.
#
# If you have the Nettle encryption library, set this to the
# directory in which the nettle package is stored.
#
# If you don't have Nettle, comment this line out, so that NETTLE_DIR
# isn't defined.
#
# NETTLE_DIR=$(WIRESHARK_LIBS)\nettle-1.10
#
# Optional: the LUA library enables scripting support.
#
# If you have the LUA library, set this to the directory in which
# the LUA package is stored.
#
# If you don't have LUA, comment this line out, so that LUA_DIR
# isn't defined.
#
LUA_DIR=$(WIRESHARK_LIBS)\lua5.1.4
#
# Optional: the PORTAUDIO library enables audio output for RTP streams.
#
# If you have the PORTAUDIO library (used for rtp_player), set this to
# the directory in which the PORTAUDIO library is stored.
#
# If you don't have PORTAUDIO, comment this line out, so that
# PORTAUDIO_DIR isn't defined.
#
#PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1
PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v19_2
#
# Version number of PortAudio
#
#PORTAUDIO_VERSION=18
PORTAUDIO_VERSION=19
#
# Iconv: Mandatory for Glib >= 2 and <= 2.14.4
# [win-iconv statically linked as part of Glib >= 2.14.5]
# Set ICONV_DIR to the directory in which the
# ICONV include files and library resides.
#
##ICONV_DIR=$(WIRESHARK_LIBS)\libiconv-1.9.1.bin.woe32
#
# Mandatory for GTK >= 2: Gettext
#
# Set GETTEXT_DIR to the directory in which the
# GETTEXT include files and library resides.
#
#GETTEXT_DIR=$(WIRESHARK_LIBS)\gettext-0.14.5
GETTEXT_DIR=$(WIRESHARK_LIBS)\gettext-runtime-0.17-1
#
# Optional: AirPcap developer's pack to capture wireless network traffic
# incl. 802.11 management frames.
#
# If you have the AirPcap developer's pack, set this to the directory
# in which the AirPcap developer's pack resides.
#
# If you don't have the AirPcap developer's pack, comment this line out,
# so that AIRPCAP_DIR isn't defined.
#
AIRPCAP_DIR=$(WIRESHARK_LIBS)\AirPcap_Devpack_1_0_0_594\AirPcap_Devpack
#
# Optional: LIBSMI, System Management Interface
#
# Used for oid-name resolution for SNMP and other protocols
#
SMI_DIR=$(WIRESHARK_LIBS)\libsmi-0.4.8
#
# Optional: GeoIP, IP address database lookups
#
# Used to map IP addresses to MaxMind GeoIP database entries
#
# GeoIP requires IPv6 definitions that don't ship with Visual C++ 6.0.
# However, the Microsoft Platform SDK for Windows Server 2003 R2 provides
# these definitions. The SDK's SetEnv.bat script defines INETSDK.
!IF "$(MSVC_VARIANT)" != "MSVC6" || DEFINED(INETSDK)
GEOIP_DIR=$(WIRESHARK_LIBS)\GeoIP-1.4.5ws
!ENDIF
##### Tools #####
# Set the following mandatory commands to find the tools.
# The easiest way is to use the corresponding packages from cygwin.
# Set up the path to the cygwin binaries
CYGWIN_PATH=c:\cygwin\bin
# command for a shell (cygwin's bash package recommended)
SH_PROG=bash
# bash versions after 3.1.6 need the 'igncr' shell option to be able to
# process scripts in windows 'native format' (dos crlf format).
# The following !IF results in the option being used only if it is available
# since using it on bash version 3.1.6 (or earlier) is not required and
# will cause an error message.
!if "$(SH_PROG)"=="bash" && [$(CYGWIN_PATH)\bash -c "set -o igncr" 2>nul: ] == 0
SH_FLAGS=-o igncr
!endif
SH=$(SH_PROG) $(SH_FLAGS)
# command for perl (cygwin's perl package recommended)
PERL=perl
# command for pod2man and pod2html
# (part of the perl package, usually leave these unchanged)
POD2MAN=$(SH) pod2man
POD2HTML=$(SH) pod2html
# Command for native Windows Python (recommended)
# V2.4 to V2.6 should work
# If you want to specify your Python settings, uncomment the lines below.
#PYTHON="C:\Python26\python.exe"
#PATH=c:\Python26;$(PATH)
# Command for Cygwin's Python (not recommended)
#PYTHON=env python
# Otherwise, find Python automatically.
!IF !DEFINED(PYTHON)
!IF EXIST(c:\Python26\python.exe)
PYTHON="C:\Python26\python.exe"
PATH=c:\Python26;$(PATH)
!ELSE IF EXIST(c:\Python25\python.exe)
PYTHON="C:\Python25\python.exe"
PATH=c:\Python25;$(PATH)
!ELSE IF EXIST(c:\Python24\python.exe)
PYTHON="C:\Python24\python.exe"
PATH=c:\Python24;$(PATH)
!ENDIF
!ENDIF
# command for lex/flexx (cygwin's flex recommended)
LEX=flex
# command for yacc/bison (cygwin's bison recommended)
YACC=bison
#
# Optional: To build the NSIS installer.
#
# If you have the NSIS package, set this to the NSIS executable.
#
# If you don't have NSIS, comment this line out, so that MAKENSIS
# isn't defined.
#
MAKENSIS="$(PROGRAM_FILES)\nsis\makensis.exe"
#
# Optional: To build the developers API documentation with doxygen and dot.
# Currently experimental, outdated and incomplete.
#
# You will have to download and install:
# Doxygen from: http://www.doxygen.org
# Graphviz from: http://www.research.att.com/sw/tools/graphviz/
#
# If you have doxygen, set this to the doxygen executable.
#
# If you don't want the developers documentation (or don't have the tools),
# comment this line out, so that DOXYGEN isn't defined.
#
#DOXYGEN="$(PROGRAM_FILES)/doxygen/bin/doxygen.exe"
#
# Recommended: Use the compressed html help format .chm as the Wireshark integrated help.
#
# The required htmlhelp.h and htmlhelp.lib should be included in MSVC_VARIANT > MSVC6.
#
# For MSVC_VARIANT == MSVC6 you will have to download and install the html help workshop from:
#
# http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html
# /hwMicrosoftHTMLHelpDownloads.asp
#
# Then point HHC_DIR to the html help dir (where hhc.exe resides).
#
# If you don't want the online help (or don't have the tools),
# comment this line out, so that HHC_DIR isn't defined.
#
HHC_DIR=$(PROGRAM_FILES)/HTML Help Workshop
#
# Optional: To reduce the size of dlls and exes, which is especially useful for USB device distributions (U3, PortableApps)
#
# If you have the UPX package, set this to the upx.exe executable.
#
# UPX can be downloaded from:
# http://upx.sourceforge.net/
#
# If you don't have UPX, or don't want to pack exes and dlls,
# comment this line out, so that UPX isn't defined.
#
UPX=$(WIRESHARK_LIBS)\upx301w\upx.exe
##### Flags, PATHs and Miscellaneous #####
# "convert" the MSVC variant into the required MSC compiler version
!IF "$(MSVC_VARIANT)" == "MSVC6"
MSC_VER_REQUIRED=1200
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2002" || "$(MSVC_VARIANT)" == "DOTNET10"
MSC_VER_REQUIRED=1300
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2003" || "$(MSVC_VARIANT)" == "DOTNET11"
MSC_VER_REQUIRED=1310
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005" || "$(MSVC_VARIANT)" == "MSVC2005EE" || "$(MSVC_VARIANT)" == "DOTNET20"
MSC_VER_REQUIRED=1400
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2008" || "$(MSVC_VARIANT)" == "MSVC2008EE"
MSC_VER_REQUIRED=1500
!ELSE
!ERROR MSVC_VARIANT unknown
!ENDIF
# Compiler flags:
# /W3 warning level 3 (0 less - 4 most, 1 default)
# /Zi create .pdb file for debugging
# /MD use "Multithreading Debug" libraries
# /D_CRT_SECURE_NO_DEPRECATE Don't warn for "insecure" calls, see MSDN "Security Enhancements in the CRT"
# /D_CRT_NONSTDC_NO_DEPRECATE Don't warn for "Deprecated CRT Functions" as MSDN calls this
# /D_BIND_TO_CURRENT_CRT_VERSION=1 Make sure our CRT and manifest versions match (http://msdn.microsoft.com/en-us/library/cc664727.aspx)
# /DWIN32_LEAN_AND_MEAN Don't include unnecessary Windows include files (see windows.h)
# /MP [<number of processes>] [MSVC2008]: Compiles multiple source files by using multiple processes
# Add if desired for compile speedup on machines with 2 or more "effective processors"
# /MANIFEST:no Don't create a SxS manifest. Makes sure our plugins don't load a second copy of the CRT.
#
!IF "$(MSVC_VARIANT)" == "MSVC6" || "$(MSVC_VARIANT)" == "MSVC2002" || "$(MSVC_VARIANT)" == "DOTNET10" || "$(MSVC_VARIANT)" == "MSVC2003" || "$(MSVC_VARIANT)" == "DOTNET11"
LOCAL_CFLAGS=/Zi /W3 /MD /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED)
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005" || "$(MSVC_VARIANT)" == "MSVC2005EE" || "$(MSVC_VARIANT)" == "DOTNET20" || "$(MSVC_VARIANT)" == "MSVC2008" || "$(MSVC_VARIANT)" == "MSVC2008EE"
LOCAL_CFLAGS=/Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED) /D_BIND_TO_CURRENT_CRT_VERSION=1
!ELSE
!ERROR MSVC_VARIANT unknown
!ENDIF
# Linker flags:
# /DEBUG generate debug info
# /PROFILE generate map file(s) for profiling
# /DEFAULTLIB:xxx use xxx as the standard C library
# /NODEFAULTLIB:xxx don't use xxx as the standard C library
#
LOCAL_LDFLAGS=/DEBUG /MACHINE:$(TARGET_MACHINE)
DLL_LDFLAGS =
!IF $(MSC_VER_REQUIRED) >= 1400
DLL_LDFLAGS = /MANIFEST:no
!ENDIF
PLUGIN_LDFLAGS = /NOLOGO /INCREMENTAL:no $(LOCAL_LDFLAGS) $(DLL_LDFLAGS)
#
# According to http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=403
# XCOPY under Windows NT doesn't support the "/Y" flag. This works
# around that bug.
# XXX - This apparently doesn't work for some versions of nmake:
# http://support.microsoft.com/default.aspx?scid=kb;en-us;86814
# It looks like we'll have to call "set copycmd=/y" before we run xcopy.
COPYCMD=/y
#
# If you don't want to build libwireshark.dll, you should comment out the
# following line. (Note: for plugin support this option must stay activated)
ENABLE_LIBWIRESHARK=USE
#
# install (debug) directory for Wireshark (relative to your source dir)
INSTALL_DIR=wireshark-gtk2
##### C-Runtime Redistributable #####
#
# The C-Runtime since Version 7 must be shipped together with
# the program installer, to avoid missing msvcr*.dll files on
# the target machine.
#
# The location of these files differ on the various compiler
# packages, the following will use the default paths depending
# on the package version.
#
!IF "$(MSVC_VARIANT)" == "MSVC6"
# msvcrt.dll will already be available on target machines - nothing additional to install
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2002"
# you probably need to tweak this directory if you don't use the professional edition!
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio .NET\Visual Studio .NET Professional - English\msvcr70.dll
!ELSEIF "$(MSVC_VARIANT)" == "DOTNET10"
# no redistributable available for this package!
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2003"
# you probably need to tweak this directory if you don't use the professional edition!
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio .NET 2003\Visual Studio .NET Professional 2003 - English\msvcr71.dll
!ELSEIF "$(MSVC_VARIANT)" == "DOTNET11"
# no redistributable available for this package!
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005"
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\*.*
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005EE" || "$(MSVC_VARIANT)" == "DOTNET20" || "$(MSVC_VARIANT)" == "MSVC2008EE"
# you need to download the redistributable package vcredist_x86.exe from Microsoft first,
# and copy it to the lib folder!!!
VCREDIST_EXE=$(WIRESHARK_LIBS)\vcredist_x86.exe
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2008"
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*
!ELSE
!ERROR MSVC_VARIANT unknown
!ENDIF
##### Advanced: Docbook/XML documentation generation #####
# If you want to generate the Docbook/XML based docs (User's and Developer's
# Guide, ...), you'll need some additional tools / libraries compared to the
# rest of the build process.
#
# FOR DETAILED INSTRUCTIONS TO GENERATE THE DOCS, SEE: docbook\readme.txt.
#
# If you don't call the Makefile.nmake in the docbook dir to generate the
# docs, the following settings in this section will have no effect.
# formatting objects processor executable
# Comment this out if you don't have fop installed or you don't want the docs
# in PDF format.
!IFNDEF FOP
FOP=fop-0.20.5\fop.bat
!ENDIF
# Additional options to fop.
FOP_OPTS=-Xmx256m
# html help compiler
# Comment this out if you don't have hhc.exe or you don't want the docs in
# .chm format.
#
# Beware: hhc.exe is NOT part of the MSVC packages in HHC_DIR mentioned above,
# so you'll need to install the HTML Help Workshop for this.
HHC_EXE="$(HHC_DIR)\hhc.exe"
# html to text converter for text version of release notes, e.g. elinks.
# This could also be "lynx", or "true" if neither elinks nor lynx is installed
# (cygwin: lynx works, elinks not available, links and true doesn't produce output)
#HTML2TXT=elinks -dump -dump-width 72
#HTML2TXT=links -dump -width 72
#HTML2TXT=lynx -dump -width=72 -nolist -stdin
!IFNDEF HTML2TXT
HTML2TXT=$(PYTHON) $(TOOLS_DIR)\html2text.py --width=72 --no-links
!ENDIF
# the XSL processor (part of cygwin's libxslt package)
XSLTPROC="xsltproc"
# the XML validator (part of cygwin's libxml2 package)
XMLLINT="xmllint"
##############################################################################
#
# You should not have to change anything below this comment.
# If you do, it's a deficiency in the Makefile.nmake files;
# either tell wireshark-dev@wireshark.org about it, including
# details of why you had to change it, or fix config.nmake
# and any Makefile.nmake files that need to be changed, and
# send us the patches, along with details of why the change
# was necessary.
#
##############################################################################
#
# The RC_VERSION should be comma-separated, not dot-separated,
# as per Graham Bloice's message in
#
# http://www.ethereal.com/lists/ethereal-dev/200303/msg00283.html
#
# "The RC_VERSION variable in config.nmake should be comma separated.
# This allows the resources to be built correctly and the version
# number to be correctly displayed in the explorer properties dialog
# for the executables, and XP's tooltip, rather than 0.0.0.0."
#
VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO)$(VERSION_EXTRA)
RC_VERSION=$(VERSION_MAJOR),$(VERSION_MINOR),$(VERSION_MICRO),$(VERSION_BUILD)