2008-02-11 16:48:39 +03:00
pidl/Makefile : pidl /Makefile .PL
2008-04-15 12:55:32 +04:00
cd pidl && $( PERL) Makefile.PL PREFIX = $( prefix)
2008-02-11 16:48:39 +03:00
pidl-testcov : pidl /Makefile
cd pidl && cover -test
installpidl :: pidl /Makefile
2008-04-14 21:41:13 +04:00
$( MAKE) -C pidl install_vendor VENDORPREFIX = $( prefix) \
INSTALLVENDORLIB = $( libdir) \
INSTALLVENDORBIN = $( bindir) \
INSTALLVENDORSCRIPT = $( bindir) \
INSTALLVENDORMAN1DIR = $( mandir) /man1 \
INSTALLVENDORMAN3DIR = $( mandir) /man3
2008-02-11 16:48:39 +03:00
2008-04-04 18:03:54 +04:00
i f e q ( $( HAVE_PERL_EXTUTILS_MAKEMAKER ) , 1 )
install :: installpidl
e n d i f
2008-02-11 16:48:39 +03:00
idl_full :: pidl /lib /Parse /Pidl /IDL .pm pidl /lib /Parse /Pidl /Expr .pm
@CPP= " $( CPP) " PERL = " $( PERL) " srcdir = $( srcdir) $( srcdir) /script/build_idl.sh FULL
idl :: pidl /lib /Parse /Pidl /IDL .pm pidl /lib /Parse /Pidl /Expr .pm
@CPP= " $( CPP) " PERL = " $( PERL) " srcdir = $( srcdir) $( srcdir) /script/build_idl.sh PARTIAL
pidl/lib/Parse/Pidl/IDL.pm : pidl /idl .yp
-$( YAPP) -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp || \
touch pidl/lib/Parse/Pidl/IDL.pm
pidl/lib/Parse/Pidl/Expr.pm : pidl /idl .yp
-$( YAPP) -m 'Parse::Pidl::Expr' -o pidl/lib/Parse/Pidl/Expr.pm pidl/expr.yp || \
touch pidl/lib/Parse/Pidl/Expr.pm
testcov-html :: pidl -testcov
$( IDL_HEADER_FILES ) \
$( IDL_NDR_PARSE_H_FILES) $( IDL_NDR_PARSE_C_FILES) \
$( IDL_NDR_CLIENT_C_FILES) $( IDL_NDR_CLIENT_H_FILES) \
$( IDL_NDR_SERVER_C_FILES) $( IDL_SWIG_FILES) \
$( IDL_NDR_EJS_C_FILES) $( IDL_NDR_EJS_H_FILES) \
$( IDL_NDR_PY_C_FILES) $( IDL_NDR_PY_H_FILES) : idl