The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / wiretap / Makefile.nmake @ master

History | View | Annotate | Download (2.26 KB)

# Date Author Comment
696cb6c1 07/20/2014 09:15 AM Роман Донченко

Use forward slashes in paths to runlex.sh

This gets rid of "MS-DOS style path detected" warnings from Cygwin.

Change-Id: Id10429669704aa371dbf56a9398947c8002260ad
Reviewed-on: https://code.wireshark.org/review/3024
Reviewed-by: Evan Huus <>...

ea721b89 07/09/2014 08:59 PM Guy Harris

Revert "More needed to get rid of "lib" in "libwsutil" on Windows."

This reverts commit 28719a4e4e01b478889dab9611fed517e506360e.

Most of the change to remove "lib" seems to work, but the list of libraries to sign appears not to be in the source repository, so I can't make that step work....

28719a4e 07/09/2014 07:29 PM Guy Harris

More needed to get rid of "lib" in "libwsutil" on Windows.

Change-Id: Iffc12ce67a8245e96eac3cf253641a15385001a9
Reviewed-on: https://code.wireshark.org/review/2969
Reviewed-by: Guy Harris <>

757aa332 03/31/2014 02:48 PM Alexis La Goutte

Continue to remove $Id$ from top of file

(Using sed : sed -i '/^\# \$Id\$/,+1 d') (start with dash)

Change-Id: Ia4b5a6c2302f6a531f6a86c1ec3a2f8205c8c2dd
Reviewed-on: https://code.wireshark.org/review/881
Reviewed-by: Anders Broman <>

fc9156a8 03/02/2013 05:19 PM Pascal Quantin

Try to fix LNK4217 (locally defined symbol imported in function) and C4273 (inconsistent DLL linkage) warnings when compiling for Windows

svn path=/trunk/; revision=48021

383d73be 02/28/2013 04:42 PM Balint Reczey

Add -DWS_BUILD_DLL to wiretap Windows builds

It fixes symbol exporting from DLLs.

svn path=/trunk/; revision=47953

aa659985 02/28/2013 02:35 PM Balint Reczey

Export libwiretap symbols using WS_DLL_PUBLIC define

TODO: hide flex-generated functions

svn path=/trunk/; revision=47948

ff0d1ec3 06/19/2012 03:53 PM Gerald Combs

ascend_scanner.c includes ascend.h. Add corresponding makefile
dependencies, otherwise we might have a race condition when doing
parallel makes. Hopefully this will fix intermitten buildbot failures
we've been getting lately.

svn path=/trunk/; revision=43387

75c3c92f 04/04/2012 04:46 PM Jeff Morriss

Add a "-build" argument to checkAPIs.pl. Use that argument when building
from makefiles (and thus from the buildbot).

The intention is to be able to tell when a human is running the tool so we
can provide more code-review guidance.

As a starter, enable the "too many proto_tree_add_text() calls" check when...

605dea04 02/24/2012 11:23 AM Bill Meier

CVARSDLL hasn't been used (is undefined) for a while....

svn path=/trunk/; revision=41180

0179b7dc 01/29/2012 03:33 PM Anders Broman

Add *.sbr files to the clean target.

svn path=/trunk/; revision=40763

d3efa3ed 02/01/2011 08:19 PM Bill Meier

A bit of Windows makefiles rework and cleanup:
- Define macros for certain CFLAGS in config.nmake iso of having defs in each makefile;
a. -DHAVE_CONFIG_H and -D_U_="" are now part of a macro named STANDARD_CFLAGS;
b. -WX has been replaced by WARNINGS_ARE_ERRORS (defined as -WX in config.nmake)...

67d6f597 07/16/2009 04:27 AM Anders Broman

Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmake
for MSVC variant 2008 only. As suggested by Bill Meier.

svn path=/trunk/; revision=29114

91caa010 07/15/2009 04:55 PM Anders Broman

Add /MP flag to make use of multi cores.

svn path=/trunk/; revision=29104

0d300bb6 06/15/2009 02:56 PM Jörg Mayer

Rename all of the ascend files:
That way we hopefully won't need the runlex.sh hack any
more. Also the ylwrap stuff is (hopefully) obsolete.

ascend.[hc] -> ascendtext.[hc]
ascend-scanner.l -> ascend_scanner.l
ascend-grammar.y -> ascend.y

svn path=/trunk/; revision=28744

67c15952 06/04/2009 08:27 AM Bill Meier

Fix Windows build warning:
cl : Command line warning D9024 : unrecognized source file type 'ascend-grammar.h', object file assumed
cl : Command line warning D9027 : source file 'ascend-grammar.h' ignored

