summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-08-02 06:10:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:57 -0500
commite3374bb48daa0235811d384bce55e39b6cf6abda (patch)
tree69aafae101448c8d6747a9c390eb4f320201201c /source4/build/smb_build
parent6e64a8b40fe0857cc5565ff855387c2ef97374dc (diff)
downloadsamba-e3374bb48daa0235811d384bce55e39b6cf6abda.tar.gz
samba-e3374bb48daa0235811d384bce55e39b6cf6abda.tar.bz2
samba-e3374bb48daa0235811d384bce55e39b6cf6abda.zip
r8910: An initial parser to parse structures in smb_interfaces.h. This will be
used to generate ejs objects for making raw smb calls. Running 'make smb_interfaces' should run the build_smb_interfaces.pl script which at the moment only displays a dump of the parsed data. Const is also not working right now but it's bedtime. (This used to be commit 1be5f55d7f6926bf7266ea72623990f0bb558c94)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 530a040565..a5c97a13da 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -140,6 +140,13 @@ idl: build/pidl/Parse/Pidl/IDL.pm
build/pidl/Parse/Pidl/IDL.pm: build/pidl/idl.yp
-yapp -s -m 'Parse::Pidl::IDL' -o build/pidl/Parse/Pidl/IDL.pm build/pidl/idl.yp
+smb_interfaces: build/pidl/smb_interfaces.pm
+ $(PERL) -Ibuild/pidl script/build_smb_interfaces.pl \
+ include/smb_interfaces.h
+
+build/pidl/smb_interfaces.pm: build/pidl/smb_interfaces.yp
+ -yapp -s -m 'smb_interfaces' -o build/pidl/smb_interfaces.pm build/pidl/smb_interfaces.yp
+
pch: proto include/includes.h.gch
pch_clean: