This is all done in the lorikeet/ethereal Makefile now.
;;
esac])
-#################################################
-# set configuration directory location
-eparserdir=""
-
-AC_ARG_WITH(eparserdir,
-[ --with-eparserdir=DIR Where to put output for the Ethereal/PIDL plugin],
-[ case "$withval" in
- yes|no)
- #
- # Just in case anybody does it
- #
- AC_MSG_ERROR([--with-eparserdir called without argument])
- ;;
- * )
- eparserdir="$withval"
- ;;
- esac])
-
AC_SUBST(configdir)
AC_SUBST(lockdir)
AC_SUBST(piddir)
AC_SUBST(privatedir)
AC_SUBST(bindir)
AC_SUBST(sbindir)
-AC_SUBST(eparserdir)
debug=no
AC_ARG_ENABLE(debug,
VPATH=\@srcdir\@
srcdir=\@srcdir\@
builddir=\@builddir\@
-eparserdir=\@eparserdir\@
BASEDIR= \@prefix\@
BINDIR = \@bindir\@
idl: build/pidl/idl.pm
\@CPP=\"\@CPP\@\" PERL=\"\$(PERL)\" script/build_idl.sh PARTIAL
-eparser_idl: build/pidl/idl.pm
- CPP=\"\@CPP\@\" PERL=\"\$(PERL)\" EPARSERPREFIX=\"\$(eparserdir)\" script/build_idl.sh EPARSER
-
build/pidl/idl.pm: build/pidl/idl.yp
-yapp -s build/pidl/idl.yp
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --client"
-EPARSERPIDL="$PERL ./build/pidl/pidl.pl --output $EPARSERPREFIX/ndr_ --parse --header --parser --eparser"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl
exit 0
fi
-if [ x$FULLBUILD = xEPARSER ]; then
- echo Rebuilding all idl files in librpc/idl
- $EPARSERPIDL librpc/idl/*.idl || exit 1
- exit 0
-fi
-
list=""
for f in librpc/idl/*.idl; do