svn path=/trunk/; revision=28635

15f33eec 04/08/2009 02:08 PM Gerald Combs

Disable warnings-as-errors for Flex-generated output. Add a couple of gsize
casts.

svn path=/trunk/; revision=28002

0df88c65 03/11/2009 02:48 PM Gerald Combs

Flex doesn't generate LLP64-compilable output. For the time being don't
use -WX when compiling ascend-scanner.c and k12text.c.

svn path=/trunk/; revision=27703

57dadc46 03/02/2009 04:33 PM Gerald Combs

More Windows compiler flag cleanups. Fix a problem with my last commit
that would break compilation for older compilers. Create a "DLL_LDFLAGS"
variable and use it in DLLs and plugins. Use PLUGIN_LDFLAGS and
DLL_LDFLAGS where needed. Don't force i386 code in the TPG plugin....

85fb7e23 08/21/2008 02:12 PM Gerald Combs

_MSC_VERs 1400 and greater require manifests. Check against
MSC_VER_REQUIRED when we run mt.exe instead of checking for each
individual MSVC_VARIANT. This fixes the current buildbot test failures
on Windows, which resulted from a missing check for MSVC2008. This...

7d8e29f5 08/04/2008 07:05 PM Gerald Combs

From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.

From me:

Instead of adding adns_config.h, place it a custom adns package in
wireshark-win32-libs. Update tools/win32-setup.sh accordingly.

Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to...

df002f6b 07/17/2008 12:35 PM Bill Meier

Remove -g abort from checkAPIs (for now) since existing issues not yet resolved.

svn path=/trunk/; revision=25759

3f215ba2 07/01/2008 10:00 PM Guy Harris

This directory needs some checkapi love; it's not yet ready for that to
be a default part of the build process, now that we're doing some more
checking.

svn path=/trunk/; revision=25658

b6e20d89 07/01/2008 05:13 PM Guy Harris

Put printf into a separate "termoutput" API group. For most files,
check for it - but not for TShark plugins, as they are expected to
print to the standard output.

svn path=/trunk/; revision=25653

3d18ce8e 07/01/2008 04:30 PM Guy Harris

The intended argument for "-g" was presumably "abort", given Gerald's
checkin comment (that Wiretap routines shouldn't abort the program).

svn path=/trunk/; revision=25650

d299a7f5 07/01/2008 04:28 PM Guy Harris

Unless I've misread the GetOptions documentation, the "-g" flag to
checkAPIs.pl takes a mandatory string argument, not an optional string
argument.

svn path=/trunk/; revision=25649

6012eaea 06/26/2008 07:43 PM Gerald Combs

Wiretap code probably shouldn't abort the application either.

svn path=/trunk/; revision=25615

a5cee04f 05/22/2008 11:46 AM Jeff Morriss

Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.

While doing that, rename the eth_* functions to ws_*.

svn path=/trunk/; revision=25354

3803a5ed 05/20/2008 05:58 PM Jeff Morriss

Use the correct name for libwsutil

svn path=/trunk/; revision=25332

58459d3f 05/20/2008 05:51 PM Jeff Morriss

Create a new "Wireshark utility" library and move the mpeg-audio stuff from
wiretap to this new libwsutil. This solves
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark
no longer depend on libwiretap.

svn path=/trunk/; revision=25330

cfc41228 05/14/2008 06:25 AM Tomas Kukosa

do not use * wildcard which is not supported by Windows commandline

svn path=/trunk/; revision=25299

b48924f9 05/13/2008 03:05 PM Anders Broman

Fix some of the Errors/warnings detected by checkapi.

svn path=/trunk/; revision=25288

7e40100f 05/08/2008 05:37 AM Martin Mathieson

From Anders: Checkapi enabled for wiretap and more functions converted.

svn path=/trunk/; revision=25257

e7cc1ee2 05/06/2008 02:18 AM Anders Broman

Add checkapi target.

svn path=/trunk/; revision=25245

9ea3c33a 12/07/2007 10:22 PM Guy Harris

Add .. to the directory in which to look for headers, just as is done
with automake/autoconf, so we pick up config.h.

svn path=/trunk/; revision=23805

947e70b4 12/07/2007 06:58 PM Guy Harris

Delete the right config.h.win32.

Copy the MSVC++-version-checking stuff from it into the top-level
config.h.win32, and try to set up config.nmake so that MSC_VER_REQUIRED
is defined in all Makefiles that include config.nmake.

svn path=/trunk/; revision=23802

8b14380c 12/07/2007 06:38 PM Guy Harris

Run runlex.sh from the tools directory. Get rid of the extra copy in
the top-level directory.

Don't build config.h in the wiretap directory - it now uses config.h
from the top-level directory. Get rid of the template config.h.win32 in
that directory.

Get rid of files that are no longer in the wiretap directory or are no...

0f6b7b83 08/03/2007 11:14 PM Guy Harris

runlex.sh is in tools, not the top-level directory.

svn path=/trunk/; revision=22449

5be4499a 08/03/2007 10:13 PM Guy Harris

Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines. Use that script when building...

46be54ce 08/01/2007 06:20 PM Guy Harris

Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a
.SUFFIXES pseudo-rule to add .l to the list of suffixes. Have
Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get...

61dd46fa 07/31/2007 08:22 PM Guy Harris

Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.

svn path=/trunk/; revision=22434

b2afad68 05/09/2007 02:33 AM Ulf Lamping

fix manifest error: for dll's mt.exe must be given ;2

svn path=/trunk/; revision=21735

0abc3ba9 05/06/2007 05:17 AM Ulf Lamping

instead of copying the MSVC 2005 manifest files around, embed them into the .exe / .dll files - this way is easier to handle while packaging and alike, and probably will solve some problems. We might want to do this for the plugins as well later.

svn path=/trunk/; revision=21696

d4fd968d 05/02/2007 04:09 PM Luis Ontanon

add support for the text export format of textronix k125

svn path=/trunk/; revision=21651

77ec3247 03/20/2007 09:32 PM Ulf Lamping

set compiler option "treat warnings as errors" - to prevent new warnings for wiretap

remove all compiler warnings:
a) prevent wrong malloc/free definitions by lex/yacc generated files
b) add int/time_t casts - MSVC2005 is more "sensitive" about this than MSVC6...

