summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:39:10 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:25:15 +0200
commit6a56d2fda0e68cd1480fdf9e3f6019e70fe1bcd4 (patch)
treee4bb187ba7c7f61334bc232108f235a0117f420e /source3/wscript_build
parentb734297ab4e8c43873a936e74179847f8163c741 (diff)
downloadsamba-6a56d2fda0e68cd1480fdf9e3f6019e70fe1bcd4.tar.gz
samba-6a56d2fda0e68cd1480fdf9e3f6019e70fe1bcd4.tar.bz2
samba-6a56d2fda0e68cd1480fdf9e3f6019e70fe1bcd4.zip
build: list sources of library smbsharemodes directly in def, remov vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index a306e76fc7..b1ca2cf268 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,10 +3,6 @@
from samba_utils import *
import samba_version, samba3
-LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c'
-
-LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}'
-
LIB_SMBCONF_SRC = 'lib/smbconf/smbconf_init.c lib/smbconf/smbconf_reg.c'
SMBCONFTORT_SRC0 = 'lib/smbconf/testsuite.c'
@@ -182,13 +178,12 @@ bld.SAMBA3_LIBRARY('netapi',
vnum='0')
bld.SAMBA3_LIBRARY('smbsharemodes',
- source=LIBSMBSHAREMODES_SRC,
+ source='libsmb/smb_share_modes.c',
public_deps='''talloc tdb_compat''',
deps='''ccan-hash''',
public_headers='include/smb_share_modes.h',
pc_files='libsmb/smbsharemodes.pc',
- vnum='0',
- vars=locals())
+ vnum='0')
bld.SAMBA3_LIBRARY('nss_wins',
source=WINBIND_WINS_NSS_SRC,