aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/agentx/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-10 06:36:21 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-10 06:36:21 +0000
commitba7e8f3b8194f65ad7a112e35e4609a6b785ee0b (patch)
tree6e9720b3b9d5f75da2ddcd75838f2a70a81210a8 /plugins/agentx/Makefile.nmake
parent5ae67eb010b3b92359d1a917c75a05cc0c0ac767 (diff)
From Oleg Terletsky: AgentX support.
svn path=/trunk/; revision=13372
Diffstat (limited to 'plugins/agentx/Makefile.nmake')
-rw-r--r--plugins/agentx/Makefile.nmake30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/agentx/Makefile.nmake b/plugins/agentx/Makefile.nmake
new file mode 100644
index 0000000000..8b6f4f37d6
--- /dev/null
+++ b/plugins/agentx/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-agentx.obj
+
+agentx.dll agentx.exp agentx.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
+ link -dll /out:agentx.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
+ $(GLIB_LIBS)
+
+clean:
+ rm -f $(OBJECTS) agentx.dll agentx.exp agentx.lib *.pdb
+
+distclean: clean