summaryrefslogtreecommitdiff
path: root/source4/SConstruct
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-20 17:49:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:31 -0500
commit920a627ba814d78a1765a6c1c7209ff29acc6153 (patch)
tree193937ab55ada69c24f970dc00d722e03980a466 /source4/SConstruct
parent5c40f9cd9b59041b3382ec24a1091a60134dd8c5 (diff)
downloadsamba-920a627ba814d78a1765a6c1c7209ff29acc6153.tar.gz
samba-920a627ba814d78a1765a6c1c7209ff29acc6153.tar.bz2
samba-920a627ba814d78a1765a6c1c7209ff29acc6153.zip
r10356: Make the proto generator work with scons
(This used to be commit a2268f1dd441059955bee30cf2a9028656c14099)
Diffstat (limited to 'source4/SConstruct')
-rw-r--r--source4/SConstruct8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/SConstruct b/source4/SConstruct
index 99eabe9308..fb23cc5066 100644
--- a/source4/SConstruct
+++ b/source4/SConstruct
@@ -9,7 +9,7 @@
hostenv = Environment(
toolpath=['build/scons','.'],
- tools=['default'],
+ tools=['default','pidl','proto','et'],
CPPPATH=['#include','#','#lib'],
CPPDEFINES={'_SAMBA_BUILD_': None},
)
@@ -53,9 +53,13 @@ paths = {
dynconfig = dynenv.Object('dynconfig.c')
Export('dynconfig')
+proto_files = []
+
SConscript(
dirs=['param','lib','torture','rpc_server','cldap_server','libcli',
'nbt_server','client','ldap_server','libnet','nsswitch','web_server',
'smbd','dsdb','heimdal_build','ntptr','kdc','smb_server','ntvfs',
'winbind','scripting','auth'],
- exports='buildenv hostenv')
+ exports='buildenv hostenv proto_files')
+
+hostenv.CProtoHeader(target='include/proto.h',source = proto_files)