build: list source of binary rpc_open_tcp directly in dev, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 08:04:04 +0000 (10:04 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:26:32 +0000 (20:26 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 80d1c47b19c1cbf5cdcd3d20b26e5b624ec485f5..8e1e05d1b57ee3462175f5424f63c41cdec3541f 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-RPC_OPEN_TCP_SRC = 'torture/rpc_open_tcp.c'
-
 DBWRAP_TOOL_SRC = 'utils/dbwrap_tool.c'
 
 DBWRAP_TORTURE_SRC = 'utils/dbwrap_torture.c'
@@ -1389,12 +1387,11 @@ bld.SAMBA3_BINARY('timelimit',
                  vars=locals())
 
 bld.SAMBA3_BINARY('rpc_open_tcp',
-                 source=RPC_OPEN_TCP_SRC,
+                 source='torture/rpc_open_tcp.c',
                  deps='''
                  talloc
                  msrpc3''',
-                 install=False,
-                 vars=locals())
+                 install=False)
 
 bld.SAMBA3_BINARY('test_lp_load',
                  source='param/test_lp_load.c',