summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-11-30 23:06:53 +0100
committerGünther Deschner <gd@samba.org>2010-12-01 00:13:58 +0100
commit2b0905aeaecdc7fabad5661b4c726500f613be39 (patch)
tree22529241ccc7147cb30271afc81f91b2d7781e89
parentc2911952519089ed472d33143511d55d10752304 (diff)
downloadsamba-2b0905aeaecdc7fabad5661b4c726500f613be39.tar.gz
samba-2b0905aeaecdc7fabad5661b4c726500f613be39.tar.bz2
samba-2b0905aeaecdc7fabad5661b4c726500f613be39.zip
s3-waf: convert RPC_LSARPC into a subsystem.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 00:13:58 CET 2010 on sn-devel-104
-rw-r--r--source3/rpc_server/wscript_build9
-rw-r--r--source3/wscript_build4
2 files changed, 9 insertions, 4 deletions
diff --git a/source3/rpc_server/wscript_build b/source3/rpc_server/wscript_build
index 7d46f5af69..0e0d1c67c9 100644
--- a/source3/rpc_server/wscript_build
+++ b/source3/rpc_server/wscript_build
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-RPC_LSARPC_SRC = '''srv_lsa_nt.c ../../librpc/gen_ndr/srv_lsa.c'''
+RPC_LSARPC_SRC = '''srv_lsa_nt.c'''
RPC_NETLOGON_SRC = '''srv_netlog_nt.c ../../librpc/gen_ndr/srv_netlogon.c'''
RPC_SAMR_SRC = '''srv_samr_nt.c
srv_samr_util.c
@@ -26,9 +26,14 @@ bld.SAMBA_SUBSYSTEM('RPC_SAMR',
source=RPC_SAMR_SRC,
vars=locals())
+bld.SAMBA_SUBSYSTEM('RPC_LSARPC',
+ source=RPC_LSARPC_SRC,
+ vars=locals())
+
bld.SAMBA_MODULE('rpc_lsarpc',
subsystem='rpc',
- source=RPC_LSARPC_SRC,
+ source='../../librpc/gen_ndr/srv_lsa.c',
+ deps='RPC_LSARPC',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('RPC_LSARPC'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('RPC_LSARPC'))
diff --git a/source3/wscript_build b/source3/wscript_build
index 0ce3f5649d..876b4bec65 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -415,7 +415,7 @@ WINBINDD_SRC1 = '''winbindd/winbindd.c
WINBINDD_SRC = '''${WINBINDD_SRC1}
${RPC_NCACN_NP}
${TDB_VALIDATE_SRC}
- rpc_server/srv_lsa_nt.c ../librpc/gen_ndr/srv_lsa.c
+ ../librpc/gen_ndr/srv_lsa.c
../librpc/gen_ndr/srv_samr.c
rpc_server/srv_pipe_register.c'''
@@ -1214,7 +1214,7 @@ bld.SAMBA_BINARY('winbindd/winbindd',
TOKEN_UTIL
LIBCLI_SAMR LIBCLI_LSA LIBCLI_NETLOGON
RPCCLI_DSSETUP NPA_TSTREAM INIT_NETLOGON
- RPC_SAMR
+ RPC_SAMR RPC_LSARPC
''',
enabled=bld.env.build_winbind,
install_path='${SBINDIR}',