04d29de8 03/18/2007 11:36 AM Bill Meier

Fix Windows Makefiles so clean removes all pdb files (PDB_FILE no longer defined)

svn path=/trunk/; revision=21052

cd5aae81 01/31/2007 12:26 AM Ulf Lamping

instead of putting the MSC_VER_REQUIRED test into the root Makefile (which would require to change ALL makefiles - the buildbot revealed it), simply put it in the wiretap generation. As wiretap is mandatory and one of the first things to be build this doesn't even sound like a bad idea anyway ......

f3235a25 01/12/2007 12:47 AM Ulf Lamping

second try for file_util.c ... (at least OS X didn't liked it)

svn path=/trunk/; revision=20403

2cbce84d 01/11/2007 10:05 PM Ulf Lamping

Win32: MSVC > 6 doesn't work well with Unicode filenames!

fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do)...

59cebb95 01/03/2007 12:41 AM Ulf Lamping

remove the PDB_FILE setting from config.nmake - there's no real need for this info

add some missing files to the clean targets

svn path=/trunk/; revision=20290

38c1fab2 02/22/2006 01:06 AM Anders Broman

Add makefile.nmake

svn path=/trunk/; revision=17365

6616a377 02/14/2005 03:33 PM Guy Harris

Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.

Clean up "*~" files with "make clean" rather than only "make distclean"...

19ddb92c 09/12/2004 07:29 PM Ulf Lamping

to prevent problems reported by David Richards, don't depend on the cvarsdll from win32.mak and define our own CVARSDLL

svn path=/trunk/; revision=11980

39ceb18b 07/26/2004 04:46 PM Guy Harris

Add a Makefile.common for Wiretap, and have Makefile.am and
Makefile.nmake include it.

svn path=/trunk/; revision=11528

f28323ba 07/23/2004 02:11 AM Guy Harris

From Graham Bloice: add resources to wiretap.dll.

svn path=/trunk/; revision=11476

8a8b8834 07/17/2004 08:24 PM Guy Harris

Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on...

2df96032 02/11/2004 03:05 PM Guy Harris

From Rolf Fiedler: support for reading EyeSDN USB S0 trace files.

svn path=/trunk/; revision=10038

fe73d8e3 12/02/2003 02:37 PM Guy Harris

From Martijn Schipper: support for reading AiroPeek files in V9 capture
file format (AiroPeek 2.x).

svn path=/trunk/; revision=9144

4192ad97 11/07/2003 06:27 PM Guy Harris

Let people configure whether to build with Zlib or not solely by
controlling whether ZLIB_DIR is defined or not in config.nmake.

svn path=/trunk/; revision=8911

0247fbeb 10/30/2003 07:43 PM Guy Harris

From Scott Emberley: support for reading Network Instruments version 9
capture files.

svn path=/trunk/; revision=8840

95c1f2f7 10/29/2003 10:11 PM Guy Harris

