2002-02-27 09:42:52 +00:00
|
|
|
## Makefile for building ethereal.exe with Microsoft C and nmake
|
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
|
|
#
|
2003-06-25 11:15:34 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.46 2003/06/25 11:15:34 sahlberg Exp $
|
2002-02-27 09:42:52 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
include ..\config.nmake
|
1999-12-15 08:20:30 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
############### no need to modify below this line #########
|
1999-12-15 08:20:30 +00:00
|
|
|
|
2003-06-14 20:36:04 +00:00
|
|
|
CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap $(GTK_CFLAGS) \
|
2002-09-10 10:08:41 +00:00
|
|
|
/I$(ZLIB_DIR) \
|
2001-12-08 09:27:51 +00:00
|
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
|
|
|
|
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
|
2002-10-24 07:08:26 +00:00
|
|
|
/I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
|
2003-02-10 23:34:49 +00:00
|
|
|
/I$(NET_SNMP_DIR)\win32 /Zm800 -D_U_="" $(LOCAL_CFLAGS)
|
2000-01-15 00:23:13 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
|
|
|
|
2001-12-12 01:29:13 +00:00
|
|
|
.c.obj::
|
|
|
|
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
|
2000-05-29 20:11:41 +00:00
|
|
|
|
2002-11-06 10:53:36 +00:00
|
|
|
ETHEREAL_TAP_SRC = \
|
2002-11-07 05:33:50 +00:00
|
|
|
dcerpc_stat.c \
|
2003-06-25 11:15:34 +00:00
|
|
|
fc_stat.c \
|
2002-11-14 10:32:22 +00:00
|
|
|
io_stat.c \
|
2003-04-16 07:25:12 +00:00
|
|
|
mgcp_stat.c \
|
2002-11-07 05:33:50 +00:00
|
|
|
rpc_stat.c \
|
2003-01-22 00:40:36 +00:00
|
|
|
rpc_progs.c \
|
2003-03-06 20:35:12 +00:00
|
|
|
smb_stat.c \
|
|
|
|
tap_rtp.c
|
2002-11-07 05:33:50 +00:00
|
|
|
|
|
|
|
ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj)
|
2002-11-06 10:53:36 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
# 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
|
|
|
|
# some functions that have disappeared in gtk+-1.3. I might
|
|
|
|
# get around to #ifdef'ing them out in our gtkclist.c.
|
1999-12-15 08:20:30 +00:00
|
|
|
OBJECTS=capture_dlg.obj \
|
2002-01-10 07:43:39 +00:00
|
|
|
capture_prefs.obj \
|
2000-02-12 08:44:43 +00:00
|
|
|
color_dlg.obj \
|
2003-01-08 01:59:42 +00:00
|
|
|
color_filters.obj \
|
|
|
|
column_prefs.obj \
|
2000-11-21 23:54:10 +00:00
|
|
|
colors.obj \
|
|
|
|
color_utils.obj \
|
2001-02-01 07:34:33 +00:00
|
|
|
decode_as_dlg.obj \
|
2001-01-02 01:32:21 +00:00
|
|
|
dfilter_expr_dlg.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
display_opts.obj \
|
2000-05-02 08:04:31 +00:00
|
|
|
dlg_utils.obj \
|
2002-11-06 10:53:36 +00:00
|
|
|
ethereal-tap-register.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
file_dlg.obj \
|
|
|
|
filter_prefs.obj \
|
|
|
|
find_dlg.obj \
|
2000-08-03 12:44:40 +00:00
|
|
|
follow_dlg.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
goto_dlg.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
gui_prefs.obj \
|
2003-04-25 20:54:18 +00:00
|
|
|
gtk_stat_util.obj \
|
2000-08-08 12:28:50 +00:00
|
|
|
help_dlg.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
main.obj \
|
|
|
|
menu.obj \
|
2002-01-13 20:35:12 +00:00
|
|
|
nameres_prefs.obj \
|
2002-09-23 17:07:39 +00:00
|
|
|
packet_list.obj \
|
2000-02-29 06:24:41 +00:00
|
|
|
packet_win.obj \
|
|
|
|
plugins_dlg.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
prefs_dlg.obj \
|
|
|
|
print_dlg.obj \
|
2002-06-19 20:44:05 +00:00
|
|
|
print_mswin.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
print_prefs.obj \
|
2000-07-04 12:10:06 +00:00
|
|
|
progress_dlg.obj \
|
Add the "Edit:Protocols..." feature which currently only implements
the following:
It is now possible to enable/disable a particular protocol decoding
(i.e. the protocol dissector is void or not). When a protocol
is disabled, it is displayed as Data and of course, all linked
sub-protocols are disabled as well.
Disabling a protocol could be interesting:
- in case of buggy dissectors
- in case of wrong heuristics
- for performance reasons
- to decode the data as another protocol (TODO)
Currently (if I am not wrong), all dissectors but NFS can be disabled
(and dissectors that do not register protocols :-)
I do not like the way the RPC sub-dissectors are disabled (in the
sub-dissectors) since this could be done in the RPC dissector itself,
knowing the sub-protocol hfinfo entry (this is why, I've not modified
the NFS one yet).
Two functions are added in proto.c :
gboolean proto_is_protocol_enabled(int n);
void proto_set_decoding(int n, gboolean enabled);
and two MACROs which can be used in dissectors:
OLD_CHECK_DISPLAY_AS_DATA(index, pd, offset, fd, tree)
CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree)
See also the XXX in proto_dlg.c and proto.c around the new functions.
svn path=/trunk/; revision=2267
2000-08-13 14:09:15 +00:00
|
|
|
proto_dlg.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
proto_draw.obj \
|
2001-03-22 23:54:47 +00:00
|
|
|
proto_hier_stats_dlg.obj \
|
2003-06-21 01:42:46 +00:00
|
|
|
service_response_time_table.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
simple_dialog.obj \
|
1999-12-15 08:20:30 +00:00
|
|
|
stream_prefs.obj \
|
|
|
|
summary_dlg.obj \
|
2001-12-08 09:27:51 +00:00
|
|
|
tcp_graph.obj \
|
2002-11-06 10:53:36 +00:00
|
|
|
ui_util.obj \
|
2002-11-07 05:33:50 +00:00
|
|
|
$(ETHEREAL_TAP_OBJECTS)
|
1999-12-15 08:20:30 +00:00
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
libui.lib : ..\config.h $(OBJECTS)
|
2002-08-31 10:58:18 +00:00
|
|
|
lib /out:libui.lib $(OBJECTS)
|
1999-12-15 08:20:30 +00:00
|
|
|
|
2002-11-14 08:09:35 +00:00
|
|
|
ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) ../make-tapreg-dotc
|
2002-11-07 05:33:50 +00:00
|
|
|
@echo Making ethereal-tap-register.c
|
|
|
|
@$(SH) ../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
|
1999-12-15 08:20:30 +00:00
|
|
|
|
2000-04-04 08:22:13 +00:00
|
|
|
clean:
|
2001-12-12 01:29:13 +00:00
|
|
|
rm -f $(OBJECTS) libui.lib $(PDB_FILE)
|