aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/Makefile.nmake
diff options
context:
space:
mode:
authorLars Roland <Lars.Roland@gmx.net>2004-12-11 01:00:17 +0000
committerLars Roland <Lars.Roland@gmx.net>2004-12-11 01:00:17 +0000
commit86d7ed9bae34b2c68c5ba9ef209ecd6050d7051a (patch)
treed48333a163cc0d71fa18091824988f0e429210d6 /plugins/mate/Makefile.nmake
parentea67e4cfabfdd0d24a11f9ed2a45ce2a29f84252 (diff)
New Plugin from Luis Ontanon:
MATE -- Meta Analysis and Tracing Engine Won't be compiled by default. It is still not possible to link the plugin on Win32. svn path=/trunk/; revision=12716
Diffstat (limited to 'plugins/mate/Makefile.nmake')
-rw-r--r--plugins/mate/Makefile.nmake30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
new file mode 100644
index 0000000000..e627b24a5b
--- /dev/null
+++ b/plugins/mate/Makefile.nmake
@@ -0,0 +1,30 @@
+#
+# $Id$
+#
+
+include ..\..\config.nmake
+
+############### no need to modify below this line #########
+
+CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
+ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
+
+LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
+
+!IFDEF LINK_PLUGINS_WITH_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=packet-mate.obj mate_setup.obj mate_runtime.obj mate_util.obj mate_plugin.obj
+
+mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
+ link -dll /out:mate.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
+ $(GLIB_LIBS)
+
+clean:
+ rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb
+
+distclean: clean