Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
[samba.git] / source4 / pidl / config.mk
1 pidl/Makefile: pidl/Makefile.PL
2         cd pidl && $(PERL) Makefile.PL 
3
4 pidl-testcov: pidl/Makefile
5         cd pidl && cover -test
6
7 installpidl:: pidl/Makefile
8         $(MAKE) -C pidl install_vendor PREFIX=$(prefix)
9
10 idl_full:: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm 
11         @CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh FULL
12
13 idl:: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm 
14         @CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh PARTIAL 
15
16 pidl/lib/Parse/Pidl/IDL.pm: pidl/idl.yp
17         -$(YAPP) -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp ||\
18                 touch pidl/lib/Parse/Pidl/IDL.pm 
19
20 pidl/lib/Parse/Pidl/Expr.pm: pidl/idl.yp
21         -$(YAPP) -m 'Parse::Pidl::Expr' -o pidl/lib/Parse/Pidl/Expr.pm pidl/expr.yp ||\
22                 touch pidl/lib/Parse/Pidl/Expr.pm 
23
24 testcov-html:: pidl-testcov
25
26 $(IDL_HEADER_FILES) \
27         $(IDL_NDR_PARSE_H_FILES) $(IDL_NDR_PARSE_C_FILES) \
28         $(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \
29         $(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
30         $(IDL_NDR_EJS_C_FILES) $(IDL_NDR_EJS_H_FILES) \
31         $(IDL_NDR_PY_C_FILES) $(IDL_NDR_PY_H_FILES): idl
32
33