SMB RTT statistics for tethereal and ethereal.
[obnox/wireshark/wip.git] / gtk / Makefile.nmake
1 ## Makefile for building ethereal.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id: Makefile.nmake,v 1.39 2003/01/22 00:40:36 sahlberg Exp $
5
6 include ..\config.nmake
7
8 ############### no need to modify below this line #########
9
10 CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap \
11         /I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
12         /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
13         /I$(ZLIB_DIR) \
14         /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
15         /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
16         /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
17         /I$(NET_SNMP_DIR)\win32 -D_U_="" $(LOCAL_CFLAGS)
18
19 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
20
21 .c.obj::
22    $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
23
24 ETHEREAL_TAP_SRC = \
25         dcerpc_stat.c   \
26         io_stat.c       \
27         rpc_stat.c      \
28         rpc_progs.c     \
29         smb_stat.c
30
31 ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj)
32
33 # gtkclist.obj is not in here because it is gtk+-1.2 code,
34 # while the DLL for GTK+ on windows is gtk+-1.3, and there's
35 # some functions that have disappeared in gtk+-1.3. I might
36 # get around to #ifdef'ing them out in our gtkclist.c.
37 OBJECTS=capture_dlg.obj \
38         capture_prefs.obj \
39         color_dlg.obj    \
40         color_filters.obj \
41         column_prefs.obj \
42         colors.obj       \
43         color_utils.obj  \
44         decode_as_dlg.obj \
45         dfilter_expr_dlg.obj \
46         display_opts.obj \
47         dlg_utils.obj   \
48         ethereal-tap-register.obj \
49         file_dlg.obj \
50         filter_prefs.obj \
51         find_dlg.obj \
52         follow_dlg.obj \
53         goto_dlg.obj \
54         gui_prefs.obj \
55         help_dlg.obj \
56         main.obj        \
57         menu.obj        \
58         nameres_prefs.obj \
59         packet_list.obj \
60         packet_win.obj  \
61         plugins_dlg.obj \
62         prefs_dlg.obj \
63         print_dlg.obj \
64         print_mswin.obj \
65         print_prefs.obj  \
66         progress_dlg.obj \
67         proto_dlg.obj \
68         proto_draw.obj \
69         proto_hier_stats_dlg.obj        \
70         simple_dialog.obj \
71         stream_prefs.obj \
72         summary_dlg.obj \
73         tcp_graph.obj \
74         ui_util.obj     \
75         $(ETHEREAL_TAP_OBJECTS)
76
77 libui.lib       : ..\config.h $(OBJECTS)
78         lib /out:libui.lib $(OBJECTS)
79
80 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) ../make-tapreg-dotc
81         @echo Making ethereal-tap-register.c
82         @$(SH) ../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
83
84 clean:
85         rm -f $(OBJECTS) libui.lib $(PDB_FILE)