summaryrefslogtreecommitdiff
path: root/wiretap/Makefile.nmake
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Remove Nmake build systemPascal Quantin1-82/+0
Change-Id: I3bd474f3cda9667dec66426b5729449953df3e61 Reviewed-on: https://code.wireshark.org/review/15777 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jörg Mayer <jmayer@loplof.de> Reviewed-by: Balint Reczey <balint@balintreczey.hu>
2016-05-11automake/nmake: don't run checkAPIs on lex and yacc files.Jeff Morriss1-1/+1
The lex files use malloc and friends which is prohibited; don't check them (until checkAPIs becomes smart enough to realize this is OK). This mirrors what is done in cmake. Change-Id: Ie80ea7a9b7c0e25c70c8edf3671e80a493ea1b2f Reviewed-on: https://code.wireshark.org/review/15377 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-04-25Fix nmake build after statically linking version codeMichael Mann1-1/+1
Change-Id: I86a01bdd778f2242aa534a687275a85a2f329c02 Reviewed-on: https://code.wireshark.org/review/15071 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-05Revert "Build Flex-generated files with "warnings are errors"."Guy Harris1-3/+7
This reverts commit b56f53884be3bab935058b2bbbb4da0b8bbbe7f6. Sadly, we *do* get warnings at this point with older versions of Flex, such as the one on the 32-bit OS X buildbot. Change-Id: I9aec1a16e9f2e1bbcfaac3dffdabdd89af5815e3 Reviewed-on: https://code.wireshark.org/review/12443 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-12-05Build Flex-generated files with "warnings are errors".Guy Harris1-7/+3
We shouldn't be getting warnings at this point. Change-Id: I363a48546cb8d916425f42962ae1697d52ed9a29 Reviewed-on: https://code.wireshark.org/review/12436 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-02Add '*.nativecodeanalysis.xml' to 'clean' targetsBill Meier1-1/+1
Change-Id: I90dbf0b31fc737150a01533763a7869b34c68cb6 Reviewed-on: https://code.wireshark.org/review/6220 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-20Use forward slashes in paths to runlex.shРоман Донченко1-1/+1
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 <eapache@gmail.com> Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Wireshark Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2014-07-10Revert "More needed to get rid of "lib" in "libwsutil" on Windows."Guy Harris1-1/+1
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. Change-Id: I32e400593e8a39f582cc702df34eea7f6e9e722a Reviewed-on: https://code.wireshark.org/review/2972 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-09More needed to get rid of "lib" in "libwsutil" on Windows.Guy Harris1-1/+1
Change-Id: Iffc12ce67a8245e96eac3cf253641a15385001a9 Reviewed-on: https://code.wireshark.org/review/2969 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-03-31Continue to remove $Id$ from top of fileAlexis La Goutte1-2/+0
(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 <a.broman58@gmail.com>
2013-03-02Try to fix LNK4217 (locally defined symbol imported in function) and C4273 ↵Pascal Quantin1-2/+3
(inconsistent DLL linkage) warnings when compiling for Windows svn path=/trunk/; revision=48021
2013-02-28Add -DWS_BUILD_DLL to wiretap Windows buildsBalint Reczey1-1/+1
It fixes symbol exporting from DLLs. svn path=/trunk/; revision=47953
2013-02-28Export libwiretap symbols using WS_DLL_PUBLIC defineBalint Reczey1-2/+2
TODO: hide flex-generated functions svn path=/trunk/; revision=47948
2012-06-19ascend_scanner.c includes ascend.h. Add corresponding makefileGerald Combs1-3/+5
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
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss1-1/+1
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 a human is running the tool. svn path=/trunk/; revision=41943
2012-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-3/+3
svn path=/trunk/; revision=41180
2012-01-29Add *.sbr files to the clean target.Anders Broman1-1/+1
svn path=/trunk/; revision=40763
2011-02-02A bit of Windows makefiles rework and cleanup:Bill Meier1-5/+6
- 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) (This allows disabling "Warnings as Errors" by just changing config.nmake) c. CVARSDLL definitions (not usage) have been removed from the various makefiles. XXX: It appears the usage of CVARSDLL can also be removed (not yet done) since: -DWIN32 and -DNULL=0 do not appear to be needed (any more); -D_MT and _D_DLL are not needed since /MP causes these definitions. d. Define a macro WARNINGS_CFLAGS with additional specific compiler (level4) warnings to be enabled. E.G., 4295: array is too small to include a terminating null character - config.nmake: reformat some long lines for readability; - plugins\Makefile.nmake: clean-deps does nothing: remove it (and usage in top-level makefile); - dissectors/Makefile.nmake: test to enable packet-rrc.obj target needs to include MSVC2010 ... svn path=/trunk/; revision=35747
2009-07-16Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmakeAnders Broman1-1/+1
for MSVC variant 2008 only. As suggested by Bill Meier. svn path=/trunk/; revision=29114
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104
2009-06-15Rename all of the ascend files:Jörg Mayer1-8/+8
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
2009-06-04Fix Windows build warning:Bill Meier1-1/+1
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
2009-04-08Disable warnings-as-errors for Flex-generated output. Add a couple of gsizeGerald Combs1-3/+3
casts. svn path=/trunk/; revision=28002
2009-03-11Flex doesn't generate LLP64-compilable output. For the time being don'tGerald Combs1-1/+5
use -WX when compiling ascend-scanner.c and k12text.c. svn path=/trunk/; revision=27703
2009-03-02More Windows compiler flag cleanups. Fix a problem with my last commitGerald Combs1-4/+1
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. svn path=/trunk/; revision=27582
2008-08-21_MSC_VERs 1400 and greater require manifests. Check againstGerald Combs1-1/+1
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 also keeps us from having to mess with a bunch of makefiles when we add support for new Visual C++ versions. svn path=/trunk/; revision=26052
2008-08-04From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.Gerald Combs1-1/+1
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 MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in both cases. Add Pascal to AUTHORS. Update the Developer's Guide. svn path=/trunk/; revision=25921
2008-07-17Remove -g abort from checkAPIs (for now) since existing issues not yet resolved.Bill Meier1-1/+3
svn path=/trunk/; revision=25759
2008-07-02This directory needs some checkapi love; it's not yet ready for that toGuy Harris1-1/+1
be a default part of the build process, now that we're doing some more checking. svn path=/trunk/; revision=25658
2008-07-01Put printf into a separate "termoutput" API group. For most files,Guy Harris1-1/+1
check for it - but not for TShark plugins, as they are expected to print to the standard output. svn path=/trunk/; revision=25653
2008-07-01The intended argument for "-g" was presumably "abort", given Gerald'sGuy Harris1-1/+1
checkin comment (that Wiretap routines shouldn't abort the program). svn path=/trunk/; revision=25650
2008-07-01Unless I've misread the GetOptions documentation, the "-g" flag toGuy Harris1-1/+1
checkAPIs.pl takes a mandatory string argument, not an optional string argument. svn path=/trunk/; revision=25649
2008-06-26Wiretap code probably shouldn't abort the application either.Gerald Combs1-1/+1
svn path=/trunk/; revision=25615
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-2/+2
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
2008-05-20Use the correct name for libwsutilJeff Morriss1-1/+1
svn path=/trunk/; revision=25332
2008-05-20Create a new "Wireshark utility" library and move the mpeg-audio stuff fromJeff Morriss1-0/+1
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
2008-05-14do not use * wildcard which is not supported by Windows commandlineTomas Kukosa1-2/+1
svn path=/trunk/; revision=25299
2008-05-13Fix some of the Errors/warnings detected by checkapi.Anders Broman1-1/+2
svn path=/trunk/; revision=25288
2008-05-08From Anders: Checkapi enabled for wiretap and more functions converted.Martin Mathieson1-1/+1
svn path=/trunk/; revision=25257
2008-05-06Add checkapi target.Anders Broman1-0/+3
svn path=/trunk/; revision=25245
2007-12-08Add .. to the directory in which to look for headers, just as is doneGuy Harris1-1/+2
with automake/autoconf, so we pick up config.h. svn path=/trunk/; revision=23805
2007-12-07Delete the *right* config.h.win32.Guy Harris1-1/+1
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
2007-12-07Run runlex.sh from the tools directory. Get rid of the extra copy inGuy Harris1-8/+1
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 longer constructed in that directory. svn path=/trunk/; revision=23797
2007-08-04runlex.sh is in tools, not the top-level directory.Guy Harris1-1/+1
svn path=/trunk/; revision=22449
2007-08-04Add a script as a front-end for Flex, to work around various problems,Guy Harris1-2/+6
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 lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
2007-08-01Add a Makefile.nmake.inc file, to hold rules etc. used by multipleGuy Harris1-7/+1
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 that rule. The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the right names for the files in question. Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate". svn path=/trunk/; revision=22437
2007-08-01Use a common .l.c rule for running Flex on .l files, just as is done onGuy Harris1-5/+6
UN*X. svn path=/trunk/; revision=22434
2007-05-09fix manifest error: for dll's mt.exe must be given ;2Ulf Lamping1-1/+1
svn path=/trunk/; revision=21735
2007-05-06instead of copying the MSVC 2005 manifest files around, embed them into the ↵Ulf Lamping1-0/+3
.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
2007-05-02add support for the text export format of textronix k1[25]Luis Ontanon1-0/+2
svn path=/trunk/; revision=21651