diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-05-16 14:59:14 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-05-16 14:59:14 +0000 |
commit | d6fa558b5f73efffd84d0b8c68e5bc3fc7034e11 (patch) | |
tree | 330b19a43888aa441f9604444076682029f8fd96 /plugins | |
parent | 047baf2c3861ff98b694d7f9ca9db586d0c2f5b5 (diff) | |
download | wireshark-d6fa558b5f73efffd84d0b8c68e5bc3fc7034e11.tar.gz wireshark-d6fa558b5f73efffd84d0b8c68e5bc3fc7034e11.tar.bz2 wireshark-d6fa558b5f73efffd84d0b8c68e5bc3fc7034e11.zip |
Forgot this one in the last checkin!
svn path=/trunk/; revision=14374
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/Makefile.nmake | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/plugins/mate/Makefile.nmake b/plugins/mate/Makefile.nmake index c439e2ac5a..10c66278f6 100644 --- a/plugins/mate/Makefile.nmake +++ b/plugins/mate/Makefile.nmake @@ -7,7 +7,9 @@ include <win32.mak> ############### no need to modify below this line ######### -CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \ +LEMON=..\..\tools\lemon + +CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) /I$(LEMON)\ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS) .c.obj:: @@ -19,7 +21,13 @@ LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) LINK_PLUGIN_WITH=..\..\epan\libethereal.lib CFLAGS=/DHAVE_WIN32_LIBETHEREAL_LIB /D_NEED_VAR_IMPORT_ $(CFLAGS) -OBJECTS=packet-mate.obj mate_setup.obj mate_runtime.obj mate_util.obj mate_plugin.obj +OBJECTS=packet-mate.obj\ + mate_setup.obj\ + mate_runtime.obj\ + mate_util.obj\ + mate_plugin.obj\ + mate_grammar.obj\ + mate_parser.obj mate.dll mate.exp mate.lib : $(OBJECTS) $(LINK_PLUGIN_WITH) link -dll /out:mate.dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \ @@ -31,5 +39,18 @@ clean: rm -f $(OBJECTS) mate.dll mate.exp mate.lib *.pdb distclean: clean + rm -f mate_parser.c mate_grammar.c mate_grammar.h mate_grammar.out maintainer-clean: distclean + +mate_parser.c : mate_parser.l + $(LEX) -Pdf_ -omate_parser.c mate_parser.l + +mate_grammar.h : mate_grammar.c +mate_grammar.c : mate_grammar.lemon $(LEMON)\lemon.exe + $(LEMON)\lemon.exe t=$(LEMON)\lempar.c mate_grammar.lemon + +$(LEMON)\lemon.exe: + cd ../../tools/lemon + $(MAKE) -f makefile.nmake + cd ../../epan/dfilter |