2002-02-27 09:42:52 +00:00
|
|
|
## Makefile for building ethereal.exe with Microsoft C and nmake
|
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
|
|
#
|
2002-06-19 20:44:05 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.27 2002/06/19 20:44:05 jfoster 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
|
|
|
|
2002-01-21 07:37:49 +00:00
|
|
|
CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap \
|
2000-01-15 00:23:13 +00:00
|
|
|
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
|
2000-02-09 19:18:42 +00:00
|
|
|
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
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-02-27 09:42:52 +00:00
|
|
|
/I$(PCAP_DIR)\include -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
|
|
|
|
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 \
|
2000-11-21 23:54:10 +00:00
|
|
|
colors.obj \
|
|
|
|
color_utils.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
column_prefs.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 \
|
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 \
|
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 \
|
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 \
|
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 \
|
1999-12-15 08:20:30 +00:00
|
|
|
ui_util.obj
|
|
|
|
|
|
|
|
|
2000-01-15 00:23:13 +00:00
|
|
|
libui.lib : ..\config.h $(OBJECTS)
|
1999-12-15 08:20:30 +00:00
|
|
|
lib /out:libui.lib $(OBJECTS)
|
|
|
|
|
|
|
|
|
2000-04-04 08:22:13 +00:00
|
|
|
clean:
|
2001-12-12 01:29:13 +00:00
|
|
|
rm -f $(OBJECTS) libui.lib $(PDB_FILE)
|