New feature. Statistics/EndpointTalkjers can now present a sortable table with a...
[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.47 2003/08/23 09:09:35 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 $(GTK_CFLAGS) \
11         /I$(ZLIB_DIR) \
12         /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
13         /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
14         /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
15         /I$(NET_SNMP_DIR)\win32 /Zm800 -D_U_="" $(LOCAL_CFLAGS)
16
17 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
18
19 .c.obj::
20    $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
21
22 ETHEREAL_TAP_SRC = \
23         dcerpc_stat.c   \
24         endpoint_talkers_eth.c  \
25         endpoint_talkers_ip.c   \
26         endpoint_talkers_tcpip.c        \
27         endpoint_talkers_tr.c   \
28         endpoint_talkers_udpip.c        \
29         fc_stat.c       \
30         io_stat.c       \
31         mgcp_stat.c     \
32         rpc_stat.c      \
33         rpc_progs.c     \
34         smb_stat.c      \
35         tap_rtp.c
36
37 ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj)
38
39 # gtkclist.obj is not in here because it is gtk+-1.2 code,
40 # while the DLL for GTK+ on windows is gtk+-1.3, and there's
41 # some functions that have disappeared in gtk+-1.3. I might
42 # get around to #ifdef'ing them out in our gtkclist.c.
43 OBJECTS=capture_dlg.obj \
44         capture_prefs.obj \
45         color_dlg.obj    \
46         color_filters.obj \
47         column_prefs.obj \
48         colors.obj       \
49         color_utils.obj  \
50         decode_as_dlg.obj \
51         dfilter_expr_dlg.obj \
52         display_opts.obj \
53         dlg_utils.obj   \
54         endpoint_talkers_table.obj \
55         ethereal-tap-register.obj \
56         file_dlg.obj \
57         filter_prefs.obj \
58         find_dlg.obj \
59         follow_dlg.obj \
60         goto_dlg.obj \
61         gui_prefs.obj \
62         gtk_stat_util.obj       \
63         help_dlg.obj \
64         main.obj        \
65         menu.obj        \
66         nameres_prefs.obj \
67         packet_list.obj \
68         packet_win.obj  \
69         plugins_dlg.obj \
70         prefs_dlg.obj \
71         print_dlg.obj \
72         print_mswin.obj \
73         print_prefs.obj  \
74         progress_dlg.obj \
75         proto_dlg.obj \
76         proto_draw.obj \
77         proto_hier_stats_dlg.obj        \
78         service_response_time_table.obj \
79         simple_dialog.obj \
80         stream_prefs.obj \
81         summary_dlg.obj \
82         tcp_graph.obj \
83         ui_util.obj     \
84         $(ETHEREAL_TAP_OBJECTS)
85
86 libui.lib       : ..\config.h $(OBJECTS)
87         lib /out:libui.lib $(OBJECTS)
88
89 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) ../make-tapreg-dotc
90         @echo Making ethereal-tap-register.c
91         @$(SH) ../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
92
93 clean:
94         rm -f $(OBJECTS) libui.lib $(PDB_FILE)