summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-11 18:26:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-11 18:26:28 +0100
commit5aa0a70b06317b7ae77385210fe41bbc2d3c6c5c (patch)
treea4032b21532f29b956b1bd08c3b2647251939d64 /source4/pidl
parenta19534d2072ca7dc4c70767d02db58503678cfaa (diff)
parent98fdbb61260b19bc97675336993f3fcb5f470f90 (diff)
downloadsamba-5aa0a70b06317b7ae77385210fe41bbc2d3c6c5c.tar.gz
samba-5aa0a70b06317b7ae77385210fe41bbc2d3c6c5c.tar.bz2
samba-5aa0a70b06317b7ae77385210fe41bbc2d3c6c5c.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts: source/Makefile source/rules.mk (This used to be commit fc9b9853124c8d172172f88e1e4939db5970df25)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/config.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/source4/pidl/config.mk b/source4/pidl/config.mk
new file mode 100644
index 0000000000..3793008319
--- /dev/null
+++ b/source4/pidl/config.mk
@@ -0,0 +1,36 @@
+pidl/Makefile: pidl/Makefile.PL
+ cd pidl && $(PERL) Makefile.PL
+
+pidl-testcov: pidl/Makefile
+ cd pidl && cover -test
+
+installpidl:: pidl/Makefile
+ $(MAKE) -C pidl install
+
+uninstallpidl:: pidl/Makefile
+ $(MAKE) -C pidl uninstall
+
+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
+
+