Ethereal-dev: [Ethereal-dev] building a lemmon grammar for a plugin.
Hi,
 I got a problem building a lemmon grammar for a plugin.
 as I added to the Makefile.am the dtd_parser.lemon The Makefile
cannot be recreated.
The error I get is the following:
[id-est:trunk/plugins/xml] lego% make dtd_parser.c
cd ../.. && \
  /bin/sh /Users/lego/src/trunk/missing --run automake-1.6 --gnu 
plugins/xml/Makefile
configure.in: required file `./ylwrap' not found
make: *** [Makefile.in] Error 1
The Makefile.am I'm using is the following:  
Any help would be appreciated.
# Makefile.am
INCLUDES = -I$(top_srcdir)
plugindir = @plugindir@
plugin_LTLIBRARIES = xml.la
xml_la_SOURCES = moduleinfo.h \
	packet-xml.h \
	xml_lexer.l \
	packet-xml.c \
	xml_plugin.c \
	dtd_parser.c \
	dtd_parser.h \
	dtd_lexer.l \
	dtd_prep.l
xml_la_LDFLAGS = -module -avoid-version
xml_la_LIBADD = @PLUGIN_LIBS@
# Libs must be cleared, or else libtool won't create a shared module.
# If your module needs to be linked against any particular libraries,
# add them here.
LIBS =
CLEANFILES = \
	xml \
	*~
EXTRA_DIST = \
	Makefile.nmake \
	dtd_parser.lemon \
	dtd_lexer.l \
	dtd_prep.l
LEMON=../../tools/lemon
dtd_parser.h : dtd_parser.c
dtd_parser.c : dtd_parser.lemon
	$(LEMON)/lemon t=$(srcdir)/$(lemon) $(srcdir)/dtd_parser.lemon || (rm
-f dtd_parser.c dtd_parser.h false)