From Marcel Holtmann: support for reading Linux Bluez Bluetooth stack
"hcidump -w" traces.

Note that Jesper Peterson contributed support for reading Endace ERF
files.

svn path=/trunk/; revision=8824

02e1d268 10/10/2003 05:31 PM Guy Harris

Give every Makefile.nmake file a "distclean" rule, and have "distclean"
recurse into subdirectories doing "nmake -f Makefile.nmake distclean".

Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean"
doesn't remove (such as Flex/Bison output and config.h files) - and have...

4ecb7cb4 08/26/2003 03:10 AM Guy Harris

From Jesper Peterson: support for Endace ERF file format.

svn path=/trunk/; revision=8272

fb0480ae 08/23/2003 04:34 AM Guy Harris

Use "file_access.c", not "file_io.c", as the latter is already in use in
a not-yet-ready-for-prime-time project of mine (fast random access to
gzipped files, plus an mechanism to allow support for other forms of
compression).

svn path=/trunk/; revision=8221

995285fd 08/22/2003 03:07 PM Guy Harris

Rename "wiretap/file.c" to "wiretap/file_io.c", as some tools, such as
the MS Visual Studio debugger, get confused by two files with the same
name being in a program's source, even though they're in different
directories.

svn path=/trunk/; revision=8208

2240c066 07/29/2003 03:42 PM Guy Harris

From Thierry Martin: support for reading files from Accellent 5Views LAN
agents.

svn path=/trunk/; revision=8093

8178db49 06/14/2003 04:45 PM Guy Harris

