summaryrefslogtreecommitdiffstats
path: root/fnet/ethereal/Makefile.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'fnet/ethereal/Makefile.nmake')
-rw-r--r--fnet/ethereal/Makefile.nmake27
1 files changed, 27 insertions, 0 deletions
diff --git a/fnet/ethereal/Makefile.nmake b/fnet/ethereal/Makefile.nmake
new file mode 100644
index 00000000000..c743e4c011b
--- /dev/null
+++ b/fnet/ethereal/Makefile.nmake
@@ -0,0 +1,27 @@
+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 ENABLE_LIBETHEREAL
+LINK_PLUGIN_WITH=..\..\epan\libethereal.lib
+CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS)
+
+OBJECTS=packet-fnetrpc.obj
+
+fnetrpc.dll fnetrpc.exp fnetrpc.lib : $(OBJECTS) $(LINK_PLUGIN_WITH)
+ link -dll /out:fnetrpc.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
+ $(GLIB_LIBS)
+
+!ENDIF
+
+clean:
+ rm -f $(OBJECTS) fnetrpc.dll fnetrpc.exp fnetrpc.lib *.pdb
+
+distclean: clean
+
+maintainer-clean: distclean