aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS3
-rw-r--r--Makefile.nmake14
-rw-r--r--config.nmake3
-rw-r--r--epan/Makefile.nmake6
-rw-r--r--epan/dfilter/Makefile.nmake7
-rw-r--r--epan/ftypes/Makefile.nmake6
-rw-r--r--gtk/Makefile.nmake6
-rw-r--r--packaging/nsis/Makefile.nmake5
-rw-r--r--packaging/nsis/ethereal.nsi.in4
-rw-r--r--plugins/Makefile.nmake4
-rw-r--r--plugins/giop/Makefile.nmake6
-rw-r--r--plugins/gryphon/Makefile.nmake4
-rw-r--r--plugins/mgcp/Makefile.nmake4
-rw-r--r--tools/lemon/Makefile.nmake6
-rw-r--r--wiretap/Makefile.nmake8
15 files changed, 49 insertions, 37 deletions
diff --git a/AUTHORS b/AUTHORS
index 87e503a0cc..a233bb6d26 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -798,6 +798,9 @@ Motonori Shindo <mshindo[AT]mshindo.net> {
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> {
diff --git a/Makefile.nmake b/Makefile.nmake
index 5e6f4e0c7a..d7a86e1ebf 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -1,7 +1,7 @@
## 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>
@@ -19,8 +19,8 @@ CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) /I$(GLIB_DIR) /I$(GLIB_DIR)\gmodule \
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 \
@@ -328,6 +328,10 @@ dftest_LIBS= epan\ethereal.lib \
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)
@@ -400,10 +404,10 @@ text2pcap-scanner.c : text2pcap-scanner.l
$(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
diff --git a/config.nmake b/config.nmake
index a5d3f9bc1b..51168a0b43 100644
--- a/config.nmake
+++ b/config.nmake
@@ -1,4 +1,4 @@
-# $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
@@ -14,6 +14,7 @@ PCAP_DIR=F:\gram\win32tools\WPdpack
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)
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index 563dca5474..b165a1b8b5 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -15,8 +15,8 @@ libethereal_LIBS = \
$(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 \
@@ -56,7 +56,7 @@ config.h : config.h.win32
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
diff --git a/epan/dfilter/Makefile.nmake b/epan/dfilter/Makefile.nmake
index 99f069e4df..75a179a047 100644
--- a/epan/dfilter/Makefile.nmake
+++ b/epan/dfilter/Makefile.nmake
@@ -11,8 +11,8 @@ CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I..\.. /I$(LEMON) \
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 = \
@@ -37,7 +37,8 @@ dfilter.lib : $(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
diff --git a/epan/ftypes/Makefile.nmake b/epan/ftypes/Makefile.nmake
index 37490b44c6..a802286070 100644
--- a/epan/ftypes/Makefile.nmake
+++ b/epan/ftypes/Makefile.nmake
@@ -9,8 +9,8 @@ CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../.. \
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 = \
@@ -30,5 +30,5 @@ ftypes.lib : $(OBJECTS)
clean:
- rm -f $(OBJECTS) ftypes.lib
+ rm -f $(OBJECTS) ftypes.lib $(PDB_FILE)
diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake
index 6d3d3ef9de..54d5f03480 100644
--- a/gtk/Makefile.nmake
+++ b/gtk/Makefile.nmake
@@ -11,8 +11,8 @@ CFLAGS=-DHAVE_CONFIG_H /I.. /I../epan /I../wiretap \
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
@@ -57,4 +57,4 @@ libui.lib : ..\config.h $(OBJECTS)
clean:
- rm -f $(OBJECTS) libui.lib
+ rm -f $(OBJECTS) libui.lib $(PDB_FILE)
diff --git a/packaging/nsis/Makefile.nmake b/packaging/nsis/Makefile.nmake
index 98eaa49ae8..1dcfc50528 100644
--- a/packaging/nsis/Makefile.nmake
+++ b/packaging/nsis/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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.
@@ -12,7 +12,8 @@ include ../../config.nmake
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 \
diff --git a/packaging/nsis/ethereal.nsi.in b/packaging/nsis/ethereal.nsi.in
index 7f2870c51f..616cdc42a1 100644
--- a/packaging/nsis/ethereal.nsi.in
+++ b/packaging/nsis/ethereal.nsi.in
@@ -1,7 +1,7 @@
;
; 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
@@ -128,6 +128,8 @@ SetOutPath $INSTDIR
File "..\..\ethereal.pdb"
File "..\..\tethereal.pdb"
File "..\..\editcap.pdb"
+File "..\..\mergecap.pdb"
+File "..\..\text2pcap.pdb"
SectionEnd
SectionDivider
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake
index 4c7a29a9aa..9215ba64c0 100644
--- a/plugins/Makefile.nmake
+++ b/plugins/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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
@@ -32,7 +32,7 @@ giop::
clean:
- rm -f plugin_api.obj
+ rm -f plugin_api.obj $(PDB_FILE)
cd gryphon
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../mgcp
diff --git a/plugins/giop/Makefile.nmake b/plugins/giop/Makefile.nmake
index 3d390dd83d..a676cc0290 100644
--- a/plugins/giop/Makefile.nmake
+++ b/plugins/giop/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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
@@ -25,5 +25,5 @@ coseventcomm.dll coseventcomm.exp coseventcomm.lib : packet-coseventcomm.obj ..\
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)
diff --git a/plugins/gryphon/Makefile.nmake b/plugins/gryphon/Makefile.nmake
index 05a414fe09..dad3f4d622 100644
--- a/plugins/gryphon/Makefile.nmake
+++ b/plugins/gryphon/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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
@@ -17,4 +17,4 @@ gryphon.dll gryphon.exp gryphon.lib : packet-gryphon.obj ..\plugin_api.obj
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)
diff --git a/plugins/mgcp/Makefile.nmake b/plugins/mgcp/Makefile.nmake
index 6803a9cbfb..a1f12b9cfe 100644
--- a/plugins/mgcp/Makefile.nmake
+++ b/plugins/mgcp/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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
@@ -18,4 +18,4 @@ mgcp.dll mgcp.exp mgcp.lib : packet-mgcp.obj ..\plugin_api.obj
$(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)
diff --git a/tools/lemon/Makefile.nmake b/tools/lemon/Makefile.nmake
index 014c1210fc..338e0b4a8f 100644
--- a/tools/lemon/Makefile.nmake
+++ b/tools/lemon/Makefile.nmake
@@ -3,10 +3,10 @@ include ..\..\config.nmake
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
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake
index 3f75ae065f..34d8ffd860 100644
--- a/wiretap/Makefile.nmake
+++ b/wiretap/Makefile.nmake
@@ -1,5 +1,5 @@
#
-# $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
@@ -9,8 +9,8 @@ include <win32.mak>
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 \
@@ -73,4 +73,4 @@ clean :
wiretap-$(WTAP_VERSION).lib \
wiretap-$(WTAP_VERSION).exp \
wiretap-$(WTAP_VERSION).dll \
- config.h
+ config.h $(PDB_FILE)