usually be found in the "VC98\Bin" subdirectory of the directory in
which Visual Studio was installed.
-The first time you build Ethereal, run the script "cleanbld.bat" in the
-top-level Ethereal source directory to make sure that the "config.h"
+The first time you build Ethereal, run "nmake -f makefile.nmake distclean"
+in the top-level Ethereal source directory to make sure that the "config.h"
files will be reconstructed from the "config.h.win32" files. (If, for
example, you have "config.h" files left over from a Unix build, a
Windows build will fail.)
Windows, but the files listed below as being generated by Flex can be
used when building on Windows only when generated by a Windows version
of Flex, so you will need a Windows version of Flex to do a Windows
-build. Those generated files are removed by the "cleanbld.bat" script,
-to make sure that versions left over from a Unix build aren't used.
+build. Those generated files are removed by
+"nmake -f makefile.nmake distclean", to make sure that versions left over
+from a Unix build aren't used.
If you are building from a modified version of an official distribution,
and you modified any of the source files listed below, you will need the
+++ /dev/null
-echo off
-rem cleanbld.bat
-rem Script to clean up from a build on another platform
-rem
-rem $Id$
-rem
-rem Ethereal - Network traffic analyzer
-rem By Gerald Combs <gerald@ethereal.com>
-rem Copyright 1998 Gerald Combs
-rem
-rem This program is free software; you can redistribute it and/or
-rem modify it under the terms of the GNU General Public License
-rem as published by the Free Software Foundation; either version 2
-rem of the License, or (at your option) any later version.
-rem
-rem This program is distributed in the hope that it will be useful,
-rem but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-rem GNU General Public License for more details.
-rem
-rem You should have received a copy of the GNU General Public License
-rem along with this program; if not, write to the Free Software
-rem Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-rem
-rem Remove the config.h files that are built from config.h.win32 files,
-rem so that a build will reconstruct them; this should be run the first
-rem time you do a Microsoft Visual C++ build, so that, for example, if
-rem you've done a UNIX build, the build doesn't use the config.h files
-rem from that build (using those config.h files will cause the build
-rem to fail).
-rem
-rem Also remove all files generated by Flex, as the Flex on UN*X
-rem generates code that includes <unistd.h>, which doesn't work on
-rem Windows; you need to run a Windows version of Flex to generate
-rem lexical analyzers.
-rem
-del/f config.h
-del/f epan\config.h
-del/f wiretap\config.h
-del/f epan\radius_dict.c
-del/f epan\dfilter\scanner.c
-del/f plugins\mate\mate_parser.c
-del/f plugins\xml\xml_lexer.c
-del/f wiretap\ascend-scanner.c
-del/f text2pcap-scanner.c