aboutsummaryrefslogtreecommitdiffstats
path: root/filetap/Makefile.nmake
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-01-01 13:18:45 +0000
committerMichael Mann <mmann78@netscape.net>2014-01-01 13:18:45 +0000
commit6daf9fd15b0b63cef0bbd13cd574888f05d695f6 (patch)
treee28a7d44a33d88bf7dc620560cf2c31fff8d6ab5 /filetap/Makefile.nmake
parent818c0fdaf84b358d4f6fd1879a9a06c7499ab902 (diff)
Filetap library, version 0.001
This is intended as the "tap library" for fileshark. Right now its basically just a very stripped down (and renamed) copy of the wiretap library. The goal is to remove "capture" and "wire" specific functionality out of the file handling to make it easier/simpler to support non-capture type files in the epan architecture. svn path=/trunk/; revision=54531
Diffstat (limited to 'filetap/Makefile.nmake')
-rw-r--r--filetap/Makefile.nmake59
1 files changed, 59 insertions, 0 deletions
diff --git a/filetap/Makefile.nmake b/filetap/Makefile.nmake
new file mode 100644
index 0000000000..72d54a3eb3
--- /dev/null
+++ b/filetap/Makefile.nmake
@@ -0,0 +1,59 @@
+#
+# $Id$
+#
+
+include ..\config.nmake
+include <win32.mak>
+include ..\Makefile.nmake.inc
+
+include Makefile.common
+
+# We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
+GENERATED_CFLAGS=\
+ $(STANDARD_CFLAGS) \
+ -DYYMALLOC=malloc -DYYFREE=free \
+ /I. /I.. $(GLIB_CFLAGS) \
+ $(ZLIB_CFLAGS) /I$(PCAP_DIR)/include \
+ -DWS_BUILD_DLL
+
+CFLAGS=$(WARNINGS_ARE_ERRORS) $(GENERATED_CFLAGS)
+
+.c.obj::
+ $(CC) $(CFLAGS) -Fd.\ -c $<
+
+OBJECTS=$(NONGENERATED_C_FILES:.c=.obj)
+
+filetap_LIBS = \
+ $(GLIB_LIBS) \
+ ..\wsutil\libwsutil.lib \
+ $(ZLIB_LIBS)
+
+all: filetap-$(FTAP_VERSION).dll
+
+filetap-$(FTAP_VERSION).lib: filetap-$(FTAP_VERSION).dll
+filetap-$(FTAP_VERSION).exp: filetap-$(FTAP_VERSION).dll
+
+filetap-$(FTAP_VERSION).dll : $(OBJECTS) ..\image\filetap.res
+ $(link) $(dlllflags) $(conlibsdll) \
+ $(LOCAL_LDFLAGS) $(DLL_LDFLAGS) \
+ /OUT:filetap-$(FTAP_VERSION).dll \
+ /IMPLIB:filetap-$(FTAP_VERSION).lib \
+ ..\image\filetap.res \
+ $(OBJECTS) $(filetap_LIBS)
+
+clean :
+ rm -f $(OBJECTS) \
+ filetap-*.lib \
+ filetap-*.exp \
+ filetap-*.dll \
+ filetap-*.dll.manifest \
+ *.pdb *.sbr
+
+distclean: clean
+
+maintainer-clean: distclean
+
+checkapi:
+## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error
+## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput $(NONGENERATED_C_FILES)
+ $(PERL) ../tools/checkAPIs.pl -g termoutput -build $(NONGENERATED_C_FILES)