libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
[obnox/wireshark/wip.git] / plugins / stats_tree / Makefile.nmake
1 #
2 # $Id$
3 #
4
5 include ..\..\config.nmake
6 include <win32.mak>
7
8 ############### no need to modify below this line #########
9
10 CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
11         /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
12         
13 .c.obj::
14         $(CC) $(CFLAGS) -Fdstats_tree.pdb -c $<
15         
16 LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
17
18 !IFDEF ENABLE_LIBWIRESHARK
19 LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib
20 CFLAGS=/DHAVE_WIN32_LIBWIRESHARK_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
21
22 OBJECTS=stats_tree_plugin.obj pinfo_stats_tree.obj
23
24 stats_tree.dll stats_tree.exp stats_tree.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
25         link -dll /out:stats_tree.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
26         $(GLIB_LIBS)
27
28 !ENDIF
29
30 clean:
31         rm -f $(OBJECTS) stats_tree.dll stats_tree.exp stats_tree.lib *.pdb
32
33 distclean: clean
34
35 maintainer-clean: distclean