build: list sources of subsystem LIBCLI_SAMR directly in the definition
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 05:43:49 +0000 (07:43 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:22:26 +0000 (20:22 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index a7d8f48c344f648371121331e99c093b18155c3b..39d5764da80134f50b4a6e3b389d2a8740b59df6 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-LIBCLI_SAMR_SRC = 'rpc_client/cli_samr.c'
-
 LIBCLI_NETLOGON_SRC = 'rpc_client/cli_netlogon.c rpc_client/util_netlogon.c'
 
 # this includes only the low level parse code, not stuff
@@ -992,7 +990,7 @@ bld.SAMBA3_SUBSYSTEM('errors3',
                      deps='errors')
 
 bld.SAMBA3_SUBSYSTEM('LIBCLI_SAMR',
-                    source=LIBCLI_SAMR_SRC,
+                    source='rpc_client/cli_samr.c',
                     deps='RPC_NDR_SAMR')
 
 bld.SAMBA3_LIBRARY('libcli_lsa3',