Define GLIB_LIBS and GTK_LIBS variables in config.nmake (based on
variables the user configures - the user isn't expected to change
GLIB_LIBS or GTK_LIBS, and there's a comment nothing that users
shouldn't have to do so), which contain the appropriate libraries for...

71424053 06/14/2003 04:36 PM Guy Harris

Define GLIB_CFLAGS and GTK_CFLAGS variables in config.nmake (based on
variables the user configures - the user isn't expected to change
GLIB_CFLAGS or GTK_CFLAGS, and there's a comment nothing that users
shouldn't have to do so), which contain the appropriate "/I" flags for...

5d929e0e 07/31/2002 03:27 PM Guy Harris

From Motonori Shindo: support for reading CoSine L2 debug output.

svn path=/trunk/; revision=5922

63ae5638 06/13/2002 06:39 AM Guy Harris

Add /I$(PCAP_DIR)/include to the list of directories in which to look
for header files, so that we find "pcap.h".

svn path=/trunk/; revision=5667

105efda4 04/30/2002 02:58 PM Guy Harris

Move the code to guess the traffic type based on the packet contents
into Wiretap, so that if you read a frame from Wiretap you have what
traffic type information could be gleaned from the information in the
capture file, and can write the frame out to a capture file where the...

b4971b39 02/27/2002 04:42 AM Guy Harris

From Joerg Mayer:

In the "configure.in" files, add
-D_U_="__attribute__((unused))"
to CFLAGS if we're using GCC, and add
-D_U_=""
otherwise, so U can be used to mark arguments as unused.

Add -D_U_="" arguments to the Makefile.nmake files as well, so U works...

39362af8 12/11/2001 08:29 PM Guy Harris

From Motonori Shindo:

fix a bogus batch mode inference rule of make, so that
"vc60.pdb" files are created in the proper directory;
delete ".pdb" files in a "nmake -f Makefile.nmake clean";
include the text2pcap and mergecap ".pdb" files in the Windows...
bc225c2a 12/04/2001 05:28 PM Guy Harris

Support for reading Visual Networks traffic capture files, from Tom
Nisbet.

Make a comment in "wiretap/file.c" clearer, so people know where to put
the entries for their capture file type.

svn path=/trunk/; revision=4328

9c0c25dc 10/19/2001 04:18 PM Guy Harris

DBS Etherwatch wiretap module, from Marc Milgram.

svn path=/trunk/; revision=4042

3c78feea 10/18/2001 04:29 PM Guy Harris

VMS TCPIPtrace wiretap module, from Marc Milgram.

Update the lists of known capture file formats in the Tethereal,
editcap, and mergecap man pages to match the current list (as found in
the Ethereal man page).

svn path=/trunk/; revision=4039

b6bd7af5 04/12/2001 02:07 PM Gilbert Ramirez

Improvement of 'make clean' targets.

svn path=/trunk/; revision=3297

b71792ef 04/05/2001 11:52 PM Gilbert Ramirez

Build with zlib.
Pre-compiled zlib provided at
http://www.ethereal.com/distribution/win32/zlib-1.1.3-fixed.zip
"fixed" because the pre-compiled version in the "extralibs" package
from the Gimp/Win32 page has a fault zlib.lib in it.

Add note about zlib in README.win32; more work needs to be done to...

a8d864bc 04/05/2001 12:39 AM Gilbert Ramirez

Use sed in the Win32 build to place the version in various files.
We us $(VERSION), defined in the top-level config.nmake, to replace
VERSION in various files. $(RC_VERSION) and $(WTAP_VERSION) are
similarly used.

svn path=/trunk/; revision=3258

e108afe2 03/22/2001 09:05 PM Gilbert Ramirez

The Win32 build builds wiretap as a DLL and requires WinPcap 2.1.

svn path=/trunk/; revision=3163

99ec3108 02/22/2001 05:03 PM Guy Harris

Etherpeek version 5, 6, and 7 support, from Daniel Thompson.

svn path=/trunk/; revision=3066

8fa85bbd 09/19/2000 01:27 PM Gilbert Ramirez

Add pppdump.obj to win32 makefile.

svn path=/trunk/; revision=2449

c83d80de 08/08/2000 06:16 PM Mike Hall

Added wiretap support to read the Cisco Secure Intrusion Detection System IPLog format.

svn path=/trunk/; revision=2231

baaad29b 05/29/2000 04:11 PM Guy Harris

Graham Bloice's Win32 Makefile changes to build in batch mode (gets rid
of multiple compile lines in the output of the build, speeds the build
up).

svn path=/trunk/; revision=2024

3c9a310b 04/29/2000 03:35 AM Guy Harris

Graham Bloice's changes to, on Win32 using Microsoft's "nmake":

build "register.c" in the top-level Makefile;
set path in "config.nmake" to include the Cygwin directory for
tools - those tools are needed to build "register.c";
remove constructed source files, and some additional object...
ed237c12 04/12/2000 05:52 PM Gilbert Ramirez

Build tethereal and editcap on Win32.
Add RCS ID tags to Makefile.nmake's.

svn path=/trunk/; revision=1836

fc889991 04/06/2000 02:19 AM Guy Harris

Use the "-o" flag, rather than using the "-t" flag and redirecting the
standard output, in the rules to get Flex to produce scanner code; that
way, if Flex fails to run for some reason, we don't leave around a
zero-length or otherwise incorrect "XXX-scanner.c" file that might...

e59a0d52 04/04/2000 04:22 AM Guy Harris

The Win32 port of libpcap requires that programs with which it's built
be built as multi-threaded programs; add "/MT" to the list of compiler
flags.

Add "clean" rules in subdirectories, and run subdirectory "nmake -f
Makefile.nmake clean" when "nmake -f Makefile.nmake clean" is done in...

41f0a2c5 02/08/2000 07:41 PM Gilbert Ramirez

Update Makefiles for win32. Move local configuration to config.nmake,
have top-level Makefile.nmake call Makefile.nmake's in subdirectories.
Build plugins, and build generated source (lex, yacc). The only thing we
can't build is register.c; I need to re-work the top-level Makefile.nmake...

339d67b0 01/14/2000 07:23 PM Gilbert Ramirez

Merge in the final code to make Ethereal run on Win32, compiled
with MSVC 6.0 and 'nmake', the make tool that comes with MSVC.

It compiles, links, and runs. It doesn't run correctly. There's a problem
when reading files. I'm getting short reads. I'm not linking in zlib or...

3d72fa5f 01/13/2000 01:26 PM Guy Harris

Add "file_wrappers.c" to the list of things to compile with Microsoft
Visual C{++}.

svn path=/trunk/; revision=1467

b806feb9 12/15/1999 03:08 AM Guy Harris

Bring it somewhat up to date.

svn path=/trunk/; revision=1345

7843c01d 08/18/1999 06:49 PM Gilbert Ramirez

Changes to compile in win32.

svn path=/trunk/; revision=515

d4562955 08/03/1999 04:51 PM Gilbert Ramirez

Update version numbers to 0.7.0, and update win32 Makefiles. I made some
initial #ifdef changes to capture.c to support the win32 version of libpcap.

svn path=/trunk/; revision=428

7e9230a0 07/21/1999 01:40 PM Gilbert Ramirez

Finally got the win32 ethereal to link properly with MSVC.

svn path=/trunk/; revision=374

601c52f0 07/12/1999 10:53 PM Gilbert Ramirez

Added support for compiling on win32 with Visual C and 'nmake'. It compiles,
but does not link. Perhaps someone who understands the MS tools can help
out. I made it link a few months ago, but with different version of glib/gtk+.
I can't remember how I made it link....