trace reading code's Flex scanner
BACP and BAP support in PPP dissector
Add necessary cast in TCP graph code
+ Fix up the generation of PDB files, clean them up on a "nmake -f
+ makefile.nmake clean", and put all the PDB files into the
+ Windows binary distribution
}
Terje Krogdahl <tekr[AT]nextra.com> {
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.152 2001/12/11 03:04:26 gram Exp $
+# $Id: Makefile.nmake,v 1.153 2001/12/12 01:29:01 guy Exp $
include config.nmake
include <win32.mak>
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
-{$S}.c{$O}.obj::
- $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
DISSECTOR_SRC = \
packet-aarp.c \
EXECUTABLES=ethereal.exe tethereal.exe editcap.exe mergecap.exe text2pcap.exe
+EXECUTABLES_PDBS = $(EXECUTABLES:.exe=.pdb)
+
+PDBS = $(EXECUTABLES_PDBS) $(PDB_FILE)
+
RESOURCES=image\ethereal.res image\tethereal.res image\editcap.res image\mergecap.res image\text2pcap.res
all: tools wiretap gtk epan image $(EXECUTABLES) $(RESOURCES)
$(LEX) -otext2pcap-scanner.c text2pcap-scanner.l
clean:
- rm -f $(ethereal_OBJECTS) $(EXTRA_OBJECTS) $(EXECUTABLES) \
+ rm -f $(ethereal_OBJECTS) $(EXTRA_OBJECTS) $(EXECUTABLES) $(PDBS) \
tethereal.obj editcap.obj mergecap.obj text2pcap.obj \
text2pcap-scanner.obj text2pcap-scanner.c register.c \
- rdps.obj config.h ps.c packet-ncp2222.c register.c
+ rdps.obj rdps.pdb config.h ps.c packet-ncp2222.c register.c
cd wiretap
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../gtk
-# $Id: config.nmake,v 1.17 2001/10/12 17:17:04 gerald Exp $
+# $Id: config.nmake,v 1.18 2001/12/12 01:29:01 guy Exp $
VERSION=0.8.20
RC_VERSION=0,8,20
LOCAL_CFLAGS=-Zi
LOCAL_LDFLAGS=/DEBUG
+PDB_FILE=vc60.pdb
# Set path if you need to find some binary
#PATH=t:\w32-ix86\cygnus\cygwin-b20\H-i586-cygwin32\bin;$(PATH)
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
-{$S}.c{$O}.obj::
- $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
OBJECTS=atalk-utils.obj \
bitswap.obj \
sed -e s/@VERSION@/$(VERSION)/ < config.h.win32 > $@
clean:
- rm -f $(OBJECTS) ethereal.lib config.h
+ rm -f $(OBJECTS) ethereal.lib config.h $(PDB_FILE)
cd ftypes
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../dfilter
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
-{$S}.c{$O}.obj::
- $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
OBJECTS = \
clean:
- rm -f $(OBJECTS) scanner.c grammar.c grammar.h grammar.out dfilter.lib
+ rm -f $(OBJECTS) scanner.c grammar.c grammar.h grammar.out \
+ dfilter.lib $(PDB_FILE)
scanner.c : scanner.l
$(LEX) -Pdf_ -oscanner.c scanner.l
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
-{$S}.c{$O}.obj::
- $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
OBJECTS = \
clean:
- rm -f $(OBJECTS) ftypes.lib
+ rm -f $(OBJECTS) ftypes.lib $(PDB_FILE)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
-{$S}.c{$O}.obj::
- $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
# gtkclist.obj is not in here because it is gtk+-1.2 code,
# while the DLL for GTK+ on windows is gtk+-1.3, and there's
clean:
- rm -f $(OBJECTS) libui.lib
+ rm -f $(OBJECTS) libui.lib $(PDB_FILE)
#
-# $Id: Makefile.nmake,v 1.7 2001/07/12 22:45:23 gram Exp $
+# $Id: Makefile.nmake,v 1.8 2001/12/12 01:29:07 guy Exp $
#
#
# NSIS is a free packager/installer/uninstaller program for Win32.
EXE=../../ethereal.exe ../../tethereal.exe ../../editcap.exe \
../../text2pcap.exe ../../mergecap.exe
-PDB=../../ethereal.pdb ../../tethereal.pdb ../../editcap.pdb
+PDB=../../ethereal.pdb ../../tethereal.pdb ../../editcap.pdb \
+ ../../text2pcap.pdb ../../mergecap.pdb
DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll
DOC=../../doc/ethereal.html \
../../doc/tethereal.html \
;
; ethereal.nsi
;
-; $Id: ethereal.nsi.in,v 1.8 2001/11/01 21:55:08 guy Exp $
+; $Id: ethereal.nsi.in,v 1.9 2001/12/12 01:29:07 guy Exp $
; ============================================================================
; Header configuration
File "..\..\ethereal.pdb"
File "..\..\tethereal.pdb"
File "..\..\editcap.pdb"
+File "..\..\mergecap.pdb"
+File "..\..\text2pcap.pdb"
SectionEnd
SectionDivider
#
-# $Id: Makefile.nmake,v 1.10 2001/07/19 21:30:16 guy Exp $
+# $Id: Makefile.nmake,v 1.11 2001/12/12 01:29:08 guy Exp $
#
include ..\config.nmake
clean:
- rm -f plugin_api.obj
+ rm -f plugin_api.obj $(PDB_FILE)
cd gryphon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../mgcp
#
-# $Id: Makefile.nmake,v 1.3 2001/10/17 19:27:43 gram Exp $
+# $Id: Makefile.nmake,v 1.4 2001/12/12 01:29:09 guy Exp $
#
include ..\..\config.nmake
clean:
- rm -f $(OBJECTS) cosnaming.dll cosnaming.exp cosnaming.lib
- rm -f $(OBJECTS) coseventcomm.dll coseventcomm.exp coseventcomm.lib
+ rm -f $(OBJECTS) cosnaming.dll cosnaming.exp cosnaming.lib \
+ coseventcomm.dll coseventcomm.exp coseventcomm.lib $(PDB_FILE)
#
-# $Id: Makefile.nmake,v 1.5 2000/10/11 07:35:02 guy Exp $
+# $Id: Makefile.nmake,v 1.6 2001/12/12 01:29:10 guy Exp $
#
include ..\..\config.nmake
link -dll /out:gryphon.dll packet-gryphon.obj ..\plugin_api.obj
clean:
- rm -f $(OBJECTS) gryphon.dll gryphon.exp gryphon.lib
+ rm -f $(OBJECTS) gryphon.dll gryphon.exp gryphon.lib $(PDB_FILE)
#
-# $Id: Makefile.nmake,v 1.2 2000/11/14 10:38:15 guy Exp $
+# $Id: Makefile.nmake,v 1.3 2001/12/12 01:29:11 guy Exp $
#
include ..\..\config.nmake
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib
clean:
- rm -f $(OBJECTS) mgcp.dll mgcp.exp mgcp.lib
+ rm -f $(OBJECTS) mgcp.dll mgcp.exp mgcp.lib $(PDB_FILE)
CFLAGS=$(LOCAL_CFLAGS)
-{$S}.c{$O}.obj::
- $(CC) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(CFLAGS) -Fd.\ -c $<
all : lemon.exe
clean:
- rm -f lemon.obj lemon.exe
+ rm -f lemon.obj lemon.exe $(PDB_FILE) lemon.pdb
#
-# $Id: Makefile.nmake,v 1.23 2001/12/04 22:28:19 guy Exp $
+# $Id: Makefile.nmake,v 1.24 2001/12/12 01:29:13 guy Exp $
#
include ..\config.nmake
CFLAGS=-DHAVE_CONFIG_H /I$(GLIB_DIR) /I$(ZLIB_DIR) $(LOCAL_CFLAGS)
-{$S}.c{$O}.obj::
- $(CC) $(cvarsdll) $(CFLAGS) -Fd$O\ -c $<
+.c.obj::
+ $(CC) $(cvarsdll) $(CFLAGS) -Fd.\ -c $<
OBJECTS=ascend-grammar.obj \
ascend-scanner.obj \
wiretap-$(WTAP_VERSION).lib \
wiretap-$(WTAP_VERSION).exp \
wiretap-$(WTAP_VERSION).dll \
- config.h
+ config.h $(PDB_FILE)