Added two new arguments to epan_init() and proto_init() to
[obnox/wireshark/wip.git] / gtk / Makefile.nmake
1 include ..\config.nmake
2
3 ############### no need to modify below this line #########
4
5 CFLAGS=-DHAVE_CONFIG_H /I.. /I../epan /I../wiretap \
6         /I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
7         /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
8         /I$(PCAP_DIR)\include $(LOCAL_CFLAGS)
9
10 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
11
12 {$S}.c{$O}.obj::
13    $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
14
15 # gtkclist.obj is not in here because it is gtk+-1.2 code,
16 # while the DLL for GTK+ on windows is gtk+-1.3, and there's
17 # some functions that have disappeared in gtk+-1.3. I might
18 # get around to #ifdef'ing them out in our gtkclist.c.
19 OBJECTS=capture_dlg.obj \
20         color_dlg.obj    \
21         colors.obj       \
22         color_utils.obj  \
23         column_prefs.obj \
24         decode_as_dlg.obj \
25         dfilter_expr_dlg.obj \
26         display_opts.obj \
27         dlg_utils.obj   \
28         file_dlg.obj \
29         filter_prefs.obj \
30         find_dlg.obj \
31         follow_dlg.obj \
32         goto_dlg.obj \
33         gui_prefs.obj \
34         help_dlg.obj \
35         main.obj        \
36         menu.obj        \
37         packet_win.obj  \
38         plugins_dlg.obj \
39         prefs_dlg.obj \
40         print_dlg.obj \
41         print_prefs.obj  \
42         progress_dlg.obj \
43         proto_dlg.obj \
44         proto_draw.obj \
45         proto_hier_stats_dlg.obj        \
46         simple_dialog.obj \
47         stream_prefs.obj \
48         summary_dlg.obj \
49         ui_util.obj
50
51
52 libui.lib       : ..\config.h $(OBJECTS)
53         lib /out:libui.lib $(OBJECTS)   
54
55
56 ..\config.h     : ..\config.h.win32
57         copy ..\config.h.win32 ..\config.h
58
59 clean:
60         rm -f $(OBJECTS) libui.lib