summaryrefslogtreecommitdiff
path: root/epan/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-08-04 02:13:52 +0000
committerGuy Harris <guy@alum.mit.edu>2007-08-04 02:13:52 +0000
commit5be4499ad19b66e1626f6c6eb1849803e08126d6 (patch)
tree5f15006cef3d366c1ffb3840f5fda428c28ed2ab /epan/Makefile.nmake
parent2d11b0813e23d01c27975755f39f2457e4da5c90 (diff)
downloadwireshark-5be4499ad19b66e1626f6c6eb1849803e08126d6.tar.gz
Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o" argument, and that it doesn't generate a header file to declare routines the generated lexical analyzer defines. Use that script when building lexical analyzers, and, for each lexical analyzer, include the generated header file in the generated analyzer. svn path=/trunk/; revision=22446
Diffstat (limited to 'epan/Makefile.nmake')
-rw-r--r--epan/Makefile.nmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake
index dae50a16c2..fbd7c553d5 100644
--- a/epan/Makefile.nmake
+++ b/epan/Makefile.nmake
@@ -258,20 +258,26 @@ inet_pton.c: ..\inet_pton.c
sminmpec.c: enterprise-numbers make-sminmpec.pl
$(PERL) make-sminmpec.pl enterprise-numbers sminmpec.c
-dtd_grammar.h: dtd_grammar.c
-
-radius_dict.obj : radius_dict.c
-
+RUNLEX=..\tools\runlex.sh
+
+diam_dict_lex.h: diam_dict.c
diam_dict.obj : diam_dict.c
+dtd_parse_lex.h: dtd_parse.c
dtd_parse.obj : dtd_parse.c
dtd_preparse.obj : dtd_preparse.c
+dtd_preparse_lex.h: dtd_preparse.c
+radius_dict_lex.h: radius_dict.c
+radius_dict.obj : radius_dict.c
+
+uat_load_lex.h: uat_load.c
uat_load.obj : uat_load.c
LEMON=..\tools\lemon
+dtd_grammar.h: dtd_grammar.c
dtd_grammar.c: dtd_grammar.lemon $(LEMON)\lemon.exe
$(LEMON)\lemon t=$(LEMON)\lempar.c dtd_grammar.lemon