summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-11-23 01:11:29 +0100
committerMichael Adam <obnox@samba.org>2008-11-23 01:16:20 +0100
commit71c782c72af496c86491d16ef384a5b320f9616f (patch)
tree2f1ed15ae1465ce6ea72af936e02aa8abf02cf58
parent84e37eb5f56e2979cae89b96bc25ae746d7efab9 (diff)
downloadsamba-71c782c72af496c86491d16ef384a5b320f9616f.tar.gz
samba-71c782c72af496c86491d16ef384a5b320f9616f.tar.bz2
samba-71c782c72af496c86491d16ef384a5b320f9616f.zip
s3-build: do not auto-genereate ndr tables but use checked-in tables.
This removes the build-dependency on perl that was introduced in commit e0905c30908b4d621030689d33de28a13c04a690. The tables can now be re-built with "make ndr-tables". This is also called by make samba3-idl to ensure that the tables are updated after idl changes. This hopefully fixes the build on some build farm hosts (e.g. gwen). Michael
-rw-r--r--source3/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 8498447cfc..60ea4e2cfd 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1235,10 +1235,13 @@ samba3-idl::
../librpc/idl/ntsvcs.idl librpc/idl/libnetapi.idl ../librpc/idl/drsuapi.idl \
../librpc/idl/drsblobs.idl ../librpc/idl/nbt.idl \
../librpc/idl/named_pipe_auth.idl librpc/idl/dom_sid.idl
+ @$(MAKE) ndr-tables
-librpc/gen_ndr/tables.c:: librpc/gen_ndr/*.h
- @echo "Generating $@"
- @$(PERL) ../librpc/tables.pl $^ > $@
+NDR_TABLES = librpc/gen_ndr/tables.c
+
+ndr-tables:: librpc/gen_ndr/*.h
+ @echo "Generating $(NDR_TABLES)"
+ @$(PERL) ../librpc/tables.pl $^ > $(NDR_TABLES)
#####################################################################