aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/stats_tree
diff options
context:
space:
mode:
authorLars Roland <Lars.Roland@gmx.net>2005-05-31 21:34:14 +0000
committerLars Roland <Lars.Roland@gmx.net>2005-05-31 21:34:14 +0000
commit7523f78185c0df4f1aa1e3b92e8b127741859e73 (patch)
tree0100a18376071a4360989ecd0854d806e8efc798 /plugins/stats_tree
parent87bcb9f8e58a69465531c5493fd520aa20184ebe (diff)
Add a note to config.nmake that it is required to set ENABLE_LIBETHEREAL to get plugin support in Ethereal.
Change Makefile.nmake of the stats_tree plugin to the current scheme. svn path=/trunk/; revision=14512
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r--plugins/stats_tree/Makefile.nmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/stats_tree/Makefile.nmake b/plugins/stats_tree/Makefile.nmake
index c56153697d..6d52522bab 100644
--- a/plugins/stats_tree/Makefile.nmake
+++ b/plugins/stats_tree/Makefile.nmake
@@ -15,12 +15,9 @@ CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
-!IFDEF LINK_PLUGINS_WITH_LIBETHEREAL
+!IFDEF ENABLE_LIBETHEREAL
LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
-!ELSE
-LINK_PLUGIN_WITH=..\plugin_api.obj
-!ENDIF
OBJECTS=http_stats_tree.obj stats_tree_plugin.obj
@@ -28,6 +25,8 @@ 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