wireshark/plugins/stats_tree/Makefile.nmake
Ulf Lamping 156e034ef9 include pinfo_stats_tree.c in the build process, so MSVC compiles again
don't use extern before a function body, that don't make sense

svn path=/trunk/; revision=15048
2005-07-24 21:23:10 +00:00

36 lines
841 B
Makefile

#
# $Id$
#
include ..\..\config.nmake
include <win32.mak>
############### no need to modify below this line #########
CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
.c.obj::
$(CC) $(CFLAGS) -Fdstats_tree.pdb -c $<
LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
!IFDEF ENABLE_LIBETHEREAL
LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
OBJECTS=stats_tree_plugin.obj pinfo_stats_tree.obj
stats_tree.dll stats_tree.exp stats_tree.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
link -dll /out:stats_tree.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
$(GLIB_LIBS)
!ENDIF
clean:
rm -f $(OBJECTS) stats_tree.dll stats_tree.exp stats_tree.lib *.pdb
distclean: clean
maintainer-clean: distclean