Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
[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
9
10 uninstallpidl:: pidl/Makefile
11         $(MAKE) -C pidl uninstall
12
13 idl_full:: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm 
14         @CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh FULL
15
16 idl:: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm 
17         @CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh PARTIAL 
18
19 pidl/lib/Parse/Pidl/IDL.pm: pidl/idl.yp
20         -$(YAPP) -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp ||\
21                 touch pidl/lib/Parse/Pidl/IDL.pm 
22
23 pidl/lib/Parse/Pidl/Expr.pm: pidl/idl.yp
24         -$(YAPP) -m 'Parse::Pidl::Expr' -o pidl/lib/Parse/Pidl/Expr.pm pidl/expr.yp ||\
25                 touch pidl/lib/Parse/Pidl/Expr.pm 
26
27 testcov-html:: pidl-testcov
28
29 $(IDL_HEADER_FILES) \
30         $(IDL_NDR_PARSE_H_FILES) $(IDL_NDR_PARSE_C_FILES) \
31         $(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \
32         $(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
33         $(IDL_NDR_EJS_C_FILES) $(IDL_NDR_EJS_H_FILES) \
34         $(IDL_NDR_PY_C_FILES) $(IDL_NDR_PY_H_FILES): idl
35
36