summaryrefslogtreecommitdiffstats
path: root/source4/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-05 20:13:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:36:57 -0500
commit5a162488a1018d44b28475538bffeeef56b453b6 (patch)
tree15b1df6e8a916b671cb7a7809eeacd6b97d08a29 /source4/main.mk
parent3c7a84a2055dde0953a240ce5b03c943f4f2d8f1 (diff)
downloadsamba-5a162488a1018d44b28475538bffeeef56b453b6.tar.gz
samba-5a162488a1018d44b28475538bffeeef56b453b6.tar.xz
samba-5a162488a1018d44b28475538bffeeef56b453b6.zip
r20562: Start building expr parser. Add separate copy of Yapp::Driver
rather than including it in each individual parser. (This used to be commit 26853d7d99f7305981bcadaabfe6accf254321e7)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/source4/main.mk b/source4/main.mk
index e59c280f5e4..ba8b5b8c6af 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -203,15 +203,19 @@ $(IDL_HEADER_FILES) \
$(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
$(IDL_NDR_EJS_C_FILES) $(IDL_NDR_EJS_H_FILES): idl
-idl_full: pidl/lib/Parse/Pidl/IDL.pm
+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 $(PIDL_ARGS)
-idl: pidl/lib/Parse/Pidl/IDL.pm
+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_ARGS)
pidl/lib/Parse/Pidl/IDL.pm: pidl/idl.yp
- -$(YAPP) -s -m 'Parse::Pidl::IDL' -o pidl/lib/Parse/Pidl/IDL.pm pidl/idl.yp ||\
- touch pidl/lib/Parse/Pidl/IDL.pm
+ -$(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
smb_interfaces: pidl/smb_interfaces.pm
$(PERL) -Ipidl $(srcdir)/script/build_smb_interfaces